{"_id":"@sigilry/dapp","_rev":"12-608d2f2ad12802ecadf43cbbba0e5825","name":"@sigilry/dapp","dist-tags":{"next":"2.0.0-next.2","latest":"3.4.0"},"versions":{"1.0.0":{"name":"@sigilry/dapp","version":"1.0.0","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@1.0.0","maintainers":[{"name":"0xbigboss","email":"0xbigboss@proton.me"}],"homepage":"https://sigilry.github.io","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"6b8c76674ce1bd01467b24a2b7a2ff3b62960457","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-1.0.0.tgz","fileCount":56,"integrity":"sha512-huVBiVywhbBXip8F6+ZhZ42AuJeCsb/PI918UMGFwvAPr28dX+JlfsJaDJKHl5yXUibXUH7mnEnzUqqrM+KYSg==","signatures":[{"sig":"MEQCIGraAvTTfewGHbQ/GsNvJNFp2xlT4D7zVvQHSMaUvkpiAiAfVi7liTSvan5+dAxRK/qUblLDcL6CE3nrnNhY0JytZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124481},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"0xbigboss","email":"0xbigboss@proton.me"},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"10.9.2","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"22.15.0","dependencies":{"zod":"^4.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_1.0.0_1769098697575_0.26692172183772955","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@sigilry/dapp","version":"1.0.1","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@1.0.1","maintainers":[{"name":"0xbigboss","email":"0xbigboss@proton.me"}],"homepage":"https://sigilry.github.io","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"f5200679ebce007964e9fc88307fb9dcdb37b475","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-1.0.1.tgz","fileCount":56,"integrity":"sha512-keaL5jHqRlUb58f4rQi6EpAlu+0jbw/ntKMg2GXJbynhmq6UZI1rua8kJflc5mVldilnFMRaQnyivDflflN54w==","signatures":[{"sig":"MEUCIE3m22oYTmABmbMHuyc6TQ2dSfo1FDRRa/zpOrMDKTbPAiEAlz64QqBPILgDdnvEgn07aS9JsW1vo9yi5zOFRdEHiMo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126328},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"8b729761379806b35420d17e259e128a38346d44","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"0xbigboss","email":"0xbigboss@proton.me"},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"10.9.4","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^4.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_1.0.1_1769402398035_0.4250055719355337","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-next.1":{"name":"@sigilry/dapp","version":"2.0.0-next.1","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@2.0.0-next.1","maintainers":[{"name":"0xbigboss","email":"0xbigboss@proton.me"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"62e8d3fa6c26ff6bbdf8b3020df9216c7ac26c95","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-2.0.0-next.1.tgz","fileCount":57,"integrity":"sha512-ffQHdodEynOuiWEA3k43EMne+fbarCweGQfcNBmmGKX2MFAXuYefaY7SkQF2FNXkBySQOQo9xsz0kPviSerbEQ==","signatures":[{"sig":"MEYCIQCBIprQm000yHIqkmgtuYuAtJHyBCMgYj7xDZRv/iyXWwIhAJBygEFj9uDE/DYRU0BAcKkMgtKX8uS2RImwg/Qlu206","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133845},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"c789f36166764177fd5142f65879dfafc61ed5f2","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.11.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_2.0.0-next.1_1777170982239_0.27467976261497795","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-next.2":{"name":"@sigilry/dapp","version":"2.0.0-next.2","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@2.0.0-next.2","maintainers":[{"name":"0xbigboss","email":"0xbigboss@proton.me"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"30d1cfd2212b18231092bd656e5c930bd598a9cd","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-2.0.0-next.2.tgz","fileCount":57,"integrity":"sha512-I4Bm4N4t9/afW92VN2FZTqlOzQ9myHVaRGbjtL404DOhMW1GER5Y+d0nRoOBjFmYgZadA9xJZMTVY3nenFpQ3w==","signatures":[{"sig":"MEUCIFKyNuS5zsNHaaOYXuDloIr+/oH2AoJD92+SemdHD5UjAiEAxoSny+LDnMsKkC/7oQNxWzaCjS7gFsLSO0E8WYjgPZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133845},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"75112f153d0b8555a614b89bcbaafa25fce62464","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.11.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_2.0.0-next.2_1777326207336_0.539577946192326","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@sigilry/dapp","version":"2.0.0","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@2.0.0","maintainers":[{"name":"0xbigboss","email":"0xbigboss@proton.me"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"6ca051d1f07b4cc987c3162e973f8e60a01121b1","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-2.0.0.tgz","fileCount":57,"integrity":"sha512-JYaC9o89AJuQVD1Apeblem/UNkSJD2vqhQbD0PTZhWzlkXLJvRzTEXRPqOODHbz3NuO3HygHT+P39UNrgWd9kQ==","signatures":[{"sig":"MEQCIGA9/TZaVIpKSPPGughuEMVuYbecwE6hStD8FlxUd/AjAiAhCO2W24NnW7rmSnCh7SYg9X9EvMKdbgoYgNDv9Gpa6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135972},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"0221a00065f54ad92be5cce307708d5a35ce291c","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.11.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_2.0.0_1777491197598_0.0963078075344661","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@sigilry/dapp","version":"3.0.0","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@3.0.0","maintainers":[{"name":"0xbigboss","email":"0xbigboss@proton.me"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"a2340b8bcc130f5ff03fd532278767fdc4fbb50c","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-3.0.0.tgz","fileCount":57,"integrity":"sha512-XpYAbxE0qT0P+G/P0yo1bWbv5wAh7rpUN9aNUUCZzNioZKNngnxmw+ZXs1nSeucQaVoBSVhJXZm5jOeYo28DYA==","signatures":[{"sig":"MEUCIQCqw8sDkbuS0pR7XH2G+6FjKvHClMy1dul4iliQKt6bAgIgeG+99pfnuAvPAbBuNMP2GQ75XfWgDme9tfBrN7SAm1g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152619},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"5d99d978827306917ced7e9773be8a1ed0aea718","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.13.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_3.0.0_1780417995663_0.16528666765165445","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@sigilry/dapp","version":"3.1.0","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@3.1.0","maintainers":[{"name":"0xbigboss","email":"0xbigboss@proton.me"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"0002258377ea13a2482a8e9a2bfc4657a1d74db6","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-3.1.0.tgz","fileCount":75,"integrity":"sha512-U5stjHomOCaIEh0YjEM5qkiioqC5wV/BgpyUVOywpgpsC11LAn8hDBOImKogN+l+GbM7r1QwT3zYrNMkNTkR4w==","signatures":[{"sig":"MEQCIHFSqYYHPuE4aOZxk4NtOPC4pWo35SrfhJOQK5e+3kswAiBuauv84Y6P1pqdlIe5bCsFzrh4vgq12vxmTmk/LsHIiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":173397},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./discovery":"./src/discovery/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./discovery":{"types":"./dist/src/discovery/index.d.ts","default":"./dist/src/discovery/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"6d6e68e55416e4203feda846681d4d8ae40f0dd6","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.13.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_3.1.0_1781800334635_0.6143850953300145","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"@sigilry/dapp","version":"3.2.0","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@3.2.0","maintainers":[{"name":"0xbigboss","email":"0xbigboss@proton.me"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"6ee3be84875f8f14137514b11803830e8a6ed20b","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-3.2.0.tgz","fileCount":75,"integrity":"sha512-I24Ru677l0x23weQA3DYNClSkBpUtHXQK7vt12hqQrPXcXLebEKWZjWzkn7Dry7xSvpAoZEWYlJn+asjdXGDEA==","signatures":[{"sig":"MEUCIFQ3mWqSfiQfqmWtL/IRdRegUvg3YvfADrMGWTjJSiOQAiEA+f58KlnIhkIFDfZb5z2y/RcBoIID0VIiZhJRyMZNB0w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":173859},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./discovery":"./src/discovery/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./discovery":{"types":"./dist/src/discovery/index.d.ts","default":"./dist/src/discovery/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"0940a7654ba4f2aeec236d955cda5846510d4ada","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.13.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.1.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_3.2.0_1781902696816_0.7664843083564872","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"@sigilry/dapp","version":"3.3.0","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@3.3.0","maintainers":[{"name":"alleneubank","email":"adeubank@gmail.com"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"93a65cf4a7450a46a9d6bbd23b336a9185e91492","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-3.3.0.tgz","fileCount":78,"integrity":"sha512-88TJuMHhSBsAcnYa0d2Zaar9RAkZTV15A4eClG4ERS7h0v8776a2QJun8VIexz1PyLwTgBWh773XCyRD7kvqRg==","signatures":[{"sig":"MEUCIGwDzRAH7EOQGIOWSy/0kSthfLGyMs1VQmyCPPdaCpakAiEAztBNCr8jZin0AxbKJk3iF8OkNFOE7bRW/gX0127d5h0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":200231},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./discovery":"./src/discovery/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./discovery":{"types":"./dist/src/discovery/index.d.ts","default":"./dist/src/discovery/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"b0c5d57b6db2008c0b01e9660c7b953eb0999961","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.13.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.1.13","@walletconnect/types":"^2.23.8","@walletconnect/sign-client":"^2.23.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_3.3.0_1782324269686_0.014464859974231858","host":"s3://npm-registry-packages-npm-production"}},"3.3.1":{"name":"@sigilry/dapp","version":"3.3.1","keywords":["blockchain","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@3.3.1","maintainers":[{"name":"alleneubank","email":"adeubank@gmail.com"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"9f9857fb3191e8619f8ff615c171e35f5af32e4e","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-3.3.1.tgz","fileCount":78,"integrity":"sha512-R3ueYnqo+CYas/SfDzwZG0gN1R/3Zf4Iew9hSK6IVcbqvS9yycy5CVBzu+ankBFIVXId8B1lyA0VVN3iFOjicg==","signatures":[{"sig":"MEYCIQD/IGiM5+p0gz7z6OQVEvhcHfoMH8Ksd+9JwLSdB5d9wgIhAPxNCcmfNnmI0xC/zxHEw0m99SR3HWHrDuJSHD9fuCjg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":202064},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./discovery":"./src/discovery/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./discovery":{"types":"./dist/src/discovery/index.d.ts","default":"./dist/src/discovery/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"e491d7338dca29ee04a83f773200171f0b9cf55c","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.13.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.17.0","dependencies":{"zod":"^4.1.13","@walletconnect/types":"^2.23.8","@walletconnect/sign-client":"^2.23.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_3.3.1_1782352116233_0.8740845931087033","host":"s3://npm-registry-packages-npm-production"}},"3.3.2":{"name":"@sigilry/dapp","version":"3.3.2","keywords":["blockchain","canton","cip-0103","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"license":"MIT","_id":"@sigilry/dapp@3.3.2","maintainers":[{"name":"alleneubank","email":"adeubank@gmail.com"}],"homepage":"https://sigilry.org","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"19a5c78f9b0e7363da21e3881fa0ea28caee057d","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-3.3.2.tgz","fileCount":78,"integrity":"sha512-XgbVQtRdJb8rxkDZqYK5McfhcQE3zigA50YNyqQd0vsJLkY2ck3YxQp1xz8JIrlQ8xukvbMn3YvElG4NAFryGA==","signatures":[{"sig":"MEUCIQD5+SXMjlre17VwaSXgMxkBFqX0RWRUYc7FbrLV8Oly6gIgQQMnmsJqIHsGTXr/G8UpaN9wigxj9TZEnPCrs+sJvio=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDtHkg6RDW5OA27nPEevoKrnt5xqj2JDTxedhHSItYKTAIgK+cOFScRM2mz3ch/mBUSoqC+UUwM086JsZ4KGdmnw0k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":202562},"type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./discovery":"./src/discovery/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./discovery":{"types":"./dist/src/discovery/index.d.ts","default":"./dist/src/discovery/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"9f5ec5f028c742aba5cb9d55249e9df86538d7ee","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"b037f180-ecaf-4691-addc-6ff578ea2952"}},"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.19.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.1.13","@walletconnect/types":"^2.23.8","@walletconnect/sign-client":"^2.23.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"tmp":"tmp/dapp_3.3.2_1791225746052_0.3407435020931706","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"_id":"@sigilry/dapp@3.4.0","bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"dist":{"shasum":"8faa444bcc72f0fb89bb60b712d4d76aa7d8facd","tarball":"https://registry.npmjs.org/@sigilry/dapp/-/dapp-3.4.0.tgz","fileCount":78,"integrity":"sha512-R1DL0lD0jhlSf2eJtcP08YPxGqt5L2YjznbK7hn+l67P8WewmK8+ZVlOj+0w91S1pLtqiYY6DqxOgcNYRImERw==","signatures":[{"sig":"MEQCIE3Ie2pPAEAr755sJ/9Kh5sTtiW4eBJc8m6XkBzTQSGjAiANp6UJ1EhMYwgeYuntGrMV3c7FqbHfJGkK5W00VyEI/w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCvnmVQyi1fxDAHzXuRyNUt8VaHsMSe6tXJJs0yG3pggAIhAIKYhAL1bdRa+4dwrog0AGw7ppZ1a7WJiuQXJ2vZAmHS"}],"unpackedSize":203844},"name":"@sigilry/dapp","type":"module","zshy":{"cjs":false,"exports":{".":"./src/index.ts","./rpc":"./src/rpc/index.ts","./schemas":"./src/generated/schemas.ts","./messages":"./src/messages/index.ts","./provider":"./src/provider/index.ts","./discovery":"./src/discovery/index.ts","./transport":"./src/transport/index.ts","./browser-globals":"./src/browser-globals.ts","./messages/runtime-schemas":"./src/messages/runtime-schemas.ts"}},"types":"./dist/src/index.d.ts","module":"./dist/src/index.js","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./rpc":{"types":"./dist/src/rpc/index.d.ts","default":"./dist/src/rpc/index.js"},"./schemas":{"types":"./dist/src/generated/schemas.d.ts","default":"./dist/src/generated/schemas.js"},"./messages":{"types":"./dist/src/messages/index.d.ts","default":"./dist/src/messages/index.js"},"./provider":{"types":"./dist/src/provider/index.d.ts","default":"./dist/src/provider/index.js"},"./discovery":{"types":"./dist/src/discovery/index.d.ts","default":"./dist/src/discovery/index.js"},"./transport":{"types":"./dist/src/transport/index.d.ts","default":"./dist/src/transport/index.js"},"./browser-globals":{"types":"./dist/src/browser-globals.d.ts","default":"./dist/src/browser-globals.js"},"./messages/runtime-schemas":{"types":"./dist/src/messages/runtime-schemas.d.ts","default":"./dist/src/messages/runtime-schemas.js"}},"gitHead":"f9d87c604bc99ea828f556e23f04594979ac43de","license":"MIT","scripts":{"test":"bun test","build":"bun run codegen && zshy","codegen":"bun scripts/codegen.ts","typecheck":"tsc --noEmit"},"version":"3.4.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"b037f180-ecaf-4691-addc-6ff578ea2952"}},"homepage":"https://sigilry.org","keywords":["blockchain","canton","cip-0103","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"_npmVersion":"11.19.0","description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","directories":{},"maintainers":[{"name":"alleneubank","email":"adeubank@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.1.13","@walletconnect/types":"^2.23.8","@walletconnect/sign-client":"^2.23.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zshy":"^0.7.0","@types/bun":"^1.3.4","typescript":"^5.8.3","json-schema-to-zod":"^2.7.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dapp_3.4.0_1791237592072_0.9409950290438249"}}},"time":{"created":"2026-01-22T16:18:17.510Z","modified":"2026-10-05T21:59:52.326Z","1.0.0":"2026-01-22T16:18:17.752Z","1.0.1":"2026-01-26T04:39:58.178Z","2.0.0-next.1":"2026-04-26T02:36:22.367Z","2.0.0-next.2":"2026-04-27T21:43:27.514Z","2.0.0":"2026-04-29T19:33:17.730Z","3.0.0":"2026-06-02T16:33:15.923Z","3.1.0":"2026-06-18T16:32:14.776Z","3.2.0":"2026-06-19T20:58:16.955Z","3.3.0":"2026-06-24T18:04:29.904Z","3.3.1":"2026-06-25T01:48:36.379Z","3.3.2":"2026-10-05T18:42:26.137Z","3.4.0":"2026-10-05T21:59:52.166Z"},"bugs":{"url":"https://github.com/sigilry/sigilry/issues"},"license":"MIT","homepage":"https://sigilry.org","keywords":["blockchain","canton","cip-0103","dapp","json-rpc","rpc","transport","typescript","wallet","web3","zod"],"repository":{"url":"git+https://github.com/sigilry/sigilry.git","type":"git","directory":"packages/dapp"},"description":"Chain/transport-agnostic dApp infrastructure - RPC client/server and transports","maintainers":[{"name":"alleneubank","email":"adeubank@gmail.com"}],"readme":"# @sigilry/dapp\n\nCore package for [CIP-103](https://github.com/canton-foundation/cips/blob/main/cip-0103/cip-0103.md)-compliant dApp ↔ wallet extension communication on Canton Network. Provides the typed `SpliceProvider` interface, JSON-RPC client/server, transports, and Zod schemas generated from the CIP-103 OpenRPC specification.\n\nThe CIP-103 OpenRPC machine-readable spec is maintained upstream in [`hyperledger-labs/splice-wallet-kernel`](https://github.com/hyperledger-labs/splice-wallet-kernel) and vendored into `packages/dapp/api-specs/openrpc-dapp-api.json`; per CIP-103 §2 the OpenRPC JSON is the ground truth where the prose and the schema diverge.\n\n## Installation\n\n```bash\nyarn add @sigilry/dapp@^3\n```\n\nThe stable Canton Network / CIP-0103 SDK line is 3.x on `latest`. Use `@sigilry/react@^3` for React integration. The `next` tag is frozen on an older prerelease; see the [migration guides](https://sigilry.org/migrations/) when upgrading.\n\nPartner guides: [Send Connect testnet](https://sigilry.org/guides/send-connect-testnet/), [verify signMessage](https://sigilry.org/guides/verify-sign-message/), and [read holdings](https://sigilry.org/guides/read-holdings/).\n\n## Overview\n\nThis package provides the building blocks for dApp ↔ wallet extension communication:\n\n- **SpliceProvider Interface**: CIP-103 dApp API surface (request/on/removeListener — the EIP-1193 object shape that CIP-103 adopts)\n- **Message Types**: Typed events and schemas for the CIP-103 JSON-RPC envelope\n- **Transport Layer**: Window postMessage transport implementation\n- **RPC Utilities**: Client/server factories with CIP-103-aligned error codes\n- **Zod Schemas**: Runtime validation generated from the CIP-103 OpenRPC spec\n\n## Usage\n\n### dApp Integration\n\n```typescript\nimport { SpliceProviderBase, WindowTransport } from \"@sigilry/dapp\";\n\n// Use the injected provider\nif (window.canton) {\n  const status = await window.canton.request({ method: \"status\" });\n  console.log(\"Connected:\", status.connection.isConnected);\n}\n```\n\n### Extension Development\n\n```typescript\nimport { createCantonServer, WalletEvent, isSpliceMessage, jsonRpcResponse } from \"@sigilry/dapp\";\n\n// Create RPC server with handlers\nconst server = createCantonServer({\n  status: async () => ({\n    provider: { id: \"send-extension\", providerType: \"browser\" },\n    connection: { isConnected: true, isNetworkConnected: true },\n  }),\n  connect: async () => {\n    /* ... */\n  },\n  // ... other handlers\n});\n\n// Handle incoming messages\nbrowser.runtime.onMessage.addListener((message, sender, sendResponse) => {\n  if (!isSpliceMessage(message)) return false;\n\n  if (message.type === WalletEvent.SPLICE_WALLET_REQUEST) {\n    server.handleRequest(message.request.method, message.request.params).then((result) =>\n      sendResponse({\n        type: WalletEvent.SPLICE_WALLET_RESPONSE,\n        response: jsonRpcResponse(message.request.id, result),\n      }),\n    );\n    return true; // async response\n  }\n});\n```\n\n### Custom Provider Implementation\n\n```typescript\nimport { SpliceProviderBase, WindowTransport } from \"@sigilry/dapp\";\nimport type { ConnectedEvent, StatusChangedEvent } from \"@sigilry/dapp/schemas\";\n\nclass MyProvider extends SpliceProviderBase {\n  private transport: WindowTransport;\n\n  constructor() {\n    super();\n    this.transport = new WindowTransport(window, { timeout: 30000 });\n  }\n\n  async request<T>(args: { method: string; params?: unknown }): Promise<T> {\n    const response = await this.transport.submit(args);\n    if (\"error\" in response) throw response.error;\n    return response.result as T;\n  }\n\n  // CIP-103 §4.2.2 push events. Call these from your transport / wallet\n  // backend when authentication or network state changes.\n  signalConnected(event: ConnectedEvent): void {\n    this.emitConnected(event); // login-flow completion (one-shot)\n  }\n\n  signalStatusChanged(event: StatusChangedEvent): void {\n    this.emitStatusChanged(event); // ongoing status transitions (disconnects route through here per §4.2.2:216)\n  }\n}\n```\n\n## API Reference\n\n### Exports\n\n```typescript\n// Main entry point\nimport {\n  WalletEvent,\n  SpliceProviderBase,\n  WindowTransport,\n  createCantonServer,\n  createCantonClient,\n  isSpliceMessage,\n  jsonRpcRequest,\n  jsonRpcResponse,\n  RpcErrorCode,\n  rpcError,\n} from \"@sigilry/dapp\";\n\n// Submodule imports\nimport { WalletEvent, isSpliceMessage } from \"@sigilry/dapp/messages\";\nimport { SpliceProviderBase } from \"@sigilry/dapp/provider\";\nimport { createCantonServer, rpcError } from \"@sigilry/dapp/rpc\";\nimport { WindowTransport } from \"@sigilry/dapp/transport\";\nimport * as schemas from \"@sigilry/dapp/schemas\";\n```\n\n### SpliceProvider Interface\n\n```typescript\ninterface SpliceProvider {\n  request<T>(args: { method: string; params?: unknown }): Promise<T>;\n  on(event: string, listener: Function): SpliceProvider;\n  emit(event: string, ...args: unknown[]): boolean;\n  removeListener(event: string, listener: Function): SpliceProvider;\n}\n\ninterface ExtendedSpliceProvider extends SpliceProvider {\n  isConnected(): boolean;\n  removeAllListeners(event?: string): SpliceProvider;\n  listenerCount(event: string): number;\n}\n```\n\n### WalletEvent Enum\n\n```typescript\nenum WalletEvent {\n  SPLICE_WALLET_REQUEST = \"SPLICE_WALLET_REQUEST\",\n  SPLICE_WALLET_RESPONSE = \"SPLICE_WALLET_RESPONSE\",\n  SPLICE_WALLET_EXT_READY = \"SPLICE_WALLET_EXT_READY\",\n  SPLICE_WALLET_EXT_ACK = \"SPLICE_WALLET_EXT_ACK\",\n  SPLICE_WALLET_EXT_OPEN = \"SPLICE_WALLET_EXT_OPEN\",\n  SPLICE_WALLET_IDP_AUTH_SUCCESS = \"SPLICE_WALLET_IDP_AUTH_SUCCESS\",\n}\n```\n\n### RPC Methods\n\n| Method                  | Params                       | Result                                 | Description                                                                                   |\n| ----------------------- | ---------------------------- | -------------------------------------- | --------------------------------------------------------------------------------------------- |\n| `status`                | none                         | `StatusEvent`                          | Get connection status                                                                         |\n| `connect`               | none                         | `ConnectResult`                        | Connect and report whether the wallet authorized access                                       |\n| `disconnect`            | none                         | `null`                                 | Disconnect session                                                                            |\n| `isConnected`           | none                         | `ConnectResult`                        | Check whether the wallet is connected                                                         |\n| `getActiveNetwork`      | none                         | `Network`                              | Get active network                                                                            |\n| `listAccounts`          | none                         | `Wallet[]`                             | Get authorized accounts                                                                       |\n| `getPrimaryAccount`     | none                         | `Wallet`                               | Get the primary account                                                                       |\n| `prepareExecute`        | `JsPrepareSubmissionRequest` | `null`                                 | Prepare, sign, and execute transaction                                                        |\n| `prepareExecuteAndWait` | `JsPrepareSubmissionRequest` | `{ tx: TxChangedExecutedEvent }`       | Execute transaction and wait for completion                                                   |\n| `signMessage`           | `{ message: string }`        | `{ signature: string }`                | Sign an arbitrary message                                                                     |\n| `ledgerApi`             | `LedgerApiRequest`           | `Record<string, unknown> \\| unknown[]` | Returns the Canton Ledger API JSON response as an object or array, depending on the endpoint. |\n| `accountsChanged`       | none                         | `AccountsChangedEvent`                 | Subscribe to account changes                                                                  |\n| `txChanged`             | none                         | `TxChangedEvent`                       | Subscribe to transaction changes                                                              |\n| `statusChanged`         | none                         | `StatusChangedEvent`                   | Subscribe to provider status transitions (CIP-103 §4.2.2; disconnects route through here)     |\n| `connected`             | none                         | `ConnectedEvent`                       | Subscribe to login-flow completion (CIP-103 §4.2.2; identical payload to `statusChanged`)     |\n\n### RPC Error Codes\n\n```typescript\nconst RpcErrorCode = {\n  // Standard JSON-RPC 2.0 errors\n  PARSE_ERROR: -32700,\n  INVALID_REQUEST: -32600,\n  METHOD_NOT_FOUND: -32601,\n  INVALID_PARAMS: -32602,\n  INTERNAL_ERROR: -32603,\n\n  // CIP-103 provider errors (inherited from EIP-1193)\n  USER_REJECTED: 4001,\n  UNAUTHORIZED: 4100,\n  UNSUPPORTED_METHOD: 4200,\n  DISCONNECTED: 4900,\n  CHAIN_DISCONNECTED: 4901,\n\n  // CIP-103 server errors (inherited from EIP-1474)\n  INVALID_INPUT: -32000,\n  RESOURCE_NOT_FOUND: -32001,\n  RESOURCE_UNAVAILABLE: -32002,\n  TRANSACTION_REJECTED: -32003,\n  METHOD_NOT_SUPPORTED: -32004,\n  LIMIT_EXCEEDED: -32005,\n};\n```\n\n### WindowTransport Options\n\n```typescript\ninterface TransportOptions {\n  timeout?: number; // Request timeout in ms (default: 30000)\n  targetOrigin?: string; // postMessage target origin (default: '*')\n}\n```\n\n## Generated Schemas\n\nZod schemas are generated from OpenRPC specifications:\n\n```typescript\nimport {\n  StatusEventSchema,\n  JsPrepareSubmissionRequestSchema,\n  TxChangedEventSchema,\n  type StatusEvent,\n  type JsPrepareSubmissionRequest,\n} from \"@sigilry/dapp/schemas\";\n\n// Validate incoming data\nconst parsed = StatusEventSchema.parse(data);\n```\n\nRegenerate schemas after spec changes:\n\n```bash\nyarn workspace @sigilry/dapp codegen\n```\n\n## Project Structure\n\n```\npackages/dapp/\n├── api-specs/\n│   ├── openrpc-dapp-api.json    # Splice dApp API spec\n│   └── openrpc-user-api.json    # User API spec (referenced)\n├── scripts/\n│   └── codegen.ts               # Schema generation script\n├── src/\n│   ├── generated/\n│   │   └── schemas.ts           # Generated Zod schemas\n│   ├── messages/\n│   │   ├── events.ts            # WalletEvent enum\n│   │   ├── schemas.ts           # Message type validators\n│   │   └── index.ts\n│   ├── provider/\n│   │   ├── interface.ts         # SpliceProvider interface\n│   │   ├── base.ts              # SpliceProviderBase class\n│   │   └── index.ts\n│   ├── rpc/\n│   │   ├── client.ts            # RPC client factory\n│   │   ├── server.ts            # RPC server factory\n│   │   ├── errors.ts            # Error codes and helpers\n│   │   └── index.ts\n│   ├── transport/\n│   │   ├── types.ts             # Transport interfaces\n│   │   ├── window.ts            # WindowTransport class\n│   │   └── index.ts\n│   └── index.ts                 # Main exports\n└── package.json\n```\n\n## Development\n\n```bash\n# Build package\nyarn workspace @sigilry/dapp build\n\n# Run tests\nyarn workspace @sigilry/dapp test\n\n# Type check\nyarn workspace @sigilry/dapp typecheck\n\n# Regenerate schemas\nyarn workspace @sigilry/dapp codegen\n```\n\n## Spec alignment (CIP-103)\n\nSigilry implements [CIP-103: dApp Connection API](https://github.com/canton-foundation/cips/blob/main/cip-0103/cip-0103.md). CIP-103 §2 states: \"The ground truth for the dApp API is maintained in the Splice Wallet repository in a machine-readable form.\" Per that rule, the canonical CIP-103 OpenRPC spec lives upstream at [`hyperledger-labs/splice-wallet-kernel`](https://github.com/hyperledger-labs/splice-wallet-kernel) and is vendored here at `api-specs/openrpc-dapp-api.json`.\n\nThe CIP-103 prose is the conceptual standard; where the prose and the OpenRPC JSON diverge, the JSON wins. For per-method conformance status see [CIP-103 Conformance](https://sigilry.org/concepts/cip-103-conformance/).\n\n### Upstream reference points\n\n- **dApp API spec**: vendored from `core/dapp-api/openrpc.json` in `splice-wallet-kernel`\n- **SpliceProvider interface**: compatible with `core/splice-provider/src/SpliceProvider.ts`\n- **WalletEvent types**: aligned with `core/types/src/index.ts`\n\n## Maintainers\n\nOriginally developed for production use at [Send](https://send.it) and maintained by the Send team. Issues and contributions are accepted on the public mirror at [github.com/sigilry/sigilry](https://github.com/sigilry/sigilry).\n\n## Related\n\n- **Send Extension**: `apps/webext/` - Browser extension using this package\n- **Linear Issues**: SEND-78 (scaffold), SEND-77 (implementation)\n","readmeFilename":"README.md"}