@krizaka/rate-limit 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/rate-limit",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Limits per action for every Krizaka product: fixed windows per address and per subject, the limits read from the admin's settings, a memory store and a PostgreSQL store whose atomic upsert counts exactly under concurrency, a stable 429 with Retry-After. No database client, no wall clock, no request object.",
5
5
  "keywords": [
6
6
  "krizaka",
@@ -54,12 +54,12 @@
54
54
  "typescript": "^5.9.3",
55
55
  "vitest": "^4.1.11",
56
56
  "zod": "^4.6.7",
57
- "@krizaka/config": "^0.8.1"
57
+ "@krizaka/config": "^0.14.1"
58
58
  },
59
59
  "dependencies": {
60
- "@krizaka/db": "^0.2.0",
61
- "@krizaka/time": "^0.1.0",
62
- "@krizaka/settings": "^0.4.0"
60
+ "@krizaka/db": "^0.3.0",
61
+ "@krizaka/settings": "^0.5.1",
62
+ "@krizaka/time": "^0.1.0"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "vitest": ">=4",
@@ -77,7 +77,7 @@
77
77
  "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup",
78
78
  "lint": "eslint . --max-warnings 0 && tsc --noEmit",
79
79
  "typecheck": "tsc --noEmit",
80
- "test": "vitest run",
80
+ "test": "vitest run --coverage --coverage.provider=v8 --coverage.reporter=lcov --coverage.reporter=text-summary \"--coverage.include=src/**/*.ts\"",
81
81
  "check": "pnpm run lint && pnpm run test && pnpm run build"
82
82
  }
83
83
  }