@graphql-hive/gateway 2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60 → 2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33

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.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
3
+ ## 2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
4
4
 
5
5
  ### Major Changes
6
6
 
@@ -48,13 +48,8 @@
48
48
  - Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`)
49
49
  - Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
50
50
 
51
- - [#1395](https://github.com/graphql-hive/gateway/pull/1395) [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
52
- - Updated dependency [`@graphql-mesh/cache-cfw-kv@0.105.8-alpha-20250820153219-b2217809810400a0a95b79558f0166ddb563f0bb` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.8) (from `^0.105.7`, in `dependencies`)
53
- - Updated dependency [`@graphql-mesh/cache-localforage@0.105.9-alpha-20250820153219-b2217809810400a0a95b79558f0166ddb563f0bb` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.9) (from `^0.105.8`, in `dependencies`)
54
- - Updated dependency [`@graphql-mesh/cache-redis@0.104.8-alpha-20250820153219-b2217809810400a0a95b79558f0166ddb563f0bb` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.8) (from `^0.104.7`, in `dependencies`)
55
- - Updated dependency [`@graphql-mesh/cache-upstash-redis@0.1.8-alpha-20250820153219-b2217809810400a0a95b79558f0166ddb563f0bb` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.8) (from `^0.1.7`, in `dependencies`)
56
- - Updated dependency [`@graphql-mesh/types@0.104.8-alpha-20250820154906-c854a2b54847db114256951ae911aaf49b5e67a0` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.8) (from `^0.104.7`, in `dependencies`)
57
- - Updated dependency [`@graphql-mesh/utils@0.104.8-alpha-20250820154906-c854a2b54847db114256951ae911aaf49b5e67a0` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.8) (from `^0.104.7`, in `dependencies`)
51
+ - [#1343](https://github.com/graphql-hive/gateway/pull/1343) [`7a85e32`](https://github.com/graphql-hive/gateway/commit/7a85e329611ab6184b5617e74b58382403495d33) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
52
+ - Updated dependency [`@opentelemetry/sdk-trace-base@patch:@opentelemetry/sdk-trace-base@patch%3A@opentelemetry/sdk-trace-base@npm%253A2.0.1%23~/.yarn/patches/@opentelemetry-sdk-trace-base-npm-2.0.1-ebe4f8e34e.patch%3A%3Aversion=2.0.1&hash=212481#~/.yarn/patches/@opentelemetry-sdk-trace-base-patch-0b7dbf6a30.patch` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/3.0.0) (from `^2.0.1`, in `dependencies`)
58
53
 
