{"_id":"@bit-gpt/h402-next","_rev":"8-176c450e58c46586520b789228fb661f","name":"@bit-gpt/h402-next","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@bit-gpt/h402-next","version":"0.0.1","keywords":[],"author":{"name":"BitGPT"},"license":"Apache-2.0","_id":"@bit-gpt/h402-next@0.0.1","maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"homepage":"https://github.com/bit-gpt/h402#readme","bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"dist":{"shasum":"bc568702acfa6155f56f0fcecd94c784376971cd","tarball":"https://registry.npmjs.org/@bit-gpt/h402-next/-/h402-next-0.0.1.tgz","fileCount":9,"integrity":"sha512-G4zJq/ewXp3FNhN1AxMX9Mv9SDvfpFZEYV5/1z66njiNxY6UfKy5ubR6PQH3Gi6JEuXc5bu7PxA3Z2hy3ltRKw==","signatures":[{"sig":"MEUCIQCRd3EDx1exYCwfMzflEuA0xHs1fvGU/NsZgYUnjclaQwIgWI7fTRdEmbIbyfZAEct2wxaIYLpiHVy0TVfQju61slc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37645},"main":"./dist/cjs/index.js","type":"module","_from":"file:bit-gpt-h402-next-0.0.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","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","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\""},"_npmUser":{"name":"bit-gpt","actor":{"name":"bit-gpt","type":"user","email":"dan@bitgpt.xyz"},"email":"dan@bitgpt.xyz"},"_resolved":"/tmp/4f2010e13b127f5b462e983db878a054/bit-gpt-h402-next-0.0.1.tgz","_integrity":"sha512-G4zJq/ewXp3FNhN1AxMX9Mv9SDvfpFZEYV5/1z66njiNxY6UfKy5ubR6PQH3Gi6JEuXc5bu7PxA3Z2hy3ltRKw==","repository":{"url":"git+https://github.com/bit-gpt/h402.git","type":"git"},"_npmVersion":"11.4.2","description":"h402 Payment Protocol","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","@bit-gpt/h402":"^0.0.15"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","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/h402-next_0.0.1_1751830694854_0.15574036580286554","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@bit-gpt/h402-next","version":"0.0.2","keywords":[],"author":{"name":"BitGPT"},"license":"Apache-2.0","_id":"@bit-gpt/h402-next@0.0.2","maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"homepage":"https://github.com/bit-gpt/h402#readme","bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"dist":{"shasum":"5e5932b9debfac7ab9565fce0935aac31c57174f","tarball":"https://registry.npmjs.org/@bit-gpt/h402-next/-/h402-next-0.0.2.tgz","fileCount":9,"integrity":"sha512-nQhhYLk6719QL+rPdehbdU7QUPTeiw4IAFQ+5qX+WsJ71XLfC0BtbGqQG1uc1l8A2VoDkDcRCqcVQEPBL22kXQ==","signatures":[{"sig":"MEYCIQC9xCJRh3F4wI9wCCjtzrx3Gji+OM1rwrNiSZsyLQ8dcQIhAK8s4QkCqryEZdL93cPNiuU41OI6MrXzVkfV2k85/Rhz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37645},"main":"./dist/cjs/index.js","type":"module","_from":"file:bit-gpt-h402-next-0.0.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","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","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\""},"_npmUser":{"name":"bit-gpt","email":"dan@bitgpt.xyz"},"_resolved":"/tmp/a7cb1949e99564ab085157013f71b862/bit-gpt-h402-next-0.0.2.tgz","_integrity":"sha512-nQhhYLk6719QL+rPdehbdU7QUPTeiw4IAFQ+5qX+WsJ71XLfC0BtbGqQG1uc1l8A2VoDkDcRCqcVQEPBL22kXQ==","repository":{"url":"git+https://github.com/bit-gpt/h402.git","type":"git"},"_npmVersion":"10.9.3","description":"h402 Payment Protocol","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","@bit-gpt/h402":"^0.0.16"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","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/h402-next_0.0.2_1755095411896_0.17646750808969314","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@bit-gpt/h402-next","version":"0.0.3","keywords":[],"author":{"name":"BitGPT"},"license":"Apache-2.0","_id":"@bit-gpt/h402-next@0.0.3","maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"homepage":"https://github.com/bit-gpt/h402#readme","bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"dist":{"shasum":"9742a199bd7cde66a8d754283f2866415b9c5daa","tarball":"https://registry.npmjs.org/@bit-gpt/h402-next/-/h402-next-0.0.3.tgz","fileCount":9,"integrity":"sha512-EuqI7zAGaO/sUJBJFjux5OaUE3sy582ezgeYFXe06xj4fuzB+K1VBViCh64h/8AGPOcUnhknhd6au6uwLnyX/w==","signatures":[{"sig":"MEUCIA+83dZihnUWXEqtxqEiTNCJG3xfImymgdRyVyqVrn2AAiEA35jxqv1Ab1mR09qNNN6TJkW7uKoG6zsOh/iJNvr0BFI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37645},"main":"./dist/cjs/index.js","type":"module","_from":"file:bit-gpt-h402-next-0.0.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","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","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\""},"_npmUser":{"name":"bit-gpt","email":"dan@bitgpt.xyz"},"_resolved":"/tmp/eb3d54281911d53feaac3b3dd9805dff/bit-gpt-h402-next-0.0.3.tgz","_integrity":"sha512-EuqI7zAGaO/sUJBJFjux5OaUE3sy582ezgeYFXe06xj4fuzB+K1VBViCh64h/8AGPOcUnhknhd6au6uwLnyX/w==","repository":{"url":"git+https://github.com/bit-gpt/h402.git","type":"git"},"_npmVersion":"10.9.3","description":"h402 Payment Protocol","directories":{},"_nodeVersion":"22.19.0","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","@bit-gpt/h402":"^0.0.17"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","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/h402-next_0.0.3_1757528452255_0.8007526444872735","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@bit-gpt/h402-next","version":"0.0.4","keywords":[],"author":{"name":"BitGPT"},"license":"Apache-2.0","_id":"@bit-gpt/h402-next@0.0.4","maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"homepage":"https://github.com/bit-gpt/h402#readme","bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"dist":{"shasum":"2de49a19cd8a48c94eb9bd0bc769e2b837ea59eb","tarball":"https://registry.npmjs.org/@bit-gpt/h402-next/-/h402-next-0.0.4.tgz","fileCount":9,"integrity":"sha512-4Er73tQeOMGPsYoFHLWA/4Xr4dCBTMcggrsrh36JKT1VKr2BklIgmWUg5PS3FRN8mkDFIMiHRx30FwoUqKYNTg==","signatures":[{"sig":"MEYCIQDjcx3wd05sQ8Ydj1zYMzVOjSF3Rv839VW7CD/SeFjujAIhAPmftsWqCTAfJUT0xVsCoGpxZyzi/0uy8caSTN+P2u2x","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37645},"main":"./dist/cjs/index.js","type":"module","_from":"file:bit-gpt-h402-next-0.0.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","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","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\""},"_npmUser":{"name":"bit-gpt","email":"dan@bitgpt.xyz"},"_resolved":"/tmp/8219694bff37ec4762ef95ac831f258f/bit-gpt-h402-next-0.0.4.tgz","_integrity":"sha512-4Er73tQeOMGPsYoFHLWA/4Xr4dCBTMcggrsrh36JKT1VKr2BklIgmWUg5PS3FRN8mkDFIMiHRx30FwoUqKYNTg==","repository":{"url":"git+https://github.com/bit-gpt/h402.git","type":"git"},"_npmVersion":"10.9.3","description":"h402 Payment Protocol","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","@bit-gpt/h402":"^0.0.18"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","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/h402-next_0.0.4_1759840907851_0.8864908905413302","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@bit-gpt/h402-next","version":"0.0.5","keywords":[],"author":{"name":"BitGPT"},"license":"Apache-2.0","_id":"@bit-gpt/h402-next@0.0.5","maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"homepage":"https://github.com/bit-gpt/h402#readme","bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"dist":{"shasum":"6e5a48b16cb559119872dceaddd7ca560013b0fa","tarball":"https://registry.npmjs.org/@bit-gpt/h402-next/-/h402-next-0.0.5.tgz","fileCount":9,"integrity":"sha512-Ez2zlJan8toer7727y4q9COhMIZyjXNVa0iiVrrZRPJFqxdIa7C98m4AvCWUGoKKYmCK7yVef0bzU615PNB5yw==","signatures":[{"sig":"MEQCIEIX4u6ARGDa4YwDOYZ7+6obDi0YG+AzYSClh3Toby1PAiA5L9XorYzn85DKyuw3/2QyBU3kdov6k9ZafvNUujwbkg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37645},"main":"./dist/cjs/index.js","type":"module","_from":"file:bit-gpt-h402-next-0.0.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","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","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\""},"_npmUser":{"name":"bit-gpt","email":"dan@bitgpt.xyz"},"_resolved":"/tmp/352b2abe1ec540a9032bf7de7b1e3a1d/bit-gpt-h402-next-0.0.5.tgz","_integrity":"sha512-Ez2zlJan8toer7727y4q9COhMIZyjXNVa0iiVrrZRPJFqxdIa7C98m4AvCWUGoKKYmCK7yVef0bzU615PNB5yw==","repository":{"url":"git+https://github.com/bit-gpt/h402.git","type":"git"},"_npmVersion":"10.9.3","description":"h402 Payment Protocol","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","@bit-gpt/h402":"^0.0.19"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","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/h402-next_0.0.5_1760365341553_0.5876477403609659","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@bit-gpt/h402-next","version":"0.0.6","keywords":[],"author":{"name":"BitGPT"},"license":"Apache-2.0","_id":"@bit-gpt/h402-next@0.0.6","maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"homepage":"https://github.com/bit-gpt/h402#readme","bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"dist":{"shasum":"16b140b7f1ad3cdfccd14ff9c483f43947dc57a3","tarball":"https://registry.npmjs.org/@bit-gpt/h402-next/-/h402-next-0.0.6.tgz","fileCount":9,"integrity":"sha512-h9y8EHzlGCUFFt+KXq8dYwalK/HMUdtRZILs9wclq+V+l3DUOq5EwPev/jUcMZzF1H0yCnvexodeMOPBAuf70w==","signatures":[{"sig":"MEQCIGW20S4gtV01EsWxfl4WcHduJwHB/4VXdLoM49hv9BzGAiBXGoG41eYze4PscBKwyKRo6ssl5bwEihcB89zLDMVqGw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37645},"main":"./dist/cjs/index.js","type":"module","_from":"file:bit-gpt-h402-next-0.0.6.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","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","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\""},"_npmUser":{"name":"bit-gpt","email":"dan@bitgpt.xyz"},"_resolved":"/tmp/0ca82c20435c9cb1de087658233516dc/bit-gpt-h402-next-0.0.6.tgz","_integrity":"sha512-h9y8EHzlGCUFFt+KXq8dYwalK/HMUdtRZILs9wclq+V+l3DUOq5EwPev/jUcMZzF1H0yCnvexodeMOPBAuf70w==","repository":{"url":"git+https://github.com/bit-gpt/h402.git","type":"git"},"_npmVersion":"10.9.3","description":"h402 Payment Protocol","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","@bit-gpt/h402":"^0.0.20"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","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/h402-next_0.0.6_1760457684009_0.0922759684232426","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@bit-gpt/h402-next","version":"0.0.7","keywords":[],"author":{"name":"BitGPT"},"license":"Apache-2.0","_id":"@bit-gpt/h402-next@0.0.7","maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"homepage":"https://github.com/bit-gpt/h402#readme","bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"dist":{"shasum":"559953461d869dbf481ec5f13caf4d92b770c5d5","tarball":"https://registry.npmjs.org/@bit-gpt/h402-next/-/h402-next-0.0.7.tgz","fileCount":9,"integrity":"sha512-3/SvrGa0jQ7C7dc8Qzdzyydl6FuYxzh7EPcbB+fAMFasjFiubnfDn3dszPMky+kXNlYqCdIGIbMbfl1MlipyEg==","signatures":[{"sig":"MEUCIDOX7ytoXxr7Vt+DnaTlicMJsmGoTrshzIerCUNtUo5jAiEA6CjMZL0ePBVLq1g1xlWQF9Fo4QeL0dEWA70Ux7p4zM0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37645},"main":"./dist/cjs/index.js","type":"module","_from":"file:bit-gpt-h402-next-0.0.7.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","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","format:check":"prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\""},"_npmUser":{"name":"bit-gpt","email":"dan@bitgpt.xyz"},"_resolved":"/tmp/da83e3b8cd3e36ade43736aff28e0f96/bit-gpt-h402-next-0.0.7.tgz","_integrity":"sha512-3/SvrGa0jQ7C7dc8Qzdzyydl6FuYxzh7EPcbB+fAMFasjFiubnfDn3dszPMky+kXNlYqCdIGIbMbfl1MlipyEg==","repository":{"url":"git+https://github.com/bit-gpt/h402.git","type":"git"},"_npmVersion":"10.9.4","description":"h402 Payment Protocol","directories":{},"_nodeVersion":"22.21.0","dependencies":{"zod":"^3.24.2","next":"^15.2.4","viem":"^2.23.1","@bit-gpt/h402":"^0.0.21"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tsup":"^8.4.0","vite":"^6.2.6","eslint":"^9.24.0","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/h402-next_0.0.7_1761488810079_0.9902504525849636","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@bit-gpt/h402-next","version":"0.0.8","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/index.d.ts","keywords":[],"license":"Apache-2.0","author":{"name":"BitGPT"},"repository":{"type":"git","url":"git+https://github.com/bit-gpt/h402.git"},"description":"h402 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","vite":"^6.2.6"},"dependencies":{"viem":"^2.23.1","next":"^15.2.4","zod":"^3.24.2","@bit-gpt/h402":"^0.0.22"},"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","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":"@bit-gpt/h402-next@0.0.8","bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"homepage":"https://github.com/bit-gpt/h402#readme","_integrity":"sha512-re6+vyOdYzmsZVEY56PE89LUq40rqCJUWPZr0qoBsWdOJ4OycFi1bTH4rSwpFRHyew9NeRk6BzevTg1AJWoGZQ==","_resolved":"/tmp/6c77fd301dba9acd52195e0e88d0dd7e/bit-gpt-h402-next-0.0.8.tgz","_from":"file:bit-gpt-h402-next-0.0.8.tgz","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-re6+vyOdYzmsZVEY56PE89LUq40rqCJUWPZr0qoBsWdOJ4OycFi1bTH4rSwpFRHyew9NeRk6BzevTg1AJWoGZQ==","shasum":"147e9828ea18236f1fc4ce006475edf218cb9ae3","tarball":"https://registry.npmjs.org/@bit-gpt/h402-next/-/h402-next-0.0.8.tgz","fileCount":9,"unpackedSize":37637,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID37EmFZYKi4NuevkbCtgKfdH9ZFoIwsb/0a1amTpuvFAiEAmwT1vGpQHzsyd9dFCKP8gJUp257cnAH7eGde1I0voFk="}]},"_npmUser":{"name":"bit-gpt","email":"dan@bitgpt.xyz"},"directories":{},"maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/h402-next_0.0.8_1762447486734_0.018108610842424655"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-06T19:38:14.778Z","modified":"2025-11-06T16:44:47.168Z","0.0.1":"2025-07-06T19:38:15.030Z","0.0.2":"2025-08-13T14:30:12.102Z","0.0.3":"2025-09-10T18:20:52.419Z","0.0.4":"2025-10-07T12:41:48.027Z","0.0.5":"2025-10-13T14:22:21.774Z","0.0.6":"2025-10-14T16:01:24.203Z","0.0.7":"2025-10-26T14:26:50.292Z","0.0.8":"2025-11-06T16:44:46.987Z"},"bugs":{"url":"https://github.com/bit-gpt/h402/issues"},"author":{"name":"BitGPT"},"license":"Apache-2.0","homepage":"https://github.com/bit-gpt/h402#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/bit-gpt/h402.git"},"description":"h402 Payment Protocol","maintainers":[{"name":"bit-gpt","email":"dan@bitgpt.xyz"}],"readme":"# h402-next\n\nNext.js middleware integration for the h402 Payment Protocol. This package allows you to easily add paywall functionality to your Next.js applications using the h402 protocol.\n\n## Installation\n\n```bash\nnpm install @bit-gpt/h402-next\n```\n\n## Quick Start\n\nCreate a middleware file in your Next.js project (e.g., `middleware.ts`):\n\n```typescript\nimport { paymentMiddleware, Network } from 'h402-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: [\n    '/protected/:path*',\n  ]\n};\n```\n\n## Configuration\n\nThe `paymentMiddleware` function accepts three parameters:\n\n1. `payTo`: Your receiving address (`0x${string}`)\n2. `routes`: Route configurations for protected endpoints\n3. `facilitator`: (Optional) Configuration for the h402 facilitator service\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, 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 h402 facilitator service\n  createAuthHeaders?: CreateHeaders;  // Optional function to create authentication headers\n};\n```\n","readmeFilename":"README.md"}