@graphql-mesh/transform-rate-limit 0.2.18 → 0.2.19-alpha-20230321145025-cc027190e

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/cjs/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const utils_1 = require("@graphql-tools/utils");
4
3
  const graphql_1 = require("graphql");
5
- const string_interpolation_1 = require("@graphql-mesh/string-interpolation");
6
4
  const cross_helpers_1 = require("@graphql-mesh/cross-helpers");
5
+ const string_interpolation_1 = require("@graphql-mesh/string-interpolation");
6
+ const utils_1 = require("@graphql-tools/utils");
7
7
  class RateLimitTransform {
8
8
  constructor(options) {
9
9
  this.pathRateLimitDef = new Map();
package/esm/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { AggregateError } from '@graphql-tools/utils';
2
1
  import { GraphQLError, TypeInfo, visit, visitWithTypeInfo } from 'graphql';
3
- import { stringInterpolator } from '@graphql-mesh/string-interpolation';
4
2
  import { process } from '@graphql-mesh/cross-helpers';
3
+ import { stringInterpolator } from '@graphql-mesh/string-interpolation';
4
+ import { AggregateError } from '@graphql-tools/utils';
5
5
  export default class RateLimitTransform {
6
6
  constructor(options) {
7
7
  this.pathRateLimitDef = new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/transform-rate-limit",
3
- "version": "0.2.18",
3
+ "version": "0.2.19-alpha-20230321145025-cc027190e",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"
@@ -8,8 +8,8 @@
8
8
  "dependencies": {
9
9
  "@graphql-mesh/cross-helpers": "0.3.3",
10
10
  "@graphql-mesh/string-interpolation": "0.4.2",
11
- "@graphql-mesh/types": "0.91.9",
12
- "@graphql-mesh/utils": "0.43.17",
11
+ "@graphql-mesh/types": "0.91.10-alpha-20230321145025-cc027190e",
12
+ "@graphql-mesh/utils": "0.43.18-alpha-20230321145025-cc027190e",
13
13
  "@graphql-tools/utils": "9.2.1",
14
14
  "tslib": "^2.4.0"
15
15
  },
@@ -1,7 +1,7 @@
1
+ import { ExecutionResult } from 'graphql';
1
2
  import { MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types';
2
- import { ExecutionRequest } from '@graphql-tools/utils';
3
3
  import type { DelegationContext } from '@graphql-tools/delegate';
4
- import { ExecutionResult } from 'graphql';
4
+ import { ExecutionRequest } from '@graphql-tools/utils';
5
5
  export default class RateLimitTransform implements MeshTransform {
6
6
  private pathRateLimitDef;
7
7
  private tokenMap;
@@ -1,7 +1,7 @@
1
+ import { ExecutionResult } from 'graphql';
1
2
  import { MeshTransform, MeshTransformOptions, YamlConfig } from '@graphql-mesh/types';
2
- import { ExecutionRequest } from '@graphql-tools/utils';
3
3
  import type { DelegationContext } from '@graphql-tools/delegate';
4
- import { ExecutionResult } from 'graphql';
4
+ import { ExecutionRequest } from '@graphql-tools/utils';
5
5
  export default class RateLimitTransform implements MeshTransform {
6
6
  private pathRateLimitDef;
7
7
  private tokenMap;