@tramvai/module-request-limiter 2.150.0 → 2.151.0

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 CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './tokens';
2
2
  export declare class RequestLimiterModule {
3
3
  }
4
+ //# sourceMappingURL=browser.d.ts.map
@@ -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
@@ -2,3 +2,4 @@ export * from './requestLimiter';
2
2
  export * from './tokens';
3
3
  export declare class RequestLimiterModule {
4
4
  }
5
+ //# sourceMappingURL=server.d.ts.map
package/lib/tokens.d.ts CHANGED
@@ -10,3 +10,4 @@ export declare const REQUESTS_LIMITER_ACTIVATE_TOKEN: (false & {
10
10
  export declare const REQUESTS_LIMITER_OPTIONS_TOKEN: RequestLimiterOptions & {
11
11
  __type?: "base token";
12
12
  };
13
+ //# sourceMappingURL=tokens.d.ts.map
@@ -13,3 +13,4 @@ export declare class DoubleLinkedList<Value> {
13
13
  size(): number;
14
14
  }
15
15
  export {};
16
+ //# sourceMappingURL=doubleLinkedList.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-request-limiter",
3
- "version": "2.150.0",
3
+ "version": "2.151.0",
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.0",
34
- "@tramvai/tokens-common": "2.150.0",
35
- "@tramvai/tokens-server-private": "2.150.0",
33
+ "@tramvai/core": "2.151.0",
34
+ "@tramvai/tokens-common": "2.151.0",
35
+ "@tramvai/tokens-server-private": "2.151.0",
36
36
  "fastify": "^4.6.0",
37
37
  "tslib": "^2.4.0"
38
38
  }