@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.
- package/index.js +2 -1
- package/index.mjs +2 -1
- 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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
11
|
-
"@graphql-tools/schema": "8.3.
|
|
12
|
-
"@graphql-tools/utils": "8.5.
|
|
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
|
},
|