mirror of
https://github.com/bitbaum/paykit.git
synced 2026-12-04 04:07:46 +01:00
* 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
51 lines
1.5 KiB
JSON
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"
|
|
}
|
|
}
|