@graphql-tools/load 7.7.2 → 7.7.3

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/schema.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.loadSchemaSync = exports.loadSchema = void 0;
4
4
  const load_typedefs_js_1 = require("./load-typedefs.js");
5
5
  const graphql_1 = require("graphql");
6
- const documents_1 = require("./documents");
6
+ const documents_js_1 = require("./documents.js");
7
7
  const schema_1 = require("@graphql-tools/schema");
8
8
  const utils_1 = require("@graphql-tools/utils");
9
9
  /**
@@ -14,7 +14,7 @@ const utils_1 = require("@graphql-tools/utils");
14
14
  async function loadSchema(schemaPointers, options) {
15
15
  const sources = await (0, load_typedefs_js_1.loadTypedefs)(schemaPointers, {
16
16
  ...options,
17
- filterKinds: documents_1.OPERATION_KINDS,
17
+ filterKinds: documents_js_1.OPERATION_KINDS,
18
18
  });
19
19
  return getSchemaFromSources(sources, options);
20
20
  }
@@ -26,7 +26,7 @@ exports.loadSchema = loadSchema;
26
26
  */
27
27
  function loadSchemaSync(schemaPointers, options) {
28
28
  const sources = (0, load_typedefs_js_1.loadTypedefsSync)(schemaPointers, {
29
- filterKinds: documents_1.OPERATION_KINDS,
29
+ filterKinds: documents_js_1.OPERATION_KINDS,
30
30
  ...options,
31
31
  });
32
32
  return getSchemaFromSources(sources, options);
package/esm/schema.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { loadTypedefs, loadTypedefsSync } from './load-typedefs.js';
2
2
  import { Source as GraphQLSource, print, lexicographicSortSchema } from 'graphql';
3
- import { OPERATION_KINDS } from './documents';
3
+ import { OPERATION_KINDS } from './documents.js';
4
4
  import { mergeSchemas, extractExtensionsFromSchema } from '@graphql-tools/schema';
5
5
  import { getResolversFromSchema } from '@graphql-tools/utils';
6
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/load",
3
- "version": "7.7.2",
3
+ "version": "7.7.3",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {