rithub-billing recorded who paid but told nobody and never linked a payment to a Rithub login. The lifecycle timer now runs a Pro pass: email -> login link, one 'rithub pro is on' mail to the customer, an owner mail on every status change, and pro-users.json as the one list later Pro limits read. Tested on railyard-box with a fake entitlement and mail.tm inboxes: mails delivered, second run sends nothing, revoke mails the owner only. rithub-billing source copied in from the box (it only lived there). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
359 B
JSON
15 lines
359 B
JSON
{
|
|
"name": "rithub-billing",
|
|
"version": "0.1.0",
|
|
"description": "Rithub Pro checkout + Dodo Payments webhook (RIT-MON). No per-seat billing framing kept; this is the one self-serve paid plan.",
|
|
"type": "module",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"start": "node bin/start.mjs"
|
|
},
|
|
"license": "UNLICENSED"
|
|
}
|