@aeriajs/security 0.0.72 → 0.0.73

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.
@@ -34,7 +34,7 @@ export declare const getOrCreateUsageEntry: (params: RateLimitingParams, context
34
34
  };
35
35
  };
36
36
  }>>, "_id">>>;
37
- export declare const limitRate: (params: RateLimitingParams, context: RouteContext) => Promise<import("@aeriajs/types").Left<RateLimitingErrors.LimitReached> | import("@aeriajs/types").Right<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
37
+ export declare const limitRate: (params: RateLimitingParams, context: RouteContext) => Promise<import("@aeriajs/types").Left<RateLimitingErrors.LimitReached> | import("@aeriajs/types").Right<import("@aeriajs/types").PackReferences<{} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
38
38
  readonly hits: {
39
39
  readonly type: "integer";
40
40
  };
@@ -54,4 +54,4 @@ export declare const limitRate: (params: RateLimitingParams, context: RouteConte
54
54
  points: number;
55
55
  last_reach: Date;
56
56
  last_maximum_reach: Date;
57
- }, never>>>;
57
+ }, never>>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/security",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,9 +28,9 @@
28
28
  "mongodb": "^6.5.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "@aeriajs/core": "^0.0.72",
32
- "@aeriajs/common": "^0.0.39",
33
- "@aeriajs/types": "^0.0.36",
31
+ "@aeriajs/core": "^0.0.73",
32
+ "@aeriajs/common": "^0.0.40",
33
+ "@aeriajs/types": "^0.0.37",
34
34
  "mongodb": "^6.5.0"
35
35
  },
36
36
  "scripts": {