Files
paykit/package.json
T
Cato f48ee4b0a9 feat: sell a time-boxed pass through a payment provider, Bitcoin through OrangeCat first (0.2.0) (#15)
* feat: sell a time-boxed pass through a payment provider, Bitcoin through OrangeCat first

- @bitbaum/paykit/checkout: PaymentProvider (createCheckout, status,
  verifyWebhook), Plan, Checkout, SettledEvent; entitlement helpers and
  applySettlement, idempotent on the payment id.
- @bitbaum/paykit/orangecat: the account-less OrangeCat payment as a
  provider, and the X-OrangeCat-Signature check.

Claude-Session: https://claude.ai/code/session_019MDtmsubNtjznXC5pMf4fD

* feat(orangecat): read the payee from OrangeCat

payee(id) returns the receiving entity's name, its page and whether it shows
an address to pay, so an app can say honestly that nobody can pay it yet.

Claude-Session: https://claude.ai/code/session_019MDtmsubNtjznXC5pMf4fD
2026-11-10 11:19:41 +01:00

51 lines
1.5 KiB
JSON

{
"name": "@bitbaum/paykit",
"version": "0.2.0",
"description": "Let a website get paid without holding the money. Sell time-boxed passes through a payment provider (Bitcoin through an OrangeCat account), classify a pasted Bitcoin receive string, and record a shown code (Twint, another currency) the visitor pays in their own app.",
"license": "MIT",
"author": "Mao Nakamoto",
"homepage": "https://bitbaum.orangecat.ch/packages/paykit/",
"repository": {
"type": "git",
"url": "git+https://github.com/bitbaum/paykit.git"
},
"bugs": {
"url": "https://github.com/bitbaum/paykit/issues"
},
"keywords": ["bitcoin", "lightning", "payments", "headless", "checkout", "webhook", "orangecat"],
"type": "module",
"sideEffects": false,
"packageManager": "pnpm@11.25.0",
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public"
},
"files": ["dist"],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./checkout": {
"types": "./dist/checkout/index.d.ts",
"default": "./dist/checkout/index.js"
},
"./orangecat": {
"types": "./dist/orangecat/index.d.ts",
"default": "./dist/orangecat/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "node --test test/*.test.js",
"verify": "pnpm run typecheck && pnpm run build && pnpm test"
},
"devDependencies": {
"@types/node": "^26.4.1",
"typescript": "^6.0.3"
}
}