59
54
  - [#956](https://github.com/graphql-hive/gateway/pull/956) [`dd20c54`](https://github.com/graphql-hive/gateway/commit/dd20c5467cbab5349bb3d07e53d9ff70ca7cf12d) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
60
55
  - Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
@@ -73,20 +68,22 @@
73
68
  - Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
74
69
  - Removed dependency [`@graphql-mesh/plugin-mock@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.8) (from `dependencies`)
75
70
 
76
- - Updated dependencies [[`f42746b`](https://github.com/graphql-hive/gateway/commit/f42746b1d315b901020f4e0fb6fdee27f2a1e903), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`dd20c54`](https://github.com/graphql-hive/gateway/commit/dd20c5467cbab5349bb3d07e53d9ff70ca7cf12d), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`9521687`](https://github.com/graphql-hive/gateway/commit/9521687fe41231a5b028893d529e1efce0237796), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`4e73586`](https://github.com/graphql-hive/gateway/commit/4e73586b870ce64a1024f1a1bd45a86c161d8e00), [`f02dc3f`](https://github.com/graphql-hive/gateway/commit/f02dc3f05751bc9c8c2d743cf32c29f2e44ad37d), [`134630c`](https://github.com/graphql-hive/gateway/commit/134630c6e5665dd6e8f52e23d365df30a42d3737), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`1a76bd5`](https://github.com/graphql-hive/gateway/commit/1a76bd5dd56a2d4d6f17c958687b51fa4d9e7212), [`bf679f8`](https://github.com/graphql-hive/gateway/commit/bf679f89c8b170360562a8d60502d4481333ce1f), [`80cc25e`](https://github.com/graphql-hive/gateway/commit/80cc25e48fdec28585eb75723ecd0b7307859c5a), [`f42746b`](https://github.com/graphql-hive/gateway/commit/f42746b1d315b901020f4e0fb6fdee27f2a1e903), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`dd20c54`](https://github.com/graphql-hive/gateway/commit/dd20c5467cbab5349bb3d07e53d9ff70ca7cf12d), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`338d11e`](https://github.com/graphql-hive/gateway/commit/338d11e4388bed8f603638fb67688ab047e6e64d), [`8b90a77`](https://github.com/graphql-hive/gateway/commit/8b90a77eec15be1529797af1e9d4ab4cd17b4069), [`daaf096`](https://github.com/graphql-hive/gateway/commit/daaf0962bc5c47964e9b8e03b72baf2a22a1f973), [`f42746b`](https://github.com/graphql-hive/gateway/commit/f42746b1d315b901020f4e0fb6fdee27f2a1e903), [`3866620`](https://github.com/graphql-hive/gateway/commit/386662023b82d10d97ac870ad72ff142ae341914), [`0d2700b`](https://github.com/graphql-hive/gateway/commit/0d2700bb9c2577445fa5e74cbecfa10d09fbd7c4), [`e03bae3`](https://github.com/graphql-hive/gateway/commit/e03bae3bf2727e1d402b994051e2e2f6ce021de9), [`fcedfa6`](https://github.com/graphql-hive/gateway/commit/fcedfa636ce98d4a1fbdaa501792b2e3446d9dd5), [`0511168`](https://github.com/graphql-hive/gateway/commit/0511168786cef39d26b73f447b7c0f72320ff137), [`3866620`](https://github.com/graphql-hive/gateway/commit/386662023b82d10d97ac870ad72ff142ae341914), [`672045c`](https://github.com/graphql-hive/gateway/commit/672045c18a1aec130d06d9b09bd29f512d0d9244), [`80cc25e`](https://github.com/graphql-hive/gateway/commit/80cc25e48fdec28585eb75723ecd0b7307859c5a), [`f42746b`](https://github.com/graphql-hive/gateway/commit/f42746b1d315b901020f4e0fb6fdee27f2a1e903), [`daaf096`](https://github.com/graphql-hive/gateway/commit/daaf0962bc5c47964e9b8e03b72baf2a22a1f973), [`d6de3df`](https://github.com/graphql-hive/gateway/commit/d6de3dfebe3cde499705fe89f17b1f0eeae368d0)]:
77
- - @graphql-hive/gateway-runtime@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
78
- - @graphql-hive/plugin-deduplicate-request@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
79
- - @graphql-hive/pubsub@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
80
- - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
81
- - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
82
- - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
83
- - @graphql-mesh/plugin-prometheus@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
84
- - @graphql-mesh/transport-http@1.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
85
- - @graphql-mesh/transport-http-callback@1.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
86
- - @graphql-mesh/transport-ws@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
87
- - @graphql-hive/plugin-aws-sigv4@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
88
- - @graphql-hive/importer@2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
89
- - @graphql-hive/logger@1.0.1-alpha-274ca893cc3022d002af5abc884bbc91252b1b60
71
+ - [#1343](https://github.com/graphql-hive/gateway/pull/1343) [`c574b40`](https://github.com/graphql-hive/gateway/commit/c574b40515bb127378f7522d76633fd4e694e0c9) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Patch the `@opentelemetry/sdk-trace-base` package to fix span start time precision being millisecond instead of nanosecond.
72
+
73
+ - Updated dependencies [[`f42746b`](https://github.com/graphql-hive/gateway/commit/f42746b1d315b901020f4e0fb6fdee27f2a1e903), [`d44e0ca`](https://github.com/graphql-hive/gateway/commit/d44e0ca64264c6ad4ba7ec4d5f9b0df870198775), [`dd20c54`](https://github.com/graphql-hive/gateway/commit/dd20c5467cbab5349bb3d07e53d9ff70ca7cf12d), [`4e73586`](https://github.com/graphql-hive/gateway/commit/4e73586b870ce64a1024f1a1bd45a86c161d8e00), [`f02dc3f`](https://github.com/graphql-hive/gateway/commit/f02dc3f05751bc9c8c2d743cf32c29f2e44ad37d), [`134630c`](https://github.com/graphql-hive/gateway/commit/134630c6e5665dd6e8f52e23d365df30a42d3737), [`7a85e32`](https://github.com/graphql-hive/gateway/commit/7a85e329611ab6184b5617e74b58382403495d33), [`d44e0ca`](https://github.com/graphql-hive/gateway/commit/d44e0ca64264c6ad4ba7ec4d5f9b0df870198775), [`1a76bd5`](https://github.com/graphql-hive/gateway/commit/1a76bd5dd56a2d4d6f17c958687b51fa4d9e7212), [`bf679f8`](https://github.com/graphql-hive/gateway/commit/bf679f89c8b170360562a8d60502d4481333ce1f), [`80cc25e`](https://github.com/graphql-hive/gateway/commit/80cc25e48fdec28585eb75723ecd0b7307859c5a), [`f42746b`](https://github.com/graphql-hive/gateway/commit/f42746b1d315b901020f4e0fb6fdee27f2a1e903), [`dd20c54`](https://github.com/graphql-hive/gateway/commit/dd20c5467cbab5349bb3d07e53d9ff70ca7cf12d), [`8b90a77`](https://github.com/graphql-hive/gateway/commit/8b90a77eec15be1529797af1e9d4ab4cd17b4069), [`f42746b`](https://github.com/graphql-hive/gateway/commit/f42746b1d315b901020f4e0fb6fdee27f2a1e903), [`3866620`](https://github.com/graphql-hive/gateway/commit/386662023b82d10d97ac870ad72ff142ae341914), [`0d2700b`](https://github.com/graphql-hive/gateway/commit/0d2700bb9c2577445fa5e74cbecfa10d09fbd7c4), [`e03bae3`](https://github.com/graphql-hive/gateway/commit/e03bae3bf2727e1d402b994051e2e2f6ce021de9), [`fcedfa6`](https://github.com/graphql-hive/gateway/commit/fcedfa636ce98d4a1fbdaa501792b2e3446d9dd5), [`0511168`](https://github.com/graphql-hive/gateway/commit/0511168786cef39d26b73f447b7c0f72320ff137), [`3866620`](https://github.com/graphql-hive/gateway/commit/386662023b82d10d97ac870ad72ff142ae341914), [`672045c`](https://github.com/graphql-hive/gateway/commit/672045c18a1aec130d06d9b09bd29f512d0d9244), [`c574b40`](https://github.com/graphql-hive/gateway/commit/c574b40515bb127378f7522d76633fd4e694e0c9), [`80cc25e`](https://github.com/graphql-hive/gateway/commit/80cc25e48fdec28585eb75723ecd0b7307859c5a), [`f42746b`](https://github.com/graphql-hive/gateway/commit/f42746b1d315b901020f4e0fb6fdee27f2a1e903), [`d6de3df`](https://github.com/graphql-hive/gateway/commit/d6de3dfebe3cde499705fe89f17b1f0eeae368d0)]:
74
+ - @graphql-hive/gateway-runtime@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
75
+ - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
76
+ - @graphql-mesh/plugin-prometheus@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
77
+ - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
78
+ - @graphql-hive/plugin-deduplicate-request@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
79
+ - @graphql-mesh/transport-http-callback@1.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
80
+ - @graphql-hive/plugin-aws-sigv4@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
81
+ - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
82
+ - @graphql-mesh/transport-http@1.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
83
+ - @graphql-mesh/transport-ws@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
84
+ - @graphql-hive/importer@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
85
+ - @graphql-hive/pubsub@2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33
86
+ - @graphql-hive/logger@1.0.1-alpha-7a85e329611ab6184b5617e74b58382403495d33
90
87
 
91
88
  ## 1.16.3
92
89
 
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-DqXsx5Cd.cjs');
6
+ var cli = require('./cli-Cm9aDkDW.cjs');
7
7
  require('node:cluster');
8
8
  require('node:os');
9
9
  require('node:path');
package/dist/bin.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import 'dotenv/config';
3
3
  import module from 'node:module';
4
4
  import { Logger } from '@graphql-hive/logger';
5
- import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-BG8XaVLT.js';
5
+ import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-BPJkk_8e.js';
6
6
  import 'node:cluster';
7
7
  import 'node:os';
8
8
  import 'node:path';
@@ -6,7 +6,7 @@ import { Option, Command, InvalidArgumentError } from '@commander-js/extra-typin
6
6
  import { LegacyLogger, Logger } from '@graphql-hive/logger';
7
7
  import { renderGraphiQL } from '@graphql-yoga/render-graphiql';
8
8
  import { getGraphQLWSOptions, createLoggerFromLogging, createGatewayRuntime } from '@graphql-hive/gateway-runtime';
9
- import { MemPubSub } from '@graphql-hive/pubsub';
9
+ import { PubSub } from '@graphql-hive/pubsub';
10
10
  import { registerTerminateHandler, isUrl } from '@graphql-mesh/utils';
11
11
  import { lstat, watch } from 'node:fs/promises';
12
12
  import { pathToFileURL } from 'node:url';
@@ -764,7 +764,7 @@ const addCommand$2 = (ctx, cli) => cli.command("proxy").description(
764
764
  if (reporting) {
765
765
  registryConfig.reporting = reporting;
766
766
  }
767
- const pubsub = loadedConfig.pubsub || new MemPubSub();
767
+ const pubsub = loadedConfig.pubsub || new PubSub();
768
768
  const cwd = loadedConfig.cwd || process.cwd();
769
769
  if (loadedConfig.logging != null) {
770
770
  ctx.log = createLoggerFromLogging(loadedConfig.logging);
@@ -902,7 +902,7 @@ const addCommand$1 = (ctx, cli) => cli.command("subgraph").description(
902
902
  if (reporting) {
903
903
  registryConfig.reporting = reporting;
904
904
  }
905
- const pubsub = loadedConfig.pubsub || new MemPubSub();
905
+ const pubsub = loadedConfig.pubsub || new PubSub();
906
906
  const cwd = loadedConfig.cwd || process.cwd();
907
907
  if (loadedConfig.logging != null) {
908
908
  ctx.log = createLoggerFromLogging(loadedConfig.logging);
@@ -1136,7 +1136,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
1136
1136
  if (reporting) {
1137
1137
  registryConfig.reporting = reporting;
1138
1138
  }
1139
- const pubsub = loadedConfig.pubsub || new MemPubSub();
1139
+ const pubsub = loadedConfig.pubsub || new PubSub();
1140
1140
  const cwd = loadedConfig.cwd || process.cwd();
1141
1141
  if (loadedConfig.logging != null) {
1142
1142
  ctx.log = createLoggerFromLogging(loadedConfig.logging);
@@ -771,7 +771,7 @@ const addCommand$2 = (ctx, cli) => cli.command("proxy").description(
771
771
  if (reporting) {
772
772
  registryConfig.reporting = reporting;
773
773
  }
774
- const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
774
+ const pubsub$1 = loadedConfig.pubsub || new pubsub.PubSub();
775
775
  const cwd = loadedConfig.cwd || process.cwd();
776
776
  if (loadedConfig.logging != null) {
777
777
  ctx.log = gatewayRuntime.createLoggerFromLogging(loadedConfig.logging);
@@ -909,7 +909,7 @@ const addCommand$1 = (ctx, cli) => cli.command("subgraph").description(
909
909
  if (reporting) {
910
910
  registryConfig.reporting = reporting;
911
911
  }
912
- const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
912
+ const pubsub$1 = loadedConfig.pubsub || new pubsub.PubSub();
913
913
  const cwd = loadedConfig.cwd || process.cwd();
914
914
  if (loadedConfig.logging != null) {
915
915
  ctx.log = gatewayRuntime.createLoggerFromLogging(loadedConfig.logging);
@@ -1143,7 +1143,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
1143
1143
  if (reporting) {
1144
1144
  registryConfig.reporting = reporting;
1145
1145
  }
1146
- const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
1146
+ const pubsub$1 = loadedConfig.pubsub || new pubsub.PubSub();
1147
1147
  const cwd = loadedConfig.cwd || process.cwd();
1148
1148
  if (loadedConfig.logging != null) {
1149
1149
  ctx.log = gatewayRuntime.createLoggerFromLogging(loadedConfig.logging);
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var cli = require('./cli-DqXsx5Cd.cjs');
3
+ var cli = require('./cli-Cm9aDkDW.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');
@@ -59,6 +59,10 @@ exports.getBuiltinPluginsFromConfig = cli.getBuiltinPluginsFromConfig;
59
59
  exports.getCacheInstanceFromConfig = cli.getCacheInstanceFromConfig;
60
60
  exports.handleNodeWarnings = cli.handleNodeWarnings;
61
61
  exports.run = cli.run;
62
+ Object.defineProperty(exports, "PubSub", {
63
+ enumerable: true,
64
+ get: function () { return pubsub.PubSub; }
65
+ });
62
66
  Object.defineProperty(exports, "usePrometheus", {
63
67
  enumerable: true,
64
68
  get: function () { return pluginPrometheus__default.default; }
@@ -119,12 +123,6 @@ Object.keys(gatewayRuntime).forEach(function (k) {
119
123
  get: function () { return gatewayRuntime[k]; }
120
124
  });
121
125
  });
122
- Object.keys(pubsub).forEach(function (k) {
123
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
124
- enumerable: true,
125
- get: function () { return pubsub[k]; }
126
- });
127
- });
128
126
  Object.keys(pluginJwtAuth).forEach(function (k) {
129
127
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
130
128
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -5,8 +5,8 @@ export * from '@graphql-hive/gateway-runtime';
5
5
  import { Logger } from '@graphql-hive/logger';
6
6
  export * from '@graphql-hive/logger';
7
7
  import { AWSSignv4PluginOptions } from '@graphql-hive/plugin-aws-sigv4';
8
- import { PubSub } from '@graphql-hive/pubsub';
9
- export * from '@graphql-hive/pubsub';
8
+ import { HivePubSub } from '@graphql-hive/pubsub';
9
+ export { PubSub } from '@graphql-hive/pubsub';
10
10
  import UpstashRedisCache from '@graphql-mesh/cache-upstash-redis';
11
11
  export { default as UpstashRedisCache } from '@graphql-mesh/cache-upstash-redis';
12
12
  import { JWTAuthPluginOptions } from '@graphql-mesh/plugin-jwt-auth';
@@ -135,7 +135,7 @@ interface GatewayCLIProxyConfig extends Omit<GatewayConfigProxy, 'proxy' | 'cach
135
135
  }
136
136
  type KeyValueCacheFactoryFn = (ctx: {
137
137
  log: Logger;
138
- pubsub: PubSub;
138
+ pubsub: HivePubSub;
139
139
  cwd: string;
140
140
  }) => KeyValueCache;
141
141
  interface GatewayCLIBuiltinPluginConfig {
@@ -321,7 +321,7 @@ declare function enableModuleCachingIfPossible(): void;
321
321
  declare function getBuiltinPluginsFromConfig(config: GatewayCLIBuiltinPluginConfig, ctx: {
322
322
  cache: KeyValueCache;
323
323
  log: Logger;
324
- pubsub: PubSub;
324
+ pubsub: HivePubSub;
325
325
  cwd: string;
326
326
  }): Promise<GatewayPlugin[]>;
327
327
  /**
@@ -330,7 +330,7 @@ declare function getBuiltinPluginsFromConfig(config: GatewayCLIBuiltinPluginConf
330
330
  */
331
331
  declare function getCacheInstanceFromConfig(config: GatewayCLIBuiltinPluginConfig, ctx: {
332
332
  log: Logger;
333
- pubsub: PubSub;
333
+ pubsub: HivePubSub;
334
334
  cwd: string;
335
335
  }): Promise<KeyValueCache>;
336
336
 
package/dist/index.d.ts CHANGED
@@ -5,8 +5,8 @@ export * from '@graphql-hive/gateway-runtime';
5
5
  import { Logger } from '@graphql-hive/logger';
6
6
  export * from '@graphql-hive/logger';
7
7
  import { AWSSignv4PluginOptions } from '@graphql-hive/plugin-aws-sigv4';
8
- import { PubSub } from '@graphql-hive/pubsub';
9
- export * from '@graphql-hive/pubsub';
8
+ import { HivePubSub } from '@graphql-hive/pubsub';
9
+ export { PubSub } from '@graphql-hive/pubsub';
10
10
  import UpstashRedisCache from '@graphql-mesh/cache-upstash-redis';
11
11
  export { default as UpstashRedisCache } from '@graphql-mesh/cache-upstash-redis';
12
12
  import { JWTAuthPluginOptions } from '@graphql-mesh/plugin-jwt-auth';
@@ -135,7 +135,7 @@ interface GatewayCLIProxyConfig extends Omit<GatewayConfigProxy, 'proxy' | 'cach
135
135
  }
136
136
  type KeyValueCacheFactoryFn = (ctx: {
137
137
  log: Logger;
138
- pubsub: PubSub;
138
+ pubsub: HivePubSub;
139
139
  cwd: string;
140
140
  }) => KeyValueCache;
141
141
  interface GatewayCLIBuiltinPluginConfig {
@@ -321,7 +321,7 @@ declare function enableModuleCachingIfPossible(): void;
321
321
  declare function getBuiltinPluginsFromConfig(config: GatewayCLIBuiltinPluginConfig, ctx: {
322
322
  cache: KeyValueCache;
323
323
  log: Logger;
324
- pubsub: PubSub;
324
+ pubsub: HivePubSub;
325
325
  cwd: string;
326
326
  }): Promise<GatewayPlugin[]>;
327
327
  /**
@@ -330,7 +330,7 @@ declare function getBuiltinPluginsFromConfig(config: GatewayCLIBuiltinPluginConf
330
330
  */
331
331
  declare function getCacheInstanceFromConfig(config: GatewayCLIBuiltinPluginConfig, ctx: {
332
332
  log: Logger;
333
- pubsub: PubSub;
333
+ pubsub: HivePubSub;
334
334
  cwd: string;
335
335
  }): Promise<KeyValueCache>;
336
336
 
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
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-BG8XaVLT.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-BPJkk_8e.js';
2
2
  export * from '@graphql-hive/logger';
3
3
  export * from '@graphql-hive/gateway-runtime';
4
- export * from '@graphql-hive/pubsub';
4
+ export { PubSub } from '@graphql-hive/pubsub';
5
5
  export * from '@graphql-mesh/plugin-jwt-auth';
6
6
  export * from '@graphql-mesh/plugin-opentelemetry';
7
7
  export * from '@graphql-mesh/plugin-prometheus';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway",
3
- "version": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
3
+ "version": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -53,30 +53,30 @@
53
53
  "@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
54
54
  "@escape.tech/graphql-armor-max-depth": "^2.4.0",
55
55
  "@escape.tech/graphql-armor-max-tokens": "^2.5.0",
56
- "@graphql-hive/gateway-runtime": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
57
- "@graphql-hive/importer": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
58
- "@graphql-hive/logger": "1.0.1-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
59
- "@graphql-hive/plugin-aws-sigv4": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
60
- "@graphql-hive/plugin-deduplicate-request": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
61
- "@graphql-hive/pubsub": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
62
- "@graphql-mesh/cache-cfw-kv": "0.105.8-alpha-20250820153219-b2217809810400a0a95b79558f0166ddb563f0bb",
63
- "@graphql-mesh/cache-localforage": "0.105.9-alpha-20250820153219-b2217809810400a0a95b79558f0166ddb563f0bb",
64
- "@graphql-mesh/cache-redis": "0.104.8-alpha-20250820153219-b2217809810400a0a95b79558f0166ddb563f0bb",
65
- "@graphql-mesh/cache-upstash-redis": "0.1.8-alpha-20250820153219-b2217809810400a0a95b79558f0166ddb563f0bb",
56
+ "@graphql-hive/gateway-runtime": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
57
+ "@graphql-hive/importer": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
58
+ "@graphql-hive/logger": "1.0.1-alpha-7a85e329611ab6184b5617e74b58382403495d33",
59
+ "@graphql-hive/plugin-aws-sigv4": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
60
+ "@graphql-hive/plugin-deduplicate-request": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
61
+ "@graphql-hive/pubsub": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
62
+ "@graphql-mesh/cache-cfw-kv": "^0.105.7",
63
+ "@graphql-mesh/cache-localforage": "^0.105.8",
64
+ "@graphql-mesh/cache-redis": "^0.104.7",
65
+ "@graphql-mesh/cache-upstash-redis": "^0.1.7",
66
66
  "@graphql-mesh/cross-helpers": "^0.4.10",
67
- "@graphql-mesh/hmac-upstream-signature": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
67
+ "@graphql-mesh/hmac-upstream-signature": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
68
68
  "@graphql-mesh/plugin-http-cache": "^0.105.8",
69
69
  "@graphql-mesh/plugin-jit": "^0.2.7",
70
- "@graphql-mesh/plugin-jwt-auth": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
71
- "@graphql-mesh/plugin-opentelemetry": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
72
- "@graphql-mesh/plugin-prometheus": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
70
+ "@graphql-mesh/plugin-jwt-auth": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
71
+ "@graphql-mesh/plugin-opentelemetry": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
72
+ "@graphql-mesh/plugin-prometheus": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
73
73
  "@graphql-mesh/plugin-rate-limit": "^0.104.7",
74
74
  "@graphql-mesh/plugin-snapshot": "^0.104.7",
75
- "@graphql-mesh/transport-http": "1.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
76
- "@graphql-mesh/transport-http-callback": "1.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
77
- "@graphql-mesh/transport-ws": "2.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
78
- "@graphql-mesh/types": "0.104.8-alpha-20250820154906-c854a2b54847db114256951ae911aaf49b5e67a0",
79
- "@graphql-mesh/utils": "0.104.8-alpha-20250820154906-c854a2b54847db114256951ae911aaf49b5e67a0",
75
+ "@graphql-mesh/transport-http": "1.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
76
+ "@graphql-mesh/transport-http-callback": "1.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
77
+ "@graphql-mesh/transport-ws": "2.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
78
+ "@graphql-mesh/types": "^0.104.7",
79
+ "@graphql-mesh/utils": "^0.104.7",
80
80
  "@graphql-tools/code-file-loader": "^8.1.22",
81
81
  "@graphql-tools/graphql-file-loader": "^8.0.22",
82
82
  "@graphql-tools/load": "^8.1.2",
@@ -94,7 +94,7 @@
94
94
  "@opentelemetry/sampler-jaeger-remote": "^0.203.0",
95
95
  "@opentelemetry/sdk-logs": "^0.203.0",
96
96
  "@opentelemetry/sdk-metrics": "^2.0.1",
97
- "@opentelemetry/sdk-trace-base": "^2.0.1",
97
+ "@opentelemetry/sdk-trace-base": "patch:@opentelemetry/sdk-trace-base@patch%3A@opentelemetry/sdk-trace-base@npm%253A2.0.1%23~/.yarn/patches/@opentelemetry-sdk-trace-base-npm-2.0.1-ebe4f8e34e.patch%3A%3Aversion=2.0.1&hash=212481#~/.yarn/patches/@opentelemetry-sdk-trace-base-patch-0b7dbf6a30.patch",
98
98
  "commander": "^13.1.0",
99
99
  "dotenv": "^17.2.1",
100
100
  "graphql-ws": "^6.0.6",
@@ -103,7 +103,7 @@
103
103
  "ws": "^8.18.3"
104
104
  },
105
105
  "devDependencies": {
106
- "@graphql-mesh/transport-common": "1.0.0-alpha-274ca893cc3022d002af5abc884bbc91252b1b60",
106
+ "@graphql-mesh/transport-common": "1.0.0-alpha-7a85e329611ab6184b5617e74b58382403495d33",
107
107
  "@graphql-mesh/transport-soap": "^0.10.8",
108
108
  "@graphql-tools/executor": "^1.4.9",
109
109
  "@rollup/plugin-commonjs": "^28.0.0",