{
  "name": "@polkadot-apps/host-sdk",
  "version": "0.4.8",
  "description": "UserAgentKit TypeScript SDK for building browser Triangle User Agents with wallet, ProductView, and runtime helpers",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./experimental": {
      "types": "./dist/experimental/index.d.ts",
      "import": "./dist/experimental/index.js"
    },
    "./guest": {
      "types": "./dist/guest/index.d.ts",
      "import": "./dist/guest/index.js"
    },
    "./bridge": {
      "types": "./dist/bridge/index.d.ts",
      "import": "./dist/bridge/index.js"
    },
    "./scoped-frame": {
      "types": "./dist/scoped-frame.d.ts",
      "import": "./dist/scoped-frame.js"
    },
    "./runtime-chain": {
      "types": "./dist/runtime-chain.d.ts",
      "import": "./dist/runtime-chain.js"
    },
    "./identity": {
      "types": "./dist/identity.d.ts",
      "import": "./dist/identity.js"
    },
    "./identity-adapter": {
      "types": "./dist/identity-adapter.d.ts",
      "import": "./dist/identity-adapter.js"
    },
    "./api-protocol": {
      "types": "./dist/api-protocol.d.ts",
      "import": "./dist/api-protocol.js"
    },
    "./product-view-service-worker": {
      "import": "./dist/product-view-service-worker.js"
    }
  },
  "sideEffects": false,
  "files": [
    "dist"
  ],
  "peerDependencies": {
    "@polkadot-apps/host-wasm": ">=0.1.0",
    "@polkadot-apps/host-extensions-wasm": ">=0.1.0",
    "smoldot": ">=2.0.0"
  },
  "peerDependenciesMeta": {
    "@polkadot-apps/host-extensions-wasm": {
      "optional": true
    },
    "smoldot": {
      "optional": true
    }
  },
  "dependencies": {
    "@polkadot-api/json-rpc-provider": "^0.0.4",
    "nanoevents": "^9.1.0",
    "neverthrow": "^8.2.0",
    "scale-ts": "^1.6.1"
  },
  "devDependencies": {
    "@playwright/test": "^1.55.0",
    "smoldot": "3.0.0",
    "typescript": "^5.8.3",
    "vitest": "^4.1.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "license": "AGPL-3.0",
  "homepage": "https://github.com/paritytech/host-sdk/blob/main/site/src/content/docs/getting-started/web.md",
  "bugs": {
    "url": "https://github.com/paritytech/host-sdk/issues"
  },
  "keywords": [
    "polkadot",
    "triangle-user-agent",
    "useragentkit",
    "productview",
    "webview"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/paritytech/host-sdk",
    "directory": "packages/host-sdk-js"
  },
  "scripts": {
    "build": "tsc",
    "clean": "rm -rf dist",
    "test": "vitest --configLoader runner run --exclude tests/chain-smoke.test.ts",
    "typecheck": "tsc --noEmit",
    "pretest:playwright": "npm run build",
    "test:playwright": "playwright test",
    "test:unit": "vitest --configLoader runner run --exclude tests/chain-smoke.test.ts",
    "test:chain": "vitest --configLoader runner run tests/chain-smoke.test.ts --testTimeout=120000",
    "check:wasm-conformance": "tsc --noEmit -p tsconfig.wasm-check.json"
  }
}