{"_id":"@aptos-labs/aptos-client","_rev":"21-09a154debe7c093b5c313c96722001e3","name":"@aptos-labs/aptos-client","dist-tags":{"latest":"4.1.0"},"versions":{"0.0.1":{"name":"@aptos-labs/aptos-client","version":"0.0.1","_id":"@aptos-labs/aptos-client@0.0.1","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"dist":{"shasum":"6c903c1be2901d7d8c453241303765bbb3a90398","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-0.0.1.tgz","fileCount":19,"integrity":"sha512-ORzpWE5nbdMvwf7/fbfn2FAExifisGlk2831GS3UZiy/3Qs4a6VSLFYdK+HJEE0B/uXIcKytv94Xhwnxc5XxDQ==","signatures":[{"sig":"MEUCIQCCKLBH+vw6+Z4EQrZU9egNRtqhh6g/wULWMus9WFPCJQIgXi+oEfVNoGrZBXWH3CfDdYPrc8+09dpJuV+UH54Rfm0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61904},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"7eebd7e895620a1f3b31e1cc4a12402d112e7b22","scripts":{"lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"deprecated":"This version is deprecated.  Please upgrade to version 2.1.0 or later.","_npmVersion":"9.3.1","description":"This package implements a client with which you can interact with the Aptos network. It can be used standalone, and it is the client package used by the Aptos TypeScript SDK.","directories":{},"_nodeVersion":"19.5.0","dependencies":{"got":"^11.0.0","axios":"0.27.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"6.2.3","eslint":"8.23.0","ts-node":"10.9.1","typescript":"4.8.2","@types/node":"18.6.2","eslint-plugin-import":"2.26.0","@typescript-eslint/parser":"5.36.2","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.0.0","@typescript-eslint/eslint-plugin":"5.36.2"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_0.0.1_1689299638050_0.09114386621539872","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@aptos-labs/aptos-client","version":"0.0.2","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@0.0.2","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://github.com/aptos-labs/aptos-core","bugs":{"url":"https://github.com/aptos-labs/aptos-core/issues"},"dist":{"shasum":"e8266a731a9a906d1e8aefc04539ae548dead750","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-0.0.2.tgz","fileCount":19,"integrity":"sha512-FgKZb5zDPz8MmAcVxXzYhxP6OkzuIPoDRJp48YJ8+vrZ9EOZ35HaWGN2M3u+GPdnFE9mODFqkxw3azh3kHGZjQ==","signatures":[{"sig":"MEUCIQDCHwH+vW9cHhXA6yUJsleGmgHAv313cHLx/roet17iqAIgeZxfey9IRIjoqi6K4FMRwxsTn+9gzxqOjGs9CxO2tEk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58823},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=15.10.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"4115838b26cc53c1fa52fdcb1caf661e399fdfe6","scripts":{"fmt":"pnpm _fmt --write","_fmt":"prettier 'src/**/*.ts' '.eslintrc.js'","lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"deprecated":"This version is deprecated.  Please upgrade to version 2.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-core.git","type":"git"},"_npmVersion":"9.3.1","description":"client package for accessing the Aptos network API","directories":{},"_nodeVersion":"19.5.0","dependencies":{"got":"^11.0.0","axios":"0.27.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","devDependencies":{"tsup":"6.2.3","eslint":"8.23.0","ts-node":"10.9.1","prettier":"2.6.2","typescript":"4.8.2","@types/node":"18.6.2","eslint-plugin-import":"2.26.0","eslint-config-prettier":"8.5.0","@typescript-eslint/parser":"5.36.2","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.0.0","@typescript-eslint/eslint-plugin":"5.36.2"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_0.0.2_1689804282971_0.835107466917058","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@aptos-labs/aptos-client","version":"0.1.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@0.1.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://github.com/aptos-labs/aptos-core","bugs":{"url":"https://github.com/aptos-labs/aptos-core/issues"},"dist":{"shasum":"911fb27e436e5731290de0e0cfce6e0d3feeabaa","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-0.1.0.tgz","fileCount":21,"integrity":"sha512-q3s6pPq8H2buGp+tPuIRInWsYOuhSEwuNJPwd2YnsiID3YSLihn2ug39ktDJAcSOprUcp7Nid8WK7hKqnUmSdA==","signatures":[{"sig":"MEUCIQDGH2rh3mjZuQgkubNISKq6gYcEa6fy/ERnh9uf6De+zgIgRBWFWrUZVd7eiKjGxSPAHKUZ9olaGCyKCslxzWLfgho=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60402},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=15.10.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"8c3e8bbd49c76be101beabaae9fa6c133dfb1176","scripts":{"fmt":"pnpm _fmt --write","_fmt":"prettier 'src/**/*.ts' '.eslintrc.js' '*.md'","lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"deprecated":"This version is deprecated.  Please upgrade to version 2.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-core.git","type":"git"},"_npmVersion":"10.2.4","description":"client package for accessing the Aptos network API","directories":{},"_nodeVersion":"21.4.0","dependencies":{"got":"^11.8.6","axios":"1.6.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","devDependencies":{"tsup":"8.0.1","eslint":"8.55.0","semver":"6.3.1","ts-node":"10.9.2","prettier":"3.1.0","typescript":"5.3.3","@types/node":"20.10.4","eslint-plugin-import":"2.29.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"6.13.2","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.1.0","@typescript-eslint/eslint-plugin":"6.13.2"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_0.1.0_1702342161745_0.3371252754974332","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@aptos-labs/aptos-client","version":"0.1.1","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@0.1.1","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://github.com/aptos-labs/aptos-core","bugs":{"url":"https://github.com/aptos-labs/aptos-core/issues"},"dist":{"shasum":"cbcd2a73bad252e344318baec32ecc54d8136ee0","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-0.1.1.tgz","fileCount":21,"integrity":"sha512-kJsoy4fAPTOhzVr7Vwq8s/AUg6BQiJDa7WOqRzev4zsuIS3+JCuIZ6vUd7UBsjnxtmguJJulMRs9qWCzVBt2XA==","signatures":[{"sig":"MEYCIQDoNDwwRkfexsbxqqgdxX3GyYspKQpKIKqRr83rGgsrMgIhANTUhnFgHADcPjDHh0Fx06CxDx/80yTWp4XVIr8tMXem","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60402},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=15.10.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"f554a3185a573bebfd765091aa06ad43db0d3d57","scripts":{"fmt":"pnpm _fmt --write","_fmt":"prettier 'src/**/*.ts' '.eslintrc.js' '*.md'","lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"deprecated":"This version is deprecated.  Please upgrade to version 2.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-core.git","type":"git"},"_npmVersion":"10.2.4","description":"client package for accessing the Aptos network API","directories":{},"_nodeVersion":"21.6.2","dependencies":{"got":"^11.8.6","axios":"1.7.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","devDependencies":{"tsup":"8.0.1","eslint":"8.55.0","semver":"6.3.1","ts-node":"10.9.2","prettier":"3.1.0","typescript":"5.3.3","@types/node":"20.10.4","eslint-plugin-import":"2.29.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"6.13.2","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.1.0","@typescript-eslint/eslint-plugin":"6.13.2"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_0.1.1_1724348521078_0.3014059601916863","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@aptos-labs/aptos-client","version":"1.0.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@1.0.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"5999e893b48b519ca97fa57af9d33cad33c5817f","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-1.0.0.tgz","fileCount":21,"integrity":"sha512-P/U/xz9w7+tTQDkaeAc693lDFcADO15bjD5RtP/2sa5FSIYbAyGI5A1RfSNPESuBjvskHBa6s47wajgSt4yX7g==","signatures":[{"sig":"MEYCIQDrfwNF166oq1iZ5GieuYWU4k89kSs5PDGSNGFLT7hWhgIhAIuX3s7nimMu1O0fAJZgcveDj3p+LuVWwf2MxjdoPg1k","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":84578},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=15.10.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"f555540ffb68cdf84af8eabea48afc8758f40feb","scripts":{"fmt":"pnpm _fmt --write","_fmt":"prettier 'src/**/*.ts' '.eslintrc.js' '*.md'","lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"gregnazario","email":"greg@gnazar.io"},"deprecated":"This version is deprecated.  Please upgrade to version 2.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"10.9.2","description":"Client package for accessing the Aptos network API.","directories":{},"_nodeVersion":"23.4.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","devDependencies":{"tsup":"8.3.5","eslint":"8.57.1","semver":"7.6.3","ts-node":"10.9.2","prettier":"3.3.3","typescript":"5.6.3","@types/node":"22.9.0","eslint-plugin-import":"2.31.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"6.21.0","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.1.0","@typescript-eslint/eslint-plugin":"6.21.0"},"peerDependencies":{"got":"^11.8.6","axios":"^1.7.7"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_1.0.0_1738882352522_0.05101527013396767","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@aptos-labs/aptos-client","version":"1.1.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@1.1.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"daa18415b1d1b49beaccebe085aa0e0351e632ce","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-1.1.0.tgz","fileCount":21,"integrity":"sha512-rkGVjQufVONAwnMcjIbdPRmJnAoqBFxd8IXVUBJIVlDXkPgjW+Vj0P3z31CxDFE4mVBN6Wpu30BeBzCW/+IDPQ==","signatures":[{"sig":"MEUCIA5DH2jc1tHvs17XmvWhkDrZxNXeAXvND5v01cYi0ci+AiEA09K/pFsXq4vChsBIYIxWRsrYZlxfIwCkVu3l5fE/tWQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85191},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=15.10.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"a6a356e2407f7b25fc7eec7fdab08c088fd8f596","scripts":{"fmt":"pnpm _fmt --write","_fmt":"prettier 'src/**/*.ts' '.eslintrc.js' '*.md'","lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"deprecated":"This version is deprecated.  Please upgrade to version 2.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"10.9.0","description":"Client package for accessing the Aptos network API.","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","devDependencies":{"tsup":"8.3.5","eslint":"8.57.1","semver":"7.6.3","ts-node":"10.9.2","prettier":"3.3.3","typescript":"5.6.3","@types/node":"22.9.0","eslint-plugin-import":"2.31.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"6.21.0","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.1.0","@typescript-eslint/eslint-plugin":"6.21.0"},"peerDependencies":{"got":"^11.8.6","axios":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_1.1.0_1741979743707_0.5757597016781622","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@aptos-labs/aptos-client","version":"1.2.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@1.2.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"6965f897827bf7d6a638eef4b5cc1d6aba9a9b08","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-1.2.0.tgz","fileCount":21,"integrity":"sha512-pBlIAT/W+Qa0TOr/318U8r0Gxw/jfyRLcvDGMEXgcVrPqO9Qhwsmozw6LPPIZ963FB7smwIaMeexWFDs3zijcg==","signatures":[{"sig":"MEYCIQD5vIOLy8TMAolQexIPdtQ7FMEUubYkmegq95mWWRN+4gIhAIgq90LwgM+0YqmdBR6/kP4iB+/czg2ZNXo5djYN2SIt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65233},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=15.10.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"c860fe6542bd4793ed08d34edbf88d0e0432ac9b","scripts":{"fmt":"pnpm _fmt --write","_fmt":"prettier 'src/**/*.ts' '.eslintrc.js' '*.md'","lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"deprecated":"This version is deprecated.  Please upgrade to version 2.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"11.1.0","description":"Client package for accessing the Aptos network API.","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","devDependencies":{"tsup":"8.4.0","eslint":"8.57.1","semver":"7.7.1","ts-node":"10.9.2","prettier":"3.5.3","typescript":"5.8.2","@types/node":"22.13.10","eslint-plugin-import":"2.31.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"6.21.0","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.1.0","@typescript-eslint/eslint-plugin":"6.21.0"},"peerDependencies":{"got":"^11.8.6","axios":"^1.8.4"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_1.2.0_1744136714814_0.5682624555055042","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@aptos-labs/aptos-client","version":"2.0.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@2.0.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"13331f038f7bbd5c942f0d1fee0018810008c08a","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-2.0.0.tgz","fileCount":21,"integrity":"sha512-A23T3zTCRXEKURodp00dkadVtIrhWjC9uo08dRDBkh69OhCnBAxkENmUy/rcBarfLoFr60nRWt7cBkc8wxr1mg==","signatures":[{"sig":"MEUCIHBKfP7zH8w44OPWI7mhxgSKMnvdM/iqoRGVmsUuGnj9AiEApZUEPbZnE6LnRvrf+hMzQTQM3wgGPKcq/X3kQK7ra+8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85012},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=20.0.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"3662875babb8e3c56225a0d231a6d3c4e201474e","scripts":{"fmt":"pnpm _fmt --write","_fmt":"prettier 'src/**/*.ts' '.eslintrc.js' '*.md'","lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"deprecated":"This version is deprecated.  Please upgrade to version 2.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"10.9.0","description":"Client package for accessing the Aptos network API.","directories":{},"_nodeVersion":"22.11.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"tsup":"8.4.0","eslint":"8.57.1","semver":"7.7.1","ts-node":"10.9.2","prettier":"3.5.3","typescript":"5.8.2","@types/node":"22.13.10","eslint-plugin-import":"2.31.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"6.21.0","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.1.0","@typescript-eslint/eslint-plugin":"6.21.0"},"peerDependencies":{"got":"^11.8.6"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_2.0.0_1746566656699_0.5976815346640889","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@aptos-labs/aptos-client","version":"2.1.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@2.1.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"c0265a655f7b41cd5f858f9f261289a6a8b28327","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-2.1.0.tgz","fileCount":21,"integrity":"sha512-ttdY0qclRvbYAAwzijkFeipuqTfLFJnoXlNIm58tIw3DKhIlfYdR6iLqTeCpI23oOPghnO99FZecej/0MTrtuA==","signatures":[{"sig":"MEYCIQDS4xR676+OIOdakOiGZWOE9kyQyVZcfB/3sVZwrDHO1wIhALDczvrpWIapsNXGzERn/j3IV/QYv/GzMcy7WrEKnSHh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85337},"main":"./dist/node/index.node.js","types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=20.0.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"4cf9204b8a98983ade24fac3690955bea013e247","scripts":{"fmt":"pnpm _fmt --write","_fmt":"prettier 'src/**/*.ts' '.eslintrc.js' '*.md'","lint":"eslint \"**/*.ts\"","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"11.6.1","description":"Client package for accessing the Aptos network API.","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"tsup":"8.4.0","eslint":"8.57.1","semver":"7.7.1","ts-node":"10.9.2","prettier":"3.5.3","typescript":"5.8.2","@types/node":"22.13.10","eslint-plugin-import":"2.31.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"6.21.0","eslint-config-airbnb-base":"15.0.0","eslint-config-airbnb-typescript":"17.1.0","@typescript-eslint/eslint-plugin":"6.21.0"},"peerDependencies":{"got":"^11.8.6"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_2.1.0_1765234302237_0.09264085002392153","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@aptos-labs/aptos-client","version":"2.2.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@2.2.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"230815237bb0c4459e212d30fb21d9b02f100d3b","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-2.2.0.tgz","fileCount":21,"integrity":"sha512-lYgHI8ehgD+Ykhix0IwzLaTCknHp1KNmExbq2bPZk8IeTwQg79D5BOkD46MjW0jGbJbl+J/RBtVF9vM7Te/hWA==","signatures":[{"sig":"MEUCIDkJuMks+kx5I37tTJDPnjWf6PeEZ308s7Q9TqTk0V8QAiEAxdz6ption1VWEC4Fscieuaky4ttzX1+8N7HjXilqbGs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aptos-labs%2faptos-client@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":83323},"main":"./dist/node/index.node.js","pnpm":{"overrides":{"glob@^10":"^10.5.0"}},"types":"./dist/types/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=20.0.0"},"exports":{"node":{"types":"./dist/node/index.node.d.ts","import":"./dist/node/index.node.mjs","require":"./dist/node/index.node.js"},"browser":{"types":"./dist/browser/index.browser.d.ts","import":"./dist/browser/index.browser.mjs","require":"./dist/browser/index.browser.js"}},"gitHead":"460dad6b1c715e353dfc69a2ef9b67a427d2ba5c","scripts":{"fmt":"biome format --write","lint":"biome check","build":"pnpm build:clean && pnpm run _build:types && pnpm _build:node && pnpm _build:browser","check":"biome check","lint:fix":"biome check --write","_build:node":"tsup src/index.node.ts --format cjs,esm --dts --out-dir dist/node","build:clean":"rm -rf dist","_build:types":"tsc src/types.ts src/index.node.ts --outDir dist/types --declaration","_build:browser":"tsup src/index.browser.ts --format cjs,esm --dts --out-dir dist/browser"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:47a48591-c7b0-4c4e-af5c-4023be8a601e"}},"repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"11.11.0","description":"Client package for accessing the Aptos network API.","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","semver":"^7.7.4","typescript":"^5.9.3","@types/node":"^22.19.11","@biomejs/biome":"^2.4.4"},"peerDependencies":{"got":"^11.8.6"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_2.2.0_1772766583167_0.4921667674562842","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@aptos-labs/aptos-client","version":"3.0.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@3.0.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"dec575523552b242d6c07470cffd110c9f17f387","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-3.0.0.tgz","fileCount":21,"integrity":"sha512-Z808cr5HOCaIQC09+3Kilupb2u4Pzka7SooSUobKqbYuTMGe4Hj7CLkOW9rXKdUyaTLzpLxGtBiPgV3dF5TjLw==","signatures":[{"sig":"MEUCIDp/NzESdLkDdkwvTEcIMJbpJTOScQmSFcGU/Copu8keAiEAxPlhygcs6/wVmcDs1gilZzYsrGG99Bwk59MXTazLiTI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aptos-labs%2faptos-client@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":202343},"main":"./dist/node/index.node.js","types":"./dist/node/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=22.0.0"},"exports":{"bun":{"types":"./dist/fetch/index.fetch.d.mts","import":"./dist/fetch/index.fetch.mjs"},"deno":{"types":"./dist/fetch/index.fetch.d.mts","import":"./dist/fetch/index.fetch.mjs"},"node":{"import":{"types":"./dist/node/index.node.d.mts","default":"./dist/node/index.node.mjs"},"require":{"types":"./dist/node/index.node.d.ts","default":"./dist/node/index.node.js"}},"browser":{"import":{"types":"./dist/browser/index.browser.d.mts","default":"./dist/browser/index.browser.mjs"},"require":{"types":"./dist/browser/index.browser.d.ts","default":"./dist/browser/index.browser.js"}},"default":{"import":{"types":"./dist/fetch/index.fetch.d.mts","default":"./dist/fetch/index.fetch.mjs"},"require":{"types":"./dist/fetch/index.fetch.d.ts","default":"./dist/fetch/index.fetch.js"}},"react-native":{"import":{"types":"./dist/fetch/index.fetch.d.mts","default":"./dist/fetch/index.fetch.mjs"},"require":{"types":"./dist/fetch/index.fetch.d.ts","default":"./dist/fetch/index.fetch.js"}}},"gitHead":"325ca1bfe67917b1cbafd40eaa9dbaf603e359f1","scripts":{"fmt":"biome format --write","lint":"biome check","test":"tsx --test --test-force-exit test/node.test.ts test/fetch.test.ts test/browser.test.ts test/cookieJar.test.ts","build":"pnpm build:clean && tsup","check":"biome check","lint:fix":"biome check --write","test:bun":"bun test ./test/bun.integration.ts","test:deno":"deno test --allow-net=127.0.0.1 --allow-run=npx --allow-read=. --allow-env --unsafely-ignore-certificate-errors=127.0.0.1 test/deno.integration.ts","test:node":"tsx --test --test-force-exit test/node.test.ts","typecheck":"tsc --noEmit && tsc --project tsconfig.test.json --noEmit","test:fetch":"tsx --test --test-force-exit test/fetch.test.ts","build:clean":"rm -rf dist","test:browser":"tsx --test --test-force-exit test/browser.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:47a48591-c7b0-4c4e-af5c-4023be8a601e"}},"deprecated":"This version is deprecated. Please upgrade to 4.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"11.11.1","description":"Client package for accessing the Aptos network API.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","react-native":{"./dist/node/index.node.js":"./dist/fetch/index.fetch.js","./dist/node/index.node.mjs":"./dist/fetch/index.fetch.mjs"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.1","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","undici":"^7.22.0","typescript":"^5.9.3","@types/node":"^22.19.15","@biomejs/biome":"^2.4.6"},"peerDependencies":{"undici":"^7.22.0"},"peerDependenciesMeta":{"undici":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_3.0.0_1773339153492_0.13265452049173","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@aptos-labs/aptos-client","version":"3.0.1","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@3.0.1","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"262d96ee99315a483471b2eabf9964be4a865540","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-3.0.1.tgz","fileCount":21,"integrity":"sha512-TPfjNiBWiny/hXuTc+X7GHu/qAcTS9wZkLgVDMbR8LRS7PGemqO9BpPhgIskR1NLy79GqV2d7rDfmOr0kR/+oQ==","signatures":[{"sig":"MEQCIGyyeM/1qlxWywkRw+56QUo0fTFC022NynWP1OMEJYfSAiBP44lDQHGrl5SSZfpXr2M0oq+zfp+rHHoyZNYxjFzniw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aptos-labs%2faptos-client@3.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":202551},"main":"./dist/node/index.node.js","types":"./dist/node/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=22.0.0"},"exports":{".":{"bun":{"types":"./dist/fetch/index.fetch.d.mts","import":"./dist/fetch/index.fetch.mjs"},"deno":{"types":"./dist/fetch/index.fetch.d.mts","import":"./dist/fetch/index.fetch.mjs"},"node":{"import":{"types":"./dist/node/index.node.d.mts","default":"./dist/node/index.node.mjs"},"require":{"types":"./dist/node/index.node.d.ts","default":"./dist/node/index.node.js"}},"browser":{"import":{"types":"./dist/browser/index.browser.d.mts","default":"./dist/browser/index.browser.mjs"},"require":{"types":"./dist/browser/index.browser.d.ts","default":"./dist/browser/index.browser.js"}},"default":{"import":{"types":"./dist/fetch/index.fetch.d.mts","default":"./dist/fetch/index.fetch.mjs"},"require":{"types":"./dist/fetch/index.fetch.d.ts","default":"./dist/fetch/index.fetch.js"}},"react-native":{"import":{"types":"./dist/fetch/index.fetch.d.mts","default":"./dist/fetch/index.fetch.mjs"},"require":{"types":"./dist/fetch/index.fetch.d.ts","default":"./dist/fetch/index.fetch.js"}}}},"gitHead":"e76bbf754e6292d47fca88d9ce9394af3ad12c22","scripts":{"fmt":"biome format --write","lint":"biome check","test":"tsx --test --test-force-exit test/node.test.ts test/fetch.test.ts test/browser.test.ts test/cookieJar.test.ts","build":"pnpm build:clean && tsup","check":"biome check","lint:fix":"biome check --write","test:bun":"bun test ./test/bun.integration.ts","test:deno":"deno test --allow-net=127.0.0.1 --allow-run=npx --allow-read=. --allow-env --unsafely-ignore-certificate-errors=127.0.0.1 test/deno.integration.ts","test:node":"tsx --test --test-force-exit test/node.test.ts","typecheck":"tsc --noEmit && tsc --project tsconfig.test.json --noEmit","test:build":"tsx --test --test-force-exit test/build.test.ts","test:fetch":"tsx --test --test-force-exit test/fetch.test.ts","build:clean":"rm -rf dist","test:browser":"tsx --test --test-force-exit test/browser.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:47a48591-c7b0-4c4e-af5c-4023be8a601e"}},"deprecated":"This version is deprecated. Please upgrade to 4.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"11.11.1","description":"Client package for accessing the Aptos network API.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.1","react-native":{"./dist/node/index.node.js":"./dist/fetch/index.fetch.js","./dist/node/index.node.mjs":"./dist/fetch/index.fetch.mjs"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.1","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","undici":"^7.24.1","esbuild":"^0.27.4","typescript":"^5.9.3","@types/node":"^22.19.15","@biomejs/biome":"^2.4.6"},"peerDependencies":{"undici":"^7.24.1"},"peerDependenciesMeta":{"undici":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_3.0.1_1773437483227_0.6521505009702415","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@aptos-labs/aptos-client","version":"3.0.2","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@3.0.2","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"9840b32769ffad20aa80ad3d1a3d05d75124cf99","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-3.0.2.tgz","fileCount":21,"integrity":"sha512-DH3Zh7k3mQCzqCHtDX7yVCMHCKWAF4n0ii38Jm85EUUbpYIzJG07a1q7AvMUqktsIsEYpZaaLQK9mLcKQgtJTA==","signatures":[{"sig":"MEUCIQCFriTlu0m/A6lQxuBnXGXNdaGxegpT4kqwH4qclZ8acwIgRxmb6LSqJBjndE38mkYeTYmgG9qoeOSbfiNjCC/4VcY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aptos-labs%2faptos-client@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":210524},"main":"./dist/node/index.node.js","types":"./dist/node/index.node.d.ts","module":"./dist/node/index.node.mjs","browser":{"./dist/node/index.node.js":"./dist/browser/index.browser.js","./dist/node/index.node.mjs":"./dist/browser/index.browser.mjs"},"engines":{"node":">=22.0.0"},"exports":{".":{"bun":{"types":"./dist/fetch/index.fetch.d.mts","import":"./dist/fetch/index.fetch.mjs"},"deno":{"types":"./dist/fetch/index.fetch.d.mts","import":"./dist/fetch/index.fetch.mjs"},"node":{"import":{"types":"./dist/node/index.node.d.mts","default":"./dist/node/index.node.mjs"},"require":{"types":"./dist/node/index.node.d.ts","default":"./dist/node/index.node.js"}},"browser":{"import":{"types":"./dist/browser/index.browser.d.mts","default":"./dist/browser/index.browser.mjs"},"require":{"types":"./dist/browser/index.browser.d.ts","default":"./dist/browser/index.browser.js"}},"default":{"import":{"types":"./dist/fetch/index.fetch.d.mts","default":"./dist/fetch/index.fetch.mjs"},"require":{"types":"./dist/fetch/index.fetch.d.ts","default":"./dist/fetch/index.fetch.js"}},"react-native":{"import":{"types":"./dist/fetch/index.fetch.d.mts","default":"./dist/fetch/index.fetch.mjs"},"require":{"types":"./dist/fetch/index.fetch.d.ts","default":"./dist/fetch/index.fetch.js"}}}},"gitHead":"670cc349d8729dda1c4bd5ce56bcdc97698b2d9e","scripts":{"fmt":"biome format --write","lint":"biome check","test":"tsx --test --test-force-exit test/node.test.ts test/fetch.test.ts test/browser.test.ts test/cookieJar.test.ts","build":"pnpm build:clean && tsup","check":"biome check","lint:fix":"biome check --write","test:bun":"bun test ./test/bun.integration.ts","test:deno":"deno test --allow-net=127.0.0.1 --allow-run=npx --allow-read=. --allow-env --unsafely-ignore-certificate-errors=127.0.0.1 test/deno.integration.ts","test:node":"tsx --test --test-force-exit test/node.test.ts","typecheck":"tsc --noEmit && tsc --project tsconfig.test.json --noEmit","test:build":"pnpm build && tsx --test --test-force-exit test/build.test.ts","test:fetch":"tsx --test --test-force-exit test/fetch.test.ts","build:clean":"rm -rf dist","test:browser":"tsx --test --test-force-exit test/browser.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:47a48591-c7b0-4c4e-af5c-4023be8a601e"}},"deprecated":"This version is deprecated. Please upgrade to 4.1.0 or later.","repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"11.12.1","description":"Client package for accessing the Aptos network API.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","react-native":{"./dist/node/index.node.js":"./dist/fetch/index.fetch.js","./dist/node/index.node.mjs":"./dist/fetch/index.fetch.mjs"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.1","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","undici":"^7.24.1","esbuild":"^0.27.4","picomatch":"^4.0.4","typescript":"^5.9.3","@types/node":"^22.19.15","@biomejs/biome":"^2.4.6","brace-expansion":"2.0.3"},"peerDependencies":{"undici":"^7.24.1"},"peerDependenciesMeta":{"undici":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_3.0.2_1775598465025_0.46899832707929945","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@aptos-labs/aptos-client","version":"4.0.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@4.0.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"4c0aeb31e8f390e2155bec2abe06e1943b1d1fdd","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-4.0.0.tgz","fileCount":33,"integrity":"sha512-hj2X9S932oq+bgXka+mZrBnPzYORutXugdRBsGBIGAOkhwunaroDeQVq6z2WqvwxDnBsxXxcWcchIWJmJnokww==","signatures":[{"sig":"MEUCIFPqXt6LYl+1C8iSc5UZkS+Sn/hXWO1S17J63axU4KXcAiEAl8tPU/ODV64iB5dG/cjCd7ChMg/CQVAhCLiS/ZPg7/8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aptos-labs%2faptos-client@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103981},"type":"module","types":"./dist/index.node.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"bun":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"deno":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"node":{"types":"./dist/index.node.d.ts","default":"./dist/index.node.js"},"browser":{"types":"./dist/index.browser.d.ts","default":"./dist/index.browser.js"},"default":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"workerd":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"edge-light":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"react-native":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"}}},"gitHead":"bb96b906daa811456c0510c80bea0fd87f1d92a9","scripts":{"fmt":"biome format --write","lint":"biome check","test":"tsx --test --test-force-exit test/node.test.ts test/fetch.test.ts test/browser.test.ts test/cookieJar.test.ts","build":"pnpm build:clean && tsc --project tsconfig.build.json","check":"biome check","lint:fix":"biome check --write","test:bun":"bun test ./test/bun.integration.ts","test:deno":"deno test --allow-net=127.0.0.1 --allow-run=npx --allow-read=. --allow-env --unsafely-ignore-certificate-errors=127.0.0.1 test/deno.integration.ts","test:node":"tsx --test --test-force-exit test/node.test.ts","typecheck":"tsc --noEmit && tsc --project tsconfig.test.json --noEmit","test:build":"pnpm build && tsx --test --test-force-exit test/build.test.ts","test:fetch":"tsx --test --test-force-exit test/fetch.test.ts","build:clean":"rm -rf dist","test:browser":"tsx --test --test-force-exit test/browser.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:47a48591-c7b0-4c4e-af5c-4023be8a601e"}},"repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"11.12.1","description":"Client package for accessing the Aptos network API.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"undici":"^7.25.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.1","devDependencies":{"tsx":"^4.21.0","esbuild":"^0.28.0","typescript":"^6.0.2","@types/node":"^22.19.17","@biomejs/biome":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_4.0.0_1776192047052_0.1678868392131645","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This version is deprecated. Please upgrade to 4.1.0 or later."},"4.1.0":{"name":"@aptos-labs/aptos-client","version":"4.1.0","keywords":["Aptos","Aptos Labs","Aptos SDK"],"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","_id":"@aptos-labs/aptos-client@4.1.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"homepage":"https://github.com/aptos-labs/aptos-client","bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"dist":{"shasum":"23314ad383bf91639b1de4ea1e7da5d3975fc49c","tarball":"https://registry.npmjs.org/@aptos-labs/aptos-client/-/aptos-client-4.1.0.tgz","fileCount":33,"integrity":"sha512-QNr8OV3b6oZB+5LSh86wee9RbK+FAYCKh0wvu3epSf5JJnHezszpnAgtr3DJGBG6t00MJHaiu6VUbmujrl97iQ==","signatures":[{"sig":"MEUCIFf+10rhVSIe1INU8Syz9xTWQR1pjlGsTZ3hvUBqJB5OAiEAgWIH6Q4p5VjJgZNwSTHeVrwNmghCODSL4Ui26z0VtUA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aptos-labs%2faptos-client@4.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":117383},"type":"module","types":"./dist/index.node.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"bun":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"deno":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"node":{"types":"./dist/index.node.d.ts","default":"./dist/index.node.js"},"browser":{"types":"./dist/index.browser.d.ts","default":"./dist/index.browser.js"},"default":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"workerd":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"edge-light":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"},"react-native":{"types":"./dist/index.fetch.d.ts","default":"./dist/index.fetch.js"}}},"gitHead":"c39d2026240384515a005adec5f65406ba82a29f","scripts":{"fmt":"biome format --write","lint":"biome check","test":"tsx --test --test-force-exit test/node.test.ts test/fetch.test.ts test/browser.test.ts test/cookieJar.test.ts","build":"pnpm build:clean && tsc --project tsconfig.build.json","check":"biome check","coverage":"rm -rf coverage && mkdir -p coverage && tsx --test --experimental-test-coverage --test-coverage-include='src/**/*.ts' --test-coverage-exclude='test/**' --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-force-exit test/node.test.ts test/fetch.test.ts test/browser.test.ts test/cookieJar.test.ts","lint:fix":"biome check --write","test:bun":"bun test ./test/bun.integration.ts","test:deno":"deno test --allow-net=127.0.0.1 --allow-run=npx --allow-read=. --allow-env --unsafely-ignore-certificate-errors=127.0.0.1 test/deno.integration.ts","test:node":"tsx --test --test-force-exit test/node.test.ts","typecheck":"tsc --noEmit && tsc --project tsconfig.test.json --noEmit","test:build":"pnpm build && tsx --test --test-force-exit test/build.test.ts","test:fetch":"tsx --test --test-force-exit test/fetch.test.ts","build:clean":"rm -rf dist","test:browser":"tsx --test --test-force-exit test/browser.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:09c681b7-dd9d-412d-9a8b-2d14d3ee6947"}},"repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"_npmVersion":"11.12.1","description":"Client package for accessing the Aptos network API.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"got":"^15.0.5"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.1","devDependencies":{"tsx":"4.22.2","esbuild":"0.28.0","typescript":"6.0.3","@types/node":"22.19.19","@biomejs/biome":"2.4.15"},"_npmOperationalInternal":{"tmp":"tmp/aptos-client_4.1.0_1779303812615_0.032463831117333086","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2023-07-14T01:53:57.950Z","modified":"2026-05-20T19:22:16.220Z","0.0.1":"2023-07-14T01:53:58.265Z","0.0.2":"2023-07-19T22:04:43.152Z","0.1.0":"2023-12-12T00:49:21.948Z","0.1.1":"2024-08-22T17:42:01.239Z","1.0.0":"2025-02-06T22:52:32.742Z","1.1.0":"2025-03-14T19:15:43.873Z","1.2.0":"2025-04-08T18:25:15.010Z","2.0.0":"2025-05-06T21:24:16.902Z","2.1.0":"2025-12-08T22:51:42.414Z","2.2.0":"2026-03-06T03:09:43.349Z","3.0.0":"2026-03-12T18:12:33.646Z","3.0.1":"2026-03-13T21:31:23.396Z","3.0.2":"2026-04-07T21:47:45.199Z","4.0.0":"2026-04-14T18:40:47.212Z","4.1.0":"2026-05-20T19:03:32.750Z"},"bugs":{"url":"https://github.com/aptos-labs/aptos-client/issues"},"author":{"name":"aptoslabs.com"},"license":"Apache-2.0","homepage":"https://github.com/aptos-labs/aptos-client","keywords":["Aptos","Aptos Labs","Aptos SDK"],"repository":{"url":"git+https://github.com/aptos-labs/aptos-client.git","type":"git"},"description":"Client package for accessing the Aptos network API.","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},{"name":"gregnazario","email":"greg@gnazar.io"}],"readme":"![License][github-license]\n[![NPM Package Version][npm-image-version]][npm-url]\n![Node Version](https://img.shields.io/node/v/%40aptos-labs%2Faptos-client)\n![NPM bundle size](https://img.shields.io/bundlephobia/min/%40aptos-labs/aptos-client)\n[![NPM Package Downloads][npm-image-downloads]][npm-url]\n[![codecov](https://codecov.io/gh/aptos-labs/aptos-client/branch/main/graph/badge.svg)](https://codecov.io/gh/aptos-labs/aptos-client)\n\n# @aptos-labs/aptos-client\n\nHTTP client for the Aptos network API. Works standalone or as the transport layer for the [Aptos TypeScript SDK](https://github.com/aptos-labs/aptos-ts-sdk).\n\n## Features\n\n- **HTTP/2** — enabled by default on all platforms\n- **Multi-runtime** — Node.js, Deno, Bun, browsers, and React Native\n- **Cookie jar** — automatic cookie handling in Node, Deno, and Bun\n- **BCS support** — `bcsRequest()` returns raw `ArrayBuffer` for binary-encoded responses\n\n## Installation\n\n```bash\nnpm install @aptos-labs/aptos-client\n# or\npnpm add @aptos-labs/aptos-client\n```\n\n## Usage\n\n```ts\nimport aptosClient from \"@aptos-labs/aptos-client\";\n\nconst { status, data } = await aptosClient<{ chain_id: number }>({\n  url: \"https://fullnode.mainnet.aptoslabs.com/v1\",\n  method: \"GET\",\n});\n```\n\n### Named exports\n\n```ts\nimport { jsonRequest, bcsRequest } from \"@aptos-labs/aptos-client\";\n\n// JSON (same as default export)\nconst json = await jsonRequest<MyType>({ url, method: \"GET\" });\n\n// BCS (returns ArrayBuffer)\nconst bcs = await bcsRequest({ url, method: \"GET\" });\n```\n\n## Runtime Resolution\n\nThe package uses [conditional exports](https://nodejs.org/api/packages.html#conditional-exports) to select the right implementation for each runtime:\n\n| Condition | Entry point | HTTP/2 | Notes |\n|---|---|---|---|\n| `node` | `index.node.ts` | Configurable via `http2` option (default `true`) | Uses [got](https://github.com/sindresorhus/got) (decodes `br`/`gzip`/`deflate` transparently on H1 and H2) |\n| `browser` | `index.browser.ts` | Automatic (browser engine) | Delegates cookies to the browser |\n| `react-native` | `index.fetch.ts` | Automatic (OkHttp / NSURLSession) | Platform negotiates HTTP/2 via ALPN |\n| `deno` | `index.fetch.ts` | Automatic | — |\n| `bun` | `index.fetch.ts` | Automatic | — |\n| `workerd` | `index.fetch.ts` | Automatic | Cloudflare Workers |\n| `edge-light` | `index.fetch.ts` | Automatic | Vercel Edge Functions |\n| `default` | `index.fetch.ts` | Depends on runtime | Fallback for unknown runtimes |\n\n## Types\n\n```ts\ntype AptosClientRequest = {\n  url: string;\n  method: \"GET\" | \"POST\";\n  body?: unknown;\n  params?: Record<string, string | number | bigint | boolean | undefined>;\n  headers?: Record<string, string | undefined>;\n  overrides?: { WITH_CREDENTIALS?: boolean };\n  http2?: boolean;    // Node only — ignored elsewhere\n  cookieJar?: CookieJarLike; // Per-request cookie isolation (Node & fetch only)\n};\n\ntype AptosClientResponse<Res> = {\n  status: number;\n  statusText: string;\n  data: Res;\n  config?: any;\n  request?: any;\n  response?: any;\n  headers?: Record<string, string | string[]>;\n};\n```\n\n> See [`src/types.ts`](./src/types.ts) for the full type definitions with documentation.\n\n## HTTP/2\n\n| Runtime | How it works |\n|---|---|\n| **Node.js** | `got` negotiates HTTP/2 via ALPN (powered by `http2-wrapper`) when `http2: true` (the default). Set `http2: false` to force HTTP/1.1. |\n| **Browser** | The browser engine negotiates HTTP/2 with the server automatically. The `http2` option is ignored. |\n| **React Native** | OkHttp (Android) and NSURLSession (iOS) negotiate HTTP/2 via ALPN automatically. The `http2` option is ignored. |\n| **Deno / Bun** | The runtime negotiates HTTP/2 automatically. The `http2` option is ignored. |\n\n## Migrating from v2\n\nv4.1.0 returns to the same HTTP library v2 used (`got`) while keeping the v4 architecture (ESM, conditional exports, multi-runtime). For most callers the migration is one or two small edits.\n\n> **If you are on v3.0.0 through v4.0.0, upgrade.** Those versions silently return raw compressed bytes instead of parsed JSON whenever the origin sends `content-encoding: br`/`gzip`/`deflate` — which is what the Aptos fullnode and indexer do. 4.1.0 restores v2-era decompression behavior.\n\n### What works the same as v2\n\n- `http2: true` default; falls back to H1.1 when the server doesn't support H2.\n- Brotli / gzip / deflate decompression handled transparently.\n- Cookie jar round-trips `set-cookie` and re-sends cookies on same-origin requests.\n- `bigint` query params are stringified.\n- 4xx / 5xx responses do **not** throw — inspect `res.status`.\n- `AptosClientResponse` shape: `{ status, statusText, data, config, request, response, headers }` with `headers` as a plain `Record<string, string | string[]>`.\n\n### Behavior changes (observable to callers)\n\n| Change | v2 | v4.1.0 |\n|---|---|---|\n| **BCS response type** | `Buffer` | `ArrayBuffer` — cross-runtime, no `Buffer` polyfill needed. The bytes are identical; use `new Uint8Array(res.data)` or `Buffer.from(res.data)` if you need either shape. |\n| **Retries** | got default (`limit: 2`, backoff) | **Off** (`limit: 0`). Wrap in your own retry loop, or let the Aptos TS SDK manage retries at a higher layer. |\n| **Non-JSON bodies** | `JSON.parse` would throw | Falls back to returning the raw text in `data` — lets callers inspect the status code regardless of body content-type. |\n| **Empty / 204 / 205 bodies** | Whatever got returned (often `\"\"` or `undefined`) | Explicitly `null`. |\n| **`statusText` over HTTP/2** | Empty string (H2 has no reason phrase) | Falls back to `http.STATUS_CODES[code]` — `\"OK\"`, `\"Not Found\"`, etc. |\n| **`NODE_TLS_REJECT_UNAUTHORIZED=0` on H2** | Inherited transitively (worked by accident) | Explicitly propagated to got's `https.rejectUnauthorized` — works on both H1 and H2. |\n\n### New capabilities since v2\n\n- **Per-request cookie jar isolation** — pass `cookieJar: new CookieJar()` to keep multi-tenant requests from sharing cookie state.\n- **Public `CookieJar`** is now exported (with RFC 6265 validation, expiry eviction, per-origin caps, and SameSite=None+Secure enforcement).\n- **`CookieJarLike` interface** — bring your own jar (e.g. tough-cookie or a database-backed store).\n- **Conditional exports** auto-select the right entry for Node / browser / Deno / Bun / Cloudflare Workers / Vercel Edge / React Native. v2 only shipped Node + browser.\n- **`overrides.WITH_CREDENTIALS`** (browser entry) maps to `fetch`'s `credentials: \"omit\" | \"include\"`.\n\n### Removed since v2\n\n- **CJS `require()`** — the package is ESM-only since v4.0. Use `import` or `await import(...)`.\n- **Re-export of got error types** — if you handled `RequestError` / `HTTPError` directly, import them from `got` (it's still a direct dependency).\n- **Node < 22** — the minimum supported Node version is 22.\n\n### Migration checklist\n\n1. **Using `require()`?** → switch to `import` (or `await import()` from CJS).\n2. **Calling `Buffer` methods on a BCS response?** → use `new Uint8Array(res.data)`, `new DataView(res.data)`, or wrap with `Buffer.from(res.data)`.\n3. **Relying on automatic retries?** → add an explicit retry wrapper. (Most consumers — including the Aptos TS SDK — don't need to.)\n4. **Node version < 22?** → upgrade.\n\nThat's the full migration. Everything else either works the same, is additive, or is a fixed bug.\n\n## Releasing a new version\n\nReleases are published to npm automatically via GitHub Actions whenever a GitHub release is created. The workflow lives in `.github/workflows/publish.yml`.\n\nTo release a new version:\n\n1. **Update the version** in `package.json` (follows [semver](https://semver.org/)):\n\n   ```bash\n   npm version <major|minor|patch> --no-git-tag-version\n   ```\n\n2. **Update `CHANGELOG.md`** — move any notes under `# Unreleased` into a new section for the version being released.\n\n3. **Commit and push** the version bump and changelog update to `main`:\n\n   ```bash\n   git add package.json CHANGELOG.md\n   git commit -m \"v<VERSION>\"\n   git push\n   ```\n\n4. **Create a GitHub release** with a tag that matches `vMAJOR.MINOR.PATCH` (e.g. `v2.3.0`). The tag **must** match the version in `package.json` — the publish workflow will fail otherwise. Pre-release tags like `v2.3.0-beta.1` are also supported.\n\nThe publish workflow will then automatically:\n\n- Validate that the tag matches the expected `vMAJOR.MINOR.PATCH[-prerelease]` pattern.\n- Verify that the tag matches the `version` field in `package.json`.\n- Install dependencies, build the package, and publish to npm with [provenance](https://docs.npmjs.com/generating-provenance-statements).\n\n[npm-image-version]: https://img.shields.io/npm/v/%40aptos-labs%2Faptos-client.svg\n[npm-image-downloads]: https://img.shields.io/npm/dm/%40aptos-labs%2Faptos-client.svg\n[npm-url]: https://npmjs.org/package/@aptos-labs/aptos-client\n[github-license]: https://img.shields.io/github/license/aptos-labs/aptos-client\n","readmeFilename":"README.md"}