@graphql-tools/wrap 9.4.2 → 10.0.0-alpha-20230515174415-d29a8b3b

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/introspect.js CHANGED
@@ -15,7 +15,7 @@ function getSchemaFromIntrospection(introspectionResult, options) {
15
15
  throw graphqlErrors[0];
16
16
  }
17
17
  else {
18
- throw new utils_1.AggregateError(graphqlErrors, 'Could not obtain introspection result');
18
+ throw new AggregateError(graphqlErrors, 'Could not obtain introspection result');
19
19
  }
20
20
  }
21
21
  throw (0, utils_1.createGraphQLError)(`Could not obtain introspection result, received the following as response; \n ${(0, utils_1.inspect)(introspectionResult)}`);
package/esm/introspect.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { getIntrospectionQuery, buildClientSchema, parse, } from 'graphql';
2
2
  import { ValueOrPromise } from 'value-or-promise';
3
- import { isAsyncIterable, AggregateError, createGraphQLError, inspect, } from '@graphql-tools/utils';
3
+ import { isAsyncIterable, createGraphQLError, inspect, } from '@graphql-tools/utils';
4
4
  function getSchemaFromIntrospection(introspectionResult, options) {
5
5
  var _a;
6
6
  if ((_a = introspectionResult === null || introspectionResult === void 0 ? void 0 : introspectionResult.data) === null || _a === void 0 ? void 0 : _a.__schema) {
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@graphql-tools/wrap",
3
- "version": "9.4.2",
3
+ "version": "10.0.0-alpha-20230515174415-d29a8b3b",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
7
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/delegate": "^9.0.31",
11
- "@graphql-tools/schema": "^9.0.18",
12
- "@graphql-tools/utils": "^9.2.1",
10
+ "@graphql-tools/delegate": "10.0.0-alpha-20230515174415-d29a8b3b",
11
+ "@graphql-tools/schema": "9.0.20-alpha-20230515174415-d29a8b3b",
12
+ "@graphql-tools/utils": "10.0.0-alpha-20230515174415-d29a8b3b",
13
13
  "tslib": "^2.4.0",
14
14
  "value-or-promise": "^1.0.12"
15
15
  },