@tramvai/module-request-limiter 2.56.1 → 2.56.5
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/lib/requestLimiter.d.ts +1 -1
- package/lib/tokens.d.ts +11 -3
- package/package.json +5 -5
package/lib/requestLimiter.d.ts
CHANGED
|
@@ -41,4 +41,4 @@ export declare class RequestLimiter {
|
|
|
41
41
|
}
|
|
42
42
|
export declare const fastifyRequestsLimiter: import("fastify").FastifyPluginAsync<{
|
|
43
43
|
requestsLimiter: RequestLimiter;
|
|
44
|
-
}, import("fastify").RawServerDefault, import("fastify").FastifyTypeProviderDefault>;
|
|
44
|
+
}, import("fastify").RawServerDefault, import("fastify").FastifyTypeProviderDefault, import("fastify").FastifyBaseLogger>;
|
package/lib/tokens.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import type { RequestLimiter, RequestLimiterOptions } from './requestLimiter';
|
|
2
|
-
export declare const REQUESTS_LIMITER_TOKEN:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const REQUESTS_LIMITER_TOKEN: RequestLimiter & {
|
|
3
|
+
__type?: "base token";
|
|
4
|
+
};
|
|
5
|
+
export declare const REQUESTS_LIMITER_ACTIVATE_TOKEN: (false & {
|
|
6
|
+
__type?: "base token";
|
|
7
|
+
}) | (true & {
|
|
8
|
+
__type?: "base token";
|
|
9
|
+
});
|
|
10
|
+
export declare const REQUESTS_LIMITER_OPTIONS_TOKEN: RequestLimiterOptions & {
|
|
11
|
+
__type?: "base token";
|
|
12
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-request-limiter",
|
|
3
|
-
"version": "2.56.
|
|
3
|
+
"version": "2.56.5",
|
|
4
4
|
"description": "Enable different rendering modes for pages",
|
|
5
5
|
"main": "lib/server.js",
|
|
6
6
|
"module": "lib/server.es.js",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@tinkoff/dippy": "0.8.
|
|
34
|
-
"@tramvai/core": "2.56.
|
|
35
|
-
"@tramvai/tokens-common": "2.56.
|
|
36
|
-
"@tramvai/tokens-server-private": "2.56.
|
|
33
|
+
"@tinkoff/dippy": "0.8.11",
|
|
34
|
+
"@tramvai/core": "2.56.5",
|
|
35
|
+
"@tramvai/tokens-common": "2.56.5",
|
|
36
|
+
"@tramvai/tokens-server-private": "2.56.5",
|
|
37
37
|
"fastify": "^4.6.0",
|
|
38
38
|
"tslib": "^2.4.0"
|
|
39
39
|
}
|