@envelop/resource-limitations 2.1.1-alpha-698c9eb.0 → 2.1.1-alpha-c145a12.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.
Files changed (2) hide show
  1. package/index.d.ts +1 -1
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export declare type ResourceLimitationValidationRuleParams = {
14
14
  /**
15
15
  * Validate whether a user is allowed to execute a certain GraphQL operation.
16
16
  */
17
- export declare const ResourceLimitationValidationRule: (params: ResourceLimitationValidationRuleParams) => ExtendedValidationRule<unknown>;
17
+ export declare const ResourceLimitationValidationRule: (params: ResourceLimitationValidationRuleParams) => ExtendedValidationRule;
18
18
  declare type UseResourceLimitationsParams = {
19
19
  /**
20
20
  * The node cost limit for rejecting a operation.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@envelop/resource-limitations",
3
- "version": "2.1.1-alpha-698c9eb.0",
3
+ "version": "2.1.1-alpha-c145a12.0",
4
4
  "description": "A rate-limit implementation based on resource limitations and static calculation of the score (similar to GitHub GraphQL API)",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
- "@envelop/core": "2.1.1-alpha-698c9eb.0",
7
+ "@envelop/core": "^2.1.0",
8
8
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "@envelop/extended-validation": "1.4.1-alpha-698c9eb.0",
11
+ "@envelop/extended-validation": "1.4.1-alpha-c145a12.0",
12
12
  "@graphql-tools/utils": "^8.6.1"
13
13
  },
14
14
  "repository": {