@lunora/ratelimit 1.0.0-alpha.7 → 1.0.0-alpha.8
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.
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -53,7 +53,6 @@ interface RateLimiterOptions<Names extends string> {
|
|
|
53
53
|
denyList?: Iterable<string>;
|
|
54
54
|
normalize?: (key: string) => string;
|
|
55
55
|
now?: () => number;
|
|
56
|
-
random?: () => number;
|
|
57
56
|
store?: RateLimitStore;
|
|
58
57
|
}
|
|
59
58
|
declare class RateLimiter<Names extends string = string> {
|
package/dist/index.d.ts
CHANGED
|
@@ -53,7 +53,6 @@ interface RateLimiterOptions<Names extends string> {
|
|
|
53
53
|
denyList?: Iterable<string>;
|
|
54
54
|
normalize?: (key: string) => string;
|
|
55
55
|
now?: () => number;
|
|
56
|
-
random?: () => number;
|
|
57
56
|
store?: RateLimitStore;
|
|
58
57
|
}
|
|
59
58
|
declare class RateLimiter<Names extends string = string> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/ratelimit",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.8",
|
|
4
4
|
"description": "Rate limiting: token-bucket / fixed-window / sliding-window algorithms, deny list, sharding, pluggable stores, and procedure middleware",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@lunora/errors": "1.0.0-alpha.
|
|
49
|
+
"@lunora/errors": "1.0.0-alpha.5"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": "^22.15.0 || >=24.11.0"
|