@graphql-hive/gateway-runtime 1.2.2-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3 → 1.2.2-rc-f8a2df2c7471517f06445500b082b6fefb449b5a

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-373fd00918d8f4f178a54c9a39d6439a44b05cc3
3
+ ## 1.2.2-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
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-373fd00918d8f4f178a54c9a39d6439a44b05cc3
13
- - @graphql-mesh/hmac-upstream-signature@1.2.9-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3
14
- - @graphql-mesh/transport-common@0.7.16-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3
15
- - @graphql-tools/batch-delegate@9.0.17-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3
16
- - @graphql-tools/delegate@10.2.1-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3
17
- - @graphql-tools/executor-http@1.1.10-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3
18
- - @graphql-tools/federation@2.2.31-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3
19
- - @graphql-tools/stitch@9.4.2-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3
20
- - @graphql-tools/wrap@10.0.19-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3
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-f8a2df2c7471517f06445500b082b6fefb449b5a
19
+ - @graphql-mesh/hmac-upstream-signature@1.2.9-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
20
+ - @graphql-mesh/transport-common@0.7.16-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
21
+ - @graphql-tools/batch-delegate@9.0.17-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
22
+ - @graphql-tools/delegate@10.2.1-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
23
+ - @graphql-tools/executor-http@1.1.10-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
24
+ - @graphql-tools/federation@2.2.31-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
25
+ - @graphql-tools/stitch@9.4.2-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
26
+ - @graphql-tools/wrap@10.0.19-rc-f8a2df2c7471517f06445500b082b6fefb449b5a
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-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
3
+ "version": "1.2.2-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
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-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
59
- "@graphql-mesh/hmac-upstream-signature": "^1.2.9-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
57
+ "@graphql-mesh/cross-helpers": "^0.4.8",
58
+ "@graphql-mesh/fusion-runtime": "^0.10.6-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
59
+ "@graphql-mesh/hmac-upstream-signature": "^1.2.9-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
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-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
63
+ "@graphql-mesh/transport-common": "^0.7.16-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
64
64
  "@graphql-mesh/types": "^0.103.0",
65
- "@graphql-mesh/utils": "^0.103.0",
66
- "@graphql-tools/batch-delegate": "^9.0.17-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
67
- "@graphql-tools/delegate": "^10.2.1-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
68
- "@graphql-tools/executor-http": "^1.1.10-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
69
- "@graphql-tools/federation": "^2.2.31-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
70
- "@graphql-tools/stitch": "^9.4.2-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
65
+ "@graphql-mesh/utils": "^0.103.1",
66
+ "@graphql-tools/batch-delegate": "^9.0.17-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
67
+ "@graphql-tools/delegate": "^10.2.1-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
68
+ "@graphql-tools/executor-http": "^1.1.10-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
69
+ "@graphql-tools/federation": "^2.2.31-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
70
+ "@graphql-tools/stitch": "^9.4.2-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
71
71
  "@graphql-tools/utils": "^10.6.0",
72
- "@graphql-tools/wrap": "^10.0.19-rc-373fd00918d8f4f178a54c9a39d6439a44b05cc3",
72
+ "@graphql-tools/wrap": "^10.0.19-rc-f8a2df2c7471517f06445500b082b6fefb449b5a",
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
  },