{"_id":"@anitshrsth/assembly-kit","_rev":"15-ec025676048865fca5c424db88e87353","name":"@anitshrsth/assembly-kit","dist-tags":{"latest":"2.0.12"},"versions":{"0.1.0":{"name":"@anitshrsth/assembly-kit","version":"0.1.0","license":"MIT","_id":"@anitshrsth/assembly-kit@0.1.0","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"ad1b601bc96c610afc113933261988cc0bd2a6e7","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-0.1.0.tgz","fileCount":13,"integrity":"sha512-3am9U5su+zykr4Y3A5AY3yucta0EKIiw83ae5gfVItaBGOE7LW7Y3R1tBzjBW1MyoJ4DomTeSPAhAPYEcc/w7Q==","signatures":[{"sig":"MEQCIEGkXu7n4saL9LU5bNNrja1dNF65kISxWkDMJW03Ui4fAiAwKhHkelIbyTWSBgWsSBL9rnv+JEnUzxpGC7cSjay54Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207563},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./schemas":{"import":{"types":"./dist/schemas/index.d.ts","default":"./dist/schemas/index.js"}},"./bridge-ui":{"import":{"types":"./dist/bridge-ui/index.d.ts","default":"./dist/bridge-ui/index.js"}},"./app-bridge":{"import":{"types":"./dist/app-bridge/index.d.ts","default":"./dist/app-bridge/index.js"}},"./package.json":"./package.json","./assembly-client":{"import":{"types":"./dist/assembly-client/index.d.ts","default":"./dist/assembly-client/index.js"}}},"gitHead":"fa41ffda804e26484480ffeadd2eb3f0b38b43e0","scripts":{"dev":"bunup --watch","lint":"ultracite check","test":"bun test","build":"bunup","format":"ultracite fix","prepare":"lefthook install","release":"bumpp --commit --push --tag","test:watch":"bun test --watch","type-check":"tsc --noEmit && tsc --noEmit -p test/tsconfig.json","test:coverage":"bun test --coverage"},"_npmUser":{"name":"anitshrsth","email":"shrsthprios@gmail.com"},"repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"ky":"^1.14.3","zod":"^4.3.6","p-retry":"^7.1.1","p-throttle":"^8.1.0"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^10.4.1","bunup":"^0.16.31","oxfmt":"^0.35.0","oxlint":"^1.50.0","lefthook":"^2.1.1","ultracite":"7.2.4","@types/bun":"^1.3.9","typescript":"^5.9.3","@types/react":"^19.2.14","simple-git-hooks":"^2.13.1"},"peerDependencies":{"react":">=18","typescript":">=4.5.0","@assembly-js/node-sdk":"^3.19.1"},"simple-git-hooks":{"pre-commit":"bun run lint && bun run type-check"},"peerDependenciesMeta":{"react":{"optional":true},"typescript":{"optional":true},"@assembly-js/node-sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_0.1.0_1772516363688_0.9370063857196611","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@anitshrsth/assembly-kit","version":"1.0.0","license":"MIT","_id":"@anitshrsth/assembly-kit@1.0.0","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"45b068e29cc69e7cb838c39b7c112461d5ee739f","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-1.0.0.tgz","fileCount":15,"integrity":"sha512-G61JlfHk3iHJiAEQnzAj5WIEwRFB2LgPesBenY3+FugwCcUo7gcV2hN17ZYQYHCdGC4QldAS98Eff3liJW1eeA==","signatures":[{"sig":"MEYCIQDCYLNtB9zl/D2Y0VulYAIrzzORztGgiFF6TjGOAPhbHQIhAJyKmJ36yI1gmeEscbgz37v6oRAgEpTm7zPSNbuS5t2C","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":244024},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./react":{"import":{"types":"./dist/react/index.d.ts","default":"./dist/react/index.js"}},"./schemas":{"import":{"types":"./dist/schemas/index.d.ts","default":"./dist/schemas/index.js"}},"./bridge-ui":{"import":{"types":"./dist/bridge-ui/index.d.ts","default":"./dist/bridge-ui/index.js"}},"./app-bridge":{"import":{"types":"./dist/app-bridge/index.d.ts","default":"./dist/app-bridge/index.js"}},"./package.json":"./package.json","./assembly-client":{"import":{"types":"./dist/assembly-client/index.d.ts","default":"./dist/assembly-client/index.js"}}},"gitHead":"7cb4406272e9c288e9f33c36e8d5ccb615ef1f24","scripts":{"dev":"bunup --watch","lint":"ultracite check","test":"bun test","build":"bunup","format":"ultracite fix","prepare":"lefthook install || true","release":"bumpp --commit --push --tag","test:watch":"bun test --watch","type-check":"tsc --noEmit && tsc --noEmit -p test/tsconfig.json","test:coverage":"bun test --coverage"},"_npmUser":{"name":"anitshrsth","email":"shrsthprios@gmail.com"},"repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"ky":"^1.14.3","zod":"^4.3.6","p-retry":"^7.1.1","p-throttle":"^8.1.0"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^10.4.1","bunup":"^0.16.31","oxfmt":"^0.35.0","oxlint":"^1.50.0","lefthook":"^2.1.1","ultracite":"7.2.4","@types/bun":"^1.3.9","typescript":"^5.9.3","@types/react":"^19.2.14","simple-git-hooks":"^2.13.1","@assembly-js/node-sdk":"^3.19.1"},"peerDependencies":{"react":">=18","typescript":">=4.5.0","@assembly-js/node-sdk":"^3.19.1"},"simple-git-hooks":{"pre-commit":"bun run lint && bun run type-check"},"peerDependenciesMeta":{"react":{"optional":true},"typescript":{"optional":true},"@assembly-js/node-sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_1.0.0_1772524871889_0.7080150322455385","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@anitshrsth/assembly-kit","version":"1.0.1","license":"MIT","_id":"@anitshrsth/assembly-kit@1.0.1","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"7932c87cdec2bf85e0210ed03fedbaaf57fbc301","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-1.0.1.tgz","fileCount":18,"integrity":"sha512-zboVdRtFcHDNjFtyAiEn6jcv8/4fUlUSm5g/W8MlYWwcmwWR++A21uFlSGB/jMKacEUA9n9lQ8b6VfVRcsEIYw==","signatures":[{"sig":"MEQCIBqXdN5xgte/5wSKnhgcZ4eRm1Y0mTEuQTqPn2N+12K0AiAI68E7OiJNIjjTBBuRfynW+bGz83QNi9qKDkPNRQFB7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":251254},"type":"module","_from":"file:anitshrsth-assembly-kit-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./logger":{"import":{"types":"./dist/logger/index.d.ts","default":"./dist/logger/index.js"}},"./schemas":{"import":{"types":"./dist/schemas/index.d.ts","default":"./dist/schemas/index.js"}},"./bridge-ui":{"import":{"types":"./dist/bridge-ui/index.d.ts","default":"./dist/bridge-ui/index.js"}},"./assembly-kit":{"import":{"types":"./dist/assembly-kit/index.d.ts","default":"./dist/assembly-kit/index.js"}},"./package.json":"./package.json"},"scripts":{"dev":"bunup --watch","lint":"ultracite check","test":"bun test","build":"bunup","format":"ultracite fix","prepare":"lefthook install || true","release":"bumpp --commit --push --tag","test:watch":"bun test --watch","type-check":"tsc --noEmit && tsc --noEmit -p test/tsconfig.json","test:coverage":"bun test --coverage"},"_npmUser":{"name":"anitshrsth","email":"shrsthprios@gmail.com"},"_resolved":"/Users/anitshrestha/workspace/assembly/assembly-kit/anitshrsth-assembly-kit-1.0.1.tgz","_integrity":"sha512-zboVdRtFcHDNjFtyAiEn6jcv8/4fUlUSm5g/W8MlYWwcmwWR++A21uFlSGB/jMKacEUA9n9lQ8b6VfVRcsEIYw==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.3.6","pino":"^10.3.1","p-retry":"^7.1.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","bunup":"^0.16.31","oxfmt":"^0.42.0","oxlint":"^1.57.0","lefthook":"^2.1.4","ultracite":"^7.3.2","@types/bun":"^1.3.11","typescript":"^5.9.3","@types/node":"^24.11.1","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependencies":{"react":">=18","typescript":">=5","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"react":{"optional":true},"typescript":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_1.0.1_1774545764490_0.2300861901476805","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@anitshrsth/assembly-kit","version":"1.0.2","license":"MIT","_id":"@anitshrsth/assembly-kit@1.0.2","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"902663ccc0b6f4cbeae5869778f13b14c4fb88db","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-1.0.2.tgz","fileCount":18,"integrity":"sha512-uehGKO16ZbHg+DLNXIol4fLYaxTOy14fJZMxmfgaTN/ZNnLGbnnrSl1mncAF5mn2gmZQZzlxeCVvEM8E1e3pEw==","signatures":[{"sig":"MEQCIHNY85nsOsz/4YtVxxWapfmX/t7bXGEP7asakfhzlvMYAiBkuBM0r9FRgog4m4GgIwFfSpW1VCkDfUiMaoVIVxstcw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":248572},"type":"module","_from":"file:anitshrsth-assembly-kit-1.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./logger":{"import":{"types":"./dist/logger/index.d.ts","default":"./dist/logger/index.js"}},"./schemas":{"import":{"types":"./dist/schemas/index.d.ts","default":"./dist/schemas/index.js"}},"./bridge-ui":{"import":{"types":"./dist/bridge-ui/index.d.ts","default":"./dist/bridge-ui/index.js"}},"./assembly-kit":{"import":{"types":"./dist/assembly-kit/index.d.ts","default":"./dist/assembly-kit/index.js"}},"./package.json":"./package.json"},"scripts":{"dev":"bunup --watch","lint":"ultracite check","test":"bun test","build":"bunup","format":"ultracite fix","prepare":"lefthook install || true","release":"bumpp --commit --push --tag","test:watch":"bun test --watch","type-check":"tsc --noEmit && tsc --noEmit -p test/tsconfig.json","test:coverage":"bun test --coverage"},"_npmUser":{"name":"anitshrsth","email":"shrsthprios@gmail.com"},"_resolved":"/Users/anitshrestha/workspace/assembly/assembly-kit/anitshrsth-assembly-kit-1.0.2.tgz","_integrity":"sha512-uehGKO16ZbHg+DLNXIol4fLYaxTOy14fJZMxmfgaTN/ZNnLGbnnrSl1mncAF5mn2gmZQZzlxeCVvEM8E1e3pEw==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.3.6","pino":"^10.3.1","p-retry":"^7.1.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","bunup":"^0.16.31","oxfmt":"^0.42.0","oxlint":"^1.57.0","lefthook":"^2.1.4","ultracite":"^7.3.2","@types/bun":"^1.3.11","typescript":"^5.9.3","@types/node":"^24.11.1","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependencies":{"react":">=18","typescript":">=5","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"react":{"optional":true},"typescript":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_1.0.2_1774546591185_0.25438206002945374","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@anitshrsth/assembly-kit","version":"1.0.3","license":"MIT","_id":"@anitshrsth/assembly-kit@1.0.3","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"3dc476bde2ffe38d060644d5bf3791d52d27f81b","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-1.0.3.tgz","fileCount":15,"integrity":"sha512-Zeu8x22RSTbq1WOGAKQXS89Ozcmfb8tOzKnZkiVqJdRi38fo2qnw3MXJF6iz9Y3KEbQQ1+CdTPDz8fMZu8YlCg==","signatures":[{"sig":"MEYCIQDItEg85icNIkhdH0qoZf8QaxXaSi1ekt0lN/BJLnGxFQIhAIv0XrJ8V7AP5mdAB0YbL92w5PO+iX7wO5B3g8QQF5MG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":249896},"type":"module","_from":"file:anitshrsth-assembly-kit-1.0.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./logger":{"import":{"types":"./dist/logger/index.d.ts","default":"./dist/logger/index.js"}},"./schemas":{"import":{"types":"./dist/schemas/index.d.ts","default":"./dist/schemas/index.js"}},"./bridge-ui":{"import":{"types":"./dist/bridge-ui/index.d.ts","default":"./dist/bridge-ui/index.js"}},"./assembly-kit":{"import":{"types":"./dist/assembly-kit/index.d.ts","default":"./dist/assembly-kit/index.js"}},"./package.json":"./package.json"},"scripts":{"dev":"bunup --watch","lint":"ultracite check","test":"bun test","build":"bunup","format":"ultracite fix","prepare":"lefthook install || true","release":"bumpp --commit --push --tag","test:watch":"bun test --watch","type-check":"tsc --noEmit && tsc --noEmit -p test/tsconfig.json","test:coverage":"bun test --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-1.0.3.tgz","_integrity":"sha512-Zeu8x22RSTbq1WOGAKQXS89Ozcmfb8tOzKnZkiVqJdRi38fo2qnw3MXJF6iz9Y3KEbQQ1+CdTPDz8fMZu8YlCg==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.12.1","description":"Alternative SDK for the Assembly platform","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.3.6","pino":"^10.3.1","p-retry":"^7.1.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","bunup":"^0.16.31","oxfmt":"^0.42.0","oxlint":"^1.57.0","lefthook":"^2.1.4","ultracite":"^7.3.2","@types/bun":"^1.3.11","typescript":"^5.9.3","@types/node":"^24.11.1","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependencies":{"react":">=18","typescript":">=5","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"react":{"optional":true},"typescript":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_1.0.3_1774586298065_0.3116706747487672","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@anitshrsth/assembly-kit","version":"2.0.0","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.0","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"2db403246654ebc2ae8d784105595d1ddaafebdc","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.0.tgz","fileCount":40,"integrity":"sha512-miU38XJOQEsDXnjche/q0gBfxveODjlCsCNdXgI/3BhHMm36qa2Lk0A00J2S2TqG2ugVaglk4nwmHVJwykIIBQ==","signatures":[{"sig":"MEUCIB03MKqtNBgDBEB+HU++ywSnRO81XRMTEId5yH0Tc+dTAiEA7nNA0EGzrhJLQQY12JFbZMyDzdbOxwDKId8WsuyMfio=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":361302},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.0.tgz","exports":{".":"./dist/index.mjs","./token":"./dist/token/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.0.tgz","_integrity":"sha512-miU38XJOQEsDXnjche/q0gBfxveODjlCsCNdXgI/3BhHMm36qa2Lk0A00J2S2TqG2ugVaglk4nwmHVJwykIIBQ==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"p-retry":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.0_1774603730397_0.40248060845977607","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@anitshrsth/assembly-kit","version":"2.0.1","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.1","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"e731135593de7f443b2fa29b65e71d059b44920e","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.1.tgz","fileCount":40,"integrity":"sha512-n0dIVX/Hl5dMw0eJvDHCiRhcxy5VR0DZcdZ89pwkddLVC7mp8srj7NP+jU37boGdtNu0HVCfBnhmoc2Xy+wqtg==","signatures":[{"sig":"MEUCIQCelh0Ksczxl7uwsGeXNuPfrckiHKGzCTnYYXod7dcTlQIgNaB30gtOOlxwEhYuUw2r5ExmTq8gs30dP2aJVP36NRY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":381053},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.1.tgz","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./token":{"types":"./dist/token/index.d.mts","import":"./dist/token/index.mjs"},"./client":{"types":"./dist/client/index.d.mts","import":"./dist/client/index.mjs"},"./errors":{"types":"./dist/errors/index.d.mts","import":"./dist/errors/index.mjs"},"./logger":{"types":"./dist/logger/index.d.mts","import":"./dist/logger/index.mjs"},"./schemas":{"types":"./dist/schemas/index.d.mts","import":"./dist/schemas/index.mjs"},"./bridge-ui":{"types":"./dist/bridge-ui/index.d.mts","import":"./dist/bridge-ui/index.mjs"},"./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.1.tgz","_integrity":"sha512-n0dIVX/Hl5dMw0eJvDHCiRhcxy5VR0DZcdZ89pwkddLVC7mp8srj7NP+jU37boGdtNu0HVCfBnhmoc2Xy+wqtg==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"p-retry":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.1_1774607557854_0.015005335198321257","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@anitshrsth/assembly-kit","version":"2.0.3","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.3","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"3069c7f3867967c0ae2c16222ee453a70a8e07bc","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.3.tgz","fileCount":268,"integrity":"sha512-HIRG67OmnEIjfcDz1klFj0GcnOTzgW0Ss+zRuyeeLukVC4cx3+2Q3LMUTE6mTtU8n/CPh9AR9qm4EqFH6631hw==","signatures":[{"sig":"MEUCIQC5UwL14DQb6nMG1vpF8aksKUZ8Em1DGdxenUqynaPd+QIgaUyyp3SCHqTYQTIaZnqWOMY9W/r2zkSPkQmSsFD0pK0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":421565},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.3.tgz","exports":{".":"./dist/index.mjs","./token":"./dist/token/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.3.tgz","_integrity":"sha512-HIRG67OmnEIjfcDz1klFj0GcnOTzgW0Ss+zRuyeeLukVC4cx3+2Q3LMUTE6mTtU8n/CPh9AR9qm4EqFH6631hw==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"p-retry":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","react":"^19.1.0","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","pino-pretty":">=10","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"zod":{"optional":true},"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"pino-pretty":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.3_1774610970294_0.533594658042613","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"@anitshrsth/assembly-kit","version":"2.0.5","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.5","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"8389be4976209e53de8582e49505f8bb1ced0307","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.5.tgz","fileCount":266,"integrity":"sha512-HV/kHlfKVRRUufk1tq+B+dFKdDTltCMHOkFXsFvb2xhcs8tVIYkCRFMg7fyd4FygO7j+/o4xC7FOxoLlImJJXQ==","signatures":[{"sig":"MEUCIQDa02eCJ3I1jXWt9tLBCWLX4oAe95aU+pvrV6PAma0WSAIgY8FREZiHiV+QO6HvJ/ifcEtYO4+89mIoiZLbkfNDqog=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":423133},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.5.tgz","exports":{".":"./dist/index.mjs","./token":"./dist/token/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.5.tgz","_integrity":"sha512-HV/kHlfKVRRUufk1tq+B+dFKdDTltCMHOkFXsFvb2xhcs8tVIYkCRFMg7fyd4FygO7j+/o4xC7FOxoLlImJJXQ==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"p-retry":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","react":"^19.1.0","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","pino-pretty":">=10","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"zod":{"optional":true},"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"pino-pretty":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.5_1774617060039_0.09554243527901751","host":"s3://npm-registry-packages-npm-production"}},"2.0.6":{"name":"@anitshrsth/assembly-kit","version":"2.0.6","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.6","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"c53919c5f412529b9fc3dd23e29dee5449e59e32","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.6.tgz","fileCount":266,"integrity":"sha512-vT/9z2hA0ITlJEk7IuF2aaw60VvuZrmnCk9cu7kXrT/uYOFl3tvT8Q0LDZO0BbECTGkdyfy+l9RRt/aAgGMd9w==","signatures":[{"sig":"MEUCIEfRR5x14p04/4ezLVkugc1XEnn1XXHBRXU/ikSe1EpDAiEAvhcMstfuhwyK61XYq0fodUCilwyprv6y3e44CNDIvUs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":423197},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.6.tgz","exports":{".":"./dist/index.mjs","./token":"./dist/token/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.6.tgz","_integrity":"sha512-vT/9z2hA0ITlJEk7IuF2aaw60VvuZrmnCk9cu7kXrT/uYOFl3tvT8Q0LDZO0BbECTGkdyfy+l9RRt/aAgGMd9w==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"p-retry":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","react":"^19.1.0","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","pino-pretty":">=10","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"zod":{"optional":true},"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"pino-pretty":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.6_1774617830053_0.3199800067958054","host":"s3://npm-registry-packages-npm-production"}},"2.0.7":{"name":"@anitshrsth/assembly-kit","version":"2.0.7","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.7","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"5918ca000f138afa34ba213287e9207e35d9bfec","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.7.tgz","fileCount":266,"integrity":"sha512-cgxTCvabIrAosYEwfO4fuPBogqzC3/pKBc9FNGpsOrMqQhUZOyovwZuaAXu4OIssKcAKhjGEg0Uh2LSsskFqLQ==","signatures":[{"sig":"MEUCIQDb3AK8uGyht5GbxAPNOy3W4n7Li6orbiZXkECAWtVnFAIgGld6FoTERUipt6V615A4p4RjoCY/Px5XLQcV5HXrVH8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":424085},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.7.tgz","exports":{".":"./dist/index.mjs","./token":"./dist/token/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.7.tgz","_integrity":"sha512-cgxTCvabIrAosYEwfO4fuPBogqzC3/pKBc9FNGpsOrMqQhUZOyovwZuaAXu4OIssKcAKhjGEg0Uh2LSsskFqLQ==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"p-retry":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","react":"^19.1.0","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","pino-pretty":">=10","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"zod":{"optional":true},"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"pino-pretty":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.7_1774620311234_0.839727100574083","host":"s3://npm-registry-packages-npm-production"}},"2.0.8":{"name":"@anitshrsth/assembly-kit","version":"2.0.8","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.8","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"abd4c83a4f687d9f8af53d1492bde259600a8166","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.8.tgz","fileCount":267,"integrity":"sha512-NDFVZk1dQN83/r2wOdLtuPrxaalmFixnFFE1TqTISZ1wYYtX4OYB5SYjoGTzZ2VXxVwwYFnO3hbgfVxInjUlsw==","signatures":[{"sig":"MEQCIGhEXmxN0T/vZOMJghR0pVvqvY8o7j70EruiMQlwlcwuAiBm16RZNIW25ucHz5uv1H+M0BKAx+F70xkJULNerSifEA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":433631},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.8.tgz","exports":{".":"./dist/index.mjs","./token":"./dist/token/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.8.tgz","_integrity":"sha512-NDFVZk1dQN83/r2wOdLtuPrxaalmFixnFFE1TqTISZ1wYYtX4OYB5SYjoGTzZ2VXxVwwYFnO3hbgfVxInjUlsw==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"p-retry":"^8.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","react":"^19.1.0","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","pino-pretty":">=10","@assembly-js/node-sdk":"^3.19.1","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"zod":{"optional":true},"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"pino-pretty":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.8_1774716907124_0.9189225224529634","host":"s3://npm-registry-packages-npm-production"}},"2.0.9":{"name":"@anitshrsth/assembly-kit","version":"2.0.9","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.9","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"62ee3bf269bd81bc2e6d715262e07889c25277d6","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.9.tgz","fileCount":272,"integrity":"sha512-j2gIEBkfZiSba6t2gNMcf3lu2/ozbyneP+Rf04TD4mKk0NZdSrnC2vx9mgZb5W7OOuF1jpyO8KT7TQoErbpIEw==","signatures":[{"sig":"MEUCIQC8q5VvNKC+kT8LS+67lCcvc971ai7O85DRGdOAeKI35wIgdttMjDoAYKCzWq2UOu1kJaQoq8LtP93AWlAK+iuJP6o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":478861},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.9.tgz","exports":{".":"./dist/index.mjs","./token":"./dist/token/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.9.tgz","_integrity":"sha512-j2gIEBkfZiSba6t2gNMcf3lu2/ozbyneP+Rf04TD4mKk0NZdSrnC2vx9mgZb5W7OOuF1jpyO8KT7TQoErbpIEw==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"ky":"^1.14.3","p-throttle":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","react":"^19.1.0","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","pino-pretty":">=10","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"zod":{"optional":true},"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"pino-pretty":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.9_1774784297301_0.18056087732488035","host":"s3://npm-registry-packages-npm-production"}},"2.0.10":{"name":"@anitshrsth/assembly-kit","version":"2.0.10","license":"MIT","_id":"@anitshrsth/assembly-kit@2.0.10","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"dist":{"shasum":"fdfaa0306a7aed63e5d9d24b11481dd1f8a1f06f","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.10.tgz","fileCount":272,"integrity":"sha512-rIoEtgCXcckQig6IM68rwnG/BmlqbRgKGPmhp1UpeEaM/6yoajJ7wJpI67r2FRYnUuJpVMADizSsbNOS3KzOWg==","signatures":[{"sig":"MEQCIFoMSnOHfJkl0xv160xSD6uDW8snPrGUPfU4gzacML43AiA7KTF6rONZedJy3KO0nn/3pao8+V+1e4Y7/G5imgvUtA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":478806},"type":"module","_from":"file:anitshrsth-assembly-kit-2.0.10.tgz","exports":{".":"./dist/index.mjs","./token":"./dist/token/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"vp pack --watch","test":"vp test","build":"vp pack","check":"vp check","release":"bumpp --commit --push --tag"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.10.tgz","_integrity":"sha512-rIoEtgCXcckQig6IM68rwnG/BmlqbRgKGPmhp1UpeEaM/6yoajJ7wJpI67r2FRYnUuJpVMADizSsbNOS3KzOWg==","repository":{"url":"git+https://github.com/priosshrsth/assembly-kit.git","type":"git"},"_npmVersion":"11.9.0","description":"Alternative SDK for the Assembly platform","directories":{},"_nodeVersion":"24.14.0","dependencies":{"ky":"^1.14.3","p-throttle":"^8.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","pino":"^10.3.1","bumpp":"^11.0.1","react":"^19.1.0","vite-plus":"^0.1.14","typescript":"^6.0.2","@types/node":"^25.5.0","pino-pretty":"^13.1.3","@types/react":"^19.2.14","@assembly-js/app-bridge":"^1.1.1","@typescript/native-preview":"7.0.0-dev.20260327.2"},"peerDependencies":{"zod":">=4","pino":">=9","react":">=18","typescript":">=5","pino-pretty":">=10","@assembly-js/app-bridge":"^1.1.1"},"peerDependenciesMeta":{"zod":{"optional":true},"pino":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"pino-pretty":{"optional":true},"@assembly-js/app-bridge":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/assembly-kit_2.0.10_1774788591415_0.8329260612893861","host":"s3://npm-registry-packages-npm-production"}},"2.0.12":{"name":"@anitshrsth/assembly-kit","version":"2.0.12","description":"Alternative SDK for the Assembly platform","homepage":"https://github.com/priosshrsth/assembly-kit#readme","bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/priosshrsth/assembly-kit.git"},"type":"module","exports":{".":"./dist/index.mjs","./bridge-ui":"./dist/bridge-ui/index.mjs","./client":"./dist/client/index.mjs","./errors":"./dist/errors/index.mjs","./logger":"./dist/logger/index.mjs","./schemas":"./dist/schemas/index.mjs","./token":"./dist/token/index.mjs","./package.json":"./package.json"},"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","dev":"vp pack --watch","test":"vp test","check":"vp check","release":"bumpp --commit --push --tag","prepublishOnly":"vp run build","prepare":"vp config"},"dependencies":{"ky":"^1.14.3","p-throttle":"^8.1.0"},"devDependencies":{"@assembly-js/app-bridge":"^1.1.1","@types/node":"^25.5.2","@types/react":"^19.2.14","@typescript/native-preview":"7.0.0-dev.20260405.1","bumpp":"^11.0.1","pino":"^10.3.1","pino-pretty":"^13.1.3","react":"^19.2.4","typescript":"^6.0.2","vite-plus":"^0.1.15","zod":"^4.3.6"},"peerDependencies":{"@assembly-js/app-bridge":"^1.1.1","pino":">=9","pino-pretty":">=10","react":">=18","typescript":">=5","zod":">=4"},"peerDependenciesMeta":{"@assembly-js/app-bridge":{"optional":true},"pino":{"optional":true},"pino-pretty":{"optional":true},"react":{"optional":true},"typescript":{"optional":true},"zod":{"optional":true}},"packageManager":"bun@1.3.11","pnpm":{"overrides":{"vite":"npm:@voidzero-dev/vite-plus-core@latest","vitest":"npm:@voidzero-dev/vite-plus-test@latest"}},"_id":"@anitshrsth/assembly-kit@2.0.12","_integrity":"sha512-8IcsCCBv3t1hmMql3OzDpNVYtWkALKNMtTSByI6HychFsby5qFn9CejyMBR8n0RfDBn2TiXtpDEu41CotonzRQ==","_resolved":"/home/runner/work/assembly-kit/assembly-kit/anitshrsth-assembly-kit-2.0.12.tgz","_from":"file:anitshrsth-assembly-kit-2.0.12.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-8IcsCCBv3t1hmMql3OzDpNVYtWkALKNMtTSByI6HychFsby5qFn9CejyMBR8n0RfDBn2TiXtpDEu41CotonzRQ==","shasum":"d098209b28c1ce73b63b2292c9ebccd0eeea640e","tarball":"https://registry.npmjs.org/@anitshrsth/assembly-kit/-/assembly-kit-2.0.12.tgz","fileCount":272,"unpackedSize":481102,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anitshrsth%2fassembly-kit@2.0.12","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEqEww/4PTuITJZ+Warw4Ef1twN4Ann4qJT1GPbTqvtkAiEAxyEGURwIFtLIXaCytzB7X0GxalM9j48tQfJbYaVZ5bI="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ce6670fb-40da-47d4-ace0-7e7aadcf0f5b"}},"directories":{},"maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/assembly-kit_2.0.12_1775408323145_0.36469664518945777"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-03T05:39:23.544Z","modified":"2026-04-05T16:58:43.590Z","0.1.0":"2026-03-03T05:39:23.847Z","1.0.0":"2026-03-03T08:01:12.055Z","1.0.1":"2026-03-26T17:22:44.663Z","1.0.2":"2026-03-26T17:36:31.333Z","1.0.3":"2026-03-27T04:38:18.234Z","2.0.0":"2026-03-27T09:28:50.538Z","2.0.1":"2026-03-27T10:32:38.015Z","2.0.3":"2026-03-27T11:29:30.444Z","2.0.5":"2026-03-27T13:11:00.183Z","2.0.6":"2026-03-27T13:23:50.196Z","2.0.7":"2026-03-27T14:05:11.385Z","2.0.8":"2026-03-28T16:55:07.310Z","2.0.9":"2026-03-29T11:38:17.465Z","2.0.10":"2026-03-29T12:49:51.596Z","2.0.12":"2026-04-05T16:58:43.293Z"},"bugs":{"url":"https://github.com/priosshrsth/assembly-kit/issues"},"license":"MIT","homepage":"https://github.com/priosshrsth/assembly-kit#readme","repository":{"type":"git","url":"git+https://github.com/priosshrsth/assembly-kit.git"},"description":"Alternative SDK for the Assembly platform","maintainers":[{"name":"anitshrsth","email":"shrsthprios@gmail.com"}],"readme":"# assembly-kit\n\nTypeScript SDK for the [Assembly](https://assembly.ac) platform. ESM-only, targets Node.js 18+, Node.js 24+, and Bun.\n\n## Installation\n\n```bash\npnpm add @anitshrsth/assembly-kit\n# or\nbun add @anitshrsth/assembly-kit\n# or\nnpm install @anitshrsth/assembly-kit\n```\n\n## Usage\n\n### Client\n\nCreate an SDK client with `createAssemblyKit()`. At least one of `token` or `workspaceId` must be provided:\n\n```typescript\nimport { createAssemblyKit } from \"@anitshrsth/assembly-kit\";\n\n// With token (e.g. marketplace apps, portal users)\nconst kit = createAssemblyKit({\n  apiKey: \"your-api-key\",\n  token: encryptedToken,\n});\n\n// With workspaceId only (server-to-server, local dev)\nconst kit = createAssemblyKit({\n  apiKey: \"your-api-key\",\n  workspaceId: \"ws-123\",\n});\n\n// Access resources via namespaces\nconst workspace = await kit.workspace.retrieve();\nconst companies = await kit.companies.list();\nconst task = await kit.tasks.create({ title: \"Follow up\", ... });\n```\n\nWhen only `workspaceId` is provided (no token), the SDK automatically sets `ASSEMBLY_ENV=local` at runtime and builds the compound key as `workspaceId/apiKey`.\n\n#### Multiple workspaces\n\nEach `createAssemblyKit()` call returns a fully independent client. To work with multiple workspaces or API keys, create one instance per credential set.\n\n**React Server Components (recommended):** Use React's `cache()` to deduplicate instances per request. This is the idiomatic approach for Next.js App Router:\n\n```typescript\n// lib/assembly.ts\nimport { cache } from \"react\";\nimport { createAssemblyKit } from \"@anitshrsth/assembly-kit\";\n\nexport const getAssemblyKit = cache((apiKey: string, workspaceId: string) =>\n  createAssemblyKit({ apiKey, workspaceId }),\n);\n\n// In any Server Component or server action:\nconst kitA = getAssemblyKit(\"api-key-a\", \"ws-workspace-a\");\nconst kitB = getAssemblyKit(\"api-key-b\", \"ws-workspace-b\");\n\n// Same args within the same request → same instance (deduplicated by React)\nconst same = getAssemblyKit(\"api-key-a\", \"ws-workspace-a\"); // === kitA\n```\n\n**Plain Node.js / Bun:** Manage your own singleton map:\n\n```typescript\nimport { createAssemblyKit } from \"@anitshrsth/assembly-kit\";\nimport type { AssemblyKit } from \"@anitshrsth/assembly-kit\";\n\nconst clients = new Map<string, AssemblyKit>();\n\nfunction getKit(apiKey: string, workspaceId: string): AssemblyKit {\n  const existing = clients.get(workspaceId);\n  if (existing) return existing;\n\n  const kit = createAssemblyKit({ apiKey, workspaceId });\n  clients.set(workspaceId, kit);\n  return kit;\n}\n\nconst kitA = getKit(\"api-key-a\", \"ws-workspace-a\");\nconst kitB = getKit(\"api-key-b\", \"ws-workspace-b\");\n```\n\n#### Options\n\n| Option              | Type                  | Default   | Description                                                               |\n| ------------------- | --------------------- | --------- | ------------------------------------------------------------------------- |\n| `apiKey`            | `string`              | —         | Required. Your Assembly API key.                                          |\n| `token`             | `string`              | —         | Encrypted token from Assembly. Required if `workspaceId` is not provided. |\n| `workspaceId`       | `string`              | —         | Explicit workspace ID. Required if `token` is not provided.               |\n| `retry`             | `RetryOptions\\|false` | see below | Retry config, or `false` to disable retry entirely.                       |\n| `validateResponses` | `boolean`             | `true`    | When true, all responses are validated through Zod schemas.               |\n\n**Default retry options:**\n\n| Option       | Default |\n| ------------ | ------- |\n| `retries`    | `3`     |\n| `minTimeout` | `1000`  |\n| `maxTimeout` | `5000`  |\n| `factor`     | `2`     |\n\n#### Token properties\n\nWhen a token is provided, the decrypted payload is available directly on the instance:\n\n```typescript\nconst kit = createAssemblyKit({ apiKey, token });\n\nkit.token; // AssemblyToken | undefined — the decrypted token instance\nkit.payload; // TokenPayload | undefined — the decrypted token payload\n\n// Assert token type — throws AssemblyNoTokenError or AssemblyUnauthorizedError\nconst clientPayload = kit.ensureIsClient(); // ClientTokenPayload\nconst internalPayload = kit.ensureIsInternalUser(); // InternalUserTokenPayload\n```\n\n#### Disabling response validation\n\n```typescript\nconst kit = createAssemblyKit({\n  apiKey: \"your-api-key\",\n  token: encryptedToken,\n  validateResponses: false, // skip Zod parsing for performance\n});\n```\n\n#### Disabling retry\n\n```typescript\nconst kit = createAssemblyKit({\n  apiKey: \"your-api-key\",\n  token: encryptedToken,\n  retry: false,\n});\n```\n\n#### Resource namespaces\n\n| Namespace               | Methods                                                                 |\n| ----------------------- | ----------------------------------------------------------------------- |\n| `workspace`             | `retrieve()`                                                            |\n| `clients`               | `list()`, `retrieve()`, `create()`, `update()`, `delete()`, `listAll()` |\n| `companies`             | `list()`, `retrieve()`, `create()`, `update()`, `delete()`, `listAll()` |\n| `internalUsers`         | `list()`, `retrieve()`, `listAll()`                                     |\n| `customFields`          | `list()`                                                                |\n| `customFieldOptions`    | `list()`                                                                |\n| `notes`                 | `list()`, `retrieve()`, `create()`, `update()`, `delete()`, `listAll()` |\n| `messageChannels`       | `list()`, `retrieve()`, `create()`, `listAll()`                         |\n| `messages`              | `list()`, `send()`, `listAll()`                                         |\n| `products`              | `list()`, `retrieve()`, `listAll()`                                     |\n| `prices`                | `list()`, `retrieve()`, `listAll()`                                     |\n| `invoiceTemplates`      | `list()`, `listAll()`                                                   |\n| `invoices`              | `list()`, `retrieve()`, `create()`, `listAll()`                         |\n| `subscriptionTemplates` | `list()`, `listAll()`                                                   |\n| `subscriptions`         | `list()`, `retrieve()`, `create()`, `cancel()`, `listAll()`             |\n| `payments`              | `list()`, `listAll()`                                                   |\n| `fileChannels`          | `list()`, `retrieve()`, `create()`, `listAll()`                         |\n| `files`                 | `list()`, `retrieve()`, `create()`, `delete()`, `listAll()`             |\n| `contractTemplates`     | `list()`, `retrieve()`, `listAll()`                                     |\n| `contracts`             | `list()`, `retrieve()`, `send()`                                        |\n| `forms`                 | `list()`, `retrieve()`, `listAll()`                                     |\n| `formResponses`         | `list()`, `create()`                                                    |\n| `tasks`                 | `list()`, `retrieve()`, `create()`, `update()`, `delete()`, `listAll()` |\n| `taskTemplates`         | `list()`, `retrieve()`, `listAll()`                                     |\n| `notifications`         | `list()`, `create()`, `delete()`, `markRead()`, `markUnread()`          |\n| `events`                | `list()`, `retrieve()`, `create()`, `listAll()`                         |\n| `appConnections`        | `list()`, `create()`                                                    |\n| `appInstalls`           | `list()`, `retrieve()`                                                  |\n\n### Pagination\n\nEvery resource that supports listing also exposes `listAll()`, which collects all pages into a single array by following `nextToken` cursors automatically:\n\n```typescript\nimport { AssemblyKit } from \"@anitshrsth/assembly-kit\";\n\nconst kit = createAssemblyKit({ apiKey, token });\n\n// Returns Promise<Company[]> — all pages collected\nconst allCompanies = await kit.companies.listAll();\n\n// Filter arguments are passed through on every page\nconst allTasks = await kit.tasks.listAll({ status: \"open\" });\n```\n\nFor manual pagination, use `list()` directly and handle `nextToken` yourself:\n\n```typescript\nconst page1 = await kit.companies.list({ limit: 100 });\nif (page1.nextToken) {\n  const page2 = await kit.companies.list({ limit: 100, nextToken: page1.nextToken });\n}\n```\n\n### Error classes\n\nAll errors extend the base `AssemblyError` class, which carries a `statusCode` and optional `details` payload. Import from the package root or from `@anitshrsth/assembly-kit/errors`:\n\n```typescript\nimport {\n  AssemblyError,\n  AssemblyMissingApiKeyError,\n  AssemblyNoTokenError,\n  AssemblyInvalidTokenError,\n  AssemblyUnauthorizedError,\n  AssemblyForbiddenError,\n  AssemblyNotFoundError,\n  AssemblyValidationError,\n  AssemblyRateLimitError,\n  AssemblyServerError,\n  AssemblyConnectionError,\n  AssemblyResponseParseError,\n} from \"@anitshrsth/assembly-kit\";\n```\n\n#### Catching errors\n\n```typescript\nimport {\n  AssemblyRateLimitError,\n  AssemblyUnauthorizedError,\n  AssemblyError,\n} from \"@anitshrsth/assembly-kit\";\n\ntry {\n  await kit.companies.retrieve(id);\n} catch (err) {\n  if (err instanceof AssemblyRateLimitError) {\n    console.log(\"Retry after:\", err.retryAfter); // seconds, if provided\n  } else if (err instanceof AssemblyUnauthorizedError) {\n    console.log(\"Check your API key\");\n  } else if (err instanceof AssemblyError) {\n    console.log(err.message, err.statusCode, err.details);\n  }\n}\n```\n\n#### Error hierarchy\n\n| Class                        | Status | Thrown when                                             |\n| ---------------------------- | ------ | ------------------------------------------------------- |\n| `AssemblyError`              | —      | Base class for all errors                               |\n| `AssemblyMissingApiKeyError` | 400    | API key is absent or empty                              |\n| `AssemblyNoTokenError`       | 400    | Token required but not provided                         |\n| `AssemblyInvalidTokenError`  | 401    | Token could not be decrypted or validated               |\n| `AssemblyUnauthorizedError`  | 401    | API key rejected, or token fails identity assertion     |\n| `AssemblyForbiddenError`     | 403    | API key lacks required permission                       |\n| `AssemblyNotFoundError`      | 404    | Requested resource does not exist                       |\n| `AssemblyValidationError`    | 422    | Request payload rejected by API                         |\n| `AssemblyRateLimitError`     | 429    | Rate limit exceeded (`.retryAfter?: number`)            |\n| `AssemblyServerError`        | 500    | Unexpected error on Assembly servers                    |\n| `AssemblyResponseParseError` | 500    | API response failed Zod schema validation (`.zodError`) |\n| `AssemblyConnectionError`    | 503    | Network error reaching the API                          |\n\n### Schemas\n\nAll Zod schemas are available from `@anitshrsth/assembly-kit/schemas` (also re-exported from the package root). Each resource has a base schema, a response schema (for paginated API responses), and optionally a request schema for create/update payloads.\n\n```typescript\nimport {\n  ClientSchema,\n  CompanySchema,\n  TaskSchema,\n  TaskStatusSchema,\n  WorkspaceSchema,\n  InternalUserSchema,\n  InvoiceSchema,\n  CustomFieldSchema,\n  TokenPayloadSchema,\n  HexColorSchema,\n} from \"@anitshrsth/assembly-kit/schemas\";\n\n// TypeScript types inferred from schemas\nimport type {\n  Client,\n  Company,\n  Task,\n  TaskStatus,\n  Workspace,\n  InternalUser,\n} from \"@anitshrsth/assembly-kit/schemas\";\n```\n\n#### Response schemas\n\n```typescript\nimport {\n  ClientsResponseSchema,\n  CompaniesResponseSchema,\n  TasksResponseSchema,\n} from \"@anitshrsth/assembly-kit/schemas\";\n\nimport type {\n  ClientsResponse,\n  CompaniesResponse,\n  TasksResponse,\n} from \"@anitshrsth/assembly-kit/schemas\";\n```\n\n#### Request schemas\n\n```typescript\nimport {\n  ClientCreateRequestSchema,\n  ClientUpdateRequestSchema,\n  CompanyCreateRequestSchema,\n  TaskCreateRequestSchema,\n} from \"@anitshrsth/assembly-kit/schemas\";\n\nimport type { ClientCreateRequest, ClientUpdateRequest } from \"@anitshrsth/assembly-kit/schemas\";\n```\n\n#### Validating data\n\n```typescript\nimport { ClientSchema } from \"@anitshrsth/assembly-kit/schemas\";\n\nconst result = ClientSchema.safeParse(unknownData);\n\nif (result.success) {\n  console.log(result.data.name);\n} else {\n  console.error(result.error);\n}\n```\n\n### Token Utilities\n\nDecrypt, validate, and inspect encrypted Assembly tokens using the `AssemblyToken` class. These utilities are standalone — they are also used internally by `AssemblyKit` when a token is provided.\n\nImport from either the package root or from `@anitshrsth/assembly-kit/token`:\n\n```typescript\nimport { AssemblyToken, createToken } from \"@anitshrsth/assembly-kit\";\n// or\nimport { AssemblyToken, createToken } from \"@anitshrsth/assembly-kit/token\";\n```\n\n#### `AssemblyToken`\n\nDecrypts and validates a token using your API key. The constructor exposes the payload along with convenience getters and guard methods:\n\n```typescript\nimport { AssemblyToken } from \"@anitshrsth/assembly-kit\";\n\nconst token = new AssemblyToken({ token: encryptedTokenHex, apiKey });\n\n// Convenience getters\ntoken.workspaceId; // string — always present\ntoken.clientId; // string | undefined — present for client (portal) users\ntoken.companyId; // string | undefined — present for client users\ntoken.internalUserId; // string | undefined — present for internal (team member) users\ntoken.tokenId; // string | undefined — present in some marketplace tokens\ntoken.baseUrl; // string | undefined — overrides the API base URL if set\n\n// Identity checks\ntoken.isClientUser; // true if clientId + companyId are present\ntoken.isInternalUser; // true if internalUserId is present\n\n// Throwing guards — return narrowed payload type or throw AssemblyUnauthorizedError\nconst clientPayload = token.ensureIsClient(); // ClientTokenPayload\nconst internalPayload = token.ensureIsInternalUser(); // InternalUserTokenPayload\n\n// Build the compound API key for the X-API-Key header\nconst key = token.buildCompoundKey({ apiKey });\n// With tokenId:    \"workspaceId/apiKey/tokenId\"\n// Without tokenId: \"workspaceId/apiKey\"\n```\n\nThrows `AssemblyNoTokenError` if the token is missing, or `AssemblyInvalidTokenError` if decryption or validation fails.\n\nFor request-scoped usage, use `AssemblyToken.new()` — it returns the existing instance for the current async context if the token matches:\n\n```typescript\nconst token = AssemblyToken.new({ token: encryptedTokenHex, apiKey });\n```\n\n#### `createToken`\n\nEncrypt a `TokenPayload` into a hex-encoded token string (the inverse of `new AssemblyToken()`):\n\n```typescript\nimport { createToken } from \"@anitshrsth/assembly-kit\";\n\nconst encrypted = createToken({\n  payload: {\n    workspaceId: \"ws-123\",\n    clientId: \"cl-456\",\n    companyId: \"co-789\",\n  },\n  apiKey,\n});\n// encrypted is a hex-encoded AES-128-CBC encrypted string\n```\n\nThe payload is validated against `TokenPayloadSchema` before encryption. Throws `AssemblyInvalidTokenError` if validation fails. Each call produces a different ciphertext (random IV).\n\n### Logger\n\nA request-scoped Pino logger is available from `@anitshrsth/assembly-kit/logger`. Requires `pino` and `pino-pretty` as peer dependencies.\n\n```typescript\nimport { createLogger, logger } from \"@anitshrsth/assembly-kit/logger\";\n\n// Request-scoped: returns the same instance within the same async context\nconst log = createLogger({ level: \"debug\" });\nlog.info(\"hello\");\nlog.warn(\"careful\");\n\n// Or use the default module-level logger\nimport { logger } from \"@anitshrsth/assembly-kit/logger\";\nlogger.info(\"starting up\");\n```\n\nThe logger uses `pino-pretty` in non-production environments and plain JSON in production (`NODE_ENV=production`). The default log level respects the `LOG_LEVEL` environment variable.\n\n### App Bridge (React Hooks)\n\nReact hooks that register UI elements in the Assembly dashboard header from an embedded iframe app. Handles setup, cleanup, and `beforeunload` automatically.\n\nRequires `react >= 18` and `@assembly-js/app-bridge` as peer dependencies:\n\n```bash\npnpm add react @assembly-js/app-bridge\n```\n\nImport from `@anitshrsth/assembly-kit/bridge-ui`:\n\n#### `usePrimaryCta`\n\nRegisters a primary CTA button in the dashboard header:\n\n```tsx\nimport { usePrimaryCta } from \"@anitshrsth/assembly-kit/bridge-ui\";\nimport type { CtaConfig } from \"@assembly-js/app-bridge\";\n\nfunction MyApp() {\n  usePrimaryCta({\n    label: \"Create Invoice\",\n    onClick: () => {\n      console.log(\"Primary CTA clicked\");\n    },\n  });\n\n  return <div>My App</div>;\n}\n```\n\n#### `useSecondaryCta`\n\nRegisters a secondary CTA button. Same API as `usePrimaryCta`:\n\n```tsx\nimport { useSecondaryCta } from \"@anitshrsth/assembly-kit/bridge-ui\";\n\nfunction MyApp() {\n  useSecondaryCta({\n    label: \"Export\",\n    onClick: () => {\n      console.log(\"Secondary CTA clicked\");\n    },\n  });\n\n  return <div>My App</div>;\n}\n```\n\n#### `useActionsMenu`\n\nRegisters a dropdown actions menu in the dashboard header:\n\n```tsx\nimport { useActionsMenu } from \"@anitshrsth/assembly-kit/bridge-ui\";\nimport type { ActionMenuItem } from \"@assembly-js/app-bridge\";\n\nfunction MyApp() {\n  useActionsMenu([\n    { label: \"Archive\", onClick: () => archive() },\n    { label: \"Delete\", onClick: () => remove() },\n  ]);\n\n  return <div>My App</div>;\n}\n```\n\n#### Visibility toggle\n\nAll hooks accept an optional second argument to control visibility. When `false`, the slot is cleared. Defaults to `true`:\n\n```tsx\nusePrimaryCta({ label: \"Save\", onClick: () => save() }, false);\nuseActionsMenu([{ label: \"Archive\", onClick: () => archive() }], hasItems);\n```\n\n## Entry Points\n\n| Import path                          | Exports                                                                                     |\n| ------------------------------------ | ------------------------------------------------------------------------------------------- |\n| `@anitshrsth/assembly-kit`           | `createAssemblyKit`, `AssemblyKit`, all errors, all schemas, `AssemblyToken`, `createToken` |\n| `@anitshrsth/assembly-kit/client`    | `createAssemblyKit`, `AssemblyKit`, `AssemblyKitOptions`, `RetryOptions`                    |\n| `@anitshrsth/assembly-kit/errors`    | All error classes                                                                           |\n| `@anitshrsth/assembly-kit/schemas`   | All Zod schemas and inferred types (no client dependency)                                   |\n| `@anitshrsth/assembly-kit/token`     | `AssemblyToken`, `createToken`, `ClientTokenPayload`, `InternalUserTokenPayload`            |\n| `@anitshrsth/assembly-kit/logger`    | `createLogger`, `logger`                                                                    |\n| `@anitshrsth/assembly-kit/bridge-ui` | `usePrimaryCta`, `useSecondaryCta`, `useActionsMenu`                                        |\n\n## Development\n\n```bash\npnpm run build    # build to dist/\npnpm run dev      # build in watch mode\npnpm test         # run tests\npnpm run check    # lint + format + type check\npnpm run release  # bump version, commit, push, tag\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}