@tramvai/module-request-limiter 2.150.0 → 2.150.1
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/browser.d.ts +1 -0
- package/lib/requestLimiter.d.ts +2 -0
- package/lib/server.d.ts +1 -0
- package/lib/tokens.d.ts +1 -0
- package/lib/utils/doubleLinkedList.d.ts +1 -0
- package/package.json +4 -4
package/lib/browser.d.ts
CHANGED
package/lib/requestLimiter.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import type { FastifyRequest, FastifyReply, HookHandlerDoneFunction } from 'fastify';
|
|
2
3
|
export declare const DEFAULT_OPTIONS: {
|
|
3
4
|
limit: number;
|
|
@@ -45,3 +46,4 @@ declare module 'fastify' {
|
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
export declare const fastifyRequestsLimiter: (fastify: import("fastify").FastifyInstance<import("fastify").RawServerDefault, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>, { requestsLimiter }: import("fastify").FastifyPluginOptions) => Promise<void>;
|
|
49
|
+
//# sourceMappingURL=requestLimiter.d.ts.map
|
package/lib/server.d.ts
CHANGED
package/lib/tokens.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-request-limiter",
|
|
3
|
-
"version": "2.150.
|
|
3
|
+
"version": "2.150.1",
|
|
4
4
|
"description": "Enable different rendering modes for pages",
|
|
5
5
|
"main": "lib/server.js",
|
|
6
6
|
"module": "lib/server.es.js",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"devDependencies": {},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@tinkoff/dippy": "0.8.16",
|
|
33
|
-
"@tramvai/core": "2.150.
|
|
34
|
-
"@tramvai/tokens-common": "2.150.
|
|
35
|
-
"@tramvai/tokens-server-private": "2.150.
|
|
33
|
+
"@tramvai/core": "2.150.1",
|
|
34
|
+
"@tramvai/tokens-common": "2.150.1",
|
|
35
|
+
"@tramvai/tokens-server-private": "2.150.1",
|
|
36
36
|
"fastify": "^4.6.0",
|
|
37
37
|
"tslib": "^2.4.0"
|
|
38
38
|
}
|