{"_id":"@0xsend/cws-client","_rev":"13-de46072b95fcc4fc0df73ba1c2d2ca43","name":"@0xsend/cws-client","dist-tags":{"latest":"0.10.0"},"versions":{"0.1.0":{"name":"@0xsend/cws-client","version":"0.1.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.1.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"0xbigboss","email":"0xbigboss@proton.me"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://github.com/canton-foundation/canton-monorepo#readme","bugs":{"url":"https://github.com/canton-foundation/canton-monorepo/issues"},"dist":{"shasum":"a9d51baae3181ea69f7272ee211dbcc40733c6d3","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.1.0.tgz","fileCount":8,"integrity":"sha512-jqDdrRogKVRgzI3+B7wnZrpNAFCIvh9im8OW9qXOB7ORzbomXjflzQH4gH9XSZguXzEybvnzIStfyke4HChfqQ==","signatures":[{"sig":"MEUCIHCy+76g4fcX7N+tEGlC7peEe3BR9mNa56oZtQjjNO0YAiEAufjYIrdASlRmQbdOFr6+e/VLnnH7nG6d3NydSQqY4S4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":399489},"main":"src/index.ts","type":"module","engines":{"node":">=20.0.0"},"exports":{".":"./src/index.ts","./client":"./src/client.ts"},"gitHead":"16490a24adba8547b5bf02deffcee0660aacc838","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"eho-send","email":"eho@send.it"},"repository":{"url":"git+https://github.com/canton-foundation/canton-monorepo.git","type":"git","directory":"packages/cws-client"},"_npmVersion":"10.8.2","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"20.18.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.9.0"},"publishConfig":{"main":"./dist/index.js","types":"./dist/types/index.d.ts","access":"public","exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1776829204","@0xsend/canton-protobuf":"3.4.11-next.1776829204","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.1.0_1777160544995_0.7238187788617902","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@0xsend/cws-client","version":"0.1.2","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.1.2","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"0xbigboss","email":"0xbigboss@proton.me"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","bugs":{"url":"https://github.com/0xsend/canton-monorepo/issues"},"dist":{"shasum":"8dfd559ef007253226c984f568337a91e68b9377","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.1.2.tgz","fileCount":8,"integrity":"sha512-ck1ejeqDPmPyWf2Oghvm6XXmY8qn7V6yIeDTl2I50Bz1EEuxoiUKWuWShNR/N9OhyL0EbIMtRtREMObZLD1mKw==","signatures":[{"sig":"MEYCIQDlLCrhg0DCaI2UHBUAJHwkiKfeferwGpTMNXCF+ToLRQIhAJkmr/ATb4x9UMqWiMPneFqlDrXS5iyrEpNsJAq3v2ie","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":405414},"main":"src/index.ts","type":"module","engines":{"node":">=20.0.0"},"exports":{".":"./src/index.ts","./client":"./src/client.ts"},"gitHead":"46acbbe70c39300ac90794357c36d0be3e4159dc","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"git+https://github.com/0xsend/canton-monorepo.git","type":"git","directory":"packages/cws-client"},"_npmVersion":"11.13.0","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.9.0"},"publishConfig":{"main":"./dist/index.js","types":"./dist/types/index.d.ts","access":"public","exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1776829204","@0xsend/canton-protobuf":"3.4.11-next.1776829204","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.1.2_1777167266771_0.6399054521433405","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@0xsend/cws-client","version":"0.1.3","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.1.3","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"0xbigboss","email":"0xbigboss@proton.me"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"b71e23f59f9c3655c4720bbc2cae7bc4876a061a","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.1.3.tgz","fileCount":8,"integrity":"sha512-rbd5qOiWXtHUMqJh9ZOZRrswPq1qbVw0iMV6xnThbU68B7o9DCupoHVGTrxv5J3eKg1SVXZi/7khfxHy5vXvQA==","signatures":[{"sig":"MEYCIQDwuVuHSnhh5dOFmvySbNpfokn1axf6VPfR9AGa2VSVFQIhALyhueYbsJ5rRX0feFJKNfzIBA8b5SDlnMu311wn6wnR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":405358},"main":"src/index.ts","type":"module","engines":{"node":">=20.0.0"},"exports":{".":"./src/index.ts","./client":"./src/client.ts"},"gitHead":"066ce0ee5bceba88046bda63e18866ab045953ff","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.13.0","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.9.0"},"publishConfig":{"main":"./dist/index.js","types":"./dist/types/index.d.ts","access":"public","exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1776829204","@0xsend/canton-protobuf":"3.4.11-next.1776829204","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.1.3_1777168189956_0.04295366310373461","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@0xsend/cws-client","version":"0.2.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.2.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"0xbigboss","email":"0xbigboss@proton.me"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"14d36e903a74ec177a770c21fea847d3ea5f0636","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.2.0.tgz","fileCount":8,"integrity":"sha512-mTYm3cjHRj0Gcu2QvdtsbUeioMMnkRv4bw7wtl91Px3AIMp7nGfk+nTqsWjcGDdJQ8pxkZndlB/tvvFqtpBpsw==","signatures":[{"sig":"MEQCIHdTTLhCn0fOv3Kq+ONSq7VSZarSRIRVY8BlmlscDCRsAiBgXFRt8B3+HCMsJCOyeWFiLE+p/aQ7gQ8T/nITVgKAaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":409004},"main":"src/index.ts","type":"module","engines":{"node":">=20.0.0"},"exports":{".":"./src/index.ts","./client":"./src/client.ts"},"gitHead":"855b8660cf39def48cfaa78f24fa6f4a5939da73","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.13.0","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.9.0"},"publishConfig":{"main":"./dist/index.js","types":"./dist/types/index.d.ts","access":"public","exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1776829204","@0xsend/canton-protobuf":"3.4.11-next.1776829204","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.2.0_1777232837909_0.7998262788273265","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@0xsend/cws-client","version":"0.3.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.3.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"0xbigboss","email":"0xbigboss@proton.me"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"5bea24bf57dbecbf063e94d9c3e0491163f3f55d","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.3.0.tgz","fileCount":8,"integrity":"sha512-5LNpx0zxugQUfHkJv2Is99mrhAxeMprmHg8L4z8Sq5r4WRLkw8HHtI2t7rq5YEJV5SDNVa7SeumxuFOElxXBLw==","signatures":[{"sig":"MEUCIQDatXBcZkmK+Ju/5IG7UR49Uu8ZfxnrcUipwV6oz6FOCwIgFljK2sZ8TlpttK1baRy265DCeL55bMHjUjCWxOYyJbU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":409026},"main":"src/index.ts","type":"module","engines":{"node":">=20.0.0"},"exports":{".":"./src/index.ts","./client":"./src/client.ts"},"gitHead":"ad90f5ddea61839d122c3181fbaf53eafb9a9099","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.13.0","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.9.0"},"publishConfig":{"main":"./dist/index.js","types":"./dist/types/index.d.ts","access":"public","exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1776829204","@0xsend/canton-protobuf":"3.4.11-next.1776829204","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.3.0_1777252270569_0.6437467547975013","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@0xsend/cws-client","version":"0.4.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.4.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"0xbigboss","email":"0xbigboss@proton.me"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"32ee25f3b27688b26f0ddce5af29df59650213a5","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.4.0.tgz","fileCount":7,"integrity":"sha512-gGOTOb7nFBu39+yahyBDk1aaqVrbHmXaqleGvHDr0Og8agLEaAIDUBVB//k5hUfIIiH1yakxb8bmAfCYCMfTRw==","signatures":[{"sig":"MEQCIFmu8jA2ECsMbcOtmZzmYbXJ2Lk72jxCvhyW9wJ6ilpeAiAIcs2KegTgB5utZQk4TJ7yqS88vuq8aQyxXLwpME9uaA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":487784},"main":"./dist/index.js","type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"gitHead":"cc8104a303aa5f4f0a32546699bee4ae850ac6b6","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.16.0","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.9.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1779512341","@0xsend/canton-protobuf":"3.4.11-next.1779512341","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.4.0_1780085892506_0.06668472220105182","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@0xsend/cws-client","version":"0.4.1","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.4.1","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"alleneubank","email":"adeubank@gmail.com"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"3ed845d0151fca73f1ddf8b00b9cc42c74e6c518","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.4.1.tgz","fileCount":7,"integrity":"sha512-lYXylmPOFP0oKG1Q16bVYhOG0GMCRfKrenQa0id8A0n09DjlEIBqZBvJHrQp0MedWX9Loek2uvnX/rnYNKxPkw==","signatures":[{"sig":"MEUCICLrLuSvriLe6LEPkJC41ZSwq9JIfd+ADrSjaKyF0jUpAiEA0eNXjfxO08SxmVzAqMq+dcuLiv6dA8/bxCpGWS3zPx4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":488979},"main":"./dist/index.js","type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"gitHead":"c1e5cc9b5d5de6eb54febdbc064a8d03a2152580","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.18.0","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.12.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1782489035","@0xsend/canton-protobuf":"3.4.11-next.1782489035","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.4.1_1784304896680_0.5005037643076025","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@0xsend/cws-client","version":"0.5.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.5.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"alleneubank","email":"adeubank@gmail.com"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"e3e8baba245c9275957472a4d116bf6c1af6617f","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.5.0.tgz","fileCount":7,"integrity":"sha512-Cf8iXuSTMyz/F8uxorxJIXFqlUf50oTBmMzsIIZoL6QQYNmnYi6CNKA3KLfaPkwTIPQyevOIhRqGNubrPHAuYw==","signatures":[{"sig":"MEQCIGmY61h4rqhS5kWfIedLFp20bwuO9B5WpwyhVQNpTwDIAiAVmf/f1g30VLZM7BvCZ2Ofy1253kNjk6qzli5GfIGzTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":521336},"main":"./dist/index.js","type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"gitHead":"722b6e8ef5e5a5fe4e111e0f2832530c87161506","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit","codegen:check":"bun run ./scripts/check-codegen.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.19.0","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.12.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1783882930","@0xsend/canton-protobuf":"3.4.11-next.1783882930","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.5.0_1787425619318_0.10360941557425507","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@0xsend/cws-client","version":"0.6.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.6.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"alleneubank","email":"adeubank@gmail.com"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"5d4bc4512199c0181616d31df382650abad455e0","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.6.0.tgz","fileCount":7,"integrity":"sha512-tid+NQeGPLNaYZP0pmZCV/BttQDVFk7EpduMcqElv+dYZHWMU3k5WDbWRog4FeuX9Ito+FQG1hOs6jSY6lKxFg==","signatures":[{"sig":"MEYCIQCGDJDZD6X2p7bUhNtIZZKdpITRSyq7/6EEANW595bX0gIhAPNBIGYMptgMRb5Nhj8yEkHydC9uiYQpdMmPfdO0QYct","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":542957},"main":"./dist/index.js","type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"gitHead":"c3400e0e51affac359d281c6b265a7f3b81b1904","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit","codegen:check":"bun run ./scripts/check-codegen.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.19.1","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.12.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1783882930","@0xsend/canton-protobuf":"3.4.11-next.1783882930","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.6.0_1788293473458_0.007598689841752382","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@0xsend/cws-client","version":"0.7.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.7.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"alleneubank","email":"adeubank@gmail.com"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"93a8016c33f7b6714c3879d2a80b1d6300862f73","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.7.0.tgz","fileCount":7,"integrity":"sha512-XjZYQaI7FRNDgttQQukscu0l3reY52tU/S7PL6EdieMgT5oNDb80o8UnC3IYSBcQnuU4b9ogsE7Owm8VIc08Rw==","signatures":[{"sig":"MEYCIQDuF/sxHa1edTiuywjvwjlcuQCXPplGAk3LB8fm2oQD5gIhALyqW+LHUo25A5svcXKKFdpU8fmWmfsaKfn8/H6dvRal","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":544459},"main":"./dist/index.js","type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"gitHead":"ae959e6a4187472c0c0027bedd44106f255d9c70","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit","codegen:check":"bun run ./scripts/check-codegen.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.19.1","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.12.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1783882930","@0xsend/canton-protobuf":"3.4.11-next.1783882930","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.7.0_1788337765090_0.004940963509135754","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@0xsend/cws-client","version":"0.8.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.8.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"alleneubank","email":"adeubank@gmail.com"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"9fc2cc5b251b01fe788d5f16b03ef5613aff361e","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.8.0.tgz","fileCount":7,"integrity":"sha512-Hhi4W5RvgFOcyVmPSeWeqCc08Rvx0pMqCHcRwpc8wFEv6pWpVV/OJyZmvZ5Y+lKYy6E9/qoqCZ4sLlerfaUksg==","signatures":[{"sig":"MEYCIQDPj8L/0piV/t9Et0mxj0RKQw6IBmpkEsV75bA3PC/fVgIhAP3+rqzhWO3Gz93Uu18iSbIW1ZLmXy5Antn7yH/wjpwy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":545003},"main":"./dist/index.js","type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"gitHead":"97e307d35d208c114a194de488e2e7eee597cf7b","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit","codegen:check":"bun run ./scripts/check-codegen.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.19.1","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.12.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1783882930","@0xsend/canton-protobuf":"3.4.11-next.1783882930","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.8.0_1788426487403_0.9573251872175792","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@0xsend/cws-client","version":"0.9.0","author":{"name":"Send Foundation"},"license":"MIT","_id":"@0xsend/cws-client@0.9.0","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"alleneubank","email":"adeubank@gmail.com"},{"name":"allen-send","email":"allen@send.it"}],"homepage":"https://send.it","dist":{"shasum":"3ff0d9acf51257e6cba726c3fa6d945feaf88b07","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.9.0.tgz","fileCount":7,"integrity":"sha512-yIZkCOTnE4UU/7wTojhbcnQ9dRlmBRFB/L2b1d79FRv7fO3cwqE2esEMp0Z3lVWl691cWnmWheIAAGB8OWyAZQ==","signatures":[{"sig":"MEUCIQC/5hILjwY0I6r+BuFXomJfDXanilN6hhjYAFVpheuAEQIge+OPbTeHuI4yglLPbT/5mxXJ8jP+jWZ9UsMNZnnIPIY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":569577},"main":"./dist/index.js","type":"module","types":"./dist/types/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"gitHead":"9b13844770dac2774abbcaf1aa74f5369be37e1f","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit","codegen:check":"bun run ./scripts/check-codegen.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.19.1","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.12.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1783882930","@0xsend/canton-protobuf":"3.4.11-next.1783882930","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/cws-client_0.9.0_1789475257407_0.02886633493179147","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"_id":"@0xsend/cws-client@0.10.0","dist":{"shasum":"d024de01bb543bfc0a365cfbfd6030482d2c0067","tarball":"https://registry.npmjs.org/@0xsend/cws-client/-/cws-client-0.10.0.tgz","fileCount":7,"integrity":"sha512-J82OCFfhEjPuw0qcLLBzKvVZ9LG4dmcg2O9E/jyoQOAczjlXu8wwNvxt4Qg5Y7pUz0GNNqoOoKesdFVHAPBwBg==","signatures":[{"sig":"MEUCIQDlVORpOpQQAe/kAUX0fMv2nq1/Fo8mPvQpKOa5dqZWsQIgGXUeLuGMzl/87p7qwQawX+NT3ye5lITqzKfdbkYXDZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEVss6FrV0bv7X0p+TDy5tmC+stVQwWJpOI0CeJgT9zXAiEA3jHvIn5bMj5G3r2OZQ8cq/wBb7hUqLn2+3TJ+5/u3KE="}],"unpackedSize":569886},"main":"./dist/index.js","name":"@0xsend/cws-client","type":"module","types":"./dist/types/index.d.ts","author":{"name":"Send Foundation"},"engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/types/index.d.ts","default":"./dist/index.js"},"./client":{"types":"./dist/types/client.d.ts","default":"./dist/client.js"}},"gitHead":"c08bf7d2243df0efee2b31cb9e43482a11dbb907","license":"MIT","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"node scripts/build.mjs","codegen":"openapi-ts --file ./openapi-ts.config.ts","typecheck":"tsc --noEmit","codegen:check":"bun run ./scripts/check-codegen.ts"},"version":"0.10.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a862ed59-0f4c-4fe3-955b-b343051d37ac"}},"homepage":"https://send.it","repository":{"url":"https://github.com/0xsend","type":"git"},"_npmVersion":"11.20.0","description":"Typed fetch client and helpers for the Canton Wallet Service API","directories":{},"maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"alleneubank","email":"adeubank@gmail.com"},{"name":"allen-send","email":"allen@send.it"}],"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13","jose":"^6.0.11","@noble/curves":"^2.0.1","@noble/hashes":"^2.0.1","@bufbuild/protobuf":"^2.12.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.0.0","vitest":"^3.2.4","esbuild":"^0.27.0","typescript":"^5.8.3","rollup-plugin-dts":"^6.0.0","@0xsend/cws-shared":"workspace:*","@hey-api/openapi-ts":"^0.94.2","@0xsend/canton-client":"3.4.11-next.1783882930","@0xsend/canton-protobuf":"3.4.11-next.1783882930","@0xsend/external-signing":"workspace:*"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cws-client_0.10.0_1790282918135_0.03577858080549845"}}},"time":{"created":"2026-04-25T23:42:24.923Z","modified":"2026-09-24T20:48:38.404Z","0.1.0":"2026-04-25T23:42:25.144Z","0.1.2":"2026-04-26T01:34:26.931Z","0.1.3":"2026-04-26T01:49:50.132Z","0.2.0":"2026-04-26T19:47:18.065Z","0.3.0":"2026-04-27T01:11:10.720Z","0.4.0":"2026-05-29T20:18:12.760Z","0.4.1":"2026-07-17T16:14:56.861Z","0.5.0":"2026-08-22T19:06:59.468Z","0.6.0":"2026-09-01T20:11:13.710Z","0.7.0":"2026-09-02T08:29:25.215Z","0.8.0":"2026-09-03T09:08:07.546Z","0.9.0":"2026-09-15T12:27:37.550Z","0.10.0":"2026-09-24T20:48:38.232Z"},"author":{"name":"Send Foundation"},"license":"MIT","homepage":"https://send.it","repository":{"url":"https://github.com/0xsend","type":"git"},"description":"Typed fetch client and helpers for the Canton Wallet Service API","maintainers":[{"name":"eho-send","email":"eho@send.it"},{"name":"alleneubank","email":"adeubank@gmail.com"},{"name":"allen-send","email":"allen@send.it"}],"readme":"# @0xsend/cws-client\n\nTyped fetch client for the Canton Wallet Service (CWS) HTTP API, plus\nclient-side helpers for verifying server-prepared submissions before signing.\n\n`cws-client` is the integration surface for any TypeScript/JavaScript app that\nneeds to drive a Canton wallet — sending and accepting transfers, managing\npreapprovals and automerge UTXO delegations, and operating multisig wallets —\nwithout trusting the server to compose what gets signed.\n\n## Install\n\n```bash\nnpm install @0xsend/cws-client\n```\n\nRequires Node.js 20 or newer.\n\n## Quick start\n\n```ts\nimport { createClient } from '@0xsend/cws-client/client'\n\nconst wallet = createClient({\n  apiKey: 'sk_testnet_...',\n  network: 'testnet',\n})\n\nconst multisigs = await wallet.multisig.listMultisigs()\n```\n\n`createClient` accepts either an `apiKey` + `network` pair (mainnet/testnet\npresets, Keycloak token exchange handled internally) or a static `token` +\n`baseUrl` for environments that mint their own bearer tokens.\n\n## Prepare → verify → sign → submit\n\nEvery mutation in CWS follows the same shape:\n\n1. Call a `prepare*` method on the client. The server returns a base64-encoded\n   `PreparedTransaction` and the hash it expects you to sign.\n2. Decode the prepared submission locally and recompute the hash with\n   `verifyPreparedSubmission` (or the topology variants below). If the hash\n   you recompute does not match what the server claims, **do not sign** —\n   the server is asking you to authorize something other than what you\n   requested.\n3. Sign the verified hash with your own keys (P-256 or secp256k1 via ECDSA).\n   The private key never leaves your environment.\n4. Submit the signature back via the corresponding submit/approve method.\n\n```ts\nimport {\n  createClient,\n  decodePreparedSubmission,\n  verifyPreparedSubmission,\n} from '@0xsend/cws-client'\n\nconst prepared = await wallet.transaction.prepareTransferInstruction({\n  body: { to: counterparty, amount: '10.0', instrument },\n})\n\nconst decoded = decodePreparedSubmission(prepared.data.preparedTransaction)\nverifyPreparedSubmission({\n  preparedTransaction: decoded,\n  expectedHash: prepared.data.preparedTransactionHash,\n  intent: { kind: 'transfer', to: counterparty, amount: '10.0', instrument },\n})\n\nconst signature = await sign(prepared.data.preparedTransactionHash) // your signer\nawait wallet.transaction.submit({ body: { /* prepared id, signature */ } })\n```\n\n## Single-signer transfers (1/1 wallets)\n\nFor wallets where the active key is the sole signer, use the `transaction.*`\nprepare helpers. The server submits the transaction as soon as it receives a\nvalid signature — no queue, no co-signers.\n\nAvailable flows:\n\n- `prepareTransferInstruction` — send a transfer.\n- `prepareTransferInstructionAccept` / `Reject` / `Withdraw` — respond to a\n  pending transfer instruction.\n- `prepareBulkTransfer` / `prepareBulkTransferSetup` — batch multiple\n  transfers into a single signed submission.\n- `preparePreapproval` / `preparePreapprovalRevoke` — manage transfer\n  preapprovals (see below).\n- `prepareAutoMerge` / `prepareAutoMergeRevoke` — manage automerge UTXO\n  delegations (see below).\n\nEach `prepare*` returns the same prepared-transaction envelope; verify and\nsign it the same way.\n\n## Multisig\n\nMultisigs in CWS are first-class wallet accounts with their own party id,\nthreshold, and signer set. The lifecycle:\n\n1. **Create** — `multisig.create` proposes a new multisig with an initial\n   member set and threshold. Each prospective member signs the topology\n   transaction before the multisig becomes active.\n2. **Queue** — an authorized member calls a `prepare*` method (transfer,\n   preapproval, automerge, topology) with the multisig party id as the actor.\n   The caller must pass CWS membership checks and the Canton authorization\n   required for the generated `actAs`/submit path; membership alone is not a\n   Ledger API rights bypass. The server decomposes the prepared submission into\n   a queued transaction visible to every member.\n3. **Approve** — members independently re-derive the prepared-transaction\n   hash with `verifyPreparedSubmission` (or `verifyPreparedMultisigTopology`\n   / `verifyPreparedTopologyUpdate` for topology changes) and submit their\n   signatures via `multisig.approveTransaction` / `approveTopologyUpdate`.\n4. **Submit** — once the threshold is reached, `multisig.submit` (or the\n   server's auto-submit, when configured) finalizes the transaction on the\n   ledger.\n\nTopology changes (add/remove member, change threshold) flow through the same\nprepare → verify → sign loop, with their own verifier so you can recompute\nthe multi-hash before authorizing a change to the signer set.\n\n## Transfer preapprovals\n\nA preapproval is a long-lived authorization for a counterparty to pull a\nspecified instrument from your wallet without a per-transfer signature. CWS\nexposes both grant and revoke as prepared submissions:\n\n- `preparePreapproval` — grant. Verify that the prepared submission targets\n  the counterparty and instrument you intend, optionally with an expiry.\n- `preparePreapprovalRevoke` — revoke a specific preapproval contract.\n\nPreapprovals are used by services that need recurring debits (subscriptions,\nstreaming payments) and by automerge providers (below).\n\n## Automerge UTXO delegations\n\nCanton wallets accumulate small UTXOs as they receive funds. Automerge is a\ndelegation that authorizes a provider to consolidate those UTXOs back into\na single holding on your behalf, without you signing each merge. This keeps\nwallets responsive when sending — fewer, larger UTXOs mean fewer inputs to\ngather and sign.\n\n- `prepareAutoMerge` — grant the delegation, scoped to a provider party and\n  an instrument. The verifier ensures the prepared submission matches that\n  scope; the provider cannot use the delegation to move value off-wallet.\n- `prepareAutoMergeRevoke` — revoke an active delegation contract.\n\nFor multisig wallets, automerge follows the same queue-and-approve flow as\nany other prepared submission.\n\n## Public exports\n\n| Subpath | Use |\n|---|---|\n| `@0xsend/cws-client` | `createClient`, prepared-submission verifiers (`verifyPreparedSubmission`, `verifyPreparedMultisigTopology`, `verifyPreparedTopologyUpdate`, `verifyTopologyTransactionHashes`), network presets, response types |\n| `@0xsend/cws-client/client` | Client-construction surface only — `createClient`, `CantonWallet`, type-only re-exports of the generated wallet types. Use this when you only need types and want to avoid pulling in the verifier code. |\n\n`resolveNetwork` and `NETWORKS` expose the built-in mainnet/testnet base URL\nand Keycloak presets for callers that want to introspect or override them.\n\n## Links\n\n- Source: https://github.com/0xsend/canton-monorepo/tree/dev/packages/cws-client\n- Website: https://send.it\n\n## License\n\nMIT\n","readmeFilename":"README.md"}