{"_id":"x402-next","_rev":"30-e72253b1e54c1475513a16d239403b82","name":"x402-next","dist-tags":{"placeholder":"0.0.0","latest":"1.2.0"},"versions":{"0.0.0":{"name":"x402-next","version":"0.0.0","author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.0.0","maintainers":[{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"dist":{"shasum":"11d19a6fc9e1415b6c775dffc4b4c22fc4c39722","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.0.0.tgz","fileCount":2,"integrity":"sha512-0CTU7kTXV8r1/bxFf08NEAok0rF4UBGc78di5AMldyhspC+FVuEBvueqJyqJHFavJpgABjj1PePt4/U0EFPF5Q==","signatures":[{"sig":"MEUCIBKl4zdw0lFcXysJ3ze5x7wmxU6PujzsxFHDaxo7LbRIAiEA3Ct7xW0qnIuDjXK53MAt52ov4+awPpawptt8ncRJsyc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":200},"main":"index.js","gitHead":"117eafdcbbe254444e382f293a2622bd602ce111","_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_npmVersion":"10.8.2","description":"Placeholder package","directories":{},"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.0.0_1744829295514_0.6023441406623606","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"x402-next","version":"0.1.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.1.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"f99363fce3556b8ca57a6c559fb9f5121e9c1ca1","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.1.0.tgz","fileCount":8,"integrity":"sha512-T/0gYtkAspqEqWXlw5+9t3mAfzQM2bze9k3i1TENUcgd3gAx/q/wRZBckmYdxInVmhul+jUcBCtl7CkkXT7l5g==","signatures":[{"sig":"MEQCIHkUWM6G4647OTMs0w2uzBXdwh2pInydvI9Z7/fp2etZAiBPc1NYZPRF3dOveVZpgiumnr4t6b4Gcr3KUUpvEHeWbQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38555},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/28c07fdf0993b32a73c267ccd5603f8a/x402-next-0.1.0.tgz","_integrity":"sha512-T/0gYtkAspqEqWXlw5+9t3mAfzQM2bze9k3i1TENUcgd3gAx/q/wRZBckmYdxInVmhul+jUcBCtl7CkkXT7l5g==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.0","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","x402":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.1.0_1745610731470_0.21360434147333485","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"x402-next","version":"0.3.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.3.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"a5f0491822a30690e77b67e6ba4fb83112e1d3a9","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.3.0.tgz","fileCount":8,"integrity":"sha512-T61GjsLJu1rzk1+YXQEltFdoVWcQmvZKBi3jdf1q1MDLc0SzvuP0KZEND55z57bfvoZbjFUiInAKdsAG+OY3eQ==","signatures":[{"sig":"MEYCIQCkm4S3oP9w281E8SppfAB+3dRBdS4TN312VaPTAkYe3wIhAN1CAlYvuzGbukXDLj7Ae95FPESK5bn8S1HAS3uR0HRp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":40726},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/0b32a189044371a109bd2e75ef26a473/x402-next-0.3.0.tgz","_integrity":"sha512-T61GjsLJu1rzk1+YXQEltFdoVWcQmvZKBi3jdf1q1MDLc0SzvuP0KZEND55z57bfvoZbjFUiInAKdsAG+OY3eQ==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","x402":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.3.0_1746492194933_0.03735876517072079","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"x402-next","version":"0.3.1","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.3.1","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"1683e82fac3d55bbad1712fe5df9bec275100217","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.3.1.tgz","fileCount":8,"integrity":"sha512-mGQh4mOL4aiBslM94aMMVP1zphGcp5CLCxWUQWreO6lTLy/qIx00g1cYBI7E9WH+iqgTXWUtGz/m10UET6K/Eg==","signatures":[{"sig":"MEQCIH5vJCePxrV9W+JWPvWpYgXey6lYF9SV+7XyqcXTTIHQAiBD1OI8/5PEY77xrsNPiYdHrx+bg0fyzfj7I1FOTxlYdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":40727},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.3.1.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/e70ecdf33e22130b24d53ea7a81fd218/x402-next-0.3.1.tgz","_integrity":"sha512-mGQh4mOL4aiBslM94aMMVP1zphGcp5CLCxWUQWreO6lTLy/qIx00g1cYBI7E9WH+iqgTXWUtGz/m10UET6K/Eg==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","x402":"0.3.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.3.1_1746545899910_0.32329481375691893","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"x402-next","version":"0.3.2","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.3.2","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"e848afd256ab1e288a074dc2cfbd3065beee4396","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.3.2.tgz","fileCount":8,"integrity":"sha512-tmjUBgtZEkG4yleN8qCK8ap7Glc5A3PmxM63HpgKDLM4U/OF8QY7gjBpuRHyQQTUsXfZkNZyKl7a2FNLfNVOsA==","signatures":[{"sig":"MEUCIBEwgVCqfVGN4Kr4AlDTh0mGFkJtnR5mXfFXlZbrCFxPAiEAysoYDd8b77RxzYMMEp4Ch1axcWOpBtEr7Hd3WMcdei8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":40728},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.3.2.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/1c79f57d89d893fbfae4ac78df544b32/x402-next-0.3.2.tgz","_integrity":"sha512-tmjUBgtZEkG4yleN8qCK8ap7Glc5A3PmxM63HpgKDLM4U/OF8QY7gjBpuRHyQQTUsXfZkNZyKl7a2FNLfNVOsA==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","x402":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.3.2_1746655849866_0.2281483497549346","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"x402-next","version":"0.3.3","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.3.3","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"19f4e59d300e5b1554d6b67ee0cca61f460943b6","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.3.3.tgz","fileCount":8,"integrity":"sha512-IzGVll3BE/zdgYDn+3ya7Q40VuB7AVTdp00tubZR3RRzOefty8J/isyT3mAdZBNHFUG82Oyrx/XctljGWIw1KA==","signatures":[{"sig":"MEYCIQD+PQXqSjQ0fv5FTVgMflTgrm11mtImsgHSw7Z68YXDdwIhAMD1c7UXqyx1zs5zuugDHj3e4EYQyb+QAwE4dDQfEiWA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":40728},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.3.3.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/cd5c4229d3005aba7efc0bf7ef37dbb7/x402-next-0.3.3.tgz","_integrity":"sha512-IzGVll3BE/zdgYDn+3ya7Q40VuB7AVTdp00tubZR3RRzOefty8J/isyT3mAdZBNHFUG82Oyrx/XctljGWIw1KA==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","x402":"^0.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.3.3_1746835298199_0.9718723090953048","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"x402-next","version":"0.3.4","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.3.4","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"ba6e9ca27346db6d659f68fea8317745d4190ce8","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.3.4.tgz","fileCount":8,"integrity":"sha512-OUsKb+NFjSM1E+a1/I/KBKbBNUPYIOFpitPwEg/NBIgmGBI2yIfmRwrvRCc2QlqIOF/T/dojz8SIQDqg0Ah49g==","signatures":[{"sig":"MEUCICqxa8ZPah/9F4N887ZznlIxNmVL8OUA67Or7IrRBOpeAiEAmTFktnw9XWuIA+Vfui7Ktilm5Rhj3+0Oga2CWHA/IOQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42882},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.3.4.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/d42839aee0fa58ff329eecd06ae042ea/x402-next-0.3.4.tgz","_integrity":"sha512-OUsKb+NFjSM1E+a1/I/KBKbBNUPYIOFpitPwEg/NBIgmGBI2yIfmRwrvRCc2QlqIOF/T/dojz8SIQDqg0Ah49g==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.1","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","x402":"^0.3.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.3.4_1747246245574_0.18836756313364922","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"x402-next","version":"0.4.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.4.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"061a6f0c64b8fe135aac3d3848fd31493b33b6ac","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.4.0.tgz","fileCount":8,"integrity":"sha512-LKqL6kKm2CZohrwmsIkY3H7SGIv/oovB2FI/92heUS35d5bwR/YR5YR2tk3xw/25VeYdMWh1gcpY0Nnxk9NyKg==","signatures":[{"sig":"MEUCIQDXlvLisHZiRq/sIjl6ZLE7whsd2IDe7VDCJqk9/9KHHQIgKpknQ6fZiooo3sMp+bQFZXkBf+D/1vA2jcxSC0zDcKE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45533},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/8207011cc5c81f940babb29745ad3a81/x402-next-0.4.0.tgz","_integrity":"sha512-LKqL6kKm2CZohrwmsIkY3H7SGIv/oovB2FI/92heUS35d5bwR/YR5YR2tk3xw/25VeYdMWh1gcpY0Nnxk9NyKg==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","x402":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.4.0_1749850573881_0.6359110531008012","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"x402-next","version":"0.4.1","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.4.1","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"4bfdcb480ede5100675ebdebd210b930f3705361","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.4.1.tgz","fileCount":8,"integrity":"sha512-1WLTI8locM+iQp4zWfuJJbJPkh5Z4uJMUlDk6RY+Lr/Is3akMWs8WKTcPmlIcr/0x2YzGYAcn7o1yU9i6fdJXQ==","signatures":[{"sig":"MEQCIHfCMqh0uhj0sxezmKzlWzgw0m77rzKg96rXe8Jnj9ZRAiBlT1yTDqospX4HReuWL9YSIiqZifv/nDCNCmb4o+w2NA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45720},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.4.1.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","actor":{"name":"coinbase-npm","type":"user","email":"coinbase-npm@coinbase.com"},"email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/271e079c6cda5dfe2f5d607116ad0676/x402-next-0.4.1.tgz","_integrity":"sha512-1WLTI8locM+iQp4zWfuJJbJPkh5Z4uJMUlDk6RY+Lr/Is3akMWs8WKTcPmlIcr/0x2YzGYAcn7o1yU9i6fdJXQ==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.21.26","x402":"^0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.4.1_1750456825678_0.5360022682460448","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"x402-next","version":"0.4.2","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.4.2","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"65b1ff8f61bfc60b3aa73fb4ce818aab32c114f1","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.4.2.tgz","fileCount":8,"integrity":"sha512-65vh2LoypVPwYEIsAj/bbBJMVjxNzwId2Plq7Fg3bOOibJ+0WPmaLYI9HP6GD5vOMVdpDcXjHxpWsv6HBQDHJA==","signatures":[{"sig":"MEQCIEh5HtRPc3TEI0BK2XZk9JB4zQl8eghbUolwPvvUKxpdAiBf/Uhj03nsB1Fqp6sp1mSe4yKv5awUQbVNcUhF7MAznw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":67026},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.4.2.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/0d710c960c1bd8befab603b58fcf728e/x402-next-0.4.2.tgz","_integrity":"sha512-65vh2LoypVPwYEIsAj/bbBJMVjxNzwId2Plq7Fg3bOOibJ+0WPmaLYI9HP6GD5vOMVdpDcXjHxpWsv6HBQDHJA==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.3","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.21.26","x402":"^0.4.2","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.4.2_1752874316844_0.6380275417717003","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"x402-next","version":"0.4.3","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.4.3","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"b1bfdafb85a3d3230ddadafd66f510c5eb1d22e8","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.4.3.tgz","fileCount":8,"integrity":"sha512-ExJaPanuqs6Sgc9vYyBDqSmMVssjvrUBrabJ6ozyKRxUJ3o64xPQxFQhSBgwNu+53iAQ8/kwpXrLtZ3NUuTa/w==","signatures":[{"sig":"MEYCIQDvGYalp+bvxw1f58uN1JX3wAINdToUXUIqY5f+tKmi3gIhAOt8wvfYXtIfTmHn41rpTq5zqdBbIT8J3PvxkxNjSe0d","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69096},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.4.3.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/6f69bf22f5052d06aa18b499f46c1e9d/x402-next-0.4.3.tgz","_integrity":"sha512-ExJaPanuqs6Sgc9vYyBDqSmMVssjvrUBrabJ6ozyKRxUJ3o64xPQxFQhSBgwNu+53iAQ8/kwpXrLtZ3NUuTa/w==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.21.26","x402":"^0.4.3","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.4.3_1754002760366_0.5109560916019511","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"x402-next","version":"0.5.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.5.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"63934e5d5328e161b7753b9b71ddfe07560f2d5f","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.5.0.tgz","fileCount":8,"integrity":"sha512-ayLyPE5VQ0kam4wLMVsOjvtW605KNRqy0O1hTvgA4m8xYod25hE+8VqMqcNkVfeLh6C59o6qsKb16aal4jXNQw==","signatures":[{"sig":"MEYCIQDs7/8qUuY3rdIeZrzZprA9M01911MPL7L+PSoLCg/3pAIhAOCLqoC1l3pNcZKVMR9k+GK++X91XjD5nP25XiuR4L8y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69816},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/25eff2cd7f9fef0e54974431300bb814/x402-next-0.5.0.tgz","_integrity":"sha512-ayLyPE5VQ0kam4wLMVsOjvtW605KNRqy0O1hTvgA4m8xYod25hE+8VqMqcNkVfeLh6C59o6qsKb16aal4jXNQw==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.21.26","x402":"^0.5.0","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.5.0_1754748854983_0.03516636932810813","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"x402-next","version":"0.5.1","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.5.1","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"ea06a84a1c50c6bd4b8b3f621718fe6a9066af7d","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.5.1.tgz","fileCount":8,"integrity":"sha512-yS5qhWmEa/HacKiqb9N6Jnh//aa8jP5Ot4ne0rNIbderBE5TiBG+mbeCd7hXf8Hu0IZd1YB8+kJPLkXpzBByqQ==","signatures":[{"sig":"MEUCICH0RtgCjVyvTL/q7VifGpfIsr/xTQgNQ4mYzNXiGqbPAiEAhWgYZduLZF0Re1gVjs5zBErzGwjj7LPK60JJ51nMFBg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69816},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.5.1.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/3c9b4301314e48dfcbadc549565395c6/x402-next-0.5.1.tgz","_integrity":"sha512-yS5qhWmEa/HacKiqb9N6Jnh//aa8jP5Ot4ne0rNIbderBE5TiBG+mbeCd7hXf8Hu0IZd1YB8+kJPLkXpzBByqQ==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.21.26","x402":"^0.5.1","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.5.1_1755005824084_0.6819293882953974","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"x402-next","version":"0.5.2","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.5.2","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"5c54895337ebaa97c963620fc5708cdb8377d9ca","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.5.2.tgz","fileCount":8,"integrity":"sha512-rrGxdw+flGgD8SQlZef15JEdyoA6hAjmi0jkO7Oep2lSj2Hue3lqAiyQXvHQzkmJCOlsjZkQasjnPSV1VcPAcw==","signatures":[{"sig":"MEUCIQDuvIiCDG5PirimUVMTFLiyecnxDefZA03aTbU/M6/ZLwIgY1IQKXmMpKuUar7udEeXZYJ6MNceih1nV7r3R+KQ/Q8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69816},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.5.2.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/9e7e834b71696975108b9bca0fb26ed1/x402-next-0.5.2.tgz","_integrity":"sha512-rrGxdw+flGgD8SQlZef15JEdyoA6hAjmi0jkO7Oep2lSj2Hue3lqAiyQXvHQzkmJCOlsjZkQasjnPSV1VcPAcw==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.21.26","x402":"^0.5.2","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.5.2_1755119246337_0.6100275400516617","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"x402-next","version":"0.5.3","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.5.3","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"7f63ff3c72aebf078db848bfa205c8cf411d60e4","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.5.3.tgz","fileCount":8,"integrity":"sha512-aUkzG07GtVY+VThEMw2TorYGebBxSdZkV/iJ14ZkZJR8LNLpgC8ltpR0S6QHdIfFYCmKKvrnBklCRwU/aOnZsg==","signatures":[{"sig":"MEQCIDLuierchmvA3HlA2sntUTO2bRvHGyE4qHYS3JOJ2ksnAiAR+YTo9cHBz7W3Ic0QnxfoyPbJRze7WreFh5eLLW8r6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.5.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70186},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.5.3.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/ebd7f6ed08bc99311b2854e816c75daf/x402-next-0.5.3.tgz","_integrity":"sha512-aUkzG07GtVY+VThEMw2TorYGebBxSdZkV/iJ14ZkZJR8LNLpgC8ltpR0S6QHdIfFYCmKKvrnBklCRwU/aOnZsg==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^0.5.3","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.5.3_1755622640922_0.7404886430343409","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"x402-next","version":"0.6.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.6.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"7da31935917be5031f69d84e8cf6f8721a1de115","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.6.0.tgz","fileCount":8,"integrity":"sha512-O0RfMLO7UzEWOKKMr8ijwe9NL6JqfqOjKS9n30TClhA9ofODtMaZEskA4cYm4UFlLcRlFoLg/7F3nRXGcrz5eg==","signatures":[{"sig":"MEUCIESeeo6QxDA20F9nUhnS5uXcMQu+Mz9Pgm9Ib0uZjuxYAiEApMtqa/IZZ8ge+5sgpsFT7+o9RcL6ZUXjPMmZLJT67nQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78341},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.6.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/e1e99b25d0d216bc949a91883b7b4be9/x402-next-0.6.0.tgz","_integrity":"sha512-O0RfMLO7UzEWOKKMr8ijwe9NL6JqfqOjKS9n30TClhA9ofODtMaZEskA4cYm4UFlLcRlFoLg/7F3nRXGcrz5eg==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^0.6.0","@solana/kit":"^2.1.1","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.6.0_1757122053464_0.9271448654839411","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"x402-next","version":"0.6.1","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.6.1","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"59c7c6446b5cb4cfb86075c6ee8f55db0fe85d54","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.6.1.tgz","fileCount":8,"integrity":"sha512-ScNzRb8hcpbJRfwWl2C9EgEvBiUksdqkj0bn2SHBX47RXrsLMCdpVNCI9tb0aXe8f2Bc4qAGwx56O2GucUGxyg==","signatures":[{"sig":"MEUCIQCS8Rpf5fd1Km7CNUFjR5FRdjykkwDs9csjSzUMwmTLbAIgZGqLePA1Gni2163pT4OBc/E4cPWXRtLEzHIPGas7TMw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78341},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.6.1.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/7a0334a65090ab50cd92cb0c4eff3484/x402-next-0.6.1.tgz","_integrity":"sha512-ScNzRb8hcpbJRfwWl2C9EgEvBiUksdqkj0bn2SHBX47RXrsLMCdpVNCI9tb0aXe8f2Bc4qAGwx56O2GucUGxyg==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^0.6.1","@solana/kit":"^2.1.1","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.6.1_1758074321046_0.5945414959467987","host":"s3://npm-registry-packages-npm-production"}},"0.6.5":{"name":"x402-next","version":"0.6.5","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.6.5","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"b1eac8e0d26669ea9f8a01bfe48ea9fb15d6fc62","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.6.5.tgz","fileCount":8,"integrity":"sha512-Q6vCUbBCH1agTksHoXs0eXtwP7oE8VitQeHcePHoDGBkaKc42WVwIYSThMxsh0XjKRJdxO5jEx9RRaR3rx3iKQ==","signatures":[{"sig":"MEQCIGABvZdGouCRxpcUpQpl8ZA3QD6oxJE4YmGbVY4HcYwnAiB7O+FEStzb3FQ9dL0M2BdPj8CMQX5duMNjw/q70vTYqQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.6.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78341},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.6.5.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/04122060a3851829b9775bfbfa0b62ef/x402-next-0.6.5.tgz","_integrity":"sha512-Q6vCUbBCH1agTksHoXs0eXtwP7oE8VitQeHcePHoDGBkaKc42WVwIYSThMxsh0XjKRJdxO5jEx9RRaR3rx3iKQ==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^0.6.5","@solana/kit":"^2.1.1","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.6.5_1758837494301_0.404110772997907","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"x402-next","version":"0.7.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.7.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"ef44dbddcda0e1ba9fc3bcbc5d485b701104dd1f","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.7.0.tgz","fileCount":8,"integrity":"sha512-8g4gBgyl4GYmOqOSbo7R3+T+KyA4Wm0sCTHvy9jrNmIMaNEAb9oFVdlpDlD6/KJkIEGyxp0QyYpieTlzl2Vegw==","signatures":[{"sig":"MEUCICPsnRW7EDSmtmkfYbaREMv2NLvmaOJhEo78b5YTi+/lAiEAwKv2JSRx+KHnf5XzrRulBeAtAEznaDHWWGuG/a8SU4w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78740},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.7.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/f9bd4ee4884db68bbe3389d0328bee7e/x402-next-0.7.0.tgz","_integrity":"sha512-8g4gBgyl4GYmOqOSbo7R3+T+KyA4Wm0sCTHvy9jrNmIMaNEAb9oFVdlpDlD6/KJkIEGyxp0QyYpieTlzl2Vegw==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^0.7.0","@solana/kit":"^2.1.1","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.7.0_1761582997206_0.6340566384616937","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"x402-next","version":"0.7.1","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.7.1","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"d6f0f5e93b3003c4395522e08aea4a32cbeaf968","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.7.1.tgz","fileCount":8,"integrity":"sha512-+valV77abaOuRh1g4NH/K3MslHSysIBWWueUf5/AXi018qMvIJB0Kp/TebWM6Antkl3q0uNBTSdU351d6u2w7Q==","signatures":[{"sig":"MEYCIQCsHfgOACfEOR49yHWrTXogEttyn54cVGMpn1zETWmDuwIhALULp4CGLR4+k0P4SKUwfzm4GRuXdHPdkWdhkBHe4k09","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.7.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78740},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.7.1.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/ce42d45d520c055f0fcddb43bbed14c3/x402-next-0.7.1.tgz","_integrity":"sha512-+valV77abaOuRh1g4NH/K3MslHSysIBWWueUf5/AXi018qMvIJB0Kp/TebWM6Antkl3q0uNBTSdU351d6u2w7Q==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^0.7.1","@solana/kit":"^2.1.1","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.7.1_1761786128452_0.808713349182387","host":"s3://npm-registry-packages-npm-production"}},"0.7.3":{"name":"x402-next","version":"0.7.3","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.7.3","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"bc8c0292c5ee2cc82eb1805467f8be405942d0ec","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.7.3.tgz","fileCount":8,"integrity":"sha512-obxzBoPJ0hEnxlOAWAjQ5uG5FrLCK4/O/FNv6fagJfH5Xm49CBQcIOx/JYOZd+asZANhZ/yyhsZv3osg2I2+6w==","signatures":[{"sig":"MEUCIQCI5vx5S8/gZ3xf9RgIoFV3JDmp7r1QgX73sLMoPB2hRAIgINGcC2BigyqxtpVPPjdSzGVNa7l6kr1Ge161ksM4ZvU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.7.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":111324},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.7.3.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/475890f68d8a03db6fa7ed6a69374fc7/x402-next-0.7.3.tgz","_integrity":"sha512-obxzBoPJ0hEnxlOAWAjQ5uG5FrLCK4/O/FNv6fagJfH5Xm49CBQcIOx/JYOZd+asZANhZ/yyhsZv3osg2I2+6w==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.5","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^0.7.3","@solana/kit":"^5.0.0","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.7.3_1763779294101_0.7006210036627876","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"x402-next","version":"0.8.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@0.8.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"f8b8c8d79739c42b8d517c1f4e1c381e3232c950","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-0.8.0.tgz","fileCount":8,"integrity":"sha512-yiYRh8dyow6I6XDq1VU4y2G4uGKGJEaf7bNKnFhewsFqiYcdvn3Jma0rcwE2JU6RrCNN6sVPN8XMHLmCh/Cfrg==","signatures":[{"sig":"MEUCIQDz3oZQbYcXg7PfYVP9NhTjTuc6dXxCby0kRcLgEuVjDQIgOLnPrK9jPin1HsUpgi5HoMKIuqk34xX64ChMJNjNVYg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":115831},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-0.8.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/ca0a55437686a93121389877a6b11e73/x402-next-0.8.0.tgz","_integrity":"sha512-yiYRh8dyow6I6XDq1VU4y2G4uGKGJEaf7bNKnFhewsFqiYcdvn3Jma0rcwE2JU6RrCNN6sVPN8XMHLmCh/Cfrg==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.6","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^0.8.0","@solana/kit":"^5.0.0","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":">=15.0.5 <15.1.0 || >=15.1.9 <15.2.0 || >=15.2.6 <15.3.0 || >=15.3.6 <15.4.0 || >=15.4.8 <15.5.0 || >=15.5.7 <16.0.0 || >=16.0.7"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_0.8.0_1765317405799_0.22569557442209476","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"x402-next","version":"1.0.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@1.0.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"6f6badeb98a09f54e1d231f8643324cdd4e57638","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-1.0.0.tgz","fileCount":8,"integrity":"sha512-WrY1gYuHUCbeybesP0dDu1CO3RIf+YTtXreFCW4rYiR6xiErsfgugXXJ3uwTJgn8Et4gDolY02s4oJVGPVX/8w==","signatures":[{"sig":"MEUCIArJBox8psYo7iv5tsIWmdIliaxYh/j9/O2KPz0/3GYoAiEA6OOnqtBropEB5C6WdN62SeIwNABAFEc7Ma3Ix9vDAoc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":115831},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/891ffb931b119ab145b27a6059c2fe84/x402-next-1.0.0.tgz","_integrity":"sha512-WrY1gYuHUCbeybesP0dDu1CO3RIf+YTtXreFCW4rYiR6xiErsfgugXXJ3uwTJgn8Et4gDolY02s4oJVGPVX/8w==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.6","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^1.0.0","@solana/kit":"^5.0.0","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":">=15.0.5 <15.1.0 || >=15.1.9 <15.2.0 || >=15.2.6 <15.3.0 || >=15.3.6 <15.4.0 || >=15.4.8 <15.5.0 || >=15.5.7 <16.0.0 || >=16.0.7"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_1.0.0_1765325876000_0.4536042232284203","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"x402-next","version":"1.1.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-next@1.1.0","maintainers":[{"name":"coinbase-owner","email":"opensource@coinbase.com"},{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"homepage":"https://github.com/coinbase/x402#readme","bugs":{"url":"https://github.com/coinbase/x402/issues"},"dist":{"shasum":"6bbf2056820ee35fd51da0638defb0bae55b2cf4","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-1.1.0.tgz","fileCount":8,"integrity":"sha512-zUh5hWFT7lY6UNepcwMPZH/CkrEeVe6QZB380yg1ZtAqqf1f+FHDt+IFBBg2cFHKFqWgm4zYZaxZVksM3RXJfg==","signatures":[{"sig":"MEUCIDpQFlvqIHR+CuE96xR7CI4xL2LWjwZLC4myVTMaXaSQAiEAnVevaGQIJ6ow7GymZidXX3KYB1TkSUnOtUr8wZGDv9c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":115724},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-next-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"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}\""},"_npmUser":{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/ec454d07b033f94a0c4b2b88803da207/x402-next-1.1.0.tgz","_integrity":"sha512-zUh5hWFT7lY6UNepcwMPZH/CkrEeVe6QZB380yg1ZtAqqf1f+FHDt+IFBBg2cFHKFqWgm4zYZaxZVksM3RXJfg==","repository":{"url":"git+https://github.com/coinbase/x402.git","type":"git"},"_npmVersion":"10.8.2","description":"x402 Payment Protocol","directories":{},"_nodeVersion":"20.19.6","dependencies":{"zod":"^3.24.2","viem":"^2.21.26","x402":"^1.1.0","@solana/kit":"^5.0.0","@coinbase/cdp-sdk":"^1.22.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","vitest":"^3.0.5","prettier":"3.5.2","@eslint/js":"^9.24.0","typescript":"^5.7.3","@types/node":"^22.13.4","eslint-plugin-jsdoc":"^50.6.9","vite-tsconfig-paths":"^5.1.4","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/parser":"^8.29.1","@typescript-eslint/eslint-plugin":"^8.29.1"},"peerDependencies":{"next":">=15.5.9 || >=16.0.10"},"_npmOperationalInternal":{"tmp":"tmp/x402-next_1.1.0_1766526496131_0.0697260201851031","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"x402-next","version":"1.2.0","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/index.d.ts","keywords":[],"license":"Apache-2.0","author":{"name":"x402 Foundation"},"repository":{"type":"git","url":"git+https://github.com/x402-foundation/x402.git"},"description":"x402 Payment Protocol","devDependencies":{"@eslint/js":"^9.24.0","@types/node":"^22.13.4","@typescript-eslint/eslint-plugin":"^8.29.1","@typescript-eslint/parser":"^8.29.1","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","tsup":"^8.4.0","tsx":"^4.19.2","typescript":"^5.7.3","vite":"^6.2.6","vite-tsconfig-paths":"^5.1.4","vitest":"^3.0.5"},"dependencies":{"@coinbase/cdp-sdk":"^1.22.0","@solana/kit":"^5.0.0","viem":"^2.21.26","zod":"^3.24.2","x402":"^1.2.0"},"peerDependencies":{"next":">=15.5.9 || >=16.0.10"},"type":"module","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"scripts":{"start":"tsx --env-file=.env index.ts","test":"vitest run","test:watch":"vitest","build":"tsup","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":"x402-next@1.2.0","bugs":{"url":"https://github.com/x402-foundation/x402/issues"},"homepage":"https://github.com/x402-foundation/x402#readme","_integrity":"sha512-mx9M2wCkZHehi+Qh0D62wTUGQtARoXF0XbG2Bf9arPwQhtibFdGP0z/rB5e7f+jRkoVGG8ioHkAFjJFnWcTr7w==","_resolved":"/tmp/c37a14c141bb87ee657911a241f042c0/x402-next-1.2.0.tgz","_from":"file:x402-next-1.2.0.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.12.1","dist":{"integrity":"sha512-mx9M2wCkZHehi+Qh0D62wTUGQtARoXF0XbG2Bf9arPwQhtibFdGP0z/rB5e7f+jRkoVGG8ioHkAFjJFnWcTr7w==","shasum":"f3101bacc0ec48c3639e454688131000e88330eb","tarball":"https://registry.npmjs.org/x402-next/-/x402-next-1.2.0.tgz","fileCount":8,"unpackedSize":116099,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-next@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDK9W5redPXYP7xLdr475M882YxW2rVAlChVKwKKLaGmgIhANuAXvkEzbjND+78Onm+4Fj0alIfMDU97nCf74JE51kw"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:84c82a30-86bf-4d43-9be1-343441756b7d"}},"directories":{},"maintainers":[{"name":"erik_cb","email":"erik.reppel@coinbase.com"},{"name":"carsonroscoe_cb","email":"carson.roscoe@coinbase.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/x402-next_1.2.0_1776321035362_0.9847002919572985"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-16T18:48:15.397Z","modified":"2026-04-16T06:30:35.775Z","0.0.0":"2025-04-16T18:48:15.704Z","0.1.0":"2025-04-25T19:52:11.641Z","0.3.0":"2025-05-06T00:43:15.126Z","0.3.1":"2025-05-06T15:38:20.198Z","0.3.2":"2025-05-07T22:10:50.054Z","0.3.3":"2025-05-10T00:01:38.517Z","0.3.4":"2025-05-14T18:10:45.748Z","0.4.0":"2025-06-13T21:36:14.102Z","0.4.1":"2025-06-20T22:00:25.875Z","0.4.2":"2025-07-18T21:31:56.999Z","0.4.3":"2025-07-31T22:59:20.723Z","0.5.0":"2025-08-09T14:14:15.153Z","0.5.1":"2025-08-12T13:37:04.255Z","0.5.2":"2025-08-13T21:07:26.532Z","0.5.3":"2025-08-19T16:57:21.166Z","0.6.0":"2025-09-06T01:27:33.655Z","0.6.1":"2025-09-17T01:58:41.236Z","0.6.5":"2025-09-25T21:58:14.485Z","0.7.0":"2025-10-27T16:36:37.404Z","0.7.1":"2025-10-30T01:02:08.667Z","0.7.3":"2025-11-22T02:41:34.297Z","0.8.0":"2025-12-09T21:56:45.948Z","1.0.0":"2025-12-10T00:17:56.243Z","1.1.0":"2025-12-23T21:48:16.272Z","1.2.0":"2026-04-16T06:30:35.501Z"},"bugs":{"url":"https://github.com/x402-foundation/x402/issues"},"author":{"name":"x402 Foundation"},"license":"Apache-2.0","homepage":"https://github.com/x402-foundation/x402#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/x402-foundation/x402.git"},"description":"x402 Payment Protocol","maintainers":[{"name":"erik_cb","email":"erik.reppel@coinbase.com"},{"name":"carsonroscoe_cb","email":"carson.roscoe@coinbase.com"}],"readme":"# x402-next\n\n> **Deprecated (v1)**  \n> This npm package implements x402 **v1**. It is **deprecated** and will only receive **security patches**. Please migrate to **v2** (`@x402/next`, `@x402/core`, `@x402/evm`, etc.). See the [Migration guide: v1 to v2](https://docs.x402.org/guides/migration-v1-to-v2).\n> Legacy examples are available at git tag `archive/legacy-v1-examples`.\n\nNext.js middleware integration for the x402 Payment Protocol. This package allows you to easily add paywall functionality to your Next.js applications using the x402 protocol.\n\n## Installation\n\n```bash\npnpm install x402-next\n```\n\n## Quick Start\n\n### Protecting Page Routes\n\nPage routes are protected using the x402-next middleware. Create a middleware file in your Next.js project (e.g., `middleware.ts`):\n\n```typescript\nimport { paymentMiddleware, Network } from 'x402-next';\n\nexport const middleware = paymentMiddleware(\n  \"0xYourAddress\",\n  {\n    '/protected': {\n      price: '$0.01',\n      network: \"base-sepolia\",\n      config: {\n        description: 'Access to protected content'\n      }\n    },\n  }\n);\n\n// Configure which paths the middleware should run on\nexport const config = {\n  matcher: ['/protected/:path*'],\n  runtime: \"nodejs\",\n};\n```\n\n### Protecting API Routes\n\nAPI routes are protected using the `withX402` route wrapper. This is the recommended approach to protect API routes as it guarantees payment settlement only AFTER successful API responses (status < 400). API routes can also be protected by `paymentMiddleware`, however this will charge clients for failed API responses:\n\n```typescript\n// app/api/your-endpoint/route.ts\nimport { NextRequest, NextResponse } from \"next/server\";\nimport { withX402 } from \"x402-next\";\n\nconst handler = async (_: NextRequest) => {\n  return NextResponse.json({ data: \"your response\" });\n};\n\nexport const GET = withX402(\n  handler,\n  \"0xYourAddress\",\n  {\n    price: \"$0.01\",\n    network: \"base-sepolia\",\n    config: { description: \"Access to API endpoint\" }\n  }\n);\n```\n\n## Configuration\n\n### paymentMiddleware\n\nThe `paymentMiddleware` function is used to protect page routes. It can also protect API routes, however this will charge clients for failed API responses. It accepts four parameters:\n\n1. `payTo`: Your receiving address (`0x${string}`)\n2. `routes`: Route configurations for protected endpoints\n3. `facilitator`: (Optional) Configuration for the x402 facilitator service\n4. `paywall`: (Optional) Configuration for the built-in paywall\n\n### withX402\n\nThe `withX402` function wraps API route handlers. This is the recommended approach to protect API routes as it guarantees payment settlement only AFTER successful API responses (status < 400). It accepts five parameters:\n\n1. `handler`: Your API route handler function\n2. `payTo`: Your receiving address (`0x${string}`)\n3. `routeConfig`: Payment configuration for this specific route\n4. `facilitator`: (Optional) Configuration for the x402 facilitator service\n5. `paywall`: (Optional) Configuration for the built-in paywall\n\nSee the Middleware Options section below for detailed configuration options.\n\n## Middleware Options\n\nThe middleware supports various configuration options:\n\n### Route Configuration\n\n```typescript\ntype RoutesConfig = Record<string, Price | RouteConfig>;\n\ninterface RouteConfig {\n  price: Price;           // Price in USD or token amount\n  network: Network;       // \"base\" or \"base-sepolia\"\n  config?: PaymentMiddlewareConfig;\n}\n```\n\n### Payment Configuration\n\n```typescript\ninterface PaymentMiddlewareConfig {\n  description?: string;               // Description of the payment\n  mimeType?: string;                  // MIME type of the resource\n  maxTimeoutSeconds?: number;         // Maximum time for payment (default: 60)\n  outputSchema?: Record<string, any>; // JSON schema for the response\n  customPaywallHtml?: string;         // Custom HTML for the paywall\n  resource?: string;                  // Resource URL (defaults to request URL)\n}\n```\n\n### Facilitator Configuration\n\n```typescript\ntype FacilitatorConfig = {\n  url: string;                        // URL of the x402 facilitator service\n  createAuthHeaders?: CreateHeaders;  // Optional function to create authentication headers\n};\n```\n\n### Paywall Configuration\n\nFor more on paywall configuration options, refer to the [paywall README](../x402/src/paywall/README.md).\n\n```typescript\ntype PaywallConfig = {\n  cdpClientKey?: string;              // Your CDP Client API Key\n  appName?: string;                   // Name displayed in the paywall wallet selection modal\n  appLogo?: string;                   // Logo for the paywall wallet selection modal\n  sessionTokenEndpoint?: string;      // API endpoint for Coinbase Onramp session authentication\n};\n```\n\n## Accessing Mainnet with @coinbase/x402\n\nTo use the official Coinbase facilitator package (`@coinbase/x402`) in your Next.js project:\n\n1. Install the Coinbase facilitator package:\n\n```bash\npnpm install @coinbase/x402\n```\n\n2. Use it in your middleware file::\n\n```ts\n// middleware.ts\nimport { paymentMiddleware } from \"x402-next\";\nimport { facilitator } from \"@coinbase/x402\";\n\nexport const middleware = paymentMiddleware(\n  \"0xYourAddress\",\n  {\n    \"/protected\": {\n      price: \"$0.01\",\n      network: \"base\",\n      // other config options\n    },\n  },\n  facilitator // Use the Coinbase facilitator\n);\n```\n\n3. Set up your CDP API keys as environment variables:\n\n```bash\n# .env\nCDP_API_KEY_ID=your-cdp-api-key-id\nCDP_API_KEY_SECRET=your-cdp-api-key-secret\n```\n\n## Optional: Coinbase Onramp Integration\n\n**Note**: Onramp integration is completely optional. Your x402 paywall will work perfectly without it. This feature is for users who want to provide an easy way for their customers to fund their wallets directly from the paywall.\n\nWhen configured, a \"Get more USDC\" button will appear in your paywall, allowing users to purchase USDC directly through Coinbase Onramp.\n\n### Quick Setup\n\n#### 1. Configure Your Middleware\n\nAdd `sessionTokenEndpoint` to your middleware configuration. This tells the paywall where to find your session token API:\n\n```typescript\nexport const middleware = paymentMiddleware(\n  payTo,\n  routes,\n  facilitator,\n  {\n    sessionTokenEndpoint: \"/api/x402/session-token\", // Enable onramp functionality\n    cdpClientKey: \"your-cdp-client-key\",\n    appName: \"My App\",\n  }\n);\n```\n\n**Important**: The `sessionTokenEndpoint` can be any path you choose - just make sure it matches where you create your API route in the next step. Without this configuration, the \"Get more USDC\" button will be hidden.\n\n#### 2. Create the Session Token API\n\nCreate an API route that matches the path you configured above:\n\n```typescript\n// app/api/x402/session-token/route.ts\nexport { POST } from \"x402-next\";\n```\n\nThat's it! The `x402-next` package provides the complete session token implementation.\n\n#### 3. Get CDP API Keys\n\n1. Go to [CDP Portal](https://portal.cdp.coinbase.com/)\n2. Navigate to your project's **[API Keys](https://portal.cdp.coinbase.com/projects/api-keys)**\n3. Click **Create API key**\n4. Download and securely store your API key\n\n#### 4. Enable Onramp Secure Initialization in CDP Portal\n\n1. Go to [CDP Portal](https://portal.cdp.coinbase.com/)\n2. Navigate to **Payments → [Onramp & Offramp](https://portal.cdp.coinbase.com/products/onramp)**\n3. Toggle **\"Enforce secure initialization\"** to **Enabled**\n\n#### 5. Set Environment Variables\n\nAdd your CDP API keys to your environment:\n\n```bash\n# .env\nCDP_API_KEY_ID=your_secret_api_key_id_here\nCDP_API_KEY_SECRET=your_secret_api_key_secret_here\n```\n\n### How Onramp Works\n\nOnce set up, your x402 paywall will automatically show a \"Get more USDC\" button when users need to fund their wallets. \n\n1. **Generates session token**: Your backend securely creates a session token using CDP's API\n2. **Opens secure onramp**: User is redirected to Coinbase Onramp with the session token\n3. **No exposed data**: Wallet addresses and app IDs are never exposed in URLs\n\n### Troubleshooting Onramp\n\n#### Common Issues\n\n1. **\"Missing CDP API credentials\"**\n    - Ensure `CDP_API_KEY_ID` and `CDP_API_KEY_SECRET` are set\n    - Verify you're using **Secret API Keys**, not Client API Keys\n\n2. **\"Failed to generate session token\"**\n    - Check your CDP Secret API key has proper permissions\n    - Verify your project has Onramp enabled\n\n3. **API route not found**\n    - Ensure you've created your session token API route at the path you configured\n    - Check that your API route path matches your `sessionTokenEndpoint` configuration\n    - Verify the export: `export { POST } from \"x402-next\";`\n    - Example: If you configured `sessionTokenEndpoint: \"/api/custom/onramp\"`, create `app/api/custom/onramp/route.ts`\n\n\n## Resources\n\n- [x402 Protocol](https://x402.org)\n- [CDP Documentation](https://docs.cdp.coinbase.com)\n- [CDP Discord](https://discord.com/invite/cdp)","readmeFilename":"README.md"}