@graphql-hive/gateway 2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e → 2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840

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-5cbdb6875faf6857ce6e0f14d5856e647140a70e
3
+ ## 2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
4
4
 
5
5
  ### Major Changes
6
6
 
@@ -73,20 +73,20 @@
73
73
  - 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
74
  - 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
75
 
76
- - Updated dependencies [[`f05f86e`](https://github.com/graphql-hive/gateway/commit/f05f86e3200f8bebf4411d89b3615c3f31188331), [`58c4c93`](https://github.com/graphql-hive/gateway/commit/58c4c93ef1d1b69439b4dc24b7808bb96776cacd), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`3ddc835`](https://github.com/graphql-hive/gateway/commit/3ddc835a6c1e6514124c7103c32da5699c238d74), [`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), [`5b17584`](https://github.com/graphql-hive/gateway/commit/5b1758419b768b010a6c409491dc1f8b838ceb64), [`781e36e`](https://github.com/graphql-hive/gateway/commit/781e36ec330ab2506999c128517cd8988d005e1e), [`48edaa4`](https://github.com/graphql-hive/gateway/commit/48edaa409f3a2b4f366381dabccba3e2de47432f), [`58c4c93`](https://github.com/graphql-hive/gateway/commit/58c4c93ef1d1b69439b4dc24b7808bb96776cacd), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`d239643`](https://github.com/graphql-hive/gateway/commit/d239643069bf23db5131db3ccea129742770fb95), [`2d7b4ba`](https://github.com/graphql-hive/gateway/commit/2d7b4ba55f65fb7ba739ee61dffa39a06386fdc4), [`a1a9ce7`](https://github.com/graphql-hive/gateway/commit/a1a9ce76c9dd38a73f166e9a6fd4024a5fc0952c), [`f05f86e`](https://github.com/graphql-hive/gateway/commit/f05f86e3200f8bebf4411d89b3615c3f31188331), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`3ddc835`](https://github.com/graphql-hive/gateway/commit/3ddc835a6c1e6514124c7103c32da5699c238d74), [`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), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`ca999df`](https://github.com/graphql-hive/gateway/commit/ca999dfcc0346a58a3f330c1fb3291fb375b7a3b), [`f05f86e`](https://github.com/graphql-hive/gateway/commit/f05f86e3200f8bebf4411d89b3615c3f31188331), [`52b29d4`](https://github.com/graphql-hive/gateway/commit/52b29d4bafb03fc792c29f0554c6cd80afedcd39), [`d538245`](https://github.com/graphql-hive/gateway/commit/d5382452173fc8464c0e91f9649c763c136d6fae), [`9bf38db`](https://github.com/graphql-hive/gateway/commit/9bf38dbfeadd98241868640525b3365c4f2ef296), [`90b924c`](https://github.com/graphql-hive/gateway/commit/90b924ced7ccdf292e15e69b17a4ea92dca3b142), [`34a198f`](https://github.com/graphql-hive/gateway/commit/34a198f93c26a82cb7a10038e1f505612847a06b), [`52b29d4`](https://github.com/graphql-hive/gateway/commit/52b29d4bafb03fc792c29f0554c6cd80afedcd39), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`2e449bd`](https://github.com/graphql-hive/gateway/commit/2e449bd0c3e89fdb9b9464d3249ff411f418e646), [`a1a9ce7`](https://github.com/graphql-hive/gateway/commit/a1a9ce76c9dd38a73f166e9a6fd4024a5fc0952c), [`f05f86e`](https://github.com/graphql-hive/gateway/commit/f05f86e3200f8bebf4411d89b3615c3f31188331), [`eb37bd3`](https://github.com/graphql-hive/gateway/commit/eb37bd33e62dada7f16866e84dee47184461aa2a)]:
77
- - @graphql-hive/gateway-runtime@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
78
- - @graphql-hive/plugin-deduplicate-request@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
79
- - @graphql-mesh/hmac-upstream-signature@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
80
- - @graphql-mesh/plugin-jwt-auth@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
81
- - @graphql-mesh/plugin-opentelemetry@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
82
- - @graphql-mesh/plugin-prometheus@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
83
- - @graphql-mesh/transport-http@1.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
84
- - @graphql-mesh/transport-http-callback@1.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
85
- - @graphql-mesh/transport-ws@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
86
- - @graphql-hive/plugin-aws-sigv4@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
87
- - @graphql-hive/importer@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
88
- - @graphql-hive/pubsub@2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
89
- - @graphql-hive/logger@1.0.1-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e
76
+ - Updated dependencies [[`f05f86e`](https://github.com/graphql-hive/gateway/commit/f05f86e3200f8bebf4411d89b3615c3f31188331), [`58c4c93`](https://github.com/graphql-hive/gateway/commit/58c4c93ef1d1b69439b4dc24b7808bb96776cacd), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`3ddc835`](https://github.com/graphql-hive/gateway/commit/3ddc835a6c1e6514124c7103c32da5699c238d74), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`0c5bcce`](https://github.com/graphql-hive/gateway/commit/0c5bcced17c353b90ae69eebe375bc2d03347210), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`5b17584`](https://github.com/graphql-hive/gateway/commit/5b1758419b768b010a6c409491dc1f8b838ceb64), [`781e36e`](https://github.com/graphql-hive/gateway/commit/781e36ec330ab2506999c128517cd8988d005e1e), [`48edaa4`](https://github.com/graphql-hive/gateway/commit/48edaa409f3a2b4f366381dabccba3e2de47432f), [`58c4c93`](https://github.com/graphql-hive/gateway/commit/58c4c93ef1d1b69439b4dc24b7808bb96776cacd), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`d239643`](https://github.com/graphql-hive/gateway/commit/d239643069bf23db5131db3ccea129742770fb95), [`2d7b4ba`](https://github.com/graphql-hive/gateway/commit/2d7b4ba55f65fb7ba739ee61dffa39a06386fdc4), [`a1a9ce7`](https://github.com/graphql-hive/gateway/commit/a1a9ce76c9dd38a73f166e9a6fd4024a5fc0952c), [`f05f86e`](https://github.com/graphql-hive/gateway/commit/f05f86e3200f8bebf4411d89b3615c3f31188331), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`3ddc835`](https://github.com/graphql-hive/gateway/commit/3ddc835a6c1e6514124c7103c32da5699c238d74), [`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), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`ca999df`](https://github.com/graphql-hive/gateway/commit/ca999dfcc0346a58a3f330c1fb3291fb375b7a3b), [`d27f7b7`](https://github.com/graphql-hive/gateway/commit/d27f7b7031632e2fd002ba48e3d5b845a26b0b88), [`f05f86e`](https://github.com/graphql-hive/gateway/commit/f05f86e3200f8bebf4411d89b3615c3f31188331), [`52b29d4`](https://github.com/graphql-hive/gateway/commit/52b29d4bafb03fc792c29f0554c6cd80afedcd39), [`d538245`](https://github.com/graphql-hive/gateway/commit/d5382452173fc8464c0e91f9649c763c136d6fae), [`9bf38db`](https://github.com/graphql-hive/gateway/commit/9bf38dbfeadd98241868640525b3365c4f2ef296), [`90b924c`](https://github.com/graphql-hive/gateway/commit/90b924ced7ccdf292e15e69b17a4ea92dca3b142), [`34a198f`](https://github.com/graphql-hive/gateway/commit/34a198f93c26a82cb7a10038e1f505612847a06b), [`52b29d4`](https://github.com/graphql-hive/gateway/commit/52b29d4bafb03fc792c29f0554c6cd80afedcd39), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`2e449bd`](https://github.com/graphql-hive/gateway/commit/2e449bd0c3e89fdb9b9464d3249ff411f418e646), [`a1a9ce7`](https://github.com/graphql-hive/gateway/commit/a1a9ce76c9dd38a73f166e9a6fd4024a5fc0952c), [`f05f86e`](https://github.com/graphql-hive/gateway/commit/f05f86e3200f8bebf4411d89b3615c3f31188331), [`d27f7b7`](https://github.com/graphql-hive/gateway/commit/d27f7b7031632e2fd002ba48e3d5b845a26b0b88), [`eb37bd3`](https://github.com/graphql-hive/gateway/commit/eb37bd33e62dada7f16866e84dee47184461aa2a)]:
77
+ - @graphql-hive/gateway-runtime@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
78
+ - @graphql-hive/plugin-deduplicate-request@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
79
+ - @graphql-hive/pubsub@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
80
+ - @graphql-mesh/hmac-upstream-signature@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
81
+ - @graphql-mesh/plugin-jwt-auth@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
82
+ - @graphql-mesh/plugin-opentelemetry@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
83
+ - @graphql-mesh/plugin-prometheus@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
84
+ - @graphql-mesh/transport-http@1.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
85
+ - @graphql-mesh/transport-http-callback@1.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
86
+ - @graphql-mesh/transport-ws@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
87
+ - @graphql-hive/plugin-aws-sigv4@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
88
+ - @graphql-hive/importer@2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840
89
+ - @graphql-hive/logger@1.0.1-next-5955edf046c5d6a3b2fe720b4baa20225dade840
90
90
 
91
91
  ## 1.16.3
92
92
 
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-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
3
+ "version": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
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-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
57
- "@graphql-hive/importer": "2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
58
- "@graphql-hive/logger": "1.0.1-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
59
- "@graphql-hive/plugin-aws-sigv4": "2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
60
- "@graphql-hive/plugin-deduplicate-request": "2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
61
- "@graphql-hive/pubsub": "2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
56
+ "@graphql-hive/gateway-runtime": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
57
+ "@graphql-hive/importer": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
58
+ "@graphql-hive/logger": "1.0.1-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
59
+ "@graphql-hive/plugin-aws-sigv4": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
60
+ "@graphql-hive/plugin-deduplicate-request": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
61
+ "@graphql-hive/pubsub": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
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-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
67
+ "@graphql-mesh/hmac-upstream-signature": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
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-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
71
- "@graphql-mesh/plugin-opentelemetry": "2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
72
- "@graphql-mesh/plugin-prometheus": "2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
70
+ "@graphql-mesh/plugin-jwt-auth": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
71
+ "@graphql-mesh/plugin-opentelemetry": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
72
+ "@graphql-mesh/plugin-prometheus": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
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-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
76
- "@graphql-mesh/transport-http-callback": "1.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
77
- "@graphql-mesh/transport-ws": "2.0.0-next-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
75
+ "@graphql-mesh/transport-http": "1.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
76
+ "@graphql-mesh/transport-http-callback": "1.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
77
+ "@graphql-mesh/transport-ws": "2.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
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-5cbdb6875faf6857ce6e0f14d5856e647140a70e",
106
+ "@graphql-mesh/transport-common": "1.0.0-next-5955edf046c5d6a3b2fe720b4baa20225dade840",
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",