{"_id":"@402kit/core","_rev":"5-d054ad9c9839c8ee7f0cfbab53bcdd72","name":"@402kit/core","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"@402kit/core","version":"0.1.0","keywords":["http","402","payment","x402"],"license":"Apache-2.0","_id":"@402kit/core@0.1.0","maintainers":[{"name":"402kit","email":"402kit@402kit.dev"}],"homepage":"https://github.com/402kit/402kit#readme","bugs":{"url":"https://github.com/402kit/402kit/issues"},"dist":{"shasum":"f54998fffc4ea9eb4f4d52dfe6acd15abd77c224","tarball":"https://registry.npmjs.org/@402kit/core/-/core-0.1.0.tgz","fileCount":9,"integrity":"sha512-/ZiY7PmkaIH37c/9cUwBSZisiepdwXf6RuiLxjIqbGxkomNAWYgiJFZtmDsWoXmoyg0sGXEZ4jMEPVkod8N0Kg==","signatures":[{"sig":"MEUCIQCCQ8lBx8N6fDQx7O/l3FVwVGAeYA50ZVvtrHkfeY5E4wIgWIq/X4YVl/tuyypj9GOYHZrVcPBW+1LQBXWc/y8s26c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97605},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"99224724ac04ec0a4b2b6df5e4e89c0447ad3fb9","scripts":{"test":"vitest run","build":"tsup","prepack":"pnpm build","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"402kit","email":"402kit@402kit.dev"},"deprecated":"Broken: contains workspace:* dependencies. Use 0.1.1 instead.","repository":{"url":"git+https://github.com/402kit/402kit.git","type":"git"},"_npmVersion":"11.5.2","description":"Core types, schemas, and utilities for 402Kit","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^1.3.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1760971086093_0.824326371547816","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@402kit/core","version":"0.1.1","keywords":["http","402","payment","x402"],"license":"Apache-2.0","_id":"@402kit/core@0.1.1","maintainers":[{"name":"402kit","email":"402kit@402kit.dev"}],"homepage":"https://github.com/402kit/402kit#readme","bugs":{"url":"https://github.com/402kit/402kit/issues"},"dist":{"shasum":"f508803390dc289973681ce27cb50ac753f121e4","tarball":"https://registry.npmjs.org/@402kit/core/-/core-0.1.1.tgz","fileCount":9,"integrity":"sha512-uG+CIum1t/M9XbfiLpFjk5MIp/VUIywoOCxc+DRk1uW0uLVWiILoX3MG2oaJQZzwY/HqdEaMkkcxq6uuXzAg4A==","signatures":[{"sig":"MEYCIQCVLpoqA6/MnSVKik6jVGgVaKjMJWQBSpWDvOPx/+TxKwIhAON8p2e9DFZ94HfNnwBdGKPpI/WG3OXRMOcnrNce5ZoJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97605},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"99224724ac04ec0a4b2b6df5e4e89c0447ad3fb9","scripts":{"test":"vitest run","build":"tsup","prepack":"pnpm build","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"402kit","email":"402kit@402kit.dev"},"repository":{"url":"git+https://github.com/402kit/402kit.git","type":"git"},"_npmVersion":"11.5.2","description":"Core types, schemas, and utilities for 402Kit","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^1.3.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.1_1760973019457_0.25944427136832515","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@402kit/core","version":"0.1.2","keywords":["402kit","http 402","x402","payments","micropayments","sdk","types"],"author":{"name":"402Kit Authors"},"license":"Apache-2.0","_id":"@402kit/core@0.1.2","maintainers":[{"name":"402kit","email":"402kit@402kit.dev"}],"homepage":"https://github.com/402kit/402kit#readme","bugs":{"url":"https://github.com/402kit/402kit/issues"},"dist":{"shasum":"29345ce2cc6456890faabddee35d724f17068d3d","tarball":"https://registry.npmjs.org/@402kit/core/-/core-0.1.2.tgz","fileCount":9,"integrity":"sha512-EZ48gwlI/wcjrTcfeuWC5oNKivhtfB9xRZumn5BBCtbX8e8hc6x9u6UfyNFDqI1X97FcFZauQdwODl/N0JEeXA==","signatures":[{"sig":"MEUCIQDR4Z/HudNLPf9bLYRNqLAOna7lKT6Nr8uKdXmyZrzVPgIgUkhJhCg2xu79vUjEdwZgHbGEbRUSwiyPrw8bAfLI0pU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97874},"main":"./dist/index.cjs","type":"module","_from":"file:402kit-core-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"402kit","email":"402kit@402kit.dev"},"_resolved":"/private/var/folders/6c/6xv7gwvn6jzc7rz8pn1_3_vm0000gn/T/9fd7e7836c7ae681ad9fcae1398230c7/402kit-core-0.1.2.tgz","_integrity":"sha512-EZ48gwlI/wcjrTcfeuWC5oNKivhtfB9xRZumn5BBCtbX8e8hc6x9u6UfyNFDqI1X97FcFZauQdwODl/N0JEeXA==","repository":{"url":"git+https://github.com/402kit/402kit.git","type":"git","directory":"packages/core"},"_npmVersion":"11.5.2","description":"Core SDK for HTTP 402 (x402) payments and entitlements","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^1.3.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.2_1761341469428_0.18151345134326613","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@402kit/core","version":"0.1.3","description":"Core SDK for HTTP 402 (x402) payments and entitlements","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"sideEffects":false,"keywords":["402kit","http 402","x402","payments","micropayments","sdk","types"],"author":{"name":"402Kit Authors"},"license":"Apache-2.0","homepage":"https://github.com/402kit/402kit#readme","bugs":{"url":"https://github.com/402kit/402kit/issues"},"engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/402kit/402kit.git","directory":"packages/core"},"publishConfig":{"access":"public"},"devDependencies":{"tsup":"^8.5.0","typescript":"^5.3.3","vitest":"^1.3.1"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest"},"_id":"@402kit/core@0.1.3","_integrity":"sha512-YDuEM1JYaGPK2MHzs9e7rAhsgmJK/Um9ruOOBPGCgFztyFjHMkmRpSxVIqQ2kTPjbNHX+/SvfXb92BisvhTUJg==","_resolved":"/tmp/d6ab25400fe26608284571d8207c8513/402kit-core-0.1.3.tgz","_from":"file:402kit-core-0.1.3.tgz","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-YDuEM1JYaGPK2MHzs9e7rAhsgmJK/Um9ruOOBPGCgFztyFjHMkmRpSxVIqQ2kTPjbNHX+/SvfXb92BisvhTUJg==","shasum":"19f8a4f3c2dcaf3338526f4dd14cc74c54666347","tarball":"https://registry.npmjs.org/@402kit/core/-/core-0.1.3.tgz","fileCount":9,"unpackedSize":104360,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@402kit%2fcore@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEpuYxqm3nK/I7YvRgeSFJm/M/exWE0Rs37mXbrKhN7wAiB8OWh98sq1Z0yEuSSkukYO8tAdKaoZTDc7Xt3VEjURaQ=="}]},"_npmUser":{"name":"402kit","email":"402kit@402kit.dev"},"directories":{},"maintainers":[{"name":"402kit","email":"402kit@402kit.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.3_1761515206488_0.6249620440719448"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-20T14:38:05.987Z","modified":"2025-10-26T21:46:47.532Z","0.1.0":"2025-10-20T14:38:06.275Z","0.1.1":"2025-10-20T15:10:19.627Z","0.1.2":"2025-10-24T21:31:09.621Z","0.1.3":"2025-10-26T21:46:46.715Z"},"bugs":{"url":"https://github.com/402kit/402kit/issues"},"author":{"name":"402Kit Authors"},"license":"Apache-2.0","homepage":"https://github.com/402kit/402kit#readme","keywords":["402kit","http 402","x402","payments","micropayments","sdk","types"],"repository":{"type":"git","url":"git+https://github.com/402kit/402kit.git","directory":"packages/core"},"description":"Core SDK for HTTP 402 (x402) payments and entitlements","maintainers":[{"name":"402kit","email":"402kit@402kit.dev"}],"readme":"# @402kit/core\n\nCore SDK for HTTP 402 (x402) payments and entitlements. Essential types, schemas, and utilities for building 402kit-powered applications with micropayment support.\n\n## Installation\n\n```bash\nnpm install @402kit/core\n```\n\n## Features\n\n- HTTP 402 Payment Required protocol support\n- x402 facilitator protocol implementation\n- TypeScript types and Zod validation schemas\n- 402kit ecosystem foundation\n- Zero runtime dependencies\n- **Cryptographically secure nonce and UUID generation** using Web Crypto API\n\n## Quick Start\n\n```typescript\nimport { validateChallenge, encodeChallengeBody } from '@402kit/core';\n\n// Validate HTTP 402 payment challenges\nconst isValid = validateChallenge(challenge);\n```\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}