logicsrc/apps/pwa/package.json
Anthony Ettinger 50eefed36d feat(rotation): buy automatic rotation, $29 per team per 30 days (CoinPay)
- Rotation page button + POST /api/credshare/teams/:slug/rotation/auto/checkout
  open a CoinPay hosted checkout (owner/admin only).
- POST /api/coinpay/webhook and the page's return check settle once per checkout
  session (rotation_payments); paying again extends from the current end.
- Hourly sweep: renewal email 3 days before, switch off when the days run out.
  A team switched on by hand (paid_until NULL) never expires.
- Migration 012 (both dialects), CSP form-action allows coinpayportal.com.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 05:11:16 +00:00

28 lines
857 B
JSON

{
"name": "@logicsrc/pwa",
"version": "0.1.1",
"private": true,
"type": "module",
"description": "LogicSRC credentials — Express app on Postgres (@profullstack/libsql-pg): auth + end-to-end-encrypted team credential sharing.",
"scripts": {
"start": "bun src/server.mjs",
"dev": "bun --watch src/server.mjs",
"migrate": "bun src/migrate.mjs",
"test": "node --test"
},
"dependencies": {
"@logicsrc/cli": "workspace:*",
"@profullstack/coinpay-onboard": "0.3.1",
"@profullstack/footer": "0.5.0",
"@profullstack/libsql-pg": "^0.1.4",
"@profullstack/profile": "0.1.6",
"@simplewebauthn/browser": "^14.0.0",
"@simplewebauthn/server": "^14.0.3",
"cookie-parser": "^1.4.7",
"express": "^5.3.0",
"libsodium-wrappers": "^0.8.4"
},
"devDependencies": {
"@libsql/client": "^0.18.0"
}
}