@graphql-hive/gateway 2.2.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b → 2.2.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphql-hive/gateway
2
2
 
3
- ## 2.2.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b
3
+ ## 2.2.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80
4
4
  ### Minor Changes
5
5
 
6
6
 
@@ -22,21 +22,21 @@
22
22
 
23
23
 
24
24
 
25
- - [#1804](https://github.com/graphql-hive/gateway/pull/1804) [`35dc306`](https://github.com/graphql-hive/gateway/commit/35dc306538df32d783f1f3a0745d088b9c9aeeb7) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
25
+ - [#1804](https://github.com/graphql-hive/gateway/pull/1804) [`e2bddf1`](https://github.com/graphql-hive/gateway/commit/e2bddf1f6aae0a2b975a4022189e885c947d6d8c) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
26
26
 
27
27
  - Added dependency [`@whatwg-node/server@^0.10.17` ↗︎](https://www.npmjs.com/package/@whatwg-node/server/v/0.10.17) (to `dependencies`)
28
28
 
29
29
 
30
- - [#1804](https://github.com/graphql-hive/gateway/pull/1804) [`d55cefc`](https://github.com/graphql-hive/gateway/commit/d55cefc2819242fe1d5b77621b1f9ebfc546eba1) Thanks [@ardatan](https://github.com/ardatan)! - Fixes for better support of the plugin system in WebSockets;
30
+ - [#1804](https://github.com/graphql-hive/gateway/pull/1804) [`e3bda5b`](https://github.com/graphql-hive/gateway/commit/e3bda5b2a175e902f8770711c825d2f7115905ca) Thanks [@ardatan](https://github.com/ardatan)! - Fixes for better support of the plugin system in WebSockets;
31
31
 
32
32
  - Ensure `params: GraphQLParams` and `request: Request` exist in the context
33
33
  - Invoke `onParams` and `onExecutionResult` hooks from plugins properly
34
- - Updated dependencies [[`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d), [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc), [`d55cefc`](https://github.com/graphql-hive/gateway/commit/d55cefc2819242fe1d5b77621b1f9ebfc546eba1), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7), [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7)]:
35
- - @graphql-hive/gateway-runtime@2.5.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b
36
- - @graphql-hive/plugin-opentelemetry@1.3.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b
34
+ - Updated dependencies [[`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d), [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc), [`e3bda5b`](https://github.com/graphql-hive/gateway/commit/e3bda5b2a175e902f8770711c825d2f7115905ca), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7), [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7)]:
35
+ - @graphql-hive/gateway-runtime@2.5.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80
36
+ - @graphql-hive/plugin-opentelemetry@1.3.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80
37
37
  - @graphql-hive/plugin-aws-sigv4@2.0.20
38
38
  - @graphql-mesh/hmac-upstream-signature@2.0.8
39
- - @graphql-mesh/plugin-prometheus@2.1.10-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b
39
+ - @graphql-mesh/plugin-prometheus@2.1.10-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80
40
40
 
41
41
  ## 2.1.23
42
42
  ### Patch Changes
package/dist/bin.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  require('dotenv/config');
4
4
  var module$1 = require('node:module');
5
5
  var logger = require('@graphql-hive/logger');
6
- var cli = require('./cli-CgnOuSH3.cjs');
6
+ var cli = require('./cli-DhpSD4Os.cjs');
7
7
  require('node:cluster');
8
8
  require('node:os');
9
9
  require('node:path');
@@ -29,7 +29,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
29
29
 
30
30
  var module__default = /*#__PURE__*/_interopDefault(module$1);
31
31
 
32
- globalThis.__VERSION__ = '2.2.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b';
32
+ globalThis.__VERSION__ = '2.2.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80';
33
33
  module__default.default.register("@graphql-hive/importer/hooks", {
34
34
  parentURL: (
35
35
  // @ts-ignore bob will complain when bundling for cjs
package/dist/bin.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import 'dotenv/config';
3
3
  import module$1 from 'node:module';
4
4
  import { Logger } from '@graphql-hive/logger';
5
- import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-BvtBklQr.js';
5
+ import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-Q4Ki2Qs_.js';
6
6
  import 'node:cluster';
7
7
  import 'node:os';
8
8
  import 'node:path';
@@ -23,7 +23,7 @@ import '@graphql-tools/code-file-loader';
23
23
  import '@graphql-tools/graphql-file-loader';
24
24
  import '@graphql-tools/load';
25
25
 
26
- globalThis.__VERSION__ = '2.2.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b';
26
+ globalThis.__VERSION__ = '2.2.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80';
27
27
  module$1.register("@graphql-hive/importer/hooks", {
28
28
  parentURL: (
29
29
  // @ts-ignore bob will complain when bundling for cjs
@@ -319,7 +319,7 @@ async function startBunServer(gwRuntime, opts) {
319
319
  serverOptions.websocket = makeHandler(
320
320
  gatewayRuntime.getGraphQLWSOptions(gwRuntime, (ctx) => ({
321
321
  socket: ctx.extra.socket,
322
- ...ctx.extra.socket.data || {}
322
+ ...ctx.extra.socket.data
323
323
  }))
324
324
  );
325
325
  serverOptions.fetch = function(request, server2) {
@@ -412,9 +412,9 @@ async function startNodeHttpServer(gwRuntime, opts) {
412
412
  const { useServer } = await import('graphql-ws/use/ws');
413
413
  useServer(
414
414
  gatewayRuntime.getGraphQLWSOptions(gwRuntime, (ctx) => ({
415
- req: ctx.extra?.request,
416
- socket: ctx.extra?.socket,
417
- request: ctx.extra?.request ? server.normalizeNodeRequest(ctx.extra.request, gwRuntime.fetchAPI) : void 0
415
+ req: ctx.extra.request,
416
+ socket: ctx.extra.socket,
417
+ request: server.normalizeNodeRequest(ctx.extra.request, gwRuntime.fetchAPI)
418
418
  })),
419
419
  wsServer
420
420
  );
@@ -312,7 +312,7 @@ async function startBunServer(gwRuntime, opts) {
312
312
  serverOptions.websocket = makeHandler(
313
313
  getGraphQLWSOptions(gwRuntime, (ctx) => ({
314
314
  socket: ctx.extra.socket,
315
- ...ctx.extra.socket.data || {}
315
+ ...ctx.extra.socket.data
316
316
  }))
317
317
  );
318
318
  serverOptions.fetch = function(request, server2) {
@@ -405,9 +405,9 @@ async function startNodeHttpServer(gwRuntime, opts) {
405
405
  const { useServer } = await import('graphql-ws/use/ws');
406
406
  useServer(
407
407
  getGraphQLWSOptions(gwRuntime, (ctx) => ({
408
- req: ctx.extra?.request,
409
- socket: ctx.extra?.socket,
410
- request: ctx.extra?.request ? normalizeNodeRequest(ctx.extra.request, gwRuntime.fetchAPI) : void 0
408
+ req: ctx.extra.request,
409
+ socket: ctx.extra.socket,
410
+ request: normalizeNodeRequest(ctx.extra.request, gwRuntime.fetchAPI)
411
411
  })),
412
412
  wsServer
413
413
  );
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var cli = require('./cli-CgnOuSH3.cjs');
3
+ var cli = require('./cli-DhpSD4Os.cjs');
4
4
  var logger = require('@graphql-hive/logger');
5
5
  var gatewayRuntime = require('@graphql-hive/gateway-runtime');
6
6
  var pubsub = require('@graphql-hive/pubsub');
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { b as defaultOptions, d as defineConfig, e as enableModuleCachingIfPossible, a as getBuiltinPluginsFromConfig, g as getCacheInstanceFromConfig, h as handleNodeWarnings, r as run } from './cli-BvtBklQr.js';
1
+ export { b as defaultOptions, d as defineConfig, e as enableModuleCachingIfPossible, a as getBuiltinPluginsFromConfig, g as getCacheInstanceFromConfig, h as handleNodeWarnings, r as run } from './cli-Q4Ki2Qs_.js';
2
2
  export * from '@graphql-hive/logger';
3
3
  export * from '@graphql-hive/gateway-runtime';
4
4
  export * from '@graphql-hive/pubsub';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway",
3
- "version": "2.2.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b",
3
+ "version": "2.2.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -94,11 +94,11 @@
94
94
  "@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
95
95
  "@escape.tech/graphql-armor-max-depth": "^2.4.2",
96
96
  "@escape.tech/graphql-armor-max-tokens": "^2.5.0",
97
- "@graphql-hive/gateway-runtime": "2.5.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b",
97
+ "@graphql-hive/gateway-runtime": "2.5.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80",
98
98
  "@graphql-hive/importer": "^2.0.0",
99
99
  "@graphql-hive/logger": "^1.0.9",
100
100
  "@graphql-hive/plugin-aws-sigv4": "^2.0.20",
101
- "@graphql-hive/plugin-opentelemetry": "1.3.0-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b",
101
+ "@graphql-hive/plugin-opentelemetry": "1.3.0-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80",
102
102
  "@graphql-hive/pubsub": "^2.1.1",
103
103
  "@graphql-mesh/cache-cfw-kv": "^0.105.16",
104
104
  "@graphql-mesh/cache-localforage": "^0.105.17",
@@ -109,7 +109,7 @@
109
109
  "@graphql-mesh/plugin-http-cache": "^0.105.17",
110
110
  "@graphql-mesh/plugin-jit": "^0.2.16",
111
111
  "@graphql-mesh/plugin-jwt-auth": "^2.0.9",
112
- "@graphql-mesh/plugin-prometheus": "2.1.10-alpha-d9649dff14ca22b877d8ccc366274dedd5141c5b",
112
+ "@graphql-mesh/plugin-prometheus": "2.1.10-alpha-20ce43d31d52a919e0506b59044d0ed16ddb0b80",
113
113
  "@graphql-mesh/plugin-rate-limit": "^0.105.5",
114
114
  "@graphql-mesh/plugin-snapshot": "^0.104.16",
115
115
  "@graphql-mesh/transport-http": "^1.0.12",