{
  "name": "@avalanche-sdk/client",
  "scripts": {
    "update-version": "node scripts/update-version.js",
    "clean": "rm -rf dist src/_cjs src/_esm src/_types .tsbuildinfo",
    "build:all": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types && npm run build:webpack",
    "build:cjs": "BUILD_FORMAT=cjs rollup --config rollup.config.js && printf '{\"type\":\"commonjs\"}' > ./dist/_cjs/package.json",
    "build:esm": "BUILD_FORMAT=esm rollup --config rollup.config.js && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/_esm/package.json",
    "build:types": "npx tsc --project ./tsconfig.esm.json --declarationDir ./dist/_types --emitDeclarationOnly --declaration --declarationMap",
    "build:webpack": "npx webpack --config webpack.config.cjs",
    "generate-docs": "typedoc",
    "generate-docs:markdown": "typedoc --theme markdown --out docs-markdown",
    "generate-docs:json": "typedoc --json docs.json",
    "lint": "eslint --cache --max-warnings=0 src",
    "test": "vitest",
    "test:coverage": "vitest --coverage"
  },
  "files": [
    "dist",
    "dist/_cjs",
    "dist/_esm",
    "dist/_types",
    "src"
  ],
  "author": "Sayan Kar",
  "license": "BSD-3-Clause",
  "repository": {
    "type": "git",
    "url": "https://github.com/ava-labs/avalanche-sdk-typescript.git",
    "directory": "client"
  },
  "keywords": [
    "rpc",
    "wallet",
    "client",
    "avalanche",
    "avalanche-sdk",
    "pchain",
    "xchain",
    "cchain"
  ],
  "bugs": {
    "url": "https://github.com/ava-labs/avalanche-sdk-typescript/issues"
  },
  "homepage": "https://github.com/ava-labs/avalanche-sdk-typescript/tree/main/client#readme",
  "browser": "./dist/avalanche-sdk-client.js",
  "dependencies": {
    "@avalabs/avalanchejs": "^5.1.0-alpha.1",
    "@noble/hashes": "1.3.3",
    "@noble/secp256k1": "2.0.0",
    "util": "^0.12.5",
    "viem": "^2.38.5"
  },
  "devDependencies": {
    "@rollup/plugin-commonjs": "^28.0.8",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^12.1.4",
    "@types/node": "^22.15.17",
    "@vitest/coverage-v8": "^3.1.3",
    "assert": "^2.1.0",
    "browserify-zlib": "^0.2.0",
    "buffer": "^6.0.3",
    "constants-browserify": "^1.0.0",
    "crypto-browserify": "^3.12.0",
    "domain-browser": "^4.19.0",
    "events": "^3.3.0",
    "glob": "^11.1.0",
    "https-browserify": "^1.0.0",
    "msw": "^2.10.4",
    "os-browserify": "^0.3.0",
    "path-browserify": "^1.0.1",
    "process": "^0.11.10",
    "punycode": "^2.3.1",
    "querystring-es3": "^0.2.1",
    "rollup": "^4.52.5",
    "stream-browserify": "^3.0.0",
    "stream-http": "^3.2.0",
    "string_decoder": "^1.3.0",
    "timers-browserify": "^2.0.12",
    "ts-loader": "^9.5.1",
    "tslib": "^2.8.1",
    "tty-browserify": "^0.0.1",
    "typedoc": "^0.28.9",
    "typedoc-github-theme": "^0.3.0",
    "typescript": "^5.8.3",
    "url": "^0.11.3",
    "vitest": "^3.1.3",
    "vm-browserify": "^1.1.2",
    "webpack": "^5.89.0",
    "webpack-cli": "^5.1.4"
  },
  "exports": {
    ".": {
      "types": "./dist/_types/index.d.ts",
      "import": "./dist/_esm/index.js",
      "require": "./dist/_cjs/index.js"
    },
    "./package.json": "./package.json",
    "./accounts": {
      "types": "./dist/_types/accounts/index.d.ts",
      "import": "./dist/_esm/accounts/index.js",
      "require": "./dist/_cjs/accounts/index.js"
    },
    "./chains": {
      "types": "./dist/_types/chains/index.d.ts",
      "import": "./dist/_esm/chains/index.js",
      "require": "./dist/_cjs/chains/index.js"
    },
    "./methods": {
      "types": "./dist/_types/methods/index.d.ts",
      "import": "./dist/_esm/methods/index.js",
      "require": "./dist/_cjs/methods/index.js"
    },
    "./methods/wallet": {
      "types": "./dist/_types/methods/wallet/index.d.ts",
      "import": "./dist/_esm/methods/wallet/index.js",
      "require": "./dist/_cjs/methods/wallet/index.js"
    },
    "./methods/wallet/cChain": {
      "types": "./dist/_types/methods/wallet/cChain/index.d.ts",
      "import": "./dist/_esm/methods/wallet/cChain/index.js",
      "require": "./dist/_cjs/methods/wallet/cChain/index.js"
    },
    "./methods/wallet/pChain": {
      "types": "./dist/_types/methods/wallet/pChain/index.d.ts",
      "import": "./dist/_esm/methods/wallet/pChain/index.js",
      "require": "./dist/_cjs/methods/wallet/pChain/index.js"
    },
    "./methods/wallet/xChain": {
      "types": "./dist/_types/methods/wallet/xChain/index.d.ts",
      "import": "./dist/_esm/methods/wallet/xChain/index.js",
      "require": "./dist/_cjs/methods/wallet/xChain/index.js"
    },
    "./methods/public": {
      "types": "./dist/_types/methods/public/index.d.ts",
      "import": "./dist/_esm/methods/public/index.js",
      "require": "./dist/_cjs/methods/public/index.js"
    },
    "./methods/pChain": {
      "types": "./dist/_types/methods/pChain/index.d.ts",
      "import": "./dist/_esm/methods/pChain/index.js",
      "require": "./dist/_cjs/methods/pChain/index.js"
    },
    "./methods/admin": {
      "types": "./dist/_types/methods/admin/index.d.ts",
      "import": "./dist/_esm/methods/admin/index.js",
      "require": "./dist/_cjs/methods/admin/index.js"
    },
    "./methods/cChain": {
      "types": "./dist/_types/methods/cChain/index.d.ts",
      "import": "./dist/_esm/methods/cChain/index.js",
      "require": "./dist/_cjs/methods/cChain/index.js"
    },
    "./methods/xChain": {
      "types": "./dist/_types/methods/xChain/index.d.ts",
      "import": "./dist/_esm/methods/xChain/index.js",
      "require": "./dist/_cjs/methods/xChain/index.js"
    },
    "./methods/health": {
      "types": "./dist/_types/methods/health/index.d.ts",
      "import": "./dist/_esm/methods/health/index.js",
      "require": "./dist/_cjs/methods/health/index.js"
    },
    "./methods/index": {
      "types": "./dist/_types/methods/index/index.d.ts",
      "import": "./dist/_esm/methods/index/index.js",
      "require": "./dist/_cjs/methods/index/index.js"
    },
    "./methods/proposervm": {
      "types": "./dist/_types/methods/proposervm/index.d.ts",
      "import": "./dist/_esm/methods/proposervm/index.js",
      "require": "./dist/_cjs/methods/proposervm/index.js"
    },
    "./methods/info": {
      "types": "./dist/_types/methods/info/index.d.ts",
      "import": "./dist/_esm/methods/info/index.js",
      "require": "./dist/_cjs/methods/info/index.js"
    },
    "./node": {
      "types": "./dist/_types/node/index.d.ts",
      "import": "./dist/_esm/node/index.js",
      "require": "./dist/_cjs/node/index.js"
    },
    "./nonce": {
      "types": "./dist/_types/nonce/index.d.ts",
      "import": "./dist/_esm/nonce/index.js",
      "require": "./dist/_cjs/nonce/index.js"
    },
    "./serializable": {
      "types": "./dist/_types/serializable/index.d.ts",
      "import": "./dist/_esm/serializable/index.js",
      "require": "./dist/_cjs/serializable/index.js"
    },
    "./siwe": {
      "types": "./dist/_types/siwe/index.d.ts",
      "import": "./dist/_esm/siwe/index.js",
      "require": "./dist/_cjs/siwe/index.js"
    },
    "./utils": {
      "types": "./dist/_types/utils/index.d.ts",
      "import": "./dist/_esm/utils/index.js",
      "require": "./dist/_cjs/utils/index.js"
    },
    "./window": {
      "types": "./dist/_types/window/index.d.ts",
      "import": "./dist/_esm/window/index.js",
      "require": "./dist/_cjs/window/index.js"
    }
  },
  "main": "./dist/_cjs/index.js",
  "types": "./dist/_types/index.d.ts",
  "module": "./dist/_esm/index.js",
  "type": "module",
  "engines": {
    "node": ">=20",
    "npm": ">=10"
  },
  "typesVersions": {
    "*": {
      "utils": [
        "./dist/_types/utils/index.d.ts"
      ],
      "accounts": [
        "./dist/_types/accounts/index.d.ts"
      ],
      "chains": [
        "./dist/_types/chains/index.d.ts"
      ],
      "methods": [
        "./dist/_types/methods/index.d.ts"
      ],
      "methods/wallet": [
        "./dist/_types/methods/wallet/index.d.ts"
      ],
      "methods/wallet/cChain": [
        "./dist/_types/methods/wallet/cChain/index.d.ts"
      ],
      "methods/wallet/pChain": [
        "./dist/_types/methods/wallet/pChain/index.d.ts"
      ],
      "methods/wallet/xChain": [
        "./dist/_types/methods/wallet/xChain/index.d.ts"
      ],
      "methods/public": [
        "./dist/_types/methods/public/index.d.ts"
      ],
      "methods/pChain": [
        "./dist/_types/methods/pChain/index.d.ts"
      ],
      "methods/admin": [
        "./dist/_types/methods/admin/index.d.ts"
      ],
      "methods/cChain": [
        "./dist/_types/methods/cChain/index.d.ts"
      ],
      "methods/xChain": [
        "./dist/_types/methods/xChain/index.d.ts"
      ],
      "methods/health": [
        "./dist/_types/methods/health/index.d.ts"
      ],
      "methods/index": [
        "./dist/_types/methods/index/index.d.ts"
      ],
      "methods/proposervm": [
        "./dist/_types/methods/proposervm/index.d.ts"
      ],
      "methods/info": [
        "./dist/_types/methods/info/index.d.ts"
      ],
      "node": [
        "./dist/_types/node/index.d.ts"
      ],
      "nonce": [
        "./dist/_types/nonce/index.d.ts"
      ],
      "serializable": [
        "./dist/_types/serializable/index.d.ts"
      ],
      "siwe": [
        "./dist/_types/siwe/index.d.ts"
      ],
      "window": [
        "./dist/_types/window/index.d.ts"
      ]
    }
  },
  "version": "0.1.1"
}
