fix: cancelled tier, remove key logging, add billing rate limits
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 10m13s

- Add 'cancelled' tier (0 req/month) for downgraded subscriptions
- Remove full API key from recovery endpoint logs (security)
- Add IP-based rate limiting (10/15min) to billing endpoints
- Bump version to 0.7.0
- 4 new tests (338 total)
This commit is contained in:
Hoid 2026-03-04 09:06:16 +01:00
parent f3a363fb17
commit 9575d312fe
5 changed files with 68 additions and 7 deletions

View file

@ -1,6 +1,6 @@
{
"name": "snapapi",
"version": "0.6.0",
"version": "0.7.0",
"description": "URL to Screenshot API — PNG, JPEG, WebP via simple REST API",
"main": "dist/index.js",
"type": "module",