@graphql-hive/gateway-runtime 1.2.2-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47 → 1.2.2-rc-6e29476a1f21c468a2b0618036501702864a5764

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphql-hive/gateway-runtime
2
2
 
3
- ## 1.2.2-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
3
+ ## 1.2.2-rc-6e29476a1f21c468a2b0618036501702864a5764
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -8,16 +8,22 @@
8
8
 
9
9
  - Updated dependency [`@graphql-tools/utils@^10.6.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.6.0) (from `^10.5.6`, in `dependencies`)
10
10
 
11
- - Updated dependencies [[`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf)]:
12
- - @graphql-mesh/fusion-runtime@0.10.6-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
13
- - @graphql-mesh/hmac-upstream-signature@1.2.9-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
14
- - @graphql-mesh/transport-common@0.7.16-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
15
- - @graphql-tools/batch-delegate@9.0.17-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
16
- - @graphql-tools/delegate@10.2.1-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
17
- - @graphql-tools/executor-http@1.1.10-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
18
- - @graphql-tools/federation@2.2.31-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
19
- - @graphql-tools/stitch@9.4.2-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
20
- - @graphql-tools/wrap@10.0.19-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47
11
+ - [#98](https://github.com/graphql-hive/gateway/pull/98) [`697308d`](https://github.com/graphql-hive/gateway/commit/697308df3b2dd96f28dc65a5f5361a911077e022) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
12
+
13
+ - Updated dependency [`@graphql-mesh/cross-helpers@^0.4.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cross-helpers/v/0.4.8) (from `^0.4.7`, in `dependencies`)
14
+ - Updated dependency [`@graphql-mesh/utils@^0.103.1` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.103.1) (from `^0.103.0`, in `dependencies`)
15
+ - Updated dependency [`@whatwg-node/server@^0.9.56` ↗︎](https://www.npmjs.com/package/@whatwg-node/server/v/0.9.56) (from `^0.9.46`, in `dependencies`)
16
+
17
+ - Updated dependencies [[`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`697308d`](https://github.com/graphql-hive/gateway/commit/697308df3b2dd96f28dc65a5f5361a911077e022), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`697308d`](https://github.com/graphql-hive/gateway/commit/697308df3b2dd96f28dc65a5f5361a911077e022), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`310613d`](https://github.com/graphql-hive/gateway/commit/310613d68d1df3e2bceafbd0730084a4c83527bf), [`697308d`](https://github.com/graphql-hive/gateway/commit/697308df3b2dd96f28dc65a5f5361a911077e022)]:
18
+ - @graphql-mesh/fusion-runtime@0.10.6-rc-6e29476a1f21c468a2b0618036501702864a5764
19
+ - @graphql-mesh/hmac-upstream-signature@1.2.9-rc-6e29476a1f21c468a2b0618036501702864a5764
20
+ - @graphql-mesh/transport-common@0.7.16-rc-6e29476a1f21c468a2b0618036501702864a5764
21
+ - @graphql-tools/batch-delegate@9.0.17-rc-6e29476a1f21c468a2b0618036501702864a5764
22
+ - @graphql-tools/delegate@10.2.1-rc-6e29476a1f21c468a2b0618036501702864a5764
23
+ - @graphql-tools/executor-http@1.1.10-rc-6e29476a1f21c468a2b0618036501702864a5764
24
+ - @graphql-tools/federation@2.2.31-rc-6e29476a1f21c468a2b0618036501702864a5764
25
+ - @graphql-tools/stitch@9.4.2-rc-6e29476a1f21c468a2b0618036501702864a5764
26
+ - @graphql-tools/wrap@10.0.19-rc-6e29476a1f21c468a2b0618036501702864a5764
21
27
 
22
28
  ## 1.2.1
23
29
 
package/dist/index.cjs CHANGED
@@ -313,7 +313,7 @@ function useContentEncoding({
313
313
  }
314
314
  },
315
315
  onFetch({ executionRequest, options, setOptions }) {
316
- if (options.body && !options.headers?.["Content-Encoding"] && executionRequest && execReqWithContentEncoding.has(executionRequest)) {
316
+ if (options.body && !options.headers?.["Content-Encoding"] && executionRequest && execReqWithContentEncoding.has(executionRequest) && fetchAPI.CompressionStream) {
317
317
  const compressionStream = new fetchAPI.CompressionStream(
318
318
  compressionAlgorithm
319
319
  );
package/dist/index.js CHANGED
@@ -310,7 +310,7 @@ function useContentEncoding({
310
310
  }
311
311
  },
312
312
  onFetch({ executionRequest, options, setOptions }) {
313
- if (options.body && !options.headers?.["Content-Encoding"] && executionRequest && execReqWithContentEncoding.has(executionRequest)) {
313
+ if (options.body && !options.headers?.["Content-Encoding"] && executionRequest && execReqWithContentEncoding.has(executionRequest) && fetchAPI.CompressionStream) {
314
314
  const compressionStream = new fetchAPI.CompressionStream(
315
315
  compressionAlgorithm
316
316
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway-runtime",
3
- "version": "1.2.2-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
3
+ "version": "1.2.2-rc-6e29476a1f21c468a2b0618036501702864a5764",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,29 +54,29 @@
54
54
  "@envelop/disable-introspection": "^6.0.0",
55
55
  "@envelop/generic-auth": "^8.0.0",
56
56
  "@graphql-hive/core": "^0.8.1",
57
- "@graphql-mesh/cross-helpers": "^0.4.7",
58
- "@graphql-mesh/fusion-runtime": "^0.10.6-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
59
- "@graphql-mesh/hmac-upstream-signature": "^1.2.9-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
57
+ "@graphql-mesh/cross-helpers": "^0.4.8",
58
+ "@graphql-mesh/fusion-runtime": "^0.10.6-rc-6e29476a1f21c468a2b0618036501702864a5764",
59
+ "@graphql-mesh/hmac-upstream-signature": "^1.2.9-rc-6e29476a1f21c468a2b0618036501702864a5764",
60
60
  "@graphql-mesh/plugin-hive": "^0.103.0",
61
61
  "@graphql-mesh/plugin-response-cache": "^0.103.0",
62
62
  "@graphql-mesh/store": "^0.103.0",
63
- "@graphql-mesh/transport-common": "^0.7.16-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
63
+ "@graphql-mesh/transport-common": "^0.7.16-rc-6e29476a1f21c468a2b0618036501702864a5764",
64
64
  "@graphql-mesh/types": "^0.103.0",
65
- "@graphql-mesh/utils": "^0.103.0",
66
- "@graphql-tools/batch-delegate": "^9.0.17-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
67
- "@graphql-tools/delegate": "^10.2.1-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
68
- "@graphql-tools/executor-http": "^1.1.10-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
69
- "@graphql-tools/federation": "^2.2.31-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
70
- "@graphql-tools/stitch": "^9.4.2-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
65
+ "@graphql-mesh/utils": "^0.103.1",
66
+ "@graphql-tools/batch-delegate": "^9.0.17-rc-6e29476a1f21c468a2b0618036501702864a5764",
67
+ "@graphql-tools/delegate": "^10.2.1-rc-6e29476a1f21c468a2b0618036501702864a5764",
68
+ "@graphql-tools/executor-http": "^1.1.10-rc-6e29476a1f21c468a2b0618036501702864a5764",
69
+ "@graphql-tools/federation": "^2.2.31-rc-6e29476a1f21c468a2b0618036501702864a5764",
70
+ "@graphql-tools/stitch": "^9.4.2-rc-6e29476a1f21c468a2b0618036501702864a5764",
71
71
  "@graphql-tools/utils": "^10.6.0",
72
- "@graphql-tools/wrap": "^10.0.19-rc-3a6521d9792e05204593fb0aad7ef0cc32e1ad47",
72
+ "@graphql-tools/wrap": "^10.0.19-rc-6e29476a1f21c468a2b0618036501702864a5764",
73
73
  "@graphql-yoga/plugin-apollo-usage-report": "^0.4.0",
74
74
  "@graphql-yoga/plugin-csrf-prevention": "^3.7.0",
75
75
  "@graphql-yoga/plugin-defer-stream": "^3.7.0",
76
76
  "@graphql-yoga/plugin-persisted-operations": "^3.7.0",
77
77
  "@types/node": "^22.7.5",
78
78
  "@whatwg-node/disposablestack": "^0.0.5",
79
- "@whatwg-node/server": "^0.9.46",
79
+ "@whatwg-node/server": "^0.9.56",
80
80
  "graphql-yoga": "^5.7.0",
81
81
  "tslib": "^2.8.0"
82
82
  },