@graphql-tools/executor-http 3.2.0 → 3.2.1-alpha-9e64c064052651c7d086698e541dbbda9f432133
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/CHANGELOG.md +7 -0
- package/dist/index.cjs +7 -8
- package/dist/index.js +7 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @graphql-tools/executor-http
|
|
2
2
|
|
|
3
|
+
## 3.2.1-alpha-9e64c064052651c7d086698e541dbbda9f432133
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [`786e06f`](https://github.com/graphql-hive/gateway/commit/786e06f4e3d74c76a7274bbbc69100a7d30549e6) Thanks [@ardatan](https://github.com/ardatan)! - Do not recursively return HTTP extensions
|
|
9
|
+
|
|
3
10
|
## 3.2.0
|
|
4
11
|
### Minor Changes
|
|
5
12
|
|
package/dist/index.cjs
CHANGED
|
@@ -805,14 +805,13 @@ function buildHTTPExecutor(options) {
|
|
|
805
805
|
if (options?.exposeHTTPDetailsInExtensions) {
|
|
806
806
|
return promiseHelpers.handleMaybePromise(
|
|
807
807
|
() => result$,
|
|
808
|
-
(result) => {
|
|
809
|
-
result
|
|
810
|
-
|
|
811
|
-
result.extensions,
|
|
812
|
-
upstreamErrorExtensions
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
}
|
|
808
|
+
(result) => ({
|
|
809
|
+
...result,
|
|
810
|
+
extensions: {
|
|
811
|
+
...result.extensions,
|
|
812
|
+
...upstreamErrorExtensions
|
|
813
|
+
}
|
|
814
|
+
})
|
|
816
815
|
);
|
|
817
816
|
}
|
|
818
817
|
return result$;
|
package/dist/index.js
CHANGED
|
@@ -803,14 +803,13 @@ function buildHTTPExecutor(options) {
|
|
|
803
803
|
if (options?.exposeHTTPDetailsInExtensions) {
|
|
804
804
|
return handleMaybePromise(
|
|
805
805
|
() => result$,
|
|
806
|
-
(result) => {
|
|
807
|
-
result
|
|
808
|
-
|
|
809
|
-
result.extensions,
|
|
810
|
-
upstreamErrorExtensions
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
}
|
|
806
|
+
(result) => ({
|
|
807
|
+
...result,
|
|
808
|
+
extensions: {
|
|
809
|
+
...result.extensions,
|
|
810
|
+
...upstreamErrorExtensions
|
|
811
|
+
}
|
|
812
|
+
})
|
|
814
813
|
);
|
|
815
814
|
}
|
|
816
815
|
return result$;
|
package/package.json
CHANGED