@graphql-tools/wrap 8.3.2-alpha-9f8b9c45.0 → 8.3.2

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 (3) hide show
  1. package/index.js +2 -1
  2. package/index.mjs +2 -1
  3. package/package.json +4 -4
package/index.js CHANGED
@@ -1701,7 +1701,8 @@ function introspectSchema(executor, context, options) {
1701
1701
  }))
1702
1702
  .then(introspection => {
1703
1703
  if (utils.isAsyncIterable(introspection)) {
1704
- return introspection.next().then(({ value }) => value);
1704
+ const iterator = introspection[Symbol.asyncIterator]();
1705
+ return iterator.next().then(({ value }) => value);
1705
1706
  }
1706
1707
  return introspection;
1707
1708
  })
package/index.mjs CHANGED
@@ -1697,7 +1697,8 @@ function introspectSchema(executor, context, options) {
1697
1697
  }))
1698
1698
  .then(introspection => {
1699
1699
  if (isAsyncIterable(introspection)) {
1700
- return introspection.next().then(({ value }) => value);
1700
+ const iterator = introspection[Symbol.asyncIterator]();
1701
+ return iterator.next().then(({ value }) => value);
1701
1702
  }
1702
1703
  return introspection;
1703
1704
  })
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@graphql-tools/wrap",
3
- "version": "8.3.2-alpha-9f8b9c45.0",
3
+ "version": "8.3.2",
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"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/delegate": "8.4.2-alpha-9f8b9c45.0",
11
- "@graphql-tools/schema": "8.3.2-alpha-9f8b9c45.0",
12
- "@graphql-tools/utils": "8.5.2-alpha-9f8b9c45.0",
10
+ "@graphql-tools/delegate": "^8.4.2",
11
+ "@graphql-tools/schema": "^8.3.1",
12
+ "@graphql-tools/utils": "^8.5.3",
13
13
  "tslib": "~2.3.0",
14
14
  "value-or-promise": "1.0.11"
15
15
  },