{"_id":"@bosonprotocol/x402-server-express","_rev":"7-4f563a0818bea16c5b8ef0cc571b2fef","name":"@bosonprotocol/x402-server-express","dist-tags":{"latest":"0.1.3","alpha":"0.1.3-alpha-0"},"versions":{"0.1.0":{"name":"@bosonprotocol/x402-server-express","version":"0.1.0","keywords":["x402","boson-protocol","escrow","express","middleware"],"license":"Apache-2.0","_id":"@bosonprotocol/x402-server-express@0.1.0","maintainers":[{"name":"bosonprotocoladmin","email":"admin.npmjs@redeemeum.com"},{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"}],"homepage":"https://github.com/bosonprotocol/x402B/tree/main/typescript/packages/server-express","bugs":{"url":"https://github.com/bosonprotocol/x402B/issues"},"dist":{"shasum":"931dd59a30dd2ff76cddd6ba3019e368a1fadcc2","tarball":"https://registry.npmjs.org/@bosonprotocol/x402-server-express/-/x402-server-express-0.1.0.tgz","fileCount":10,"integrity":"sha512-IbdEEL9S6b9MHDzhOnuRVJKRH3xqy9ccbdMSh+kc9Gh7l5OLGVz1icq8Mj2bk5fc/PCC90v9hHsGtUY4FUfpoA==","signatures":[{"sig":"MEQCIBG7XC0M8nPqwpbnErzuCuTvfHAc9oLt490rdNaIdd2XAiBW+a1ZtACPeVbnDOxS+WDfOQTjaGBYy5LCXg7Gh7593g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93693},"main":"./dist/cjs/index.js","_from":"file:bosonprotocol-x402-server-express-0.1.0.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/cjs/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","test":"vitest run","build":"tsup && node scripts/postbuild.mjs","clean":"rm -rf dist .turbo"},"_npmUser":{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"},"_resolved":"C:\\Users\\Ludo\\AppData\\Local\\Temp\\cf70f3c741ad91ae38cfddb133405d96\\bosonprotocol-x402-server-express-0.1.0.tgz","_integrity":"sha512-IbdEEL9S6b9MHDzhOnuRVJKRH3xqy9ccbdMSh+kc9Gh7l5OLGVz1icq8Mj2bk5fc/PCC90v9hHsGtUY4FUfpoA==","repository":{"url":"git+https://github.com/bosonprotocol/x402B.git","type":"git","directory":"typescript/packages/server-express"},"_npmVersion":"10.9.3","description":"Express adapter for @bosonprotocol/x402-server — middleware + mountable router for the Boson Protocol escrow scheme.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"@bosonprotocol/x402-core":"^0.1.0","@bosonprotocol/x402-server":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","viem":"^2.39.3","vitest":"^2.1.8","express":"^4.21.2","supertest":"^7.0.0","typescript":"^5.7.2","@types/node":"^20.17.10","@types/express":"^4.17.21","@types/supertest":"^6.0.2","@bosonprotocol/x402-evm":"^0.1.0","@bosonprotocol/x402-actions":"^0.1.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-server-express_0.1.0_1779899243941_0.07163662055765196","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha-0":{"name":"@bosonprotocol/x402-server-express","version":"0.1.0-alpha-0","keywords":["x402","boson-protocol","escrow","express","middleware"],"license":"Apache-2.0","_id":"@bosonprotocol/x402-server-express@0.1.0-alpha-0","maintainers":[{"name":"bosonprotocoladmin","email":"admin.npmjs@redeemeum.com"},{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"}],"homepage":"https://github.com/bosonprotocol/x402B/tree/main/typescript/packages/server-express","bugs":{"url":"https://github.com/bosonprotocol/x402B/issues"},"dist":{"shasum":"d1375246c3e77fd54facad6346c89c8a225561a7","tarball":"https://registry.npmjs.org/@bosonprotocol/x402-server-express/-/x402-server-express-0.1.0-alpha-0.tgz","fileCount":10,"integrity":"sha512-qj9vcKM75Wg1kwdEXwLs61vaZS0tJWQjql0WVVEvBwS4W1/fAyqUmSeZoICMyI1+PWnV2Nstdeo6cxhizz/5IQ==","signatures":[{"sig":"MEUCIQDErKTTfFKC8eI8L1WSNFRlML+dDBHhyK8ppjTMbem4dgIgGlQoDI6yspW2GxKpRJPIAP2RXcHY4zbqw2i8h/gy6wM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bosonprotocol%2fx402-server-express@0.1.0-alpha-0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":93733},"main":"./dist/cjs/index.js","_from":"file:bosonprotocol-x402-server-express-0.1.0-alpha-0.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/cjs/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","test":"vitest run","build":"tsup && node scripts/postbuild.mjs","clean":"rm -rf dist .turbo"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:284b25fb-1415-4063-a3f0-5f3eae662e00"}},"_resolved":"/tmp/005711cf40aa65b5b0ea1007a90bc400/bosonprotocol-x402-server-express-0.1.0-alpha-0.tgz","_integrity":"sha512-qj9vcKM75Wg1kwdEXwLs61vaZS0tJWQjql0WVVEvBwS4W1/fAyqUmSeZoICMyI1+PWnV2Nstdeo6cxhizz/5IQ==","repository":{"url":"git+https://github.com/bosonprotocol/x402B.git","type":"git","directory":"typescript/packages/server-express"},"_npmVersion":"11.13.0","description":"Express adapter for @bosonprotocol/x402-server — middleware + mountable router for the Boson Protocol escrow scheme.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@bosonprotocol/x402-core":"^0.1.0-alpha-0","@bosonprotocol/x402-server":"^0.1.0-alpha-0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^8.3.5","viem":"^2.39.3","vitest":"^2.1.8","express":"^4.21.2","supertest":"^7.0.0","typescript":"^5.7.2","@types/node":"^20.17.10","@types/express":"^4.17.21","@types/supertest":"^6.0.2","@bosonprotocol/x402-evm":"^0.1.0-alpha-0","@bosonprotocol/x402-actions":"^0.1.0-alpha-0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-server-express_0.1.0-alpha-0_1779901711506_0.5096308581041538","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-alpha-0":{"name":"@bosonprotocol/x402-server-express","version":"0.1.1-alpha-0","keywords":["x402","boson-protocol","escrow","express","middleware"],"license":"Apache-2.0","_id":"@bosonprotocol/x402-server-express@0.1.1-alpha-0","maintainers":[{"name":"bosonprotocoladmin","email":"admin.npmjs@redeemeum.com"},{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"}],"homepage":"https://github.com/bosonprotocol/x402B/tree/main/typescript/packages/server-express","bugs":{"url":"https://github.com/bosonprotocol/x402B/issues"},"dist":{"shasum":"a1be8988956e02204e51eff3af0796810c15a9a7","tarball":"https://registry.npmjs.org/@bosonprotocol/x402-server-express/-/x402-server-express-0.1.1-alpha-0.tgz","fileCount":10,"integrity":"sha512-0Rom3H3mrytUfwaOT+/Y2DdDJELvSf2QQJGtNVb62Mhhm5SdpqH3qngln0DFluvCbZksBghNLMoD4stS9Th+lg==","signatures":[{"sig":"MEQCIG3XUR4hRNrUI/Iy58tcwZkBD9w9464PB6pVjHAuSIqqAiA+UpqqBnn3SYH0ZJHyFEhQ5oB2/cIAfB3sSG/TMTVPmA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bosonprotocol%2fx402-server-express@0.1.1-alpha-0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":93733},"main":"./dist/cjs/index.js","_from":"file:bosonprotocol-x402-server-express-0.1.1-alpha-0.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/cjs/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","test":"vitest run","build":"tsup && node scripts/postbuild.mjs","clean":"rm -rf dist .turbo"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:284b25fb-1415-4063-a3f0-5f3eae662e00"}},"_resolved":"/tmp/9954bf57d08935c5e7a8466a11de987f/bosonprotocol-x402-server-express-0.1.1-alpha-0.tgz","_integrity":"sha512-0Rom3H3mrytUfwaOT+/Y2DdDJELvSf2QQJGtNVb62Mhhm5SdpqH3qngln0DFluvCbZksBghNLMoD4stS9Th+lg==","repository":{"url":"git+https://github.com/bosonprotocol/x402B.git","type":"git","directory":"typescript/packages/server-express"},"_npmVersion":"11.12.1","description":"Express adapter for @bosonprotocol/x402-server — middleware + mountable router for the Boson Protocol escrow scheme.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@bosonprotocol/x402-core":"^0.1.1-alpha-1","@bosonprotocol/x402-server":"^0.1.1-alpha-1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^8.3.5","viem":"^2.39.3","vitest":"^2.1.8","express":"^4.21.2","supertest":"^7.0.0","typescript":"^5.7.2","@types/node":"^20.17.10","@types/express":"^4.17.21","@types/supertest":"^6.0.2","@bosonprotocol/x402-evm":"^0.1.1-alpha-1","@bosonprotocol/x402-actions":"^0.1.1-alpha-1"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-server-express_0.1.1-alpha-0_1779902807384_0.681972285164326","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-alpha-1":{"name":"@bosonprotocol/x402-server-express","version":"0.1.1-alpha-1","keywords":["x402","boson-protocol","escrow","express","middleware"],"license":"Apache-2.0","_id":"@bosonprotocol/x402-server-express@0.1.1-alpha-1","maintainers":[{"name":"bosonprotocoladmin","email":"admin.npmjs@redeemeum.com"},{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"}],"homepage":"https://github.com/bosonprotocol/x402B/tree/main/typescript/packages/server-express","bugs":{"url":"https://github.com/bosonprotocol/x402B/issues"},"dist":{"shasum":"42935840a1484276e4203dfae82bfbdcc34e1522","tarball":"https://registry.npmjs.org/@bosonprotocol/x402-server-express/-/x402-server-express-0.1.1-alpha-1.tgz","fileCount":10,"integrity":"sha512-CUfrMz8wape4gIF90yjjIpPDArxPgVJpOyPphdb20lrQAzcMtHOSa/4qrjDySvuZqpNbDnlUx3clA2mYf8Ovzg==","signatures":[{"sig":"MEUCIQC6GJqmJLyh5lx22Zxcmn+1aDEqx98GCYnXswlPVLIlTAIgSm3YNUcWKh6xwL3piaqinHKGprMoXmacYKNnFb+4Hx0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bosonprotocol%2fx402-server-express@0.1.1-alpha-1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":93733},"main":"./dist/cjs/index.js","_from":"file:bosonprotocol-x402-server-express-0.1.1-alpha-1.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/cjs/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","test":"vitest run","build":"tsup && node scripts/postbuild.mjs","clean":"rm -rf dist .turbo"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:284b25fb-1415-4063-a3f0-5f3eae662e00"}},"_resolved":"/tmp/764790fb336efe735e23d8304491f939/bosonprotocol-x402-server-express-0.1.1-alpha-1.tgz","_integrity":"sha512-CUfrMz8wape4gIF90yjjIpPDArxPgVJpOyPphdb20lrQAzcMtHOSa/4qrjDySvuZqpNbDnlUx3clA2mYf8Ovzg==","repository":{"url":"git+https://github.com/bosonprotocol/x402B.git","type":"git","directory":"typescript/packages/server-express"},"_npmVersion":"11.12.1","description":"Express adapter for @bosonprotocol/x402-server — middleware + mountable router for the Boson Protocol escrow scheme.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@bosonprotocol/x402-core":"^0.1.1-alpha-2","@bosonprotocol/x402-server":"^0.1.1-alpha-2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^8.3.5","viem":"^2.39.3","vitest":"^2.1.8","express":"^4.21.2","supertest":"^7.0.0","typescript":"^5.7.2","@types/node":"^20.17.10","@types/express":"^4.17.21","@types/supertest":"^6.0.2","@bosonprotocol/x402-evm":"^0.1.1-alpha-2","@bosonprotocol/x402-actions":"^0.1.1-alpha-2"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-server-express_0.1.1-alpha-1_1779966512618_0.800936617858089","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bosonprotocol/x402-server-express","version":"0.1.2","keywords":["x402","boson-protocol","escrow","express","middleware"],"license":"Apache-2.0","_id":"@bosonprotocol/x402-server-express@0.1.2","maintainers":[{"name":"bosonprotocoladmin","email":"admin.npmjs@redeemeum.com"},{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"}],"homepage":"https://github.com/bosonprotocol/x402B/tree/main/typescript/packages/server-express","bugs":{"url":"https://github.com/bosonprotocol/x402B/issues"},"dist":{"shasum":"468f721f6686fcd9d9d7fb8a3000b39636dd017a","tarball":"https://registry.npmjs.org/@bosonprotocol/x402-server-express/-/x402-server-express-0.1.2.tgz","fileCount":10,"integrity":"sha512-iRVNClV5/xSc9AqG1Y8r+Ds/5Kgczio6FEoEaN7gzRbpnJp01GjyO4IRM6rNyZ5/lE4ROJrhMOz9RVNlzRAQZQ==","signatures":[{"sig":"MEYCIQDxiq4uh0gZczaapyl0e7rxZByH85bxB2AvZJthhHev6wIhAJ7IyEjdmNEKR8GaVU1ICk/sBRV9iKzmC/BWfCkN6f0A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bosonprotocol%2fx402-server-express@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":93693},"main":"./dist/cjs/index.js","_from":"file:bosonprotocol-x402-server-express-0.1.2.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/cjs/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","test":"vitest run","build":"tsup && node scripts/postbuild.mjs","clean":"rm -rf dist .turbo"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:284b25fb-1415-4063-a3f0-5f3eae662e00"}},"_resolved":"/tmp/4035d07bca2d4dcc521d9d9e05cd8e2b/bosonprotocol-x402-server-express-0.1.2.tgz","_integrity":"sha512-iRVNClV5/xSc9AqG1Y8r+Ds/5Kgczio6FEoEaN7gzRbpnJp01GjyO4IRM6rNyZ5/lE4ROJrhMOz9RVNlzRAQZQ==","repository":{"url":"git+https://github.com/bosonprotocol/x402B.git","type":"git","directory":"typescript/packages/server-express"},"_npmVersion":"11.13.0","description":"Express adapter for @bosonprotocol/x402-server — middleware + mountable router for the Boson Protocol escrow scheme.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@bosonprotocol/x402-core":"^0.2.0","@bosonprotocol/x402-server":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","viem":"^2.39.3","vitest":"^2.1.8","express":"^4.21.2","supertest":"^7.0.0","typescript":"^5.7.2","@types/node":"^20.17.10","@types/express":"^4.17.21","@types/supertest":"^6.0.2","@bosonprotocol/x402-evm":"^0.2.0","@bosonprotocol/x402-actions":"^0.2.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-server-express_0.1.2_1779966740318_0.1813693489927648","host":"s3://npm-registry-packages-npm-production"}},"0.1.3-alpha-0":{"name":"@bosonprotocol/x402-server-express","version":"0.1.3-alpha-0","keywords":["x402","boson-protocol","escrow","express","middleware"],"license":"Apache-2.0","_id":"@bosonprotocol/x402-server-express@0.1.3-alpha-0","maintainers":[{"name":"bosonprotocoladmin","email":"admin.npmjs@redeemeum.com"},{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"}],"homepage":"https://github.com/bosonprotocol/x402B/tree/main/typescript/packages/server-express","bugs":{"url":"https://github.com/bosonprotocol/x402B/issues"},"dist":{"shasum":"10e669e1e738da67e8f517ed7980b55734245871","tarball":"https://registry.npmjs.org/@bosonprotocol/x402-server-express/-/x402-server-express-0.1.3-alpha-0.tgz","fileCount":10,"integrity":"sha512-ZT3AFqxe2besMwiGEzPKssTiAen5MewpBBMo2A3RxWBS4i7FXGN5/E59DDML930wxfnxs15oL5o3ka+cVu0GMA==","signatures":[{"sig":"MEQCID/Ep67dhe6H3B5pJtamuuDdodAgr4j/aNoJEjgnBjsnAiArhnIN67a+O9TAY1XLkmYiTYmlBOnnx//bk8h9Ce0k0g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bosonprotocol%2fx402-server-express@0.1.3-alpha-0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":93709},"main":"./dist/cjs/index.js","_from":"file:bosonprotocol-x402-server-express-0.1.3-alpha-0.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/cjs/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","test":"vitest run","build":"tsup && node scripts/postbuild.mjs","clean":"rm -rf dist .turbo"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:284b25fb-1415-4063-a3f0-5f3eae662e00"}},"_resolved":"/tmp/66bce3158a0d9e0835323abfa03c8f1e/bosonprotocol-x402-server-express-0.1.3-alpha-0.tgz","_integrity":"sha512-ZT3AFqxe2besMwiGEzPKssTiAen5MewpBBMo2A3RxWBS4i7FXGN5/E59DDML930wxfnxs15oL5o3ka+cVu0GMA==","repository":{"url":"git+https://github.com/bosonprotocol/x402B.git","type":"git","directory":"typescript/packages/server-express"},"_npmVersion":"11.13.0","description":"Express adapter for @bosonprotocol/x402-server — middleware + mountable router for the Boson Protocol escrow scheme.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@bosonprotocol/x402-core":"^0.2.1","@bosonprotocol/x402-server":"^0.3.0-alpha-0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^8.3.5","viem":"^2.39.3","vitest":"^2.1.8","express":"^4.21.2","supertest":"^7.0.0","typescript":"^5.7.2","@types/node":"^20.17.10","@types/express":"^4.17.21","@types/supertest":"^6.0.2","@bosonprotocol/x402-evm":"^0.2.0","@bosonprotocol/x402-actions":"^0.2.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-server-express_0.1.3-alpha-0_1780060908976_0.9293407410572667","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@bosonprotocol/x402-server-express","version":"0.1.3","license":"Apache-2.0","description":"Express adapter for @bosonprotocol/x402-server — middleware + mountable router for the Boson Protocol escrow scheme.","repository":{"type":"git","url":"git+https://github.com/bosonprotocol/x402B.git","directory":"typescript/packages/server-express"},"homepage":"https://github.com/bosonprotocol/x402B/tree/main/typescript/packages/server-express","bugs":{"url":"https://github.com/bosonprotocol/x402B/issues"},"keywords":["x402","boson-protocol","escrow","express","middleware"],"main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/cjs/index.d.ts","exports":{".":{"types":"./dist/cjs/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"publishConfig":{"access":"public"},"dependencies":{"@bosonprotocol/x402-core":"^0.2.1","@bosonprotocol/x402-server":"^0.3.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0"},"devDependencies":{"@types/express":"^4.17.21","@types/node":"^20.17.10","@types/supertest":"^6.0.2","express":"^4.21.2","supertest":"^7.0.0","tsup":"^8.3.5","typescript":"^5.7.2","viem":"^2.39.3","vitest":"^2.1.8","@bosonprotocol/x402-actions":"^0.2.0","@bosonprotocol/x402-evm":"^0.2.0"},"scripts":{"build":"tsup && node scripts/postbuild.mjs","test":"vitest run","lint":"eslint src --max-warnings 0","clean":"rm -rf dist .turbo"},"_id":"@bosonprotocol/x402-server-express@0.1.3","_integrity":"sha512-Ib70ess/2tugkoktbWlH9t6rDsOXUoMjHnAi7hK8I+bZZu+Ve6rSvCJFeGT9UJGDgSORh9CYVCHn4WA6puqo5Q==","_resolved":"/tmp/2771ab17e02127d5d371da06d421b472/bosonprotocol-x402-server-express-0.1.3.tgz","_from":"file:bosonprotocol-x402-server-express-0.1.3.tgz","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-Ib70ess/2tugkoktbWlH9t6rDsOXUoMjHnAi7hK8I+bZZu+Ve6rSvCJFeGT9UJGDgSORh9CYVCHn4WA6puqo5Q==","shasum":"c47f24a5bc3b7b5752956dad7388fe5291b9f52d","tarball":"https://registry.npmjs.org/@bosonprotocol/x402-server-express/-/x402-server-express-0.1.3.tgz","fileCount":10,"unpackedSize":93693,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bosonprotocol%2fx402-server-express@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAfnK0bgg3NrEMULVPmHLe/2kA3WzWV1Dgv4bC73Z+a8AiEAmSyhaTZ5RDMZNs25a1pzM4qy0sikbaNl2+eNZ7sjXPE="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:284b25fb-1415-4063-a3f0-5f3eae662e00"}},"directories":{},"maintainers":[{"name":"bosonprotocoladmin","email":"admin.npmjs@redeemeum.com"},{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/x402-server-express_0.1.3_1780061589496_0.49208835486936375"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-27T16:27:23.821Z","modified":"2026-05-29T13:33:09.954Z","0.1.0":"2026-05-27T16:27:24.132Z","0.1.0-alpha-0":"2026-05-27T17:08:31.696Z","0.1.1-alpha-0":"2026-05-27T17:26:47.532Z","0.1.1-alpha-1":"2026-05-28T11:08:32.770Z","0.1.2":"2026-05-28T11:12:20.469Z","0.1.3-alpha-0":"2026-05-29T13:21:49.126Z","0.1.3":"2026-05-29T13:33:09.651Z"},"bugs":{"url":"https://github.com/bosonprotocol/x402B/issues"},"license":"Apache-2.0","homepage":"https://github.com/bosonprotocol/x402B/tree/main/typescript/packages/server-express","keywords":["x402","boson-protocol","escrow","express","middleware"],"repository":{"type":"git","url":"git+https://github.com/bosonprotocol/x402B.git","directory":"typescript/packages/server-express"},"description":"Express adapter for @bosonprotocol/x402-server — middleware + mountable router for the Boson Protocol escrow scheme.","maintainers":[{"name":"bosonprotocoladmin","email":"admin.npmjs@redeemeum.com"},{"name":"levalleuxludo","email":"ludoviclevalleux@redeemeum.com"}],"readme":"# @bosonprotocol/x402-server-express\n\nExpress 4/5 adapter for\n[`@bosonprotocol/x402-server`](../x402-server) — provides a\n[`mountX402b(server)`](./src/mount.ts) router that wires the convenience\nhandlers to `/x402B/*` routes, plus\n[`expressMiddleware`](./src/middleware.ts) for protecting an\nexisting route with a 402 challenge.\n\nSee [`docs/boson-impl-05-server-sdk.md`](../../../docs/boson-impl-05-server-sdk.md)\nfor the spec.\n\n## Install\n\n```sh\npnpm add @bosonprotocol/x402-server-express @bosonprotocol/x402-server express\n```\n\n## Quick start\n\n```ts\nimport express from \"express\";\nimport { createX402bServer } from \"@bosonprotocol/x402-server\";\nimport { mountX402b, expressMiddleware } from \"@bosonprotocol/x402-server-express\";\n\nconst server = createX402bServer({ /* ... */ });\n\nconst app = express();\napp.use(express.json());\napp.use(mountX402b(server, { resolveRequirements: req => /* … */ }));\n\napp.get(\"/datafeed\", expressMiddleware(server, {\n  resolveRequirements: req => /* … */,\n}), async (req, res) => {\n  res.json({ kpi: 42 });\n});\n\napp.listen(3000);\n```\n\nThe mounted router exposes:\n\n- `POST /x402B/commit` — Flow A (deferred-redeem) commit.\n- `POST /x402B/commit-and-redeem` — Flow B (atomic) commit + redeem.\n- `POST /x402B/redeem`\n- `POST /x402B/complete`\n- `POST /x402B/dispute/raise`\n- `POST /x402B/dispute/resolve`\n- `POST /x402B/dispute/retract`\n- `POST /x402B/dispute/escalate`\n- `POST /x402B/withdraw-funds`\n- `GET /x402B/available-funds`\n\nWhen `basePath` is omitted, the router also registers legacy `/x402b/*`\naliases for backward compatibility. Passing `basePath` registers only\nthat explicit path.\n\nEach route returns `{ exchangeId?, txHash, nextActions }` on success\nor a structured `{ code, reason, details? }` error body on failure.\n\n## License\n\n[Apache-2.0](./LICENSE)\n","readmeFilename":"README.md"}