{"_id":"x402-fetch","_rev":"25-bd80d6ed06a0d3c65e8570db17f2e346","name":"x402-fetch","dist-tags":{"placeholder":"0.0.0","latest":"1.2.0"},"versions":{"0.0.0":{"name":"x402-fetch","version":"0.0.0","author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@0.0.0","maintainers":[{"name":"coinbase-npm","email":"coinbase-npm@coinbase.com"}],"dist":{"shasum":"d7008c853d68fa42fa64eb56e97f692617d2a813","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.0.0.tgz","fileCount":2,"integrity":"sha512-GaQ1dmd/4Nz/qAb05lOqqajqiW5q5p5leH8VhFt1Z5hyB+8aoX/MXBV1zF8IPgP0X2Xhph95KkwSad7XYAQ+KA==","signatures":[{"sig":"MEUCIQC2gDuvyVl3/W8dMhMIIDcNkRYl+kyu9pWE/bOkIY+52wIgDcN27uh5CIqCUwnWOxt3B/T9sbPH586IutT+1Wjj5GU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":201},"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-fetch_0.0.0_1744829379909_0.28614778052574863","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"x402-fetch","version":"0.1.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"312dd26ebc793b69643d8b4f4e93f3967dcbee72","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.1.0.tgz","fileCount":8,"integrity":"sha512-3EVhNhAKND5BE9fpVBp8DjJ5ungNBnFDmMfaewiUl72wOOFMZ88k+DTgrdmb4iGgkQb2hElexes+wP3L4cw/Uw==","signatures":[{"sig":"MEQCIB55jek7OkN+MdBHxX8q41jyk6/kHOuQP9xrCPRW7kHqAiAj91EXt1t91YpZA9k3Azb2MfyS3u416uhAzeCls2iA8g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21465},"main":"./dist/cjs/index.js","type":"module","_from":"file:x402-fetch-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/0db72885113673c5f6375a30267620d3/x402-fetch-0.1.0.tgz","_integrity":"sha512-3EVhNhAKND5BE9fpVBp8DjJ5ungNBnFDmMfaewiUl72wOOFMZ88k+DTgrdmb4iGgkQb2hElexes+wP3L4cw/Uw==","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","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-fetch_0.1.0_1745610726472_0.6367522522738591","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"x402-fetch","version":"0.3.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"1d46b6bb057e0dcf0681916b32387c331589e4c4","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.3.0.tgz","fileCount":8,"integrity":"sha512-bdPQuCuxv2FFYjiRRIPLpExjX0BXCXnOiXxThMZ0AQjgPSz6vGupsMINt1+LooqEcoxAx0rmKzFIwlpDKrsD8w==","signatures":[{"sig":"MEQCICJdPKKepsLP/3en+iRNGpt/4rFttuKxV9rG0lANrqv9AiB/Kw6A/ZLMiyTLOrtlSBq0ybM1UZhni0LEPpSRFiQ3MQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23269},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"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/ad8aa969e3d4b17816ef39b90330161b/x402-fetch-0.3.0.tgz","_integrity":"sha512-bdPQuCuxv2FFYjiRRIPLpExjX0BXCXnOiXxThMZ0AQjgPSz6vGupsMINt1+LooqEcoxAx0rmKzFIwlpDKrsD8w==","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","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-fetch_0.3.0_1746492185670_0.06281291472397177","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"x402-fetch","version":"0.3.1","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"9e7fe4a98d39cca00fcff41bb4d1a4625dbd9357","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.3.1.tgz","fileCount":8,"integrity":"sha512-tYFTWI0ZY+arlXnZDEaDxuxU8Z8IvfoY0SBEqC2q+qR3OFdWqjYS/J7tyx5C0wOKxR/v2nmS7qXa8xbUzInfZQ==","signatures":[{"sig":"MEYCIQDYU/xdrEFzgtOsUxByRI+ZmpXtjaXL9keON7e10co2twIhAKf/B8avQ+3zZh7HErI+zYdNdm7V6C+vLrAChfFXQIQi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23268},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.3.1.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/cf52a0664c4a30a2e7010de8829547c0/x402-fetch-0.3.1.tgz","_integrity":"sha512-tYFTWI0ZY+arlXnZDEaDxuxU8Z8IvfoY0SBEqC2q+qR3OFdWqjYS/J7tyx5C0wOKxR/v2nmS7qXa8xbUzInfZQ==","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","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-fetch_0.3.1_1746545892964_0.16701004058466307","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"x402-fetch","version":"0.3.2","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"7fd0172b53e0d488ceeee30ad22a56cfd9e5bd2a","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.3.2.tgz","fileCount":8,"integrity":"sha512-8Dc4VS8pDEQr1xTpWUMo9fuJPAaE2sGGMxrBuGgLffs4TOWUcqsz2GFDFifPckFZhon/0mnVF7jEC7JC3dT0ew==","signatures":[{"sig":"MEUCIQDRr6OAR4U0q4DBCzOA5gX+078gMfMiH9AJ5nRSWPVXFgIgYyolgDPuJNfGGH6RY96ktQuo79wmbkfSNFB7g1vdA+c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23269},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.3.2.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/aa531cb4302409b7892e889928b9336b/x402-fetch-0.3.2.tgz","_integrity":"sha512-8Dc4VS8pDEQr1xTpWUMo9fuJPAaE2sGGMxrBuGgLffs4TOWUcqsz2GFDFifPckFZhon/0mnVF7jEC7JC3dT0ew==","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","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-fetch_0.3.2_1746655845791_0.2342461426485567","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"x402-fetch","version":"0.3.3","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"29a5df33ec7b36f50ec86f2886aba2d30f4473db","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.3.3.tgz","fileCount":8,"integrity":"sha512-gOVOm1gT+ViHY/oL8UHU6mC2DPDpC3pxBHaaAMcDGSb1myht26tYxYBPTKARuxXpyZEnZ4Us6+WDgNKZ5rze+A==","signatures":[{"sig":"MEUCIGot1z6nG3i3gje/XN9B55Zb08SrRkpmXc0wX1UFByw5AiEA/WUANsAthlJh1JfuA7bEfFEeHRQfo3U/OnmC2Dsdydo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23269},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.3.3.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/f32ff95a014d0cc3f5cc961c82ffe5cb/x402-fetch-0.3.3.tgz","_integrity":"sha512-gOVOm1gT+ViHY/oL8UHU6mC2DPDpC3pxBHaaAMcDGSb1myht26tYxYBPTKARuxXpyZEnZ4Us6+WDgNKZ5rze+A==","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","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-fetch_0.3.3_1746835298996_0.8614978749051085","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"x402-fetch","version":"0.4.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"347ce04630cdaff3efbb0054a86c3d6c0d30a079","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.4.0.tgz","fileCount":8,"integrity":"sha512-Sl4YfJv1n161CKVd4IzzyQwsTHJkN0obFIp5mD0RVWahrqHyiAJafR9HNi9ipM287d9YPQE4EtP+I3gXnhQAyw==","signatures":[{"sig":"MEUCIER+/84YdQ3VTLHDaI2x3Zbbx7GfqyN5QuPuWaoJUs8MAiEAov7oLXEwcOZYaG6uE6khSrcqH7TfXoA4YrHCUDjCssc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22472},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/02e8a4e671a4ed5527febc7d9d26e8b7/x402-fetch-0.4.0.tgz","_integrity":"sha512-Sl4YfJv1n161CKVd4IzzyQwsTHJkN0obFIp5mD0RVWahrqHyiAJafR9HNi9ipM287d9YPQE4EtP+I3gXnhQAyw==","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","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-fetch_0.4.0_1749850561587_0.800993914950813","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"x402-fetch","version":"0.4.1","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"5a0c64765e5913da33c3c76fac8df0f7c433cd2a","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.4.1.tgz","fileCount":8,"integrity":"sha512-5csuF+xcR9HT07eWpUkkk4bYmk6FYif7oviU+SODy0b0W0FHjvvmebrC40V1VBPzUYrFXpA1uQmtTXetYyJ2SQ==","signatures":[{"sig":"MEUCIQD1MZO7gmYOOryihZ3ZbN9PNhzy4YzefV4AG0EPDatr/wIgAdttAGantYx9/zFiuJWK1BeN/UzftkEavqpvI9Af1OI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22473},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.4.1.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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","actor":{"name":"coinbase-npm","type":"user","email":"coinbase-npm@coinbase.com"},"email":"coinbase-npm@coinbase.com"},"_resolved":"/tmp/4197be64a40bcdafd80a9bfd19831b51/x402-fetch-0.4.1.tgz","_integrity":"sha512-5csuF+xcR9HT07eWpUkkk4bYmk6FYif7oviU+SODy0b0W0FHjvvmebrC40V1VBPzUYrFXpA1uQmtTXetYyJ2SQ==","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","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-fetch_0.4.1_1750456832570_0.04908899446672765","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"x402-fetch","version":"0.4.2","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"3a92aa0e74704540186cbc9c510215452aae15f5","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.4.2.tgz","fileCount":8,"integrity":"sha512-UvRpO8OE2sB/pK+EpW68J2pe1p8ObwLptmg2HY8hWRz0/sij7o9kcHns1eEM5ZtzJnaUQrP2WgPLp2oMBjG7XA==","signatures":[{"sig":"MEUCIQCgkjqcrGz4g55eQGBk+xBhHmQCWaT7/e2cLjvEvy5p5QIgcVbmNaMYMAngAVSoTXz7lJbOwidR07jZCiYKVc0aBBo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22473},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.4.2.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/e6f5140b075fe11a84e46dc0eca57b47/x402-fetch-0.4.2.tgz","_integrity":"sha512-UvRpO8OE2sB/pK+EpW68J2pe1p8ObwLptmg2HY8hWRz0/sij7o9kcHns1eEM5ZtzJnaUQrP2WgPLp2oMBjG7XA==","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","viem":"^2.21.26","x402":"^0.4.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-fetch_0.4.2_1752874310166_0.3777519566884946","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"x402-fetch","version":"0.5.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"9a0a9ad65f5a33954078c9189a9018c27c3e8c73","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.5.0.tgz","fileCount":8,"integrity":"sha512-0JJfzx4JE/EMC/d1/Y2abYPzYA2p4EINufattyOOpcF4w5GvdyPdHzdhDVgVDrIPm+vNIu4aTPFYMc4mBvYnUg==","signatures":[{"sig":"MEUCIBt0tiY80c98d/ThQKzPxr0DAE/sgTccqSXmVH2W3sHYAiEA8+qcVnf6mupecPkFQxlWLbHCZ7GxD2UqbMFuEpFQiFQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22473},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/75f2c9051196fcca22dcd2199ef66eca/x402-fetch-0.5.0.tgz","_integrity":"sha512-0JJfzx4JE/EMC/d1/Y2abYPzYA2p4EINufattyOOpcF4w5GvdyPdHzdhDVgVDrIPm+vNIu4aTPFYMc4mBvYnUg==","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.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-fetch_0.5.0_1754748850073_0.9917061516570489","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"x402-fetch","version":"0.5.1","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"f2f376a2742227149a9d488f9cea542dbd78ae46","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.5.1.tgz","fileCount":8,"integrity":"sha512-uSACCizFyFCEgJj2kHKKjM2EAr9+mxvLvUzulAhmXOw/pVfpG54z+k6tE2q8FZnLk9SRDfPJOXkJL0bjzGncJw==","signatures":[{"sig":"MEQCIHRiFhANKDan800jVfBzTSAOO6tTU6MKPYFkEoPLt6v2AiAnSkNsGdRJe54LoXadL9/hi3k5EiBr2jNh/JFtlI049w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22473},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.5.1.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/2f75755fffb5d7534698f621918a68c5/x402-fetch-0.5.1.tgz","_integrity":"sha512-uSACCizFyFCEgJj2kHKKjM2EAr9+mxvLvUzulAhmXOw/pVfpG54z+k6tE2q8FZnLk9SRDfPJOXkJL0bjzGncJw==","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.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-fetch_0.5.1_1755005817330_0.9304050129529886","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"x402-fetch","version":"0.6.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"69fd857f9f01aa64baf4bd841b1e77623ce3f35a","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.6.0.tgz","fileCount":8,"integrity":"sha512-c7ZQQOjgBWyX9xbmRCliUguVeG0RCofTlcnPKBrAgNYxEo8p/yuQr2PRvyN9tdQdXVTlGgIsII7GO1wLHJpLhA==","signatures":[{"sig":"MEUCIQDcgL/34GoHO61jrCnEERmmMxGUDwmHKrEecttgIQT0TAIgGJqwVk7T3oFd3clvE3vrUAlWemuSw75Pasf2WPnYyxA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24114},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.6.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/b768d1c57e2158f5b5b63e9ed91d55e0/x402-fetch-0.6.0.tgz","_integrity":"sha512-c7ZQQOjgBWyX9xbmRCliUguVeG0RCofTlcnPKBrAgNYxEo8p/yuQr2PRvyN9tdQdXVTlGgIsII7GO1wLHJpLhA==","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"},"_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-fetch_0.6.0_1757122039135_0.12867173219117212","host":"s3://npm-registry-packages-npm-production"}},"0.6.6":{"name":"x402-fetch","version":"0.6.6","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@0.6.6","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":"dbc240f915558c4119e1bcb5e77ce061d1394439","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.6.6.tgz","fileCount":8,"integrity":"sha512-a2cneKdXlAXxZoFHhq42Ftv4+YTn1inrAvcUeop4fu8DKG1Nus1OemI0PvBOrKm2yM5gfCaqQhVGpIPiWziLYA==","signatures":[{"sig":"MEUCIQDrs0HMOrY1S594vRfA5AOHf0Z1JNYhoCgm/7Z+awixMwIgR0Q7+0KB7YI8kURN1E/g3wme4uC9VG1H9ACQmnsKKAU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.6.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25760},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.6.6.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/5196eb7290ff334e0c20258604d4aad6/x402-fetch-0.6.6.tgz","_integrity":"sha512-a2cneKdXlAXxZoFHhq42Ftv4+YTn1inrAvcUeop4fu8DKG1Nus1OemI0PvBOrKm2yM5gfCaqQhVGpIPiWziLYA==","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.6"},"_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-fetch_0.6.6_1759529475343_0.6473202960323281","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"x402-fetch","version":"0.7.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"bdffd37e63d98d0424312b018585f46f5079ee7d","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.7.0.tgz","fileCount":8,"integrity":"sha512-HS7v6wsIVrU8TvAGBwRmA3I+ZXbanPraA3OMj90y6Hn1Mej1wAELOK4VpGh6zI8d6w5E464BnGu9o0FE+8DRAA==","signatures":[{"sig":"MEUCIQCQBLxVQ2mnRHtZraXBxppEp4BbAGKdUpb1C3y97kC9iAIgYkhtBiCTnLLljRRvBsar4XTFL2M6s5Cxx4GmHCMLT9I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25760},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.7.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/2f3b287de33dc2a92087216d7f055140/x402-fetch-0.7.0.tgz","_integrity":"sha512-HS7v6wsIVrU8TvAGBwRmA3I+ZXbanPraA3OMj90y6Hn1Mej1wAELOK4VpGh6zI8d6w5E464BnGu9o0FE+8DRAA==","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"},"_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-fetch_0.7.0_1761582997668_0.9021139991810172","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"name":"x402-fetch","version":"0.7.2","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@0.7.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":"8a11dd5b36dadd9bf8d3d301ceac3581227875fe","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.7.2.tgz","fileCount":8,"integrity":"sha512-fS3jAGZHQUPR/GCqZSPayBdYwsNk/mULVf7ZnE2Kr3feTdV3riwXS78eJEnOL3+1mul3XOnPo8uoUCAGNihESQ==","signatures":[{"sig":"MEYCIQC8RO3Hl+VtiPBzdpSLkcnA4A0fcExf5/sd6sZ8MuYb4wIhANRwPyujUlOPoDGwOJ9QyQXWAfgeKyGUd8QnxudYFQsk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.7.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25388},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.7.2.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/69f2835cbaf60639e1d059ac968697fe/x402-fetch-0.7.2.tgz","_integrity":"sha512-fS3jAGZHQUPR/GCqZSPayBdYwsNk/mULVf7ZnE2Kr3feTdV3riwXS78eJEnOL3+1mul3XOnPo8uoUCAGNihESQ==","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.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-fetch_0.7.2_1763665366394_0.7373780659538582","host":"s3://npm-registry-packages-npm-production"}},"0.7.3":{"name":"x402-fetch","version":"0.7.3","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"95c9478e5a35d6f3894b0da034c6277ec0cb21bd","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.7.3.tgz","fileCount":8,"integrity":"sha512-LuMRN/cdWwWXvRTJq8PJkX5JOPyEKLPzehUsR3/VcZuINEYg/Nzd8Dhbcy64cmmLaIY9vDnx+J0/k4P+Zkz+Nw==","signatures":[{"sig":"MEQCIF+BdQSQXLAc+9k0KMOOs+Hl+VnszGTXQi5sUiRzgNAyAiBpIX0y0Dp0DYUdSK09+pihR6wpgB/Zckj3n4saUH3cfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.7.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25388},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.7.3.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/f0f2ee95d16d99c703ef8a8f33249295/x402-fetch-0.7.3.tgz","_integrity":"sha512-LuMRN/cdWwWXvRTJq8PJkX5JOPyEKLPzehUsR3/VcZuINEYg/Nzd8Dhbcy64cmmLaIY9vDnx+J0/k4P+Zkz+Nw==","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"},"_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-fetch_0.7.3_1763779285930_0.11868977625810051","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"x402-fetch","version":"0.8.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"d1eea5d70256da6d3f6674e24bdf6ec6de3e0807","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-0.8.0.tgz","fileCount":8,"integrity":"sha512-TayUZW7QkBQh8I3KRet4R4rZIYlJNOe5YQujoseFUKrBjJnHo7VbYYCmxsJThIv2O0GvCA08+FSczIfvcZ9uAw==","signatures":[{"sig":"MEQCIHq4wXSh0C/ECy+zwOW7z1i1YGhAoG6lGs4mRxGjrBNVAiBjaQ/atYeQcEbY0dFA94GFtvtQm6gMr7KfAZzLifxzRA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25388},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-0.8.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/2e770b1888eb7f8e93281303c8784922/x402-fetch-0.8.0.tgz","_integrity":"sha512-TayUZW7QkBQh8I3KRet4R4rZIYlJNOe5YQujoseFUKrBjJnHo7VbYYCmxsJThIv2O0GvCA08+FSczIfvcZ9uAw==","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"},"_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-fetch_0.8.0_1765317867221_0.04004993005297508","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"x402-fetch","version":"1.0.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"f9938ff9aa04a2fb1d49e2f0e73b253756ae6555","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-1.0.0.tgz","fileCount":8,"integrity":"sha512-iwnKAVb5CitLJ9jHLlaU/59fDERy/7zPtB84Pr8yJYHjWIFABAXQPLCaUGjkLm1l/6X6mmmD5ipQX7CPkV4NSQ==","signatures":[{"sig":"MEQCIACmhtWHFyZ9PTvMnuNXFxausTLaFsBKqff4BcM26ATiAiAyjjKRLqaXQQ18EGNfNUik5Es5vwpwqrQczwG8nsIz/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25388},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/dcd69b3d210df01902ea8e4c4ec02ccd/x402-fetch-1.0.0.tgz","_integrity":"sha512-iwnKAVb5CitLJ9jHLlaU/59fDERy/7zPtB84Pr8yJYHjWIFABAXQPLCaUGjkLm1l/6X6mmmD5ipQX7CPkV4NSQ==","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"},"_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-fetch_1.0.0_1765325864192_0.0641104232916776","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"x402-fetch","version":"1.1.0","keywords":[],"author":{"name":"Coinbase Inc."},"license":"Apache-2.0","_id":"x402-fetch@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":"8aabdcad39a87d7d1f8e44a40ad186d792b6e83e","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-1.1.0.tgz","fileCount":8,"integrity":"sha512-cbuUrb258+5n/oZxnvw454+iuhBoFkLptr4WEvlcCi8Hg1utIA6n0O1KqXdBV7GgNmQ8LoUDOiVv9DEyIvnlTw==","signatures":[{"sig":"MEQCICuCDH3CiZZE07YOyV+fx+n/Ho3vyasMH+QyMhagNJYXAiBHbSV+q9G+S1iAMipASPxB8GWPSk0nn5mMx9J7hkkcMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25388},"main":"./dist/cjs/index.js","_from":"file:x402-fetch-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","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/8a64af32f51bbc7993f8b98fbd019a9c/x402-fetch-1.1.0.tgz","_integrity":"sha512-cbuUrb258+5n/oZxnvw454+iuhBoFkLptr4WEvlcCi8Hg1utIA6n0O1KqXdBV7GgNmQ8LoUDOiVv9DEyIvnlTw==","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"},"_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-fetch_1.1.0_1766526488954_0.11903379281677884","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"x402-fetch","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":{"@types/node":"^22.13.4","@eslint/js":"^9.24.0","eslint":"^9.24.0","eslint-plugin-jsdoc":"^50.6.9","eslint-plugin-prettier":"^5.2.6","@typescript-eslint/eslint-plugin":"^8.29.1","@typescript-eslint/parser":"^8.29.1","eslint-plugin-import":"^2.31.0","prettier":"3.5.2","tsup":"^8.4.0","tsx":"^4.19.2","typescript":"^5.7.3","vite-tsconfig-paths":"^5.1.4","vitest":"^3.0.5","vite":"^6.2.6"},"dependencies":{"viem":"^2.21.26","zod":"^3.24.2","x402":"^1.2.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.mts","default":"./dist/esm/index.mjs"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"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-fetch@1.2.0","bugs":{"url":"https://github.com/x402-foundation/x402/issues"},"homepage":"https://github.com/x402-foundation/x402#readme","_integrity":"sha512-CxCgPO4H4/ADZC31gSUCS/CipkUyppzMJRU3jGrEuhO+2k0optszH+kwO0XJ6pVyDprIT6PvGbmNJ4TGKSCAcQ==","_resolved":"/tmp/7c2f2c9d62c4abb575ed9f3a89d535f7/x402-fetch-1.2.0.tgz","_from":"file:x402-fetch-1.2.0.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.12.1","dist":{"integrity":"sha512-CxCgPO4H4/ADZC31gSUCS/CipkUyppzMJRU3jGrEuhO+2k0optszH+kwO0XJ6pVyDprIT6PvGbmNJ4TGKSCAcQ==","shasum":"31451a29d65798c28cc6eb62a6476f878ecb449f","tarball":"https://registry.npmjs.org/x402-fetch/-/x402-fetch-1.2.0.tgz","fileCount":8,"unpackedSize":25750,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/x402-fetch@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCbBMApQ3zyHihWz9P416rmEOlGLjUUGXy9YaqJ27C5ZgIgHXM/eVR3QI9jhoENf7TvQmt9s1whG9vFfwBWm+v4LWY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f58d2399-3011-4404-89a3-b62a79cd2282"}},"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-fetch_1.2.0_1776321013512_0.14870198219217978"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-16T18:49:39.823Z","modified":"2026-04-16T06:30:13.924Z","0.0.0":"2025-04-16T18:49:40.080Z","0.1.0":"2025-04-25T19:52:06.667Z","0.3.0":"2025-05-06T00:43:05.871Z","0.3.1":"2025-05-06T15:38:13.189Z","0.3.2":"2025-05-07T22:10:46.044Z","0.3.3":"2025-05-10T00:01:39.184Z","0.4.0":"2025-06-13T21:36:01.880Z","0.4.1":"2025-06-20T22:00:32.736Z","0.4.2":"2025-07-18T21:31:50.350Z","0.5.0":"2025-08-09T14:14:10.255Z","0.5.1":"2025-08-12T13:36:57.495Z","0.6.0":"2025-09-06T01:27:19.329Z","0.6.6":"2025-10-03T22:11:15.555Z","0.7.0":"2025-10-27T16:36:37.856Z","0.7.2":"2025-11-20T19:02:46.578Z","0.7.3":"2025-11-22T02:41:26.150Z","0.8.0":"2025-12-09T22:04:27.367Z","1.0.0":"2025-12-10T00:17:44.369Z","1.1.0":"2025-12-23T21:48:09.092Z","1.2.0":"2026-04-16T06:30:13.650Z"},"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-fetch\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/fetch`, `@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\nA utility package that extends the native `fetch` API to automatically handle 402 Payment Required responses using the x402 payment protocol. This package enables seamless integration of payment functionality into your applications when making HTTP requests.\n\n## Installation\n\n```bash\nnpm install x402-fetch\n```\n\n## Quick Start\n\n```typescript\nimport { createWalletClient, http } from \"viem\";\nimport { privateKeyToAccount } from \"viem/accounts\";\nimport { wrapFetchWithPayment } from \"x402-fetch\";\nimport { baseSepolia } from \"viem/chains\";\n\n// Create a wallet client\nconst account = privateKeyToAccount(\"0xYourPrivateKey\");\nconst client = createWalletClient({\n  account,\n  transport: http(),\n  chain: baseSepolia,\n});\n\n// Wrap the fetch function with payment handling\nconst fetchWithPay = wrapFetchWithPayment(fetch, client);\n\n// Make a request that may require payment\nconst response = await fetchWithPay(\"https://api.example.com/paid-endpoint\", {\n  method: \"GET\",\n});\n\nconst data = await response.json();\n```\n\n## API\n\n### `wrapFetchWithPayment(fetch, walletClient, maxValue?, paymentRequirementsSelector?)`\n\nWraps the native fetch API to handle 402 Payment Required responses automatically.\n\n#### Parameters\n\n- `fetch`: The fetch function to wrap (typically `globalThis.fetch`)\n- `walletClient`: The wallet client used to sign payment messages (must implement the x402 wallet interface)\n- `maxValue`: Optional maximum allowed payment amount in base units (defaults to 0.1 USDC)\n- `paymentRequirementsSelector`: Optional function to select payment requirements from the response (defaults to `selectPaymentRequirements`)\n\n#### Returns\n\nA wrapped fetch function that automatically handles 402 responses by:\n1. Making the initial request\n2. If a 402 response is received, parsing the payment requirements\n3. Verifying the payment amount is within the allowed maximum\n4. Creating a payment header using the provided wallet client\n5. Retrying the request with the payment header\n\n## Example\n\n```typescript\nimport { config } from \"dotenv\";\nimport { createWalletClient, http } from \"viem\";\nimport { privateKeyToAccount } from \"viem/accounts\";\nimport { wrapFetchWithPayment } from \"x402-fetch\";\nimport { baseSepolia } from \"viem/chains\";\n\nconfig();\n\nconst { PRIVATE_KEY, API_URL } = process.env;\n\nconst account = privateKeyToAccount(PRIVATE_KEY as `0x${string}`);\nconst client = createWalletClient({\n  account,\n  transport: http(),\n  chain: baseSepolia,\n});\n\nconst fetchWithPay = wrapFetchWithPayment(fetch, client);\n\n// Make a request to a paid API endpoint\nfetchWithPay(API_URL, {\n  method: \"GET\",\n})\n  .then(async response => {\n    const data = await response.json();\n    console.log(data);\n  })\n  .catch(error => {\n    console.error(error);\n  });\n```\n\n","readmeFilename":"README.md"}