@graphql-hive/gateway 2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f → 2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3

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-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
3
+ ## 2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
4
4
  ### Major Changes
5
5
 
6
6
 
@@ -92,20 +92,20 @@
92
92
  - Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
93
93
  - Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
94
94
  - Removed dependency [`@graphql-mesh/plugin-mock@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.8) (from `dependencies`)
95
- - Updated dependencies [[`7766e3c`](https://github.com/graphql-hive/gateway/commit/7766e3c52272c5a58cc9a25b9d1a0e2886be11e1), [`a2312e1`](https://github.com/graphql-hive/gateway/commit/a2312e13ae88269457c61c2ef16d01f43207a0d2), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`37113d1`](https://github.com/graphql-hive/gateway/commit/37113d1a446748fd83da9823e27a0f56872317df), [`8db36e9`](https://github.com/graphql-hive/gateway/commit/8db36e9e19e0885d498dd44575ebdf4e25d5bd34), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`cfa763a`](https://github.com/graphql-hive/gateway/commit/cfa763ac9d75310b916064168f8a2c14fc9853ef), [`0a2d8ab`](https://github.com/graphql-hive/gateway/commit/0a2d8abfa4d8e9dacba156055b1230de8d389551), [`4c667df`](https://github.com/graphql-hive/gateway/commit/4c667dfc22371fd0b78f56d7f022c26e386facc9), [`a2312e1`](https://github.com/graphql-hive/gateway/commit/a2312e13ae88269457c61c2ef16d01f43207a0d2), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`42de363`](https://github.com/graphql-hive/gateway/commit/42de3635744b881032b098eb42a1b8e7103bb09f), [`b22e33c`](https://github.com/graphql-hive/gateway/commit/b22e33c09d82f27889a1d49f05c94c814d858fcc), [`33a89bd`](https://github.com/graphql-hive/gateway/commit/33a89bd92774d4b1331e726f15816b942a2d0892), [`7766e3c`](https://github.com/graphql-hive/gateway/commit/7766e3c52272c5a58cc9a25b9d1a0e2886be11e1), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`8db36e9`](https://github.com/graphql-hive/gateway/commit/8db36e9e19e0885d498dd44575ebdf4e25d5bd34), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`37113d1`](https://github.com/graphql-hive/gateway/commit/37113d1a446748fd83da9823e27a0f56872317df), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`2cb44ee`](https://github.com/graphql-hive/gateway/commit/2cb44ee21ec00210a9e292b40f0e1964e03ec09f), [`7766e3c`](https://github.com/graphql-hive/gateway/commit/7766e3c52272c5a58cc9a25b9d1a0e2886be11e1), [`7019f12`](https://github.com/graphql-hive/gateway/commit/7019f12f0a571df4c9fd8908110c8b33436a3063), [`f25f27e`](https://github.com/graphql-hive/gateway/commit/f25f27e7c4fa9f38626c19d2f94e62d53dedc03e), [`e70fb84`](https://github.com/graphql-hive/gateway/commit/e70fb84f7acaa7756116f4c4f4dedf9a72c25b6b), [`7e79f17`](https://github.com/graphql-hive/gateway/commit/7e79f17973c5711ee1be87b80f653a5a293075a2), [`8e4e52f`](https://github.com/graphql-hive/gateway/commit/8e4e52f5204ae992704f4edc656c422271b341b7), [`7019f12`](https://github.com/graphql-hive/gateway/commit/7019f12f0a571df4c9fd8908110c8b33436a3063), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`590b930`](https://github.com/graphql-hive/gateway/commit/590b93040edc6309728e4fda72168fc2d13681a9), [`33a89bd`](https://github.com/graphql-hive/gateway/commit/33a89bd92774d4b1331e726f15816b942a2d0892), [`7766e3c`](https://github.com/graphql-hive/gateway/commit/7766e3c52272c5a58cc9a25b9d1a0e2886be11e1), [`d031c51`](https://github.com/graphql-hive/gateway/commit/d031c51b8cdc244fbbc566fb7f32e48ad0f4283f)]:
96
- - @graphql-hive/gateway-runtime@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
97
- - @graphql-hive/plugin-deduplicate-request@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
98
- - @graphql-mesh/hmac-upstream-signature@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
99
- - @graphql-mesh/plugin-jwt-auth@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
100
- - @graphql-mesh/plugin-opentelemetry@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
101
- - @graphql-mesh/plugin-prometheus@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
102
- - @graphql-mesh/transport-http@1.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
103
- - @graphql-mesh/transport-http-callback@1.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
104
- - @graphql-mesh/transport-ws@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
105
- - @graphql-hive/plugin-aws-sigv4@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
106
- - @graphql-hive/importer@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
107
- - @graphql-hive/pubsub@2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
108
- - @graphql-hive/logger@1.0.1-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f
95
+ - Updated dependencies [[`7766e3c`](https://github.com/graphql-hive/gateway/commit/7766e3c52272c5a58cc9a25b9d1a0e2886be11e1), [`a2312e1`](https://github.com/graphql-hive/gateway/commit/a2312e13ae88269457c61c2ef16d01f43207a0d2), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`37113d1`](https://github.com/graphql-hive/gateway/commit/37113d1a446748fd83da9823e27a0f56872317df), [`8db36e9`](https://github.com/graphql-hive/gateway/commit/8db36e9e19e0885d498dd44575ebdf4e25d5bd34), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`1c09b45`](https://github.com/graphql-hive/gateway/commit/1c09b45ad0e2a8729df79ac322cb25a21be149ba), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`cfa763a`](https://github.com/graphql-hive/gateway/commit/cfa763ac9d75310b916064168f8a2c14fc9853ef), [`0a2d8ab`](https://github.com/graphql-hive/gateway/commit/0a2d8abfa4d8e9dacba156055b1230de8d389551), [`4c667df`](https://github.com/graphql-hive/gateway/commit/4c667dfc22371fd0b78f56d7f022c26e386facc9), [`a2312e1`](https://github.com/graphql-hive/gateway/commit/a2312e13ae88269457c61c2ef16d01f43207a0d2), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`42de363`](https://github.com/graphql-hive/gateway/commit/42de3635744b881032b098eb42a1b8e7103bb09f), [`b22e33c`](https://github.com/graphql-hive/gateway/commit/b22e33c09d82f27889a1d49f05c94c814d858fcc), [`33a89bd`](https://github.com/graphql-hive/gateway/commit/33a89bd92774d4b1331e726f15816b942a2d0892), [`7766e3c`](https://github.com/graphql-hive/gateway/commit/7766e3c52272c5a58cc9a25b9d1a0e2886be11e1), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`8db36e9`](https://github.com/graphql-hive/gateway/commit/8db36e9e19e0885d498dd44575ebdf4e25d5bd34), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`37113d1`](https://github.com/graphql-hive/gateway/commit/37113d1a446748fd83da9823e27a0f56872317df), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`2cb44ee`](https://github.com/graphql-hive/gateway/commit/2cb44ee21ec00210a9e292b40f0e1964e03ec09f), [`94115dc`](https://github.com/graphql-hive/gateway/commit/94115dc5f4af66e8f04bf97c7ec642b49d194132), [`7766e3c`](https://github.com/graphql-hive/gateway/commit/7766e3c52272c5a58cc9a25b9d1a0e2886be11e1), [`7019f12`](https://github.com/graphql-hive/gateway/commit/7019f12f0a571df4c9fd8908110c8b33436a3063), [`f25f27e`](https://github.com/graphql-hive/gateway/commit/f25f27e7c4fa9f38626c19d2f94e62d53dedc03e), [`e70fb84`](https://github.com/graphql-hive/gateway/commit/e70fb84f7acaa7756116f4c4f4dedf9a72c25b6b), [`7e79f17`](https://github.com/graphql-hive/gateway/commit/7e79f17973c5711ee1be87b80f653a5a293075a2), [`8e4e52f`](https://github.com/graphql-hive/gateway/commit/8e4e52f5204ae992704f4edc656c422271b341b7), [`7019f12`](https://github.com/graphql-hive/gateway/commit/7019f12f0a571df4c9fd8908110c8b33436a3063), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`590b930`](https://github.com/graphql-hive/gateway/commit/590b93040edc6309728e4fda72168fc2d13681a9), [`33a89bd`](https://github.com/graphql-hive/gateway/commit/33a89bd92774d4b1331e726f15816b942a2d0892), [`7766e3c`](https://github.com/graphql-hive/gateway/commit/7766e3c52272c5a58cc9a25b9d1a0e2886be11e1), [`94115dc`](https://github.com/graphql-hive/gateway/commit/94115dc5f4af66e8f04bf97c7ec642b49d194132), [`d031c51`](https://github.com/graphql-hive/gateway/commit/d031c51b8cdc244fbbc566fb7f32e48ad0f4283f)]:
96
+ - @graphql-hive/gateway-runtime@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
97
+ - @graphql-hive/plugin-deduplicate-request@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
98
+ - @graphql-hive/pubsub@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
99
+ - @graphql-mesh/hmac-upstream-signature@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
100
+ - @graphql-mesh/plugin-jwt-auth@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
101
+ - @graphql-mesh/plugin-opentelemetry@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
102
+ - @graphql-mesh/plugin-prometheus@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
103
+ - @graphql-mesh/transport-http@1.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
104
+ - @graphql-mesh/transport-http-callback@1.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
105
+ - @graphql-mesh/transport-ws@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
106
+ - @graphql-hive/plugin-aws-sigv4@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
107
+ - @graphql-hive/importer@2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
108
+ - @graphql-hive/logger@1.0.1-next-2e68d3d80a17146d049621994dc3bdbafe6490b3
109
109
 
110
110
  ## 1.16.3
111
111
 
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-Cm9aDkDW.cjs');
6
+ var cli = require('./cli-DqXsx5Cd.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-BPJkk_8e.js';
5
+ import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-BG8XaVLT.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 { PubSub } from '@graphql-hive/pubsub';
9
+ import { MemPubSub } 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 PubSub();
767
+ const pubsub = loadedConfig.pubsub || new MemPubSub();
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 PubSub();
905
+ const pubsub = loadedConfig.pubsub || new MemPubSub();
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 PubSub();
1139
+ const pubsub = loadedConfig.pubsub || new MemPubSub();
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.PubSub();
774
+ const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
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.PubSub();
912
+ const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
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.PubSub();
1146
+ const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
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-Cm9aDkDW.cjs');
3
+ var cli = require('./cli-DqXsx5Cd.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,10 +59,6 @@ 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
- });
66
62
  Object.defineProperty(exports, "usePrometheus", {
67
63
  enumerable: true,
68
64
  get: function () { return pluginPrometheus__default.default; }
@@ -123,6 +119,12 @@ Object.keys(gatewayRuntime).forEach(function (k) {
123
119
  get: function () { return gatewayRuntime[k]; }
124
120
  });
125
121
  });
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
+ });
126
128
  Object.keys(pluginJwtAuth).forEach(function (k) {
127
129
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
128
130
  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 { HivePubSub } from '@graphql-hive/pubsub';
9
- export { PubSub } from '@graphql-hive/pubsub';
8
+ import { PubSub } from '@graphql-hive/pubsub';
9
+ export * 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: HivePubSub;
138
+ pubsub: PubSub;
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: HivePubSub;
324
+ pubsub: PubSub;
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: HivePubSub;
333
+ pubsub: PubSub;
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 { HivePubSub } from '@graphql-hive/pubsub';
9
- export { PubSub } from '@graphql-hive/pubsub';
8
+ import { PubSub } from '@graphql-hive/pubsub';
9
+ export * 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: HivePubSub;
138
+ pubsub: PubSub;
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: HivePubSub;
324
+ pubsub: PubSub;
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: HivePubSub;
333
+ pubsub: PubSub;
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-BPJkk_8e.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-BG8XaVLT.js';
2
2
  export * from '@graphql-hive/logger';
3
3
  export * from '@graphql-hive/gateway-runtime';
4
- export { PubSub } from '@graphql-hive/pubsub';
4
+ export * 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-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
3
+ "version": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -53,28 +53,28 @@
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-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
57
- "@graphql-hive/importer": "2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
58
- "@graphql-hive/logger": "1.0.1-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
59
- "@graphql-hive/plugin-aws-sigv4": "2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
60
- "@graphql-hive/plugin-deduplicate-request": "2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
61
- "@graphql-hive/pubsub": "2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
56
+ "@graphql-hive/gateway-runtime": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
57
+ "@graphql-hive/importer": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
58
+ "@graphql-hive/logger": "1.0.1-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
59
+ "@graphql-hive/plugin-aws-sigv4": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
60
+ "@graphql-hive/plugin-deduplicate-request": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
61
+ "@graphql-hive/pubsub": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
62
62
  "@graphql-mesh/cache-cfw-kv": "^0.105.8",
63
63
  "@graphql-mesh/cache-localforage": "^0.105.9",
64
64
  "@graphql-mesh/cache-redis": "^0.104.8",
65
65
  "@graphql-mesh/cache-upstash-redis": "^0.1.8",
66
66
  "@graphql-mesh/cross-helpers": "^0.4.10",
67
- "@graphql-mesh/hmac-upstream-signature": "2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
67
+ "@graphql-mesh/hmac-upstream-signature": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
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-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
71
- "@graphql-mesh/plugin-opentelemetry": "2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
72
- "@graphql-mesh/plugin-prometheus": "2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
70
+ "@graphql-mesh/plugin-jwt-auth": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
71
+ "@graphql-mesh/plugin-opentelemetry": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
72
+ "@graphql-mesh/plugin-prometheus": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
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-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
76
- "@graphql-mesh/transport-http-callback": "1.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
77
- "@graphql-mesh/transport-ws": "2.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
75
+ "@graphql-mesh/transport-http": "1.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
76
+ "@graphql-mesh/transport-http-callback": "1.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
77
+ "@graphql-mesh/transport-ws": "2.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
78
78
  "@graphql-mesh/types": "^0.104.8",
79
79
  "@graphql-mesh/utils": "^0.104.8",
80
80
  "@graphql-tools/code-file-loader": "^8.1.22",
@@ -103,7 +103,7 @@
103
103
  "ws": "^8.18.3"
104
104
  },
105
105
  "devDependencies": {
106
- "@graphql-mesh/transport-common": "1.0.0-next-2ce48540f6738bbb2b5f9b4637b63e19602b314f",
106
+ "@graphql-mesh/transport-common": "1.0.0-next-2e68d3d80a17146d049621994dc3bdbafe6490b3",
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",