@graphql-tools/batch-execute 8.5.3 → 8.5.4-alpha-20220815173503-a11014cc

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.
@@ -2,7 +2,7 @@
2
2
  // adapted from https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-graphql/src/batching/merge-queries.js
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.mergeRequests = void 0;
5
- const graphql_1 = require("graphql");
5
+ const graphql_1 = require("@graphql-tools/graphql");
6
6
  const utils_1 = require("@graphql-tools/utils");
7
7
  const prefix_js_1 = require("./prefix.js");
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  // adapted from https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-graphql/src/batching/merge-queries.js
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.splitResult = void 0;
5
- const graphql_1 = require("graphql");
5
+ const graphql_1 = require("@graphql-tools/graphql");
6
6
  const utils_1 = require("@graphql-tools/utils");
7
7
  const prefix_js_1 = require("./prefix.js");
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  // adapted from https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-graphql/src/batching/merge-queries.js
2
- import { visit, Kind, } from 'graphql';
2
+ import { visit, Kind, } from '@graphql-tools/graphql';
3
3
  import { getOperationASTFromRequest } from '@graphql-tools/utils';
4
4
  import { createPrefix } from './prefix.js';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  // adapted from https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-graphql/src/batching/merge-queries.js
2
- import { GraphQLError } from 'graphql';
2
+ import { GraphQLError } from '@graphql-tools/graphql';
3
3
  import { relocatedError } from '@graphql-tools/utils';
4
4
  import { parseKey } from './prefix.js';
5
5
  /**
package/package.json CHANGED
@@ -1,16 +1,14 @@
1
1
  {
2
2
  "name": "@graphql-tools/batch-execute",
3
- "version": "8.5.3",
3
+ "version": "8.5.4-alpha-20220815173503-a11014cc",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
- "peerDependencies": {
7
- "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
8
- },
9
6
  "dependencies": {
10
- "@graphql-tools/utils": "8.10.0",
7
+ "@graphql-tools/utils": "8.10.1-alpha-20220815173503-a11014cc",
11
8
  "dataloader": "2.1.0",
12
9
  "tslib": "^2.4.0",
13
- "value-or-promise": "1.0.11"
10
+ "value-or-promise": "1.0.11",
11
+ "@graphql-tools/graphql": "0.1.0-alpha-20220815173503-a11014cc"
14
12
  },
15
13
  "repository": {
16
14
  "type": "git",
@@ -1,4 +1,4 @@
1
- import { ExecutionResult } from 'graphql';
1
+ import { ExecutionResult } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * Split and transform result of the query produced by the `merge` function
4
4
  */
@@ -1,4 +1,4 @@
1
- import { ExecutionResult } from 'graphql';
1
+ import { ExecutionResult } from '@graphql-tools/graphql';
2
2
  /**
3
3
  * Split and transform result of the query produced by the `merge` function
4
4
  */