{"_id":"@ic402/client","_rev":"33-3162fcdea942cd9f6ce4c995cdce4086","name":"@ic402/client","dist-tags":{"latest":"2.17.1"},"versions":{"0.1.1":{"name":"@ic402/client","version":"0.1.1","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@0.1.1","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"0cde150bf9a1017f3a29d4c5108811a07172430b","tarball":"https://registry.npmjs.org/@ic402/client/-/client-0.1.1.tgz","fileCount":27,"integrity":"sha512-xBE4viaWtz6STwddM4LKfBKZd7qQGEWaGmDoYZqQdxaYM+4S/K011k22ppppGbcQGe8F9//1hs6mdwLmGxPlIg==","signatures":[{"sig":"MEQCIEiyyX0rPgKKUFt1rhiNcXr3UBq/feHVLBmQO2SNM52DAiBadi1oi+FkgIWKZXChPoMCvSdD2cwKnUywiHwkbs5Qaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88428},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"b8538086cc06d23232c08c942f5c3b7848f450f9","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.11.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"25.8.1","dependencies":{"viem":"2.47.5","cborg":"4.5.8","@x402/core":"2.7.0","@x402/fetch":"2.7.0","@canister-software/x402-icp":"0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.0","typescript":"5.9.3","@icp-sdk/core":"5.1.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_0.1.1_1774588693688_0.13199835699393692","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@ic402/client","version":"0.1.3","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@0.1.3","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"95510cded254c8ef53fddb6953d10c1b4b7ca098","tarball":"https://registry.npmjs.org/@ic402/client/-/client-0.1.3.tgz","fileCount":27,"integrity":"sha512-jYR3LjHLLsEC0AytrDD4rv1YBcLM2r3u+zZmJv6Cy6Op4Y7Z1hPC74RLlmiYv5/JuMjj74EI+xMlt0O4n33FXA==","signatures":[{"sig":"MEQCIAb7RhFtSCH/c12b+FDznmzbcoxAjyhm9XMqGaEOyTl9AiBzz4z80/a6c2ARlh9jzcw13u1g91NQxQ78Tb5LCscQfA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88428},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"f7e0a4045aa64aae69946ddc0769fb3aa5daf689","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.11.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"25.8.1","dependencies":{"viem":"2.47.5","cborg":"4.5.8","@x402/core":"2.7.0","@x402/fetch":"2.7.0","@canister-software/x402-icp":"0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.0","typescript":"5.9.3","@icp-sdk/core":"5.1.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_0.1.3_1774591825211_0.7450407904151684","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@ic402/client","version":"0.1.4","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@0.1.4","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"372501ba6b3bf79b23c0c0260f7636f265e3d478","tarball":"https://registry.npmjs.org/@ic402/client/-/client-0.1.4.tgz","fileCount":27,"integrity":"sha512-Vu66avG4v413QH9oCuNKjU1mvFsMi0FfVvJ0VZZ7PumqvUNSccgYlVaRxXYncalHp7woChEcFQMSjWqveZ1XTQ==","signatures":[{"sig":"MEYCIQCI+IyU57LoVJK6j+ybRlaUQxAW0o0HsbaSeSbUuQKvVwIhAIbOzOi4KhtzlwhkoxgQiZ7JlNTWveoOm5/jgSvgnplI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88428},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"0851e22a60c0d14a08f677b14fe8d7993937ce3f","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.11.1","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"25.8.2","dependencies":{"viem":"2.47.5","cborg":"4.5.8","@x402/core":"2.7.0","@x402/fetch":"2.7.0","@canister-software/x402-icp":"0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.0","typescript":"5.9.3","@icp-sdk/core":"5.1.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_0.1.4_1774669704192_0.36106114074127915","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@ic402/client","version":"0.1.5","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@0.1.5","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"aff0669f265d76acca8505e53f03675d826bea02","tarball":"https://registry.npmjs.org/@ic402/client/-/client-0.1.5.tgz","fileCount":27,"integrity":"sha512-wL0cplXLAuG9xyAlYF1E5yGWGGokus5Ae6z4Q3sLXuHOBKBjPX0nQ0wzppA3uZVUYXObZQQpdkYdaohLbRj+KQ==","signatures":[{"sig":"MEYCIQDnGb8XtWh4Q2OAwbW32f+UK0iretLUwok8s8sC1MVtjQIhANCtzpJC3mATvBTGWhmKGlpdqTPldF6nLUWOJxdby0fj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88428},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"587d0b29759161af281449b4c1c41640473446bf","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.11.1","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"25.8.2","dependencies":{"viem":"2.47.5","cborg":"4.5.8","@x402/core":"2.7.0","@x402/fetch":"2.7.0","@canister-software/x402-icp":"0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.0","typescript":"5.9.3","@icp-sdk/core":"5.1.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_0.1.5_1774724981421_0.3463145969835044","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@ic402/client","version":"1.0.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@1.0.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"76ea368b6b736104bd76f3d097e0e9350358f2ea","tarball":"https://registry.npmjs.org/@ic402/client/-/client-1.0.0.tgz","fileCount":31,"integrity":"sha512-wIE1yG7F7E2EthZwCtN8BMwK1XRei7PllfYsQjZW8XSe/DbFLHvH73phWbw/a61xakSSTHkiq5+gwf6WnUfu6A==","signatures":[{"sig":"MEQCIECFAF8WUNwaCCh9iyE6BNd6sb/BVTgWtVknNTqEcL46AiBO0A/dW+Vy4EvhO86xe8q1E8hoNNJIrVA3Yyf5vYgAog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167820},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"e57a429313a9741451c350ba8e69978c05ef29ba","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"10.9.4","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"viem":"2.47.5","cborg":"4.5.8","@x402/core":"2.7.0","@x402/fetch":"2.7.0","@canister-software/x402-icp":"0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.0","typescript":"5.9.3","@icp-sdk/core":"5.1.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_1.0.0_1775376054789_0.1071727867632164","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@ic402/client","version":"2.0.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.0.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"1caff2c7106c06a9f92b76652428bbc27cf1b970","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.0.0.tgz","fileCount":31,"integrity":"sha512-eChqkIhoPjUxf5ddTaE6TO2iN0wsEtX/YMyPt2rDjKBM7PEkAdyugQfmEWS7kIj97CZGPKHkERmBiUhSy74Svg==","signatures":[{"sig":"MEUCIDW4VLEq1doId7CjWqDfE1NDac0giNhmbKcMN8y8vPxPAiEAvEKrzSD35CnttfHUtgUHLRRAQl7QfWntuA02pYo+2MA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":172724},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"b8712f82b54bc072610446d3fb4ad5a859e918ae","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.16.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"26.0.0","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@x402/core":"2.14.0","@x402/fetch":"2.14.0","@canister-software/x402-icp":"0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.0.0_1780975256301_0.48000820076313144","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"@ic402/client","version":"2.2.1","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.2.1","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"3ce61989dc9e7eaa84f6ee4e582795bb5dcd1b0e","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.2.1.tgz","fileCount":31,"integrity":"sha512-WsoHmgnu5hHYvpNgOn6SEeiyuCmOqoc7ybQhRusu07mgsvWPpUor2s53OHj2SQkpOsoUG8OZCx8kPUenxbtX1w==","signatures":[{"sig":"MEYCIQDlRLXp7u5PS/FtYzAoVMkSjhhT1h/Mgj4++phxyH/5MAIhAOl6XOkrPsFo8rY101TOYr5uOHaqZC6TvNGvIp+LQ2R/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":180928},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"67acc1de8fac82e4d4877ebbb679b28ae5510515","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.16.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"26.3.0","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@x402/core":"2.14.0","@x402/fetch":"2.14.0","@canister-software/x402-icp":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.2.1_1781841010246_0.188799192397348","host":"s3://npm-registry-packages-npm-production"}},"2.2.2":{"name":"@ic402/client","version":"2.2.2","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.2.2","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"c70e445929b971f8d7bc6f81a3183f12ac86334e","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.2.2.tgz","fileCount":31,"integrity":"sha512-oeaLxNAF8uP9018fPIlsSPIpeCs+k51dMwhZbJfMUjt1UNkd9JVSZN0iY5vXSwariR1C5wxCYFuGmJEl9KYJpw==","signatures":[{"sig":"MEUCIQCGuD2KP7b5boNiRSXSrh7YzTxUAaDvKzrZ16IPYfXBmAIgcyzMLm14zMGUF93IIVcfJ6LKDxl76U9wIhKZ8w2iz7k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":180857},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"21f26367fa40bbcd4a4f0eedde382f5e934590fa","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.16.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"26.3.0","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.2.2_1781888650140_0.9679363038132414","host":"s3://npm-registry-packages-npm-production"}},"2.2.4":{"name":"@ic402/client","version":"2.2.4","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.2.4","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"68adb2e62c53f9e651d52d942f33afbe3c57d646","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.2.4.tgz","fileCount":31,"integrity":"sha512-y65IeAx1mSWy/GWyE7WcMkqW8yJ6EyBjYOQ506hQgPlQmKfy3+EnyOfyqvZbz9sqDMcWa9ouS3mULpyE0ndjbw==","signatures":[{"sig":"MEQCIE+BdS7zRsVZ9li7V9YK5O9BYw7AdyI1Cf1GhOvEw5WbAiBgleJgfeCWlY+vP/cvYsDz5EOe2CCcTuKfEoBJKoT1UQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":180857},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"0e5df381cd20ba55761642e2210992c1c05f6362","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.16.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"26.3.0","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.2.4_1781924247766_0.4295990690697993","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@ic402/client","version":"2.3.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.3.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"0527d57c609b7861f841c1253e20309229dee8ab","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.3.0.tgz","fileCount":31,"integrity":"sha512-Chl1S7/agusANxDO+gsVn2VqIOBzRx+Q9vp2onsrmj6VBPjZqkj+R1PHuV8yS0kg5jVlKVbTIsCVBYMFDkbewg==","signatures":[{"sig":"MEYCIQD+FD/yhPlueX3caY23kLVpiJ0XTr2KbaD7ZCEyxUrajQIhAOyauhoQ97pZxXfElMT9Xl2bliS8kUdDUqtCuvrtMvD/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":180857},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"03bc1cbddce1ea55722094aec3f348fc02a414b8","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"10.9.4","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.3.0_1782275371051_0.42816320138154795","host":"s3://npm-registry-packages-npm-production"}},"2.3.1":{"name":"@ic402/client","version":"2.3.1","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.3.1","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"ffac42b112dfb03d361e61f065cf7e13c097e426","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.3.1.tgz","fileCount":31,"integrity":"sha512-/HftvIvif2sPUYP9/3n3lguPJ2G552UQU6Sl2k/UfryX4wLQT0HYgEy5EN7n3OnNYA+nN6+eQhUUW9P3n/TMxA==","signatures":[{"sig":"MEYCIQDcP5VGfZy2GE0AyJdNEbvT8ZsjtWW5QRrns0e9CDgxxgIhAIauvr74mrthnqIGoQsJbzBf9KZVLUqfw7D8wpSK3Ipf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":180857},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"07b05df824828b500165e161a2efe280d20b323c","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"10.9.4","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.3.1_1782276273484_0.6752701908211185","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@ic402/client","version":"2.4.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.4.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"94a8b27e5fca1c3c32b1d57da7b0503278c3db77","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.4.0.tgz","fileCount":31,"integrity":"sha512-j84fdOA8t26UgQBTAXykz7FvrrFvLEHOWA45QpVTazqGGjTCYPNzt20F5gQNbg1383SL5mn+Vh097GC7E7n/7g==","signatures":[{"sig":"MEUCIBA94mQr+pXx6tdx9N11pe3swHGwChPq+Q0IdsYdx+jWAiEA0nXnOS0AvR2uRmGXmtofO094c3OgCzgGGjiEHeHJ1BY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":184321},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"6d38e508bf24a32fd223c6ac1d09bcef787c7dad","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"10.9.4","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.4.0_1782950538931_0.7687581042326628","host":"s3://npm-registry-packages-npm-production"}},"2.5.2":{"name":"@ic402/client","version":"2.5.2","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.5.2","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"4c4a1f6764e081965231afc1472b73c548445963","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.5.2.tgz","fileCount":35,"integrity":"sha512-Du/YmW1ZW4zjM0+Dbo/PNPWl1XuarrP6LYeIMqD0+G38oVga0f/lOasaw5cKzbhqWpqP937U8kxtM+vIlpnSzg==","signatures":[{"sig":"MEUCIQCoWanlrlzyz+QrtdC4GRo99DmIGaPno6m44xZT3RFpQwIgCwjPLqJ/5AX40Yrt2gbEmKuIhucLfuGx08vjG9CUy/k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195718},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"7804e8943f2b302b4b2fc4e07a51ac519f6ce94d","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"10.9.4","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.5.2_1783021996470_0.13739351132035993","host":"s3://npm-registry-packages-npm-production"}},"2.5.3":{"name":"@ic402/client","version":"2.5.3","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.5.3","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"485a4ca10320f7f85876051b875a555b2ec51073","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.5.3.tgz","fileCount":35,"integrity":"sha512-EVdWgHuBe5GIgc7mB5SA0Ee+hWVxn5RAn+X/UtqCfAHb4e0J3CJejb2gjZuis0d07vKGX+g68e+zw8lbThfLpQ==","signatures":[{"sig":"MEUCIB4EDXlpqt9cK/gFQeLGdc+NGGoADkffAVKteiit2fW/AiEAkAQJHLT3fo36YY5FT4Sr63AEpsIbkDvbKRSv2thOadI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198160},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"632d3cf0f1b2f22c652648fae9ca6a9c5fead1b4","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"vhew","email":"vaughn.hew@gmail.com"},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"10.9.4","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.5.3_1783024180335_0.43253517783967665","host":"s3://npm-registry-packages-npm-production"}},"2.5.4":{"name":"@ic402/client","version":"2.5.4","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.5.4","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"6583b7e1496b844858e81e9b9c5b8595c534fe4e","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.5.4.tgz","fileCount":35,"integrity":"sha512-4CBqwtFBxnxlisIw6cEPYEkFaeqGo1QfUffdBBdmI3xqQQw3MGNWqcCHV6bfLB02fNFPhztyH++Q832ovewzSw==","signatures":[{"sig":"MEYCIQDXUespo3CA0LgyJcDih6CC48Q8BjQ4Nh4tqP5rgLy9owIhALhZmyCgEVcIo7g5Q+m1qu7LYN6/y7JWGgd2RtQyB4cV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.5.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":198160},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"e6233d7c6b956bb88437b35dac3c9573762effdf","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.5.4_1783037442988_0.6066257520892127","host":"s3://npm-registry-packages-npm-production"}},"2.5.5":{"name":"@ic402/client","version":"2.5.5","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.5.5","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"4f05322ac0cc403b2c820c5019535f2c1e00c083","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.5.5.tgz","fileCount":35,"integrity":"sha512-tcXvbosXOsVJpmJuUq6ThnZAVBNvLkhXM/XLBjBbYnqUrxzcnC4ZO9Vxpt7EeHtyscxl0mY/vW8DW8qqe10BwQ==","signatures":[{"sig":"MEQCIAIjCJQqsQJBItDr+GDamOiQwDvT+bJvsASaGVExiKxIAiBHlgPJBtSfMD9RDzdcwFFadkR8tATlgwvhHZBniEskiw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.5.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":198160},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"b9aafaa797a5c5985612fc8f42aeeadc2edffbfe","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.5.5_1783043254685_0.6357447299876173","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@ic402/client","version":"2.6.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.6.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"b6bba79d2e1a5ae49602a74fb8bcf760d8710f43","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.6.0.tgz","fileCount":35,"integrity":"sha512-GrJCEf8kQy+q7q8mbmNRJ0Elyi6gkFH63Rr4NSO1htBKbrSqy4cHz2ixnzczVGlFOr1ALDyMdzzdat9R+VMBSA==","signatures":[{"sig":"MEYCIQDx/ATdnmwLqbL/GgabLgj4yniUIDvCAzCA7WB8GN1i4QIhAMcgKGnENzJk6wHS2SY+Tt6Q1JJNufRDIQdQ43UZYWmL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":200399},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"ebbfde5f51029d423ba1c09d675d00f19a6d27d5","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.6.0_1783051743668_0.5844317185068493","host":"s3://npm-registry-packages-npm-production"}},"2.6.1":{"name":"@ic402/client","version":"2.6.1","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.6.1","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"0c81b1c5b088bc6df8ebeb63cee13fd9ca010a9d","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.6.1.tgz","fileCount":35,"integrity":"sha512-ymi2PyEZJww8umo60KDQNvm6FC9h4DklwNiF8SajFSwOS7W/uZLR9dCKLTFyS/aDOBf3BRY54PbXb2ot9vmmmA==","signatures":[{"sig":"MEQCIA3ELYKiLdf7/t6uHWVDLZ/h7Gb6KL+dYYoH1kyUjJetAiB8foGBs0L/Lj5614OlLVjNWVbuXGh37ddPappC20eabA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":200399},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"6ba9904550c74b4b2e7693679d125743d5316fc3","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.6.1_1783085904204_0.9938270577918085","host":"s3://npm-registry-packages-npm-production"}},"2.7.0":{"name":"@ic402/client","version":"2.7.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.7.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"5a770779c5d42225458b9bfccb06c813417e7416","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.7.0.tgz","fileCount":35,"integrity":"sha512-GCcVGpA/ofkTZ1o73GrooHaG/U2d3CyexfGlXwN8+69Bgq5iKIPcOli3PYXpQ2h8SQbHlcKfnVR5C6OwHjZUyA==","signatures":[{"sig":"MEQCIGvRTBDmy35ITB0lDUlj0jN+DrXf2adp+GkIJvlA6qqDAiBvaicnrz6TcR3C/6QsD5/0E0ARkwar1OVeNA/5VxrseA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":200399},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"5360ae28754e5de54f0ba972c45dada0f3fa8a46","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.7.0_1783089786964_0.1988506925299478","host":"s3://npm-registry-packages-npm-production"}},"2.8.0":{"name":"@ic402/client","version":"2.8.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"ic402 contributors"},"license":"Apache-2.0","_id":"@ic402/client@2.8.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"bdf7ca27bb29503cb298c5db5f60352d18b2dc34","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.8.0.tgz","fileCount":35,"integrity":"sha512-zOwUPC7zfNeWwj13+xOjenLgLP7S+J2lE4Vy6MmX0NJzc9k9dQNxxEXKmpfdvHXvftG0ZkZBsZVhagAsg5TW3A==","signatures":[{"sig":"MEQCIGrKYSjPugYhwfef2X/aA7MvAbZelqo+DjRv6srrphDPAiAwF0t8Z2frxJv2qMbReuGxuQj3CyYXXqGgGPXMkgB9Vg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":200399},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"b8e7ab204e726ee6bf979832a2be34786c9814d6","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.8.0_1783303726809_0.09663745340304741","host":"s3://npm-registry-packages-npm-production"}},"2.9.0":{"name":"@ic402/client","version":"2.9.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.9.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"430631f3318a745d8952fc1edcd9e57b07864c22","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.9.0.tgz","fileCount":35,"integrity":"sha512-m5Eimm4asb7u745U1xQZSS4hDPi0JY1GnTi3EgN/3GW1WL5HRspml80Gb4uQXQ5fm0+jcSSlTos6/bwBh67wPg==","signatures":[{"sig":"MEQCIAfJHFruSJIKHoBoG1KJ3GkPiBlDvPODBbgWcyWJkLU5AiA7gFXRcd0eWPf8MCCvO29Rku0BJNpJI5sOdHRvIb0Agg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":201146},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"bedeb054fdc8c7e950922d74a22b39bbd5db1734","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.52.2","cborg":"5.1.1","@icp-sdk/core":"5.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@icp-sdk/core":"5.4.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.9.0_1783696336697_0.9101297478090176","host":"s3://npm-registry-packages-npm-production"}},"2.9.1":{"name":"@ic402/client","version":"2.9.1","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.9.1","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"0345bb5fcdc71087aca9b92899ab8f85d0d06e64","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.9.1.tgz","fileCount":35,"integrity":"sha512-66Qu32hXG6FxdYzcvYF7X6WucOZN3cK5tAs/GSfFny2rx0FDwMYTlA8n2YNqZPH0y+82EZtPQQk0X0t/JDDN/w==","signatures":[{"sig":"MEUCIQCY9TKmCpOt/Ba3KiIfZ8o3DJQ2ZbtgoRrQXyw4QzY73QIgSh9EX/NUzSAlGLKxDqSyEhAM/sise355iJ46PbxbXCc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.9.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":201145},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"7d7c076b6ce8b1ae024623d6a85f4ba3f78c7820","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.9.1_1784078828999_0.0016521976318026876","host":"s3://npm-registry-packages-npm-production"}},"2.10.0":{"name":"@ic402/client","version":"2.10.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.10.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"c64938c917b0f2b71b9adfa47ffe3fa5a9933714","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.10.0.tgz","fileCount":35,"integrity":"sha512-4Nn93a88znguvMAo07b+3J+FER7+KwzbNdgmNEgU0++ywlBt5JAc5Vc1Sl28BuhkDsQ9cQvmRPIPzpvQEq6RFg==","signatures":[{"sig":"MEUCIHG3VwGmDAe/8LgbYcscstA+jKUvA2519Y1178xliPlUAiEA9CS1GC9nTNnK5vx1SvGqrn02NF0MktH2063ty1BbS/s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":201146},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"4b51cefa1cef8f90a23344db038a805ded1338af","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.18.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.10.0_1784322715611_0.4087664244098348","host":"s3://npm-registry-packages-npm-production"}},"2.11.0":{"name":"@ic402/client","version":"2.11.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.11.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"afcff552e04779349d1c88bcc4dcf24c4b13a999","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.11.0.tgz","fileCount":35,"integrity":"sha512-HCP8OzZF91REtar0VBOiFTKoF6WXjIecSNz3WhRDpOOwqSKUHxjSBqzmc2FlFgVJKUjeDDr+Vjnj7TFz4xQCJA==","signatures":[{"sig":"MEQCIFOmUocjqeWe9irfAQybVWO3q7K1s438YXqpFgdtSEXEAiA9dBL5cEK0xwmqFP6aJSXYzriHo7Y4ziTV/ZU9rMowJQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":203144},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"a96ae73a42d08050a071c40b68d0ef01dc5bf858","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.19.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.11.0_1785521009933_0.8704061363009061","host":"s3://npm-registry-packages-npm-production"}},"2.12.0":{"name":"@ic402/client","version":"2.12.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.12.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"e960e7b9988ae66df241b3bd68da5214e8f6cecd","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.12.0.tgz","fileCount":35,"integrity":"sha512-nI4HE1RPErZSQymtGHI3RcKv96I69ftdWVsPNprzOrMm6U+lkr5O3qhmyy6s5RuHRzizMVi7V5sElkWKhNyCEw==","signatures":[{"sig":"MEUCIQDfc7w4lOieNWTqC2fOj/0vP1uoTTzu41C/m90BEKYmWAIgWyoyFHIJY2bKIJhyrdvMT3nF+1AunHgJeP0VKNelz6Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.12.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":203144},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"e23728be9f57d63f44863027dda26d4f66b5f4a3","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.19.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.12.0_1785705040151_0.8914872345479368","host":"s3://npm-registry-packages-npm-production"}},"2.13.0":{"name":"@ic402/client","version":"2.13.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.13.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"8ed912758325ccd69285e3815eea514cc9b95c7c","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.13.0.tgz","fileCount":35,"integrity":"sha512-PAFEXjkyieAPFDYpevEkHCppK6HgURTuy7AK5dpne0QWshqwz5XvPwBgmOWO3H9CkIDufUuSPc5np/FyBLsVQg==","signatures":[{"sig":"MEQCIFh+d83ew2cUfrsp4ZRq89H9WDX4/BDsXFV2cgRHPA+AAiBhgQzrmUXAUXVo3lCm56UEKY/EPDguNhCKNazi89D+GQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.13.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":203144},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"6d09ee26818220aac833ea54c9878915f790c787","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.19.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.13.0_1785892973712_0.12290050044825063","host":"s3://npm-registry-packages-npm-production"}},"2.13.1":{"name":"@ic402/client","version":"2.13.1","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.13.1","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"1c1b1e38d8631b6dc9cc7fa90785ebf3cc6ab597","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.13.1.tgz","fileCount":35,"integrity":"sha512-8NpOEHwLKJdc93UsCLxMz+LIROXVX1Ld0/SoV6BAohNWN3vKDfd1K1XlibX5KWB/JCk0RHOE4ze5PqwWwMxH5A==","signatures":[{"sig":"MEYCIQDcVitlfJMq/F3RbvC1nWAQnp+v42rNbB1sZfsGylxPlgIhAIPGgUvcs8XtGnp7Q8jMosKgHTR1LIP1f83Ph0NYbtt9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.13.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":203144},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"3fd99236da81f3d2633b7ec03fad260419513eb1","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.19.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.13.1_1785979902394_0.17444010705819712","host":"s3://npm-registry-packages-npm-production"}},"2.14.0":{"name":"@ic402/client","version":"2.14.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.14.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"d2c759eb2232ecec7fbc363ed7db29787e0d55ce","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.14.0.tgz","fileCount":35,"integrity":"sha512-I/WJ99JSjvld69V6BQqF2JuTCuXJYc5ddHw6ApXIuPURy/2kmSu5R4cm1BjFeJgzl5uO38TKBLEzDuM6259e8g==","signatures":[{"sig":"MEUCIQDxgQk7YBEKxPxUTAngLDUak3VhETEeubUCTECSeLKC2AIgWy8F+VJEuTEt6Bo7jdpG8s2BYR7tsJf6FDhLckwg4So=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDI2zGul56pcyxmdSfIIyWaLV4Ui+sLGcT9Od77FJn54AIgWNGiBokzrGOyTBVFQFWsWu9/jxDehSfcNk2cJFMVug4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.14.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":205544},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"ed59326a67c754fa15b198cd4dfd7a3d17411e9c","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.19.1","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.14.0_1789962036791_0.9004086603816104","host":"s3://npm-registry-packages-npm-production"}},"2.15.0":{"name":"@ic402/client","version":"2.15.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.15.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"5efb9058f5184d450b360405a5a4778f69ef3138","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.15.0.tgz","fileCount":35,"integrity":"sha512-QBb5g2cOcq/zIzaM/S9Hg8e2XQ8Rmbbn0p4q61f7bJwe8QoCYxSXJ16ZWe9Rh7gLv6lBJ05JFbl3SvnwsVq1aQ==","signatures":[{"sig":"MEUCIG/mowYUvi6kZ48BljXY92RYGcvWaSibl1JyB0j9IlJHAiEAoZIIi3S3enpeQL/3HfVNt+Tohp2JdiPi5HT3hEw4jec=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCMXPVj3Sa4z5QTw6a8q4Cevdu88MAHh0gdCCT/tIvCowIhANwxXoIIeFhAJ2A4o7Zi6/rPf+u7jdBfsIFtkDrjAfM5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.15.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":206559},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"b5ab588dddba264e54bea4510cfdb9e45764acfe","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.19.1","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.15.0_1790111339828_0.50509178469974","host":"s3://npm-registry-packages-npm-production"}},"2.16.0":{"name":"@ic402/client","version":"2.16.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.16.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"97bb19b32b77f75ed39aacbdde441a98509e028d","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.16.0.tgz","fileCount":35,"integrity":"sha512-CHmIWw1PmLfA8BYg80eqhAKnUtL8uZQ2YYR0C3XPj7yCYgGuTAk4qD7oz7+LMRHrrrsXOQjntF+db12pwgVHOA==","signatures":[{"sig":"MEQCIEyAWNpAY6h3K3MEUSSVnmAHV3zlFnqMULDoUEu+zXLAAiByo5wIlfIeVtueU4bOqUfUD6PIKyMMkctexQLFOKHQ/w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCkmmc3dBXpq/tPScKmdBxmZzKLICbCCuX0nECcY1RrFAIgG66dLMtkc7VJKZmF9ge/8//PYArG8Sq033beh0wRJCQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.16.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":209317},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"0151d4abb33dd9698b43c59a062fa3fadcd47d34","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.20.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.16.0_1790119730443_0.17984220474303725","host":"s3://npm-registry-packages-npm-production"}},"2.16.1":{"name":"@ic402/client","version":"2.16.1","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.16.1","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"e5fe8608d9345aa750dd1f5c4dc20e203e209b1f","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.16.1.tgz","fileCount":35,"integrity":"sha512-JXh0paHUdctLDOZMN0xC9AIii4SDuEZl/rrvo6kRafobaDnX8KIeWml6Iuev8/vKUrdxXmJJxcmkdx4kj+Be2w==","signatures":[{"sig":"MEUCIGGZZ4Fzw7VFXQq4hs6KRCj+/hVAB7URJqeVQSHHlnOKAiEAmg9aRyeSIUUjKNwHgNd4d8HbfMr3pEYax2/8S0jrpSI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCYup2RZ47pfL6KhI0pQINgxQ2ScfRnQmu7mKms2jnOhQIgJn0xSCZLsFvBoMz58A4vgFlZTjR6JY76rkd7UGhJfmM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.16.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":210746},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"0b27ab2497eff20cf464bfd08f96b9f823c68a0d","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.20.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.16.1_1790724225380_0.3513887571906402","host":"s3://npm-registry-packages-npm-production"}},"2.17.0":{"name":"@ic402/client","version":"2.17.0","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","_id":"@ic402/client@2.17.0","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"homepage":"https://github.com/vhew/ic402#readme","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"94435ac373baa6f3d44faa815cd47c211ec79e9e","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.17.0.tgz","fileCount":35,"integrity":"sha512-gCuAxq0eXJvGLTowO7YQymH3yz+3gAlM6xQFngJQWFxwiY/0Oikp9IsBxblx5YLXCP8yhnnYmLXdJvsY+8I8aQ==","signatures":[{"sig":"MEUCIQD4Aj+K0Y4XUntwPRUDS/e4ZnXyH4+FFz05PUt/KcOREQIgSYGyDxtdLL1iBiyAnE3rMzBLiGWYaN8gwvajwSCbTpM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDdmNh/kO9NsUlrqSMZU07DgsA66dB676IIzjPn/O6h6wIhAOOLZKU9KqCE1iGUhb0f6N/9kPu76HwGdFke6cxTZTbX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.17.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":216136},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"d72c2bb1c6551c5b9ff9085fb2420b015565ec47","scripts":{"test":"vitest run","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"d134839c-fa66-410c-bb54-caa67977431a"}},"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.20.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/client_2.17.0_1790778594761_0.8198531382630487","host":"s3://npm-registry-packages-npm-production"}},"2.17.1":{"_id":"@ic402/client@2.17.1","bugs":{"url":"https://github.com/vhew/ic402/issues"},"dist":{"shasum":"25d29a5836240175586fe83c9c02e8d3ec4b2938","tarball":"https://registry.npmjs.org/@ic402/client/-/client-2.17.1.tgz","fileCount":35,"integrity":"sha512-VWNnOe+tW9XKpaZwGE+YTFff0z/n8erawOCdOLecA4+z2Qh96pXgZZGvAaXGpva18oKFUd4Kd/CXjhRF2VhxUg==","signatures":[{"sig":"MEUCIFe5Xc9rESUix9n+hBTJTKTCHDwoTgnI7UhdxRHdIfRYAiEAsJLo/ojElEhgzd1DA8wp0D6oZqUFTiXM6MB3L5FaaX4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCVHfcjsgQ99N2Pf35gzeLaiFSPsrUCb2DjFQSL5DhKfQIhAJHO3r9lK50bjXVXgenQEr8mBT2DVOlXEWaZup0v7V5u"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ic402%2fclient@2.17.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":216250},"main":"dist/index.js","name":"@ic402/client","type":"module","types":"dist/index.d.ts","author":{"name":"Vaughn Hew"},"engines":{"node":">=19.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"76cf704da9b32844b25776bd1d25502b423e57e5","license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc"},"version":"2.17.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"d134839c-fa66-410c-bb54-caa67977431a"}},"homepage":"https://github.com/vhew/ic402#readme","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"_npmVersion":"11.20.0","description":"TypeScript client SDK for ic402-enabled ICP canisters","directories":{},"maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.23.3","dependencies":{"viem":"2.55.2","cborg":"5.1.7","@icp-sdk/core":"6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"6.0.3","@icp-sdk/core":"6.0.0"},"peerDependencies":{"@icp-sdk/core":">=5.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/client_2.17.1_1790790109257_0.2111419570128188"}}},"time":{"created":"2026-03-27T05:18:13.623Z","modified":"2026-09-30T17:41:49.760Z","0.1.1":"2026-03-27T05:18:13.847Z","0.1.3":"2026-03-27T06:10:25.374Z","0.1.4":"2026-03-28T03:48:24.323Z","0.1.5":"2026-03-28T19:09:41.584Z","1.0.0":"2026-04-05T08:00:54.925Z","2.0.0":"2026-06-09T03:20:56.450Z","2.2.1":"2026-06-19T03:50:10.371Z","2.2.2":"2026-06-19T17:04:10.292Z","2.2.4":"2026-06-20T02:57:27.914Z","2.3.0":"2026-06-24T04:29:31.225Z","2.3.1":"2026-06-24T04:44:33.625Z","2.4.0":"2026-07-02T00:02:19.075Z","2.5.2":"2026-07-02T19:53:16.659Z","2.5.3":"2026-07-02T20:29:40.497Z","2.5.4":"2026-07-03T00:10:43.138Z","2.5.5":"2026-07-03T01:47:34.846Z","2.6.0":"2026-07-03T04:09:03.814Z","2.6.1":"2026-07-03T13:38:24.338Z","2.7.0":"2026-07-03T14:43:07.131Z","2.8.0":"2026-07-06T02:08:46.943Z","2.9.0":"2026-07-10T15:12:16.846Z","2.9.1":"2026-07-15T01:27:09.154Z","2.10.0":"2026-07-17T21:11:55.776Z","2.11.0":"2026-07-31T18:03:30.098Z","2.12.0":"2026-08-02T21:10:40.299Z","2.13.0":"2026-08-05T01:22:53.849Z","2.13.1":"2026-08-06T01:31:42.747Z","2.14.0":"2026-09-21T03:40:36.881Z","2.15.0":"2026-09-22T21:08:59.920Z","2.16.0":"2026-09-22T23:28:50.524Z","2.16.1":"2026-09-29T23:23:45.488Z","2.17.0":"2026-09-30T14:29:54.868Z","2.17.1":"2026-09-30T17:41:49.359Z"},"bugs":{"url":"https://github.com/vhew/ic402/issues"},"author":{"name":"Vaughn Hew"},"license":"Apache-2.0","homepage":"https://github.com/vhew/ic402#readme","keywords":["ic402","x402","payment","icp","internet-computer","typescript","sdk","evm","icrc2","micropayment","streaming","eip-3009"],"repository":{"url":"git+https://github.com/vhew/ic402.git","type":"git","directory":"packages/client"},"description":"TypeScript client SDK for ic402-enabled ICP canisters","maintainers":[{"name":"vhew","email":"vaughn.hew@gmail.com"}],"readme":"# @ic402/client\n\nTypeScript client SDK for [ic402](https://github.com/vhew/ic402)-enabled ICP canisters. Handles x402 charge payments (auto 402 → approve → retry), streaming micropayment sessions with Ed25519 vouchers, EIP-3009 EVM payments, encrypted content delivery, the paid-service marketplace, and the client half of the canister's remote EVM signing (canister signs, you broadcast).\n\n## Install\n\n```bash\nnpm install @ic402/client\n```\n\nRequires Node.js ≥ 19 (Web Crypto API) and the peer dependency `@icp-sdk/core` ≥ 5.1.0. Runtime dependencies (`viem`, `cborg`) install automatically.\n\n## Quick start\n\n```ts\nimport { Actor, HttpAgent } from '@icp-sdk/core/agent';\nimport { Ic402Client, exampleIdlFactory } from '@ic402/client';\n\nconst agent = await HttpAgent.create({ host: 'https://icp-api.io', identity });\n\nconst client = new Ic402Client({\n  canisterId: '<your-canister-id>',\n  actorFactory: (id) => Actor.createActor(exampleIdlFactory, { agent, canisterId: id }),\n  identity, // the SAME identity the agent uses\n  network: 'icp:1',\n  autoPayment: true,\n  ledger: 'xevnm-gaaaa-aaaar-qafnq-cai', // ckUSDC\n  ledgerActorFactory: (id) => createLedgerActor(id), // any actor exposing icrc2_approve\n});\n\n// Trailing [] = the Candid `opt PaymentSignature` argument, empty on the first attempt.\n// 402 → ICRC-2 approve → retry with signature → result, all handled for you.\nconst results = await client.call('search', ['what is x402?', []]);\n```\n\n`exampleIdlFactory` matches the reference canister ([`example/main.mo`](https://github.com/vhew/ic402/blob/master/example/main.mo)); pass your own IDL factory for a custom canister.\n\n### Streaming session\n\n```ts\nimport { Ed25519KeyIdentity } from '@icp-sdk/core/identity';\n\nconst voucherKey = Ed25519KeyIdentity.generate();\nconst sessionAgent = await HttpAgent.create({ host: 'https://icp-api.io', identity: voucherKey });\nconst session = await client.openSession(\n  {},\n  {\n    sign: (payload) => voucherKey.sign(payload),\n    getPublicKey: async () => voucherKey.getPublicKey().toRaw(),\n    actorFactory: (id) => Actor.createActor(exampleIdlFactory, { agent: sessionAgent, canisterId: id }),\n  },\n);\n\nconst answer = await session.call('sessionQuery', ['question']); // sent as the session key, no on-chain tx\nconsole.log(session.consumed, session.remaining);\n\nconst receipt = await session.close(); // settle consumed + refund remainder\n```\n\nOne escrow deposit on open, settle + refund on close — every call in between is a cumulative voucher, with no ledger call and no gas. Two modes (2.17.0): with `actorFactory` on the signer, each call is made **as the session key**, the IC authenticates it, and the canister (`consumeVoucherFrom`) runs no signature check (~8M cycles); without it, calls go through the client's actor and the canister verifies the voucher's Ed25519 signature (~420M cycles; see [costs-and-rails.md](https://github.com/vhew/ic402/blob/master/docs/costs-and-rails.md)) — only while its signed-voucher fallback is on (the library default; the example turns it off). Vouchers are signed either way, so a new client also works against older canisters. A session-paid endpoint that issues a content grant binds it to `msg.caller`, i.e. the session key: redeem it through the session agent (`fetchContent(delivery, { canisterId, actorFactory: (id) => Actor.createActor(exampleIdlFactory, { agent: sessionAgent, canisterId: id }) })`). `open`/`close` stay on the payer's actor.\n\n### EIP-3009 EVM payment\n\nBuild and sign the `TransferWithAuthorization` a standard x402 EVM payment needs, with any EIP-712 signer (viem, ethers, MetaMask):\n\n```ts\nimport {\n  usdcDomain,\n  TRANSFER_WITH_AUTHORIZATION_TYPES,\n  buildTransferAuthorizationMessage,\n} from '@ic402/client';\n\nconst message = buildTransferAuthorizationMessage({\n  from: payerAddress,\n  to: canisterEvmAddress, // the 402's `recipient` / `payTo`\n  value: 1_000_000n,      // must EQUAL the required amount\n});\n\nconst signature = await walletClient.signTypedData({\n  domain: usdcDomain(8453, usdcAddress),\n  types: TRANSFER_WITH_AUTHORIZATION_TYPES,\n  primaryType: 'TransferWithAuthorization',\n  message,\n});\n```\n\nSubmit the signed authorization either in an x402 `X-PAYMENT` header (HTTP rail) or as the `authorization` field of the Candid `PaymentSignature` your paid method accepts — see the [getting-started walkthrough](https://github.com/vhew/ic402/blob/master/docs/getting-started.md) for the full submission flow.\n\n## API\n\n### `new Ic402Client(config: Ic402ClientConfig)`\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `canisterId` | `string` | Target canister. **Required.** |\n| `actorFactory` | `(canisterId: string) => any` | Creates actors for canister calls. **Required.** |\n| `identity` | `Ic402Identity \\| null` | Anything with `getPrincipal(): { toText(): string }`; fills the payment `sender`. **Required** (may be `null`). |\n| `network` | `string` | CAIP-2 id: `\"icp:1\"`, `\"eip155:84532\"`, … **Required.** |\n| `autoPayment?` | `boolean` | Auto-handle 402 responses (ICP: ICRC-2 approve + retry). |\n| `sessions?` | `SessionPreferences` | Default session preferences. |\n| `ledger?` | `string` | Ledger canister id for ICRC-2 auto-approval. |\n| `ledgerActorFactory?` | `(ledgerCanisterId: string) => any` | Required for ICP auto-payment. |\n| `evmRpcUrl?` | `string` | Custom EVM RPC; defaults to a public RPC per chain. |\n| `approvalFeeBuffer?` | `bigint` | When set, used as the ledger fee instead of querying `icrc1_fee()`. ICRC-2 approvals are exactly `amount + fee` and expire after 5 minutes (a ledger actor without `icrc1_fee` uses `100_000n`). |\n\nApprovals replace the allowance, so two payments from one identity in flight at once may fail with `InsufficientAllowance` — never a double payment; retry the one that failed. The payment `sender` must be the principal the `actorFactory`'s agent calls with: Candid paths refuse a mismatch (`Gateway.settleFrom`).\n\n### `Ic402Client` methods\n\n| Method | Description |\n|--------|-------------|\n| `call(method: string, args: unknown[], canisterId?: string): Promise<unknown>` | Call a paid method with auto-402 handling. The method's **last argument must be the `opt PaymentSignature`** — pass `[]` and the client retries with the signature in that slot. Unwraps `{ ok }` variants. |\n| `openSession(sessionConfig: Partial<SessionPreferences> \\| undefined, signer: VoucherSigner, canisterId?: string): Promise<SessionHandle>` | Open a streaming session (`signer` is required since 2.17.0; it throws without one): fetch `requestSession()` intent → ICRC-2 approve the deposit, `min(suggestedDeposit, maxDeposit)` + fee (ICP, when `autoPayment`) → `openSession` on the canister. EVM sessions: pass `evmNetwork`/`evmSender`/`authorization` (and optionally `evmTxHash`/`evmToken`/`evmRecipient`) in `sessionConfig`. |\n| `fetchContent(delivery: ContentDelivery, options?: { canisterId?: string; actorFactory?: (id: string) => any }): Promise<Uint8Array>` | Fetch paid content for any `DeliveryMethod`: `inline`, `httpUrl`, `assetCanister`, or chunked `canisterQuery` (needs `options`). |\n| `fetchX402(url: string, options?: { init?: RequestInit; chainId?: number }): Promise<FetchX402Result>` | Buy from an external x402 API: probe → the canister signs the EIP-3009 header (`signX402Payment`) → retry with `X-Payment`. Requires an `eip155:*` network or explicit `chainId`. |\n| `registerAgent(rpcUrl?: string, chainId?: number): Promise<{ tokenId: bigint \\| null; txHash: string }>` | ERC-8004 registration: fetch nonce/fees → canister signs → broadcast → poll receipt (throws on revert). |\n| `sendErc20Transfer(tokenAddress: string, recipient: string, amount: bigint, rpcUrl?: string): Promise<{ txHash: string }>` | Canister signs an ERC-20 transfer, client broadcasts. |\n| `sendEthTransfer(recipient: string, amountWei: bigint, rpcUrl?: string): Promise<{ txHash: string }>` | Canister signs a native transfer, client broadcasts. |\n| `listServices(): Promise<ServiceDefinition[]>` | Marketplace service discovery. |\n| `submitServiceRequest(serviceId: string, params: Uint8Array): Promise<{ jobId: string }>` | Create a paid job, auto-handling the x402 payment. |\n| `pollJobResult(jobId: string, maxAttempts = 30, intervalMs = 2000): Promise<Job>` | Poll until the job settles/verifies (throws on dispute/expiry/refund). |\n| `disputeJob(jobId: string, reason: string): Promise<void>` | Dispute a job result (`BuyerConfirm` verification). |\n| `discoverAgents(query): Promise<Array<{...}>>` | **Stub** — returns `[]` until ERC-8004 registries carry real agent data. |\n\n### `SessionHandle`\n\nReturned by `openSession`:\n\n| Property / method | Description |\n|-------------------|-------------|\n| `id` | Session id |\n| `deposited` | Escrowed deposit |\n| `consumed` / `remaining` | Local accounting, committed only after the canister accepts each voucher |\n| `call(method, args)` | Invokes `actor[method](voucher, ...args)` — the signed voucher is prepended as the **first** argument |\n| `callForContent(method, args)` | Same, expecting a `ContentDelivery` result |\n| `close()` | Calls the canister's `endSession(id)`; returns the settlement `PaymentReceipt` (with `refunded`) |\n\n### Voucher signing\n\n| Export | Signature |\n|--------|-----------|\n| `signVoucher` | `(signer: VoucherSigner, canisterId: string, sessionId: string, cumulativeAmount: bigint, sequence: bigint) => Promise<Uint8Array>` |\n| `encodeVoucherPayload` | `(canisterId: string, sessionId: string, cumulativeAmount: bigint, sequence: bigint) => Uint8Array` |\n\n`encodeVoucherPayload` produces canonical CBOR — `array(4)` of `[canisterId, sessionId, cumulativeAmount, sequence]` — matching the Motoko verifier's field order exactly. The verifying canister's principal is bound into every signature so a voucher for one canister can't be replayed against another. `VoucherSigner` is `{ sign(payload: Uint8Array): Promise<Uint8Array>; getPublicKey(): Promise<Uint8Array> }`.\n\n### EIP-712 helpers\n\n| Export | Description |\n|--------|-------------|\n| `usdcDomain(chainId: number, tokenAddress: string)` | EIP-712 domain for USDC (Circle FiatTokenV2: name `\"USD Coin\"`, version `\"2\"`) |\n| `TRANSFER_WITH_AUTHORIZATION_TYPES` | The `TransferWithAuthorization` type definition |\n| `buildTransferAuthorizationMessage(params: { from, to, value, validAfter?, validBefore? })` | Builds the message with a cryptographically random `bytes32` nonce; `validBefore` defaults to now + 5 minutes |\n\n### Multi-token (v2.5.0)\n\nThe Candid `PaymentSignature` gained an optional `asset` field: the **EVM token contract (the EIP-712 `verifyingContract`) the payer actually signed for**. Omit it (`asset: []`) and the canister settles against the chain's **first configured token** — the pre-2.5.0 behavior, so existing clients keep working unchanged. Set it only when the canister configures more than one token on a chain:\n\n```ts\nconst paymentSig = {\n  // ...scheme, network, sender, nonce, authorization...\n  asset: ['0x036CbD53842c5426634e7929541eC2318f3dCF7e'], // the token you signed against\n};\n```\n\nThe signatures this SDK constructs internally (`call`, `submitServiceRequest`, `openSession`) send `asset: []`; sessions key the token off the session intent instead.\n\n### Errors\n\nFailed EVM/x402 flows throw or return `Ic402Error` — `{ kind: Ic402ErrorKind; retryable: boolean; detail?: unknown }`, where `retryable` is true for `transient` and `nonce_error`:\n\n| `Ic402ErrorKind` | Meaning |\n|------------------|---------|\n| `transient` | Network timeout / RPC rate limit — safe to retry |\n| `no_match` | No payment option for the requested chain in the 402 |\n| `sign_failed` | Canister refused to sign (policy, frozen, …) |\n| `settlement_failed` | Server rejected the signed payment |\n| `broadcast_failed` | EVM RPC rejected the transaction |\n| `insufficient_funds` | Not enough ETH for gas or USDC for payment |\n| `nonce_error` | Nonce too low/high — stale or concurrent tx |\n| `not_confirmed` | Broadcast but not confirmed within the poll window |\n| `http_error` | Non-402 HTTP error |\n| `config_error` | Missing required config (network, chainId, …) |\n| `unknown` | Unclassified |\n\n### Lower-level exports\n\nFor building custom flows, the pieces behind `fetchX402`/`registerAgent` are exported directly: `probeX402`, `fetchX402` (function form taking a `signPayment` callback), `findPaymentOption`, `applyVerbatimAccepted`, `classifyNetworkError`, `createEvmClient`, `getEvmNonce`, `getFeeData`, `broadcastTransaction`, `pollReceipt`, `parseAgentRegisteredEvent`, `registerAgent` (function form), plus the `exampleIdlFactory` Candid IDL and the full type surface (`PaymentRequirement`, `PaymentReceipt`, `SessionIntent`, `SessionState`, `Voucher`, `ContentDelivery`, `Eip3009Authorization`, `X402PaymentRequirement`, `SignedTransaction`, `SignedAuthorization`, `SignedTypedData`, `ServiceDefinition`, `Job`, `PaymentOption`, `FetchX402Result`, `ProbeResult`, …).\n\n## Requirements\n\n- Node.js ≥ 19 (Web Crypto API required)\n- `@icp-sdk/core` ≥ 5.1.0 (peer dependency)\n\n## License\n\n[Apache-2.0](./LICENSE)\n","readmeFilename":"README.md"}