{"_id":"@aptos-labs/confidential-asset","_rev":"11-68dba89d8222b6fecf6ca86feb25b6d9","name":"@aptos-labs/confidential-asset","dist-tags":{"beta":"2.1.0-beta.0","latest":"2.3.0"},"versions":{"0.10.0":{"name":"@aptos-labs/confidential-asset","version":"0.10.0","license":"Apache-2.0","_id":"@aptos-labs/confidential-asset@0.10.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"8164008897038fc1fe6439d8102b9d1655db6f5d","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-0.10.0.tgz","fileCount":161,"integrity":"sha512-AvYJwhsSwPtPap4NHgknQPFarTBaJQtburNXfn6wCcVOk/3Ly8DixtAg6QmFEIYEaakkClvAq6L95vK7ntnhVg==","signatures":[{"sig":"MEQCIErOg5zDhjfyUGljFDIGJgDHELC5p0X4a0ibGkIAV1FzAiBUFBj3PieCrcfcUdugJAtn0aRnz4hzDLLLLaOkpiqeBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1772449},"main":"dist/common/index.js","pnpm":{"overrides":{"yauzl":"3.2.1","glob@^10":"^10.5.0","file-type":"21.3.3","minimatch@^9":"^9.0.7"}},"types":"./dist/common/index.d.ts","module":"dist/esm/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"source":"./src/index.ts","require":{"types":"./dist/common/index.d.ts","default":"./dist/common/index.js"}},"./package.json":"./package.json","./dist/esm/cli/index.mjs":"./dist/esm/cli/index.mjs","./dist/common/cli/index.js":"./dist/common/cli/index.js"},"gitHead":"8ce2f44a0d2259dd92e478fb3fd8a907cfdfc230","scripts":{"test":"vitest run","build":"pnpm build:clean && tsup","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","build:types":"tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","indexer-codegen":"graphql-codegen --config ./src/indexer/codegen.yaml"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"^1.6.0","@noble/hashes":"^1.5.0","@aptos-labs/confidential-asset-bindings":"^0.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","tslib":"^2.8.1","vitest":"^4.1.2","@swc/cli":"^0.8.0","@swc/core":"^1.15.18","tsc-alias":"^1.8.16","playwright":"^1.59.1","typescript":"^5.9.3","@types/node":"^22.19.13","@vitest/browser":"^4.1.2","@vitest/coverage-v8":"^4.1.2","@vitest/browser-playwright":"^4.1.2"},"peerDependencies":{"@aptos-labs/ts-sdk":"^5.2.1 || ^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_0.10.0_1775614596017_0.6098544216350341","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@aptos-labs/confidential-asset","version":"1.0.0","license":"Apache-2.0","_id":"@aptos-labs/confidential-asset@1.0.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"b14325fe517a1c56067d501e5521a9820aba66dc","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-1.0.0.tgz","fileCount":161,"integrity":"sha512-c0Kq5ickP0X/L1h2X/ph58njCzFo7mLN5CDgqs8sUTPmF6dEa3iBq6OuYP7y0FpOMS5MVO/ZJnGkdOCXZ8+cSw==","signatures":[{"sig":"MEUCIDVLkiihTBpmffeG2kaBjHg8teukluG8oheBLwFH5Bl1AiEAgWFcV3lwwMZiZZe9+aEQZHkGNKuErJTlR/vI4gWwSk8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1772448},"main":"dist/common/index.js","pnpm":{"overrides":{"yauzl":"3.2.1","glob@^10":"^10.5.0","file-type":"21.3.3","minimatch@^9":"^9.0.7"}},"types":"./dist/common/index.d.ts","module":"dist/esm/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"source":"./src/index.ts","require":{"types":"./dist/common/index.d.ts","default":"./dist/common/index.js"}},"./package.json":"./package.json","./dist/esm/cli/index.mjs":"./dist/esm/cli/index.mjs","./dist/common/cli/index.js":"./dist/common/cli/index.js"},"gitHead":"8ce2f44a0d2259dd92e478fb3fd8a907cfdfc230","scripts":{"test":"vitest run","build":"pnpm build:clean && tsup","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","build:types":"tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","indexer-codegen":"graphql-codegen --config ./src/indexer/codegen.yaml"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"^1.6.0","@noble/hashes":"^1.5.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","tslib":"^2.8.1","vitest":"^4.1.2","@swc/cli":"^0.8.0","@swc/core":"^1.15.18","tsc-alias":"^1.8.16","playwright":"^1.59.1","typescript":"^5.9.3","@types/node":"^22.19.13","@vitest/browser":"^4.1.2","@vitest/coverage-v8":"^4.1.2","@vitest/browser-playwright":"^4.1.2"},"peerDependencies":{"@aptos-labs/ts-sdk":"^5.2.1 || ^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_1.0.0_1775699850848_0.9415745775583848","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@aptos-labs/confidential-asset","version":"1.1.0","license":"Apache-2.0","_id":"@aptos-labs/confidential-asset@1.1.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"d3e6bbdcc14d7ba052d645af0ea04275ad36b0ad","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-1.1.0.tgz","fileCount":161,"integrity":"sha512-6YRO7c+5IzNG7WWfykJP0b00lKoQcvzm4uobImTo3GaDT6GOaL1y3w6MdztrxBAY62lqHwjeWw9lFjeeeVEaIg==","signatures":[{"sig":"MEYCIQDlfgl6GfyUF4M1Co2Fg9E+Dd7QXVZw3SfUl+O7JJQ9xQIhAKGCVarfg1y7L4bVPkD8IO8CXHb84wMAty3GfnQgIyT0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1797454},"main":"dist/common/index.js","pnpm":{"overrides":{"yauzl":"3.2.1","glob@^10":"^10.5.0","file-type":"21.3.3","minimatch@^9":"^9.0.7"}},"types":"./dist/common/index.d.ts","module":"dist/esm/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"source":"./src/index.ts","require":{"types":"./dist/common/index.d.ts","default":"./dist/common/index.js"}},"./package.json":"./package.json","./dist/esm/cli/index.mjs":"./dist/esm/cli/index.mjs","./dist/common/cli/index.js":"./dist/common/cli/index.js"},"gitHead":"878e8e0cce90093f06bae09e2ead01e7bd49a8ca","scripts":{"test":"vitest run","build":"pnpm build:clean && tsup","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","build:types":"tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","indexer-codegen":"graphql-codegen --config ./src/indexer/codegen.yaml"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"1.9.7","@noble/hashes":"1.8.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","tslib":"^2.8.1","vitest":"^4.1.2","@swc/cli":"^0.8.0","@swc/core":"^1.15.18","tsc-alias":"^1.8.16","playwright":"^1.59.1","typescript":"^5.9.3","@types/node":"^22.19.13","@vitest/browser":"^4.1.2","@vitest/coverage-v8":"^4.1.2","@vitest/browser-playwright":"^4.1.2"},"peerDependencies":{"@aptos-labs/ts-sdk":"^5.2.1 || ^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_1.1.0_1776873239741_0.25675598792348087","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@aptos-labs/confidential-asset","version":"1.1.1","license":"Apache-2.0","_id":"@aptos-labs/confidential-asset@1.1.1","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"f80a3ec1e6703febd3a5d1bd3325a737b6a7e0c8","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-1.1.1.tgz","fileCount":161,"integrity":"sha512-7gsq/KLHr3kQ3fGqpNaLSUj/4yOTpksfT8SGvYBlNKh7WdVL3dMH/etzgZ93u/La2R1VroJPjrAfS9LkC5FU9A==","signatures":[{"sig":"MEYCIQCCTCgkiwlyh1WkPb+5f4sDQjRceAcDtUfmvzA03bSG3QIhAII/mc1XgAgdPsEyAsaGMoNAV/ZBtRnNML1/Icr0le3M","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1798486},"main":"dist/common/index.js","pnpm":{"overrides":{"yauzl":"3.2.1","glob@^10":"^10.5.0","file-type":"21.3.3","minimatch@^9":"^9.0.7"}},"types":"./dist/common/index.d.ts","module":"dist/esm/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"source":"./src/index.ts","require":{"types":"./dist/common/index.d.ts","default":"./dist/common/index.js"}},"./package.json":"./package.json","./dist/esm/cli/index.mjs":"./dist/esm/cli/index.mjs","./dist/common/cli/index.js":"./dist/common/cli/index.js"},"gitHead":"4c6efcc60328996fc565b17453c3dcae811a8a0c","scripts":{"test":"vitest run","build":"pnpm build:clean && tsup","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","build:types":"tsc -p tsconfig.build.json --outDir ./dist/types --declaration --emitDeclarationOnly","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","indexer-codegen":"graphql-codegen --config ./src/indexer/codegen.yaml"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"1.9.7","@noble/hashes":"1.8.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","tslib":"^2.8.1","vitest":"^4.1.2","@swc/cli":"^0.8.0","@swc/core":"^1.15.18","tsc-alias":"^1.8.16","playwright":"^1.59.1","typescript":"^5.9.3","@types/node":"^22.19.13","@vitest/browser":"^4.1.2","@vitest/coverage-v8":"^4.1.2","@vitest/browser-playwright":"^4.1.2"},"peerDependencies":{"@aptos-labs/ts-sdk":"^5.2.1 || ^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_1.1.1_1776960231821_0.10543483115429031","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@aptos-labs/confidential-asset","version":"2.0.0","license":"Apache-2.0","_id":"@aptos-labs/confidential-asset@2.0.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"05bacc442723a68dbd081c25a0f1ac8f3ec0746c","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-2.0.0.tgz","fileCount":154,"integrity":"sha512-EC1GRuOLdphAM/SLRdxzYvW/J4FE4V5oyVDzDY+7AK5v1upxgskh8t6ul80EL4ySUt3h3y3a+sN81Zl/JqENOA==","signatures":[{"sig":"MEYCIQDHAVkoRAF8YZ8AVkAOmpXAupXAE48oln5QSEHFXJJ8VgIhALlD9B9h094Nwb8oi2rrQYdYd0p90rBMtpbd1nG3RFyS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1541336},"pnpm":{"overrides":{"uuid":"^14.0.0","yauzl":"3.2.1","postcss":"^8.5.10","glob@^10":"^10.5.0","file-type":"21.3.3","minimatch@^9":"^9.0.7","picomatch@^2":"^2.3.2","picomatch@^4":"^4.0.4","@xmldom/xmldom":"^0.8.13","brace-expansion@^2":"^2.0.3","@aptos-labs/aptos-client":"^4.0.0"}},"type":"module","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"76bf74a57016c50545801383cecedc865d077824","scripts":{"fmt":"biome format --write","_fmt":"biome format","lint":"biome lint","test":"vitest run","build":"pnpm build:clean && tsc -p tsconfig.build.json","check":"biome check","format":"pnpm fmt","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","prepublishOnly":"pnpm run build","indexer-codegen":"graphql-codegen --config ./src/indexer/codegen.yaml"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"repository":{"url":"git+https://github.com/aptos-labs/aptos-ts-sdk.git","type":"git","directory":"confidential-asset"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"^2.2.0","@noble/hashes":"^2.2.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"vite":"^7.3.2","vitest":"^4.1.5","playwright":"^1.59.1","typescript":"^5.9.3","@types/node":"^22.19.13","@biomejs/biome":"2.4.6","@vitest/browser":"^4.1.5","@aptos-labs/ts-sdk":"^6.3.1","@vitest/coverage-v8":"^4.1.5","@vitest/browser-playwright":"^4.1.5"},"peerDependencies":{"@aptos-labs/ts-sdk":"^5.2.1 || ^6.3.1 || ^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_2.0.0_1779141587444_0.7449439616798921","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@aptos-labs/confidential-asset","version":"2.0.1","license":"Apache-2.0","_id":"@aptos-labs/confidential-asset@2.0.1","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"3f22eb219dab0e869e7dcae3f5f2bd60c6f96453","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-2.0.1.tgz","fileCount":154,"integrity":"sha512-MVmnStHFKW5P30UbG9bel0k4pKlACUbdLLha5xrOvC+E84rtAqtIsF3E5LS7F6yPhNFdFezzmkUAAwJ+0N35ag==","signatures":[{"sig":"MEYCIQDPL80DvCyOkqdHqVijbS+70lYZpN5iUEL0hYZEev8E1wIhAJgXxyvqVmicci82PLZfNHG/fSCTDJdYgauyQcQANRV6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1547515},"pnpm":{"overrides":{"uuid":"^14.0.0","yauzl":"3.2.1","postcss":"^8.5.10","glob@^10":"^10.5.0","file-type":"21.3.3","minimatch@^9":"^9.0.7","picomatch@^2":"^2.3.2","picomatch@^4":"^4.0.4","@xmldom/xmldom":"^0.8.13","brace-expansion@^2":"^2.0.3","@aptos-labs/aptos-client":"^4.1.0"}},"type":"module","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"2ae57750d0b5f7376939c982981846acef9b2d67","scripts":{"fmt":"biome format --write","_fmt":"biome format","lint":"biome lint","test":"vitest run","build":"pnpm build:clean && tsc -p tsconfig.build.json","check":"biome check","format":"pnpm fmt","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","prepublishOnly":"pnpm run build","indexer-codegen":"graphql-codegen --config ./src/indexer/codegen.yaml"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"repository":{"url":"git+https://github.com/aptos-labs/aptos-ts-sdk.git","type":"git","directory":"confidential-asset"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"^2.2.0","@noble/hashes":"^2.2.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"vite":"^7.3.2","vitest":"^4.1.5","playwright":"^1.59.1","typescript":"^5.9.3","@types/node":"^22.19.13","@biomejs/biome":"2.4.6","@vitest/browser":"^4.1.5","@aptos-labs/ts-sdk":"^7.1.1","@vitest/coverage-v8":"^4.1.5","@vitest/browser-playwright":"^4.1.5"},"peerDependencies":{"@aptos-labs/ts-sdk":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_2.0.1_1781633890684_0.18228316408140066","host":"s3://npm-registry-packages-npm-production"}},"2.1.0-alpha.0":{"name":"@aptos-labs/confidential-asset","version":"2.1.0-alpha.0","license":"Apache-2.0","_id":"@aptos-labs/confidential-asset@2.1.0-alpha.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"251775f702b8150c3523f2aa95a3d79c5abe9cf9","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-2.1.0-alpha.0.tgz","fileCount":159,"integrity":"sha512-Pjx+QEvD6YIyxoPVyY7jQ04+LdW527BGIfV4NsLpc73S5TNuJ4J1iiELhNCPsAf05wY4hUv/lEhmbZdzBZsulg==","signatures":[{"sig":"MEYCIQCZZ89Yd0xZWuzEaBuIF3DWAgsJQ+LBucpAHQq9FuvI2AIhANNevKIRCB1QDr+gibT+hI7QJ/fnh0yVlbNWpSTpuDG8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1618965},"pnpm":{"overrides":{"uuid":"^14.0.0","yauzl":"3.2.1","postcss":"^8.5.10","glob@^10":"^10.5.0","file-type":"21.3.3","minimatch@^9":"^9.0.7","picomatch@^2":"^2.3.2","picomatch@^4":"^4.0.4","@xmldom/xmldom":"^0.8.13","brace-expansion@^2":"^2.0.3","@aptos-labs/aptos-client":"^4.1.0"}},"type":"module","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"3d313e424cf991ca7edfed1e46c972fede880a5b","scripts":{"fmt":"biome format --write","_fmt":"biome format","lint":"biome lint","test":"vitest run","build":"pnpm build:clean && tsc -p tsconfig.build.json","check":"biome check","format":"pnpm fmt","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","prepublishOnly":"pnpm run build","indexer-codegen":"graphql-codegen --config ./src/indexer/codegen.yaml"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"repository":{"url":"git+https://github.com/aptos-labs/aptos-ts-sdk.git","type":"git","directory":"confidential-asset"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"^2.2.0","@noble/hashes":"^2.2.0","@noble/ciphers":"^2.2.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"vite":"^7.3.2","vitest":"^4.1.5","playwright":"^1.59.1","typescript":"^5.9.3","@types/node":"^22.19.13","@biomejs/biome":"2.4.6","@vitest/browser":"^4.1.5","@aptos-labs/ts-sdk":"^7.1.1","@vitest/coverage-v8":"^4.1.5","@vitest/browser-playwright":"^4.1.5"},"peerDependencies":{"@aptos-labs/ts-sdk":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_2.1.0-alpha.0_1781710042208_0.2059810936527049","host":"s3://npm-registry-packages-npm-production"}},"2.1.0-beta.0":{"name":"@aptos-labs/confidential-asset","version":"2.1.0-beta.0","license":"SEE LICENSE IN LICENSE","_id":"@aptos-labs/confidential-asset@2.1.0-beta.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"dd276c6ddd2da5de94a9ae4a3cec02cf5fc5c5f8","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-2.1.0-beta.0.tgz","fileCount":160,"integrity":"sha512-FKC6ZDDZ3bJfjEpv3XkFxvxWRVtm5KxIxHygbZeTIuKtHCdY15igJUXSlh4qsBVRYR9U9PM35mxstUvaQzcSoA==","signatures":[{"sig":"MEUCIQDzvhi4/1bVUKeVbiITIgpVgOcgNELSTOZOwVveWLtf3AIgPtJI4ESsL8Ph+aArygre/VBlXcRj6wHs8Gk0r1tpzPA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1630172},"pnpm":{"overrides":{"uuid":"^14.0.0","yauzl":"3.2.1","postcss":"^8.5.10","glob@^10":"^10.5.0","file-type":"21.3.3","minimatch@^9":"^9.0.7","picomatch@^2":"^2.3.2","picomatch@^4":"^4.0.4","@xmldom/xmldom":"^0.8.13","brace-expansion@^2":"^2.0.3","@aptos-labs/aptos-client":"^4.1.0"}},"type":"module","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"3bc5d0ccd2607d5ce7ae6bd4aa74208d2f30e875","scripts":{"fmt":"biome format --write","_fmt":"biome format","lint":"biome lint","test":"vitest run","build":"pnpm build:clean && tsc -p tsconfig.build.json","check":"biome check","format":"pnpm fmt","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","check-license":"sh ../scripts/checkLicense.sh .","prepublishOnly":"pnpm run build && pnpm run check-license"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"repository":{"url":"git+https://github.com/aptos-labs/aptos-ts-sdk.git","type":"git","directory":"confidential-asset"},"_npmVersion":"11.8.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"@noble/curves":"^2.2.0","@noble/hashes":"^2.2.0","@noble/ciphers":"^2.2.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","readmeFilename":"README.md","devDependencies":{"vite":"^7.3.2","vitest":"^4.1.5","playwright":"^1.59.1","typescript":"^5.9.3","@types/node":"^22.19.13","@biomejs/biome":"2.4.6","@vitest/browser":"^4.1.5","@aptos-labs/ts-sdk":"^7.1.3","@vitest/coverage-v8":"^4.1.5","@vitest/browser-playwright":"^4.1.5"},"peerDependencies":{"@aptos-labs/ts-sdk":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_2.1.0-beta.0_1782340267717_0.6101508506512574","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@aptos-labs/confidential-asset","version":"2.1.0","license":"SEE LICENSE IN LICENSE","_id":"@aptos-labs/confidential-asset@2.1.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"748ba7250faa66e1dfc7f44eb85e53974e40e0bc","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-2.1.0.tgz","fileCount":160,"integrity":"sha512-eEijCoiY8UuZj8lOK0Wd0xwY+HafgvB4Jtu/JhgbOvueqhz+9mDTSPDxYeRV4Za6lggr4+vEQjvwIG45MzKnpg==","signatures":[{"sig":"MEYCIQCRcxfhP4ywPL8T/MlyhxKi/y+k7BYDTXVvVQHNTH5oSAIhAPDF0ph/go0g4JrD8JdGHTLSe2PawIva5klGliDzkx9D","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1630222},"pnpm":{"overrides":{"uuid":"^14.0.0","yauzl":"3.2.1","esbuild":"^0.28.1","postcss":"^8.5.10","glob@^10":"^10.5.0","file-type":"21.3.3","undici@^7":"^7.28.0","minimatch@^9":"^9.0.7","picomatch@^2":"^2.3.2","picomatch@^4":"^4.0.4","@xmldom/xmldom":"^0.8.13","brace-expansion@^2":"^2.0.3","@aptos-labs/aptos-client":"^4.1.0"}},"type":"module","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"a7c1af7ee064c8d553a329836acea7022c4bd530","scripts":{"fmt":"biome format --write","_fmt":"biome format","lint":"biome lint","test":"vitest run","build":"pnpm build:clean && tsc -p tsconfig.build.json","check":"biome check","format":"pnpm fmt","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","check-license":"sh ../scripts/checkLicense.sh .","prepublishOnly":"pnpm run build && pnpm run check-license"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"repository":{"url":"git+https://github.com/aptos-labs/aptos-ts-sdk.git","type":"git","directory":"confidential-asset"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"^2.2.0","@noble/hashes":"^2.2.0","@noble/ciphers":"^2.2.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"vite":"^7.3.5","vitest":"^4.1.5","playwright":"^1.59.1","typescript":"^6.0.3","@types/node":"^22.20.0","@biomejs/biome":"2.4.6","@vitest/browser":"^4.1.9","@aptos-labs/ts-sdk":"^7.2.0","@vitest/coverage-v8":"^4.1.9","@vitest/browser-playwright":"^4.1.9"},"peerDependencies":{"@aptos-labs/ts-sdk":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_2.1.0_1783431584127_0.7386084362377388","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@aptos-labs/confidential-asset","version":"2.2.0","license":"SEE LICENSE IN LICENSE","_id":"@aptos-labs/confidential-asset@2.2.0","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"dist":{"shasum":"8dd6cf99a7547209c6678f66f9fabdf3fd246d40","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-2.2.0.tgz","fileCount":160,"integrity":"sha512-8x6XjRRxYBh9ckpYdbmRLgQ9HAldV7+/MGDMyr5t8S7HZDTKS1l4j33EW2iyFUacdrq47IXstOKxPOBno2528g==","signatures":[{"sig":"MEMCHzbw0m798i9+DSqzVdlTQTaIPaMOe0TPgxZF7bVc09oCIC8/vEdggXrlM+1T+A6zXPxj56MoWshH8pYFESHdDbqR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1630222},"pnpm":{"overrides":{"uuid":"^14.0.0","yauzl":"3.2.1","esbuild":"^0.28.1","postcss":"^8.5.10","glob@^10":"^10.5.0","file-type":"21.3.3","undici@^7":"^7.28.0","minimatch@^9":"^9.0.7","picomatch@^2":"^2.3.2","picomatch@^4":"^4.0.4","@xmldom/xmldom":"^0.8.13","brace-expansion@^2":"^2.0.3","@aptos-labs/aptos-client":"^4.1.0"}},"type":"module","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"3fb8a46d4f779c6cf63cb935b8ddf258eef5b553","scripts":{"fmt":"biome format --write","_fmt":"biome format","lint":"biome lint","test":"vitest run","build":"pnpm build:clean && tsc -p tsconfig.build.json","check":"biome check","format":"pnpm fmt","e2e-test":"vitest run tests/e2e","build:clean":"rm -rf dist","publish-zeta":"pnpm build && npm publish --tag zeta","test:browser":"vitest run --config vitest.browser.config.mts","check-license":"sh ../scripts/checkLicense.sh .","prepublishOnly":"pnpm run build && pnpm run check-license"},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"repository":{"url":"git+https://github.com/aptos-labs/aptos-ts-sdk.git","type":"git","directory":"confidential-asset"},"_npmVersion":"10.9.0","description":"Aptos Confidential Assets SDK","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"@noble/curves":"^2.2.0","@noble/hashes":"^2.2.0","@noble/ciphers":"^2.2.0","@aptos-labs/confidential-asset-bindings":"^1.1.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.30.3","devDependencies":{"vite":"^7.3.5","vitest":"^4.1.5","playwright":"^1.59.1","typescript":"^6.0.3","@types/node":"^22.20.0","@biomejs/biome":"2.4.6","@vitest/browser":"^4.1.9","@aptos-labs/ts-sdk":"^7.2.0","@vitest/coverage-v8":"^4.1.9","@vitest/browser-playwright":"^4.1.9"},"peerDependencies":{"@aptos-labs/ts-sdk":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/confidential-asset_2.2.0_1783431662144_0.9700293567601979","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@aptos-labs/confidential-asset","description":"Aptos Confidential Assets SDK","packageManager":"pnpm@11.21.0","license":"SEE LICENSE IN LICENSE","engines":{"node":">=22.0.0"},"bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","repository":{"type":"git","url":"git+https://github.com/aptos-labs/aptos-ts-sdk.git","directory":"confidential-asset"},"version":"2.3.0","type":"module","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build:clean":"rm -rf dist","build":"pnpm build:clean && tsc -p tsconfig.build.json","prepublishOnly":"pnpm run build && pnpm run check-license","_fmt":"biome format","fmt":"biome format --write","format":"pnpm fmt","lint":"biome lint","check":"biome check","test":"vitest run","test:browser":"vitest run --config vitest.browser.config.mts","e2e-test":"vitest run tests/e2e","check-license":"sh ../scripts/checkLicense.sh .","publish-zeta":"pnpm build && npm publish --tag zeta"},"peerDependencies":{"@aptos-labs/ts-sdk":"^7.3.0"},"dependencies":{"@aptos-labs/confidential-asset-bindings":"^1.1.2","@noble/ciphers":"^2.2.0","@noble/curves":"^2.3.0","@noble/hashes":"^2.3.0"},"devDependencies":{"@aptos-labs/ts-sdk":"^7.3.0","@biomejs/biome":"2.4.6","@types/node":"^22.20.1","@vitest/browser":"^4.1.10","@vitest/browser-playwright":"^4.1.10","@vitest/coverage-v8":"^4.1.10","playwright":"^1.62.1","typescript":"^7.0.2","vitest":"^4.1.10","vite":"^7.3.6"},"_id":"@aptos-labs/confidential-asset@2.3.0","gitHead":"fc339f3285a9ce4d6f8f1530f6d8cc2420fd19e6","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-zBLBCvAGZwmvqsvUKgq6gXx6v+KuF18Y1S6OO7snwouRynLyIa6nBFZMLgK6Vwi70PPL84XOYHt1iNuYXNfxpA==","shasum":"99935214c06cd59fa717212e6af8d882c8c5196c","tarball":"https://registry.npmjs.org/@aptos-labs/confidential-asset/-/confidential-asset-2.3.0.tgz","fileCount":160,"unpackedSize":1630456,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDuJKrc6gEctOLTcBLdbc3qYj2z6FeC40iP2GhE2kZrjwIgR2HbQNEKnkC6yIlirT0gnp35DRMLCwlqRWvYiBuP2bE="}]},"_npmUser":{"name":"aptos-labs","email":"npmjs@aptoslabs.com"},"directories":{},"maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/confidential-asset_2.3.0_1787595294551_0.555197814578626"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-08T02:16:35.866Z","modified":"2026-08-24T18:14:55.536Z","0.10.0":"2026-04-08T02:16:36.174Z","1.0.0":"2026-04-09T01:57:31.017Z","1.1.0":"2026-04-22T15:53:59.930Z","1.1.1":"2026-04-23T16:03:52.015Z","2.0.0":"2026-05-18T21:59:47.643Z","2.0.1":"2026-06-16T18:18:10.879Z","2.1.0-alpha.0":"2026-06-17T15:27:22.354Z","2.1.0-beta.0":"2026-06-24T22:31:07.885Z","2.1.0":"2026-07-07T13:39:44.262Z","2.2.0":"2026-07-07T13:41:02.317Z","2.3.0":"2026-08-24T18:14:54.737Z"},"bugs":{"url":"https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"},"license":"SEE LICENSE IN LICENSE","homepage":"https://aptos-labs.github.io/aptos-ts-sdk/","repository":{"type":"git","url":"git+https://github.com/aptos-labs/aptos-ts-sdk.git","directory":"confidential-asset"},"description":"Aptos Confidential Assets SDK","maintainers":[{"name":"aptos-labs","email":"npmjs@aptoslabs.com"}],"readme":"# Confidential Assets SDK\n\n## WASM Dependencies\n\nThis package uses a unified WebAssembly module for cryptographic operations:\n- **Discrete log solver**: TBSGS-k32 algorithm for decryption (~512 KiB table)\n- **Range proofs**: Bulletproofs for range proof generation/verification\n\n### How WASM Loading Works\n\nThe WASM binary is **not bundled** with the SDK. Instead, it is loaded dynamically at runtime when needed. This is intentional:\n\n**Why not bundle the WASM?**\n- The `.wasm` binary is large (~774 KiB for the unified module)\n- Bundling would bloat every app using the SDK, even if they never use confidential assets\n- WASM binaries don't tree-shake - you'd pay the full size cost even if the feature is unused\n\n**What the npm dependency provides:**\n- TypeScript type definitions\n- JavaScript glue code (thin wrappers that call into WASM)\n- These are small and get bundled normally with the SDK\n\n**What gets loaded at runtime:**\n- The actual `.wasm` binary file\n- Loaded via `fetch()` + `WebAssembly.instantiate()` only when `initializeWasm()`, `initializeSolver()`, or range proof functions are called\n- **Single initialization**: Both discrete log and range proof functionality share the same WASM module, so it only needs to be loaded once\n\n**Environment-specific loading:**\n\nIn **browser environments**, WASM is fetched from unpkg.com CDN.\n\nIn **Node.js environments** (e.g., running tests), the code automatically detects Node.js and loads WASM from local `node_modules`. This avoids network requests and ensures tests work offline.\n\n### WASM Initialization\n\nThe SDK provides unified WASM initialization:\n\n```typescript\nimport { initializeWasm, isWasmInitialized } from \"@aptos-labs/confidential-asset\";\n\n// Initialize once - shared between discrete log and range proofs\nawait initializeWasm();\n\n// Check if initialized\nif (isWasmInitialized()) {\n  // Both discrete log and range proof functions are ready\n}\n```\n\nFor convenience, the SDK auto-initializes when you call any function that needs WASM. Manual initialization is only needed if you want to control when the WASM download happens.\n\n### Setting Up Local WASM for Development\n\nIf you want to use locally-built WASM bindings (e.g., for development or testing changes):\n\n1. Clone and build the WASM bindings:\n   ```bash\n   cd ~/repos\n   git clone https://github.com/aptos-labs/confidential-asset-wasm-bindings\n   cd confidential-asset-wasm-bindings\n   ./scripts/build-all.sh\n   ```\n\n2. Update `package.json` to use the local path:\n   ```json\n   \"@aptos-labs/confidential-asset-wasm-bindings\": \"file:../../confidential-asset-wasm-bindings/aptos-confidential-asset-wasm-bindings\"\n   ```\n\n3. Install dependencies:\n   ```bash\n   # Use --force if you've made some local changes to the DL algorithm; otherwise the version remains the same and this does nothing\n   pnpm install\n   ```\n\nNow tests will use your locally-built WASM.\n\n---\n\n# Testing\n\nTo test against a modified `aptos-core` repo:\n\nFirst, run a local node from your modified `aptos-core` branch.\n(You may need to delete `~/.aptos/testnet` or else it will error. Proceed with caution; not sure what sensitive stuff you may have there.)\n```\nulimit -n unlimited\ncargo run -p aptos -- node run-localnet --with-indexer-api --test-dir=~/.aptos/testnet --assume-yes --force-restart\n```\n\nSecond, run the SDK test of your choosing; e.g.:\n```\npnpm test tests/e2e/confidentialAsset.test.mts\n\npnpm test tests/e2e/\n\npnpm test decryption\n\npnpm test tests/e2e/confidentialAsset.test.mts -t \"rotate Alice\" --runInBand\n```\n\nOr, run all tests:\n```\npnpm test\n```\n\n## Useful tests to know about\n\n### Discrete log / decryption benchmarks\n\n```bash\nSKIP_SETUP=1 pnpm test discrete\n```\n\n### Range proof tests\n\n```bash\npnpm test tests/units/confidentialProofs.test.mts\n```\n","readmeFilename":"README.md"}