{"_id":"@absolutejs/commerce-programs","name":"@absolutejs/commerce-programs","dist-tags":{"beta":"0.2.0-beta.0","latest":"0.2.0-beta.0"},"versions":{"0.2.0-beta.0":{"name":"@absolutejs/commerce-programs","version":"0.2.0-beta.0","description":"Commerce kit and employer-funded store-credit contracts for AbsoluteJS storefronts","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"bun test","typecheck":"tsc --noEmit","build":"bun build src/index.ts --outdir dist --target bun && tsc --noEmit false --emitDeclarationOnly --declaration --outDir dist","check:package":"bun run typecheck && bun run test && bun run build","prepublishOnly":"bun run check:package"},"devDependencies":{"@types/bun":"^1.4.0","typescript":"5.9.3"},"license":"Apache-2.0","author":{"name":"Alex Kahn"},"repository":{"type":"git","url":"git+https://github.com/absolutejs/commerce-adapters.git","directory":"programs"},"_id":"@absolutejs/commerce-programs@0.2.0-beta.0","gitHead":"40ab12554ca64a1584f794295d27a1c5215a43e6","bugs":{"url":"https://github.com/absolutejs/commerce-adapters/issues"},"homepage":"https://github.com/absolutejs/commerce-adapters#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-mQYFbq4dvs0ERhGdBz/Wuvr00TjCuuOLzHikDMhA2im9XwQu55RxH2lsyOwdmH8BbcBLRR52ivFtrJITPBkkaw==","shasum":"dbc066917877b54b571e5668c9bfe810f67cba84","tarball":"https://registry.npmjs.org/@absolutejs/commerce-programs/-/commerce-programs-0.2.0-beta.0.tgz","fileCount":5,"unpackedSize":11016,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD16MFhXZjzl1UMV7r/ZcOU2bwUQezUzmqOlneUqg4O0QIgCVWS0OHoZdvc0PddHO/7XQ77DSg5aWx6bvpGswu8xyE="}]},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"directories":{},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/commerce-programs_0.2.0-beta.0_1789079478784_0.6850318435315395"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-10T22:31:18.593Z","0.2.0-beta.0":"2026-09-10T22:31:18.912Z","modified":"2026-09-10T22:31:19.233Z"},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"description":"Commerce kit and employer-funded store-credit contracts for AbsoluteJS storefronts","homepage":"https://github.com/absolutejs/commerce-adapters#readme","repository":{"type":"git","url":"git+https://github.com/absolutejs/commerce-adapters.git","directory":"programs"},"author":{"name":"Alex Kahn"},"bugs":{"url":"https://github.com/absolutejs/commerce-adapters/issues"},"license":"Apache-2.0","readme":"# AbsoluteJS commerce programs\n\nReusable kit contracts, fixed-price allocation, cart membership validation and employer-funded store-credit calculations.\n\nHosts must resolve trusted products, variants and prices and persist ledger effects transactionally. Browser kit metadata is never price authority. `kitCartIssues` validates component membership, quantities and fixed variants; `allocateFixedKitPrice` distributes an authoritative total into exact line cents.\n","readmeFilename":"README.md","_rev":"1-f0fbf24f9855b0c7b145e683450521a6"}