{"_id":"@0xcipher0/x402","_rev":"8-30b03f1d6cc1e37f4ad07eccecbe3c23","name":"@0xcipher0/x402","dist-tags":{"latest":"0.6.14"},"versions":{"0.6.6":{"name":"@0xcipher0/x402","version":"0.6.6","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"@0xcipher0/x402@0.6.6","maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"608d19122bf32f314b1aba078e39519d93ee6042","tarball":"https://registry.npmjs.org/@0xcipher0/x402/-/x402-0.6.6.tgz","fileCount":92,"integrity":"sha512-mgkGUKgMmxzhTwN423oIHBxCYiQ43XodxoyGYVYLH5F1Omcp1MxjCyT6/fvYyAGNT6HnrMzEnARFOojVMTYuog==","signatures":[{"sig":"MEYCIQCrKOqvemglB6AgJrv/cFVNSYHPJ6BlHnSuKENmAfhBswIhANpTnVtmb8GDwkCybWCk8jQI2RNs8yh4/qGB5atT6fMy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13259997},"main":"./dist/cjs/index.js","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{"./types":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/types/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.ts","default":"./dist/cjs/types/index.js"}},"./client":{"import":{"types":"./dist/esm/client/index.d.mts","default":"./dist/esm/client/index.mjs"},"require":{"types":"./dist/cjs/client/index.d.ts","default":"./dist/cjs/client/index.js"}},"./shared":{"import":{"types":"./dist/esm/shared/index.d.mts","default":"./dist/esm/shared/index.mjs"},"require":{"types":"./dist/cjs/shared/index.d.ts","default":"./dist/cjs/shared/index.js"}},"./verify":{"import":{"types":"./dist/esm/verify/index.d.mts","default":"./dist/esm/verify/index.mjs"},"require":{"types":"./dist/cjs/verify/index.d.ts","default":"./dist/cjs/verify/index.js"}},"./paywall":{"import":{"types":"./dist/esm/paywall/index.d.mts","default":"./dist/esm/paywall/index.mjs"},"require":{"types":"./dist/cjs/paywall/index.d.ts","default":"./dist/cjs/paywall/index.js"}},"./schemes":{"import":{"types":"./dist/esm/schemes/index.d.mts","default":"./dist/esm/schemes/index.mjs"},"require":{"types":"./dist/cjs/schemes/index.d.ts","default":"./dist/cjs/schemes/index.js"}},"./shared/evm":{"import":{"types":"./dist/esm/shared/evm/index.d.mts","default":"./dist/esm/shared/evm/index.mjs"},"require":{"types":"./dist/cjs/shared/evm/index.d.ts","default":"./dist/cjs/shared/evm/index.js"}},"./facilitator":{"import":{"types":"./dist/esm/facilitator/index.d.mts","default":"./dist/esm/facilitator/index.mjs"},"require":{"types":"./dist/cjs/facilitator/index.d.ts","default":"./dist/cjs/facilitator/index.js"}}},"gitHead":"7e2006232cfa621ab6189330627faa4d7bba419a","scripts":{"lint":"eslint . --ext .ts --fix","test":"vitest run","build":"tsup","start":"tsx --env-file=.env index.ts","watch":"tsc --watch","format":"prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"","lint:check":"eslint . --ext .ts","test:watch":"vitest","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"","build:paywall":"tsx src/paywall/build.ts"},"_npmUser":{"name":"0xcipher0","email":"cipher0.dev@outlook.com"},"repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.3","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"22.9.0","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","wagmi":"^2.15.6","@scure/base":"^1.2.6","@solana/kit":"^2.1.1","@solana-program/token":"^0.5.1","@solana-program/token-2022":"^0.4.2","@solana-program/compute-budget":"^0.8.0","@solana/transaction-confirmation":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","viem":"^2.21.26","vite":"^6.2.6","react":"^19.0.0","buffer":"^6.0.3","eslint":"^9.24.0","vitest":"^3.0.5","esbuild":"^0.25.4","prettier":"3.5.2","react-dom":"^19.0.0","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","@wagmi/core":"^2.17.1","@types/react":"^19","@types/react-dom":"^19","@wagmi/connectors":"^5.8.1","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","@coinbase/onchainkit":"^0.38.14","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@craftamap/esbuild-plugin-html":"^0.9.0","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402_0.6.6_1761398241929_0.36117924563516857","host":"s3://npm-registry-packages-npm-production"}},"0.6.7":{"name":"@0xcipher0/x402","version":"0.6.7","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"@0xcipher0/x402@0.6.7","maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"0fffeaa9b71ea3ac9679c45a2f38f60fbc03b6f4","tarball":"https://registry.npmjs.org/@0xcipher0/x402/-/x402-0.6.7.tgz","fileCount":92,"integrity":"sha512-Acitix4HtO2hV+MIXLzrgOVxtYCHFN5WxrNJr4igEE1uCcqkcTybbjqlamjRJ5SX1ra8UFZfRC+aoOEWf1QuWg==","signatures":[{"sig":"MEUCIFiKB6ZvzF79UAaEJxLQEtDkBXHm4LlJ2JbAI4JbzrGCAiEAtIklkiN0EGX+UmEx17I/33ngZnQxEe5YymNdFoTF1fI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13259996},"main":"./dist/cjs/index.js","_from":"file:0xcipher0-x402-0.6.7.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{"./types":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/types/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.ts","default":"./dist/cjs/types/index.js"}},"./client":{"import":{"types":"./dist/esm/client/index.d.mts","default":"./dist/esm/client/index.mjs"},"require":{"types":"./dist/cjs/client/index.d.ts","default":"./dist/cjs/client/index.js"}},"./shared":{"import":{"types":"./dist/esm/shared/index.d.mts","default":"./dist/esm/shared/index.mjs"},"require":{"types":"./dist/cjs/shared/index.d.ts","default":"./dist/cjs/shared/index.js"}},"./verify":{"import":{"types":"./dist/esm/verify/index.d.mts","default":"./dist/esm/verify/index.mjs"},"require":{"types":"./dist/cjs/verify/index.d.ts","default":"./dist/cjs/verify/index.js"}},"./paywall":{"import":{"types":"./dist/esm/paywall/index.d.mts","default":"./dist/esm/paywall/index.mjs"},"require":{"types":"./dist/cjs/paywall/index.d.ts","default":"./dist/cjs/paywall/index.js"}},"./schemes":{"import":{"types":"./dist/esm/schemes/index.d.mts","default":"./dist/esm/schemes/index.mjs"},"require":{"types":"./dist/cjs/schemes/index.d.ts","default":"./dist/cjs/schemes/index.js"}},"./shared/evm":{"import":{"types":"./dist/esm/shared/evm/index.d.mts","default":"./dist/esm/shared/evm/index.mjs"},"require":{"types":"./dist/cjs/shared/evm/index.d.ts","default":"./dist/cjs/shared/evm/index.js"}},"./facilitator":{"import":{"types":"./dist/esm/facilitator/index.d.mts","default":"./dist/esm/facilitator/index.mjs"},"require":{"types":"./dist/cjs/facilitator/index.d.ts","default":"./dist/cjs/facilitator/index.js"}}},"scripts":{"lint":"eslint . --ext .ts --fix","test":"vitest run","build":"tsup","start":"tsx --env-file=.env index.ts","watch":"tsc --watch","format":"prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"","lint:check":"eslint . --ext .ts","test:watch":"vitest","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"","build:paywall":"tsx src/paywall/build.ts"},"_npmUser":{"name":"0xcipher0","email":"cipher0.dev@outlook.com"},"_resolved":"/private/var/folders/cd/k3m232p55xjcwcbvxjf7sfrr0000gn/T/e6ce0abf4fafbb1ff300d3b2d504b5a1/0xcipher0-x402-0.6.7.tgz","_integrity":"sha512-Acitix4HtO2hV+MIXLzrgOVxtYCHFN5WxrNJr4igEE1uCcqkcTybbjqlamjRJ5SX1ra8UFZfRC+aoOEWf1QuWg==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.3","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"22.9.0","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","wagmi":"^2.15.6","@scure/base":"^1.2.6","@solana/kit":"^2.1.1","@solana-program/token":"^0.5.1","@solana-program/token-2022":"^0.4.2","@solana-program/compute-budget":"^0.8.0","@solana/transaction-confirmation":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","viem":"^2.21.26","vite":"^6.2.6","react":"^19.0.0","buffer":"^6.0.3","eslint":"^9.24.0","vitest":"^3.0.5","esbuild":"^0.25.4","prettier":"3.5.2","react-dom":"^19.0.0","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","@wagmi/core":"^2.17.1","@types/react":"^19","@types/react-dom":"^19","@wagmi/connectors":"^5.8.1","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","@coinbase/onchainkit":"^0.38.14","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@craftamap/esbuild-plugin-html":"^0.9.0","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402_0.6.7_1761402234276_0.2380466154368408","host":"s3://npm-registry-packages-npm-production"}},"0.6.8":{"name":"@0xcipher0/x402","version":"0.6.8","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"@0xcipher0/x402@0.6.8","maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"21b7237cfdfd9e77f5b9a05bbbcd3c1f6c5def86","tarball":"https://registry.npmjs.org/@0xcipher0/x402/-/x402-0.6.8.tgz","fileCount":92,"integrity":"sha512-DDa5CcuZRwPTvUjwIHxzGNSEvBwfKIJWOsJ+Iy3iGI7guEOQrMhN4HlwnmYT3MRva0782LlSJHpKH2s3UOiRRA==","signatures":[{"sig":"MEYCIQD9ThKKvomGyuVDxF5UvvQleQpnP647QYyV+NUR0z/dSgIhAIGF5Z39YHBagx5BskgSXCPY9lPQuGTy7+JDdL/yjtDg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13259996},"main":"./dist/cjs/index.js","_from":"file:0xcipher0-x402-0.6.8.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{"./types":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/types/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.ts","default":"./dist/cjs/types/index.js"}},"./client":{"import":{"types":"./dist/esm/client/index.d.mts","default":"./dist/esm/client/index.mjs"},"require":{"types":"./dist/cjs/client/index.d.ts","default":"./dist/cjs/client/index.js"}},"./shared":{"import":{"types":"./dist/esm/shared/index.d.mts","default":"./dist/esm/shared/index.mjs"},"require":{"types":"./dist/cjs/shared/index.d.ts","default":"./dist/cjs/shared/index.js"}},"./verify":{"import":{"types":"./dist/esm/verify/index.d.mts","default":"./dist/esm/verify/index.mjs"},"require":{"types":"./dist/cjs/verify/index.d.ts","default":"./dist/cjs/verify/index.js"}},"./paywall":{"import":{"types":"./dist/esm/paywall/index.d.mts","default":"./dist/esm/paywall/index.mjs"},"require":{"types":"./dist/cjs/paywall/index.d.ts","default":"./dist/cjs/paywall/index.js"}},"./schemes":{"import":{"types":"./dist/esm/schemes/index.d.mts","default":"./dist/esm/schemes/index.mjs"},"require":{"types":"./dist/cjs/schemes/index.d.ts","default":"./dist/cjs/schemes/index.js"}},"./shared/evm":{"import":{"types":"./dist/esm/shared/evm/index.d.mts","default":"./dist/esm/shared/evm/index.mjs"},"require":{"types":"./dist/cjs/shared/evm/index.d.ts","default":"./dist/cjs/shared/evm/index.js"}},"./facilitator":{"import":{"types":"./dist/esm/facilitator/index.d.mts","default":"./dist/esm/facilitator/index.mjs"},"require":{"types":"./dist/cjs/facilitator/index.d.ts","default":"./dist/cjs/facilitator/index.js"}}},"scripts":{"lint":"eslint . --ext .ts --fix","test":"vitest run","build":"tsup","start":"tsx --env-file=.env index.ts","watch":"tsc --watch","format":"prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"","lint:check":"eslint . --ext .ts","test:watch":"vitest","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"","build:paywall":"tsx src/paywall/build.ts"},"_npmUser":{"name":"0xcipher0","email":"cipher0.dev@outlook.com"},"_resolved":"/private/var/folders/cd/k3m232p55xjcwcbvxjf7sfrr0000gn/T/1e8385d2d5210666d38505703108bfb3/0xcipher0-x402-0.6.8.tgz","_integrity":"sha512-DDa5CcuZRwPTvUjwIHxzGNSEvBwfKIJWOsJ+Iy3iGI7guEOQrMhN4HlwnmYT3MRva0782LlSJHpKH2s3UOiRRA==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.3","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"22.9.0","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","wagmi":"^2.15.6","@scure/base":"^1.2.6","@solana/kit":"^2.1.1","@solana-program/token":"^0.5.1","@solana-program/token-2022":"^0.4.2","@solana-program/compute-budget":"^0.8.0","@solana/transaction-confirmation":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","viem":"^2.21.26","vite":"^6.2.6","react":"^19.0.0","buffer":"^6.0.3","eslint":"^9.24.0","vitest":"^3.0.5","esbuild":"^0.25.4","prettier":"3.5.2","react-dom":"^19.0.0","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","@wagmi/core":"^2.17.1","@types/react":"^19","@types/react-dom":"^19","@wagmi/connectors":"^5.8.1","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","@coinbase/onchainkit":"^0.38.14","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@craftamap/esbuild-plugin-html":"^0.9.0","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402_0.6.8_1761406523459_0.4251284542416802","host":"s3://npm-registry-packages-npm-production"}},"0.6.9":{"name":"@0xcipher0/x402","version":"0.6.9","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"@0xcipher0/x402@0.6.9","maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"cd89b8f21c68a4d303fe9affc7eca05eed0db9b1","tarball":"https://registry.npmjs.org/@0xcipher0/x402/-/x402-0.6.9.tgz","fileCount":92,"integrity":"sha512-WJFLf4xgpPKK3yD+Lexq0jg0S8fUQBW8HigWq+fkmESK0lSPADpc8BQWaFizdkWibg0Hem/vV8kkSYrKPVXOUA==","signatures":[{"sig":"MEUCIQCPsX+syX6KSVomVvIvYs0+QmeR86WJAs1G8gfTfuce1wIgP3IGTdTnOrJyNlMeoNekMvLzeY8fRgR9QTQ6aJ7iDKU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13267619},"main":"./dist/cjs/index.js","_from":"file:0xcipher0-x402-0.6.9.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{"./types":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/types/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.ts","default":"./dist/cjs/types/index.js"}},"./client":{"import":{"types":"./dist/esm/client/index.d.mts","default":"./dist/esm/client/index.mjs"},"require":{"types":"./dist/cjs/client/index.d.ts","default":"./dist/cjs/client/index.js"}},"./shared":{"import":{"types":"./dist/esm/shared/index.d.mts","default":"./dist/esm/shared/index.mjs"},"require":{"types":"./dist/cjs/shared/index.d.ts","default":"./dist/cjs/shared/index.js"}},"./verify":{"import":{"types":"./dist/esm/verify/index.d.mts","default":"./dist/esm/verify/index.mjs"},"require":{"types":"./dist/cjs/verify/index.d.ts","default":"./dist/cjs/verify/index.js"}},"./paywall":{"import":{"types":"./dist/esm/paywall/index.d.mts","default":"./dist/esm/paywall/index.mjs"},"require":{"types":"./dist/cjs/paywall/index.d.ts","default":"./dist/cjs/paywall/index.js"}},"./schemes":{"import":{"types":"./dist/esm/schemes/index.d.mts","default":"./dist/esm/schemes/index.mjs"},"require":{"types":"./dist/cjs/schemes/index.d.ts","default":"./dist/cjs/schemes/index.js"}},"./shared/evm":{"import":{"types":"./dist/esm/shared/evm/index.d.mts","default":"./dist/esm/shared/evm/index.mjs"},"require":{"types":"./dist/cjs/shared/evm/index.d.ts","default":"./dist/cjs/shared/evm/index.js"}},"./facilitator":{"import":{"types":"./dist/esm/facilitator/index.d.mts","default":"./dist/esm/facilitator/index.mjs"},"require":{"types":"./dist/cjs/facilitator/index.d.ts","default":"./dist/cjs/facilitator/index.js"}}},"scripts":{"lint":"eslint . --ext .ts --fix","test":"vitest run","build":"tsup","start":"tsx --env-file=.env index.ts","watch":"tsc --watch","format":"prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"","lint:check":"eslint . --ext .ts","test:watch":"vitest","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"","build:paywall":"tsx src/paywall/build.ts"},"_npmUser":{"name":"0xcipher0","email":"cipher0.dev@outlook.com"},"_resolved":"/private/var/folders/cd/k3m232p55xjcwcbvxjf7sfrr0000gn/T/0b4977a13e70027a2ffe4c3e456bc2c2/0xcipher0-x402-0.6.9.tgz","_integrity":"sha512-WJFLf4xgpPKK3yD+Lexq0jg0S8fUQBW8HigWq+fkmESK0lSPADpc8BQWaFizdkWibg0Hem/vV8kkSYrKPVXOUA==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.3","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"22.9.0","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","wagmi":"^2.15.6","@scure/base":"^1.2.6","@solana/kit":"^2.1.1","@solana-program/token":"^0.5.1","@solana-program/token-2022":"^0.4.2","@solana-program/compute-budget":"^0.8.0","@solana/transaction-confirmation":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","viem":"^2.21.26","vite":"^6.2.6","react":"^19.0.0","buffer":"^6.0.3","eslint":"^9.24.0","vitest":"^3.0.5","esbuild":"^0.25.4","prettier":"3.5.2","react-dom":"^19.0.0","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","@wagmi/core":"^2.17.1","@types/react":"^19","@types/react-dom":"^19","@wagmi/connectors":"^5.8.1","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","@coinbase/onchainkit":"^0.38.14","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@craftamap/esbuild-plugin-html":"^0.9.0","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402_0.6.9_1761411803435_0.24998106052248414","host":"s3://npm-registry-packages-npm-production"}},"0.6.10":{"name":"@0xcipher0/x402","version":"0.6.10","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"@0xcipher0/x402@0.6.10","maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"ed7754ad10e709de4ef274906a1a7a33bfef9d15","tarball":"https://registry.npmjs.org/@0xcipher0/x402/-/x402-0.6.10.tgz","fileCount":93,"integrity":"sha512-nCaRg/03tfT0i/uhLwHv8NCs1aVrJlrAZXmymrCDf2nqB/Vy9nka79JIPgcYoKwjTl6ZGVA9ygQZw1XLBomLaA==","signatures":[{"sig":"MEQCIBrcGLxLnkgPWlgICv9M/RxBGXOJpz1QSQbDMjrK+V1KAiB5zarHJPzDnf3hjdZ8DSEPCa6b3LTtEczai0PLtdd9Ow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13268468},"main":"./dist/cjs/index.js","_from":"file:0xcipher0-x402-0.6.10.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{"./types":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/types/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.ts","default":"./dist/cjs/types/index.js"}},"./client":{"import":{"types":"./dist/esm/client/index.d.mts","default":"./dist/esm/client/index.mjs"},"require":{"types":"./dist/cjs/client/index.d.ts","default":"./dist/cjs/client/index.js"}},"./shared":{"import":{"types":"./dist/esm/shared/index.d.mts","default":"./dist/esm/shared/index.mjs"},"require":{"types":"./dist/cjs/shared/index.d.ts","default":"./dist/cjs/shared/index.js"}},"./verify":{"import":{"types":"./dist/esm/verify/index.d.mts","default":"./dist/esm/verify/index.mjs"},"require":{"types":"./dist/cjs/verify/index.d.ts","default":"./dist/cjs/verify/index.js"}},"./paywall":{"import":{"types":"./dist/esm/paywall/index.d.mts","default":"./dist/esm/paywall/index.mjs"},"require":{"types":"./dist/cjs/paywall/index.d.ts","default":"./dist/cjs/paywall/index.js"}},"./schemes":{"import":{"types":"./dist/esm/schemes/index.d.mts","default":"./dist/esm/schemes/index.mjs"},"require":{"types":"./dist/cjs/schemes/index.d.ts","default":"./dist/cjs/schemes/index.js"}},"./shared/evm":{"import":{"types":"./dist/esm/shared/evm/index.d.mts","default":"./dist/esm/shared/evm/index.mjs"},"require":{"types":"./dist/cjs/shared/evm/index.d.ts","default":"./dist/cjs/shared/evm/index.js"}},"./facilitator":{"import":{"types":"./dist/esm/facilitator/index.d.mts","default":"./dist/esm/facilitator/index.mjs"},"require":{"types":"./dist/cjs/facilitator/index.d.ts","default":"./dist/cjs/facilitator/index.js"}}},"scripts":{"lint":"eslint . --ext .ts --fix","test":"vitest run","build":"tsup","start":"tsx --env-file=.env index.ts","watch":"tsc --watch","format":"prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"","lint:check":"eslint . --ext .ts","test:watch":"vitest","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"","build:paywall":"tsx src/paywall/build.ts"},"_npmUser":{"name":"0xcipher0","email":"cipher0.dev@outlook.com"},"_resolved":"/private/var/folders/cd/k3m232p55xjcwcbvxjf7sfrr0000gn/T/8047cf23e8347b217e32c1f465bedb7b/0xcipher0-x402-0.6.10.tgz","_integrity":"sha512-nCaRg/03tfT0i/uhLwHv8NCs1aVrJlrAZXmymrCDf2nqB/Vy9nka79JIPgcYoKwjTl6ZGVA9ygQZw1XLBomLaA==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.3","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"22.9.0","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","wagmi":"^2.15.6","@scure/base":"^1.2.6","@solana/kit":"^2.1.1","@solana-program/token":"^0.5.1","@solana-program/token-2022":"^0.4.2","@solana-program/compute-budget":"^0.8.0","@solana/transaction-confirmation":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","viem":"^2.21.26","vite":"^6.2.6","react":"^19.0.0","buffer":"^6.0.3","eslint":"^9.24.0","vitest":"^3.0.5","esbuild":"^0.25.4","prettier":"3.5.2","react-dom":"^19.0.0","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","@wagmi/core":"^2.17.1","@types/react":"^19","@types/react-dom":"^19","@wagmi/connectors":"^5.8.1","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","@coinbase/onchainkit":"^0.38.14","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@craftamap/esbuild-plugin-html":"^0.9.0","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402_0.6.10_1761412242360_0.26711167977149897","host":"s3://npm-registry-packages-npm-production"}},"0.6.11":{"name":"@0xcipher0/x402","version":"0.6.11","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"@0xcipher0/x402@0.6.11","maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"405fa4912785b47f40ae5fd058779345eb70b061","tarball":"https://registry.npmjs.org/@0xcipher0/x402/-/x402-0.6.11.tgz","fileCount":93,"integrity":"sha512-PxhJ7wddrOHSTv8jrEaZX/uxLegZQ/QToOUtu34+Y9wwcSPofHjPRV3CzEbzNp1TBBln6CR5vSrT+R6dC3Z+xQ==","signatures":[{"sig":"MEQCICErndt6toXzFUVGpfVSD7TKqcA3UgOnegSo2ys+gFMOAiA+YKirk3CBW1fv99/5CXDg1HG3E5o151jnwAtLgOB/yw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13268756},"main":"./dist/cjs/index.js","_from":"file:0xcipher0-x402-0.6.11.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{"./types":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/types/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.ts","default":"./dist/cjs/types/index.js"}},"./client":{"import":{"types":"./dist/esm/client/index.d.mts","default":"./dist/esm/client/index.mjs"},"require":{"types":"./dist/cjs/client/index.d.ts","default":"./dist/cjs/client/index.js"}},"./shared":{"import":{"types":"./dist/esm/shared/index.d.mts","default":"./dist/esm/shared/index.mjs"},"require":{"types":"./dist/cjs/shared/index.d.ts","default":"./dist/cjs/shared/index.js"}},"./verify":{"import":{"types":"./dist/esm/verify/index.d.mts","default":"./dist/esm/verify/index.mjs"},"require":{"types":"./dist/cjs/verify/index.d.ts","default":"./dist/cjs/verify/index.js"}},"./paywall":{"import":{"types":"./dist/esm/paywall/index.d.mts","default":"./dist/esm/paywall/index.mjs"},"require":{"types":"./dist/cjs/paywall/index.d.ts","default":"./dist/cjs/paywall/index.js"}},"./schemes":{"import":{"types":"./dist/esm/schemes/index.d.mts","default":"./dist/esm/schemes/index.mjs"},"require":{"types":"./dist/cjs/schemes/index.d.ts","default":"./dist/cjs/schemes/index.js"}},"./shared/evm":{"import":{"types":"./dist/esm/shared/evm/index.d.mts","default":"./dist/esm/shared/evm/index.mjs"},"require":{"types":"./dist/cjs/shared/evm/index.d.ts","default":"./dist/cjs/shared/evm/index.js"}},"./facilitator":{"import":{"types":"./dist/esm/facilitator/index.d.mts","default":"./dist/esm/facilitator/index.mjs"},"require":{"types":"./dist/cjs/facilitator/index.d.ts","default":"./dist/cjs/facilitator/index.js"}}},"scripts":{"lint":"eslint . --ext .ts --fix","test":"vitest run","build":"tsup","start":"tsx --env-file=.env index.ts","watch":"tsc --watch","format":"prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"","lint:check":"eslint . --ext .ts","test:watch":"vitest","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"","build:paywall":"tsx src/paywall/build.ts"},"_npmUser":{"name":"0xcipher0","email":"cipher0.dev@outlook.com"},"_resolved":"/private/var/folders/cd/k3m232p55xjcwcbvxjf7sfrr0000gn/T/4929dafb0b46c6f00b7ff9e664819425/0xcipher0-x402-0.6.11.tgz","_integrity":"sha512-PxhJ7wddrOHSTv8jrEaZX/uxLegZQ/QToOUtu34+Y9wwcSPofHjPRV3CzEbzNp1TBBln6CR5vSrT+R6dC3Z+xQ==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.3","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"22.9.0","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","wagmi":"^2.15.6","@scure/base":"^1.2.6","@solana/kit":"^2.1.1","@solana-program/token":"^0.5.1","@solana-program/token-2022":"^0.4.2","@solana-program/compute-budget":"^0.8.0","@solana/transaction-confirmation":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","viem":"^2.21.26","vite":"^6.2.6","react":"^19.0.0","buffer":"^6.0.3","eslint":"^9.24.0","vitest":"^3.0.5","esbuild":"^0.25.4","prettier":"3.5.2","react-dom":"^19.0.0","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","@wagmi/core":"^2.17.1","@types/react":"^19","@types/react-dom":"^19","@wagmi/connectors":"^5.8.1","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","@coinbase/onchainkit":"^0.38.14","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@craftamap/esbuild-plugin-html":"^0.9.0","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402_0.6.11_1761412992102_0.8611644166221515","host":"s3://npm-registry-packages-npm-production"}},"0.6.12":{"name":"@0xcipher0/x402","version":"0.6.12","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"@0xcipher0/x402@0.6.12","maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"6e2af113fbd2ed5a8c61b37ef0c7db75e23aa41a","tarball":"https://registry.npmjs.org/@0xcipher0/x402/-/x402-0.6.12.tgz","fileCount":93,"integrity":"sha512-+Az6w6OYpWVOMHT+VvyTt3T5zZuR0DQ9Dk6Sv7MCha0RCfr2PqiD9wg2YxqqmOq8xZB5ExYj/DzjTLqYxFxbpQ==","signatures":[{"sig":"MEUCIQDkHUYH1VoSPBkEmijKN310sUSoJ9df5laaKpBs5khOiwIga8XePBZgDgJSmOoiJlmDZOyED6Au4KzMkllrvXIcgyc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13268900},"main":"./dist/cjs/index.js","_from":"file:0xcipher0-x402-0.6.12.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","exports":{"./types":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/types/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.ts","default":"./dist/cjs/types/index.js"}},"./client":{"import":{"types":"./dist/esm/client/index.d.mts","default":"./dist/esm/client/index.mjs"},"require":{"types":"./dist/cjs/client/index.d.ts","default":"./dist/cjs/client/index.js"}},"./shared":{"import":{"types":"./dist/esm/shared/index.d.mts","default":"./dist/esm/shared/index.mjs"},"require":{"types":"./dist/cjs/shared/index.d.ts","default":"./dist/cjs/shared/index.js"}},"./verify":{"import":{"types":"./dist/esm/verify/index.d.mts","default":"./dist/esm/verify/index.mjs"},"require":{"types":"./dist/cjs/verify/index.d.ts","default":"./dist/cjs/verify/index.js"}},"./paywall":{"import":{"types":"./dist/esm/paywall/index.d.mts","default":"./dist/esm/paywall/index.mjs"},"require":{"types":"./dist/cjs/paywall/index.d.ts","default":"./dist/cjs/paywall/index.js"}},"./schemes":{"import":{"types":"./dist/esm/schemes/index.d.mts","default":"./dist/esm/schemes/index.mjs"},"require":{"types":"./dist/cjs/schemes/index.d.ts","default":"./dist/cjs/schemes/index.js"}},"./shared/evm":{"import":{"types":"./dist/esm/shared/evm/index.d.mts","default":"./dist/esm/shared/evm/index.mjs"},"require":{"types":"./dist/cjs/shared/evm/index.d.ts","default":"./dist/cjs/shared/evm/index.js"}},"./facilitator":{"import":{"types":"./dist/esm/facilitator/index.d.mts","default":"./dist/esm/facilitator/index.mjs"},"require":{"types":"./dist/cjs/facilitator/index.d.ts","default":"./dist/cjs/facilitator/index.js"}}},"scripts":{"lint":"eslint . --ext .ts --fix","test":"vitest run","build":"tsup","start":"tsx --env-file=.env index.ts","watch":"tsc --watch","format":"prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"","lint:check":"eslint . --ext .ts","test:watch":"vitest","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"","build:paywall":"tsx src/paywall/build.ts"},"_npmUser":{"name":"0xcipher0","email":"cipher0.dev@outlook.com"},"_resolved":"/private/var/folders/cd/k3m232p55xjcwcbvxjf7sfrr0000gn/T/31f91a2a64ea1bac08ba1349c16cc44f/0xcipher0-x402-0.6.12.tgz","_integrity":"sha512-+Az6w6OYpWVOMHT+VvyTt3T5zZuR0DQ9Dk6Sv7MCha0RCfr2PqiD9wg2YxqqmOq8xZB5ExYj/DzjTLqYxFxbpQ==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.3","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"22.9.0","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","wagmi":"^2.15.6","@scure/base":"^1.2.6","@solana/kit":"^2.1.1","@solana-program/token":"^0.5.1","@solana-program/token-2022":"^0.4.2","@solana-program/compute-budget":"^0.8.0","@solana/transaction-confirmation":"^2.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","viem":"^2.21.26","vite":"^6.2.6","react":"^19.0.0","buffer":"^6.0.3","eslint":"^9.24.0","vitest":"^3.0.5","esbuild":"^0.25.4","prettier":"3.5.2","react-dom":"^19.0.0","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","@wagmi/core":"^2.17.1","@types/react":"^19","@types/react-dom":"^19","@wagmi/connectors":"^5.8.1","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","@coinbase/onchainkit":"^0.38.14","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@craftamap/esbuild-plugin-html":"^0.9.0","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402_0.6.12_1761415997138_0.274238639877604","host":"s3://npm-registry-packages-npm-production"}},"0.6.14":{"name":"@0xcipher0/x402","version":"0.6.14","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/cjs/index.d.ts","keywords":[],"license":"Apache-2.0","author":{"name":"Coinbase Inc."},"repository":{"type":"git","url":"git+https://github.com/coinbase/x402.git"},"description":"x402 Payment Protocol","devDependencies":{"@coinbase/onchainkit":"^0.38.14","@craftamap/esbuild-plugin-html":"^0.9.0","@eslint/js":"^9.24.0","@types/node":"^22.13.4","@types/react":"^19","@types/react-dom":"^19","@typescript-eslint/eslint-plugin":"^8.29.1","@typescript-eslint/parser":"^8.29.1","@wagmi/connectors":"^5.8.1","@wagmi/core":"^2.17.1","buffer":"^6.0.3","esbuild":"^0.25.4","eslint":"^9.24.0","eslint-plugin-import":"^2.31.0","eslint-plugin-jsdoc":"^50.6.9","eslint-plugin-prettier":"^5.2.6","prettier":"3.5.2","react":"^19.0.0","react-dom":"^19.0.0","tsup":"^8.4.0","tsx":"^4.19.2","typescript":"^5.7.3","viem":"^2.21.26","vite":"^6.2.6","vite-tsconfig-paths":"^5.1.4","vitest":"^3.0.5"},"dependencies":{"@scure/base":"^1.2.6","@solana-program/compute-budget":"^0.8.0","@solana-program/token":"^0.5.1","@solana-program/token-2022":"^0.4.2","@solana/kit":"^2.1.1","@solana/transaction-confirmation":"^2.1.1","viem":"^2.21.26","wagmi":"^2.15.6","zod":"^3.24.2"},"exports":{"./shared":{"import":{"types":"./dist/esm/shared/index.d.mts","default":"./dist/esm/shared/index.mjs"},"require":{"types":"./dist/cjs/shared/index.d.ts","default":"./dist/cjs/shared/index.js"}},"./shared/evm":{"import":{"types":"./dist/esm/shared/evm/index.d.mts","default":"./dist/esm/shared/evm/index.mjs"},"require":{"types":"./dist/cjs/shared/evm/index.d.ts","default":"./dist/cjs/shared/evm/index.js"}},"./schemes":{"import":{"types":"./dist/esm/schemes/index.d.mts","default":"./dist/esm/schemes/index.mjs"},"require":{"types":"./dist/cjs/schemes/index.d.ts","default":"./dist/cjs/schemes/index.js"}},"./client":{"import":{"types":"./dist/esm/client/index.d.mts","default":"./dist/esm/client/index.mjs"},"require":{"types":"./dist/cjs/client/index.d.ts","default":"./dist/cjs/client/index.js"}},"./verify":{"import":{"types":"./dist/esm/verify/index.d.mts","default":"./dist/esm/verify/index.mjs"},"require":{"types":"./dist/cjs/verify/index.d.ts","default":"./dist/cjs/verify/index.js"}},"./facilitator":{"import":{"types":"./dist/esm/facilitator/index.d.mts","default":"./dist/esm/facilitator/index.mjs"},"require":{"types":"./dist/cjs/facilitator/index.d.ts","default":"./dist/cjs/facilitator/index.js"}},"./paywall":{"import":{"types":"./dist/esm/paywall/index.d.mts","default":"./dist/esm/paywall/index.mjs"},"require":{"types":"./dist/cjs/paywall/index.d.ts","default":"./dist/cjs/paywall/index.js"}},"./types":{"import":{"types":"./dist/esm/types/index.d.mts","default":"./dist/esm/types/index.mjs"},"require":{"types":"./dist/cjs/types/index.d.ts","default":"./dist/cjs/types/index.js"}}},"scripts":{"start":"tsx --env-file=.env index.ts","build":"tsup","build:paywall":"tsx src/paywall/build.ts","test":"vitest run","test:watch":"vitest","watch":"tsc --watch","format":"prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"","lint":"eslint . --ext .ts --fix","lint:check":"eslint . --ext .ts"},"_id":"@0xcipher0/x402@0.6.14","bugs":{"url":"https://github.com/coinbase/x402/issues"},"homepage":"https://github.com/coinbase/x402#readme","_integrity":"sha512-+DTMp1cc+NAMW+jSB+p7f1jvbmZ34/q8Km92QQHqhG1fO1DzMI/P91LZnPmV1UVyaPgJpzB3gJFwcPPEinYjNQ==","_resolved":"/private/var/folders/cd/k3m232p55xjcwcbvxjf7sfrr0000gn/T/6805b2b42a26898ab4d147666b455635/0xcipher0-x402-0.6.14.tgz","_from":"file:0xcipher0-x402-0.6.14.tgz","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-+DTMp1cc+NAMW+jSB+p7f1jvbmZ34/q8Km92QQHqhG1fO1DzMI/P91LZnPmV1UVyaPgJpzB3gJFwcPPEinYjNQ==","shasum":"434e772ed4874b29d4877bd506b29a8fa8cc953a","tarball":"https://registry.npmjs.org/@0xcipher0/x402/-/x402-0.6.14.tgz","fileCount":97,"unpackedSize":13358973,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDVdJJbSNLEEnoJrWNaKG33pjbazMEHxYHG2Wav5nBfGAIhANmkCWp8Y5dSrW9ET2i+ckNPTPTW/JE0DdNfjXjyGtsP"}]},"_npmUser":{"name":"0xcipher0","email":"cipher0.dev@outlook.com"},"directories":{},"maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/x402_0.6.14_1761462402585_0.8678462522232153"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-25T13:17:21.817Z","modified":"2025-10-26T07:06:43.050Z","0.6.6":"2025-10-25T13:17:22.208Z","0.6.7":"2025-10-25T14:23:54.593Z","0.6.8":"2025-10-25T15:35:23.717Z","0.6.9":"2025-10-25T17:03:23.769Z","0.6.10":"2025-10-25T17:10:42.658Z","0.6.11":"2025-10-25T17:23:12.356Z","0.6.12":"2025-10-25T18:13:17.381Z","0.6.14":"2025-10-26T07:06:42.834Z"},"bugs":{"url":"https://github.com/coinbase/x402/issues"},"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","homepage":"https://github.com/coinbase/x402#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/coinbase/x402.git"},"description":"x402 Payment Protocol","maintainers":[{"name":"0xcipher0","email":"cipher0.dev@outlook.com"}],"readme":"# x402\n\nCore TypeScript implementation of the x402 Payment Protocol. This package provides the foundational types, schemas, and utilities that power all x402 integrations.\n\n## Installation\n\n```bash\nnpm install x402\n```\n\n## Overview\n\nThe x402 package provides the core building blocks for implementing the x402 Payment Protocol in TypeScript. It's designed to be used by:\n\n- Middleware implementations (Express, Hono, Next.js)\n- Client-side payment handlers (fetch wrapper)\n- Facilitator services\n- Custom integrations\n\n## Integration Packages\n\nThis core package is used by the following integration packages:\n\n- `x402-express`: Express.js middleware\n- `x402-hono`: Hono middleware\n- `x402-next`: Next.js middleware\n- `x402-fetch`: Fetch API wrapper\n- `x402-axios`: Axios interceptor\n\n## Manual Server Integration\n\nIf you're not using one of our server middleware packages, you can implement the x402 protocol manually. Here's what you'll need to handle:\n\n1. Return 402 error responses with the appropriate response body\n2. Use the facilitator to validate payments\n3. Use the facilitator to settle payments\n4. Return the appropriate response header to the caller\n\nFor a complete example implementation, see our [advanced server example](https://github.com/coinbase/x402/tree/main/examples/typescript/servers/advanced) which demonstrates both synchronous and asynchronous payment processing patterns.\n\n## Manual Client Integration\n\nIf you're not using our `x402-fetch` or `x402-axios` packages, you can manually integrate the x402 protocol in your client application. Here's how:\n\n1. Make a request to a x402-protected endpoint. The server will respond with a 402 status code and a JSON object containing:\n   - `x402Version`: The version of the x402 protocol being used\n   - `accepts`: An array of payment requirements you can fulfill\n\n2. Select the payment requirement you wish to fulfill from the `accepts` array\n\n3. Create the payment header using the selected payment requirement\n\n4. Retry your network call with:\n   - The payment header assigned to the `X-PAYMENT` field\n   - The `Access-Control-Expose-Headers` field set to `\"X-PAYMENT-RESPONSE\"` to receive the server's transaction response\n\nFor implementation examples, we recommend reviewing our official client packages:\n- [x402-fetch implementation](https://github.com/coinbase/x402/blob/main/typescript/packages/x402-fetch/src/index.ts)\n- [x402-axios implementation](https://github.com/coinbase/x402/blob/main/typescript/packages/x402-axios/src/index.ts)\n\n","readmeFilename":"README.md"}