@graphql-hive/gateway 2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537 → 2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413

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-f845e6e7925e6bcc82f81accde21fbcfab10d537
3
+ ## 2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
4
4
 
5
5
  ### Major Changes
6
6
 
@@ -21,6 +21,10 @@
21
21
 
22
22
  There is no need to provide the `useMock` plugin alongside Hive Gateway built-ins. Not only is the mock plugin 2MB in size (minified), but installing and using it is very simple.
23
23
 
24
+ - [#1327](https://github.com/graphql-hive/gateway/pull/1327) [`a0287ba`](https://github.com/graphql-hive/gateway/commit/a0287ba06d98450cd5dccd27721eca7c1ad2a2fd) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Load schema on initialization
25
+
26
+ Failing to start if the schema is not loaded for whatever reason.
27
+
24
28
  ### Patch Changes
25
29
 
26
30
  - [#956](https://github.com/graphql-hive/gateway/pull/956) [`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
@@ -65,20 +69,20 @@
65
69
  - Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
66
70
  - Removed dependency [`@graphql-mesh/plugin-mock@^0.105.6` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.6) (from `dependencies`)
67
71
 
68
- - Updated dependencies [[`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`69f1cf8`](https://github.com/graphql-hive/gateway/commit/69f1cf82747e8d9613888ca58c3de21b4301306d), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`ceb4981`](https://github.com/graphql-hive/gateway/commit/ceb4981ed5c9b2c944b43c84240220463111aef5), [`016c4c8`](https://github.com/graphql-hive/gateway/commit/016c4c833ddb9fe4b470aff34b43a23dd192928a), [`0566deb`](https://github.com/graphql-hive/gateway/commit/0566deb996fd84628491cd631d483c3b1c34b632), [`c8c98bf`](https://github.com/graphql-hive/gateway/commit/c8c98bf60b187ab1645d6d9f76f6016cdc833b8c), [`1768c28`](https://github.com/graphql-hive/gateway/commit/1768c28b986866b0b7b93306200bde48aca4d559), [`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`69f1cf8`](https://github.com/graphql-hive/gateway/commit/69f1cf82747e8d9613888ca58c3de21b4301306d), [`c3a0216`](https://github.com/graphql-hive/gateway/commit/c3a021612d1277dd00dd73e20cd45b28b72799ed), [`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3), [`5029b80`](https://github.com/graphql-hive/gateway/commit/5029b80363b5991dd4bb7ce3585ac7f42a654b71), [`507f2ee`](https://github.com/graphql-hive/gateway/commit/507f2ee8ca5f515063fb60b7e3cb43597361d226), [`9b230f3`](https://github.com/graphql-hive/gateway/commit/9b230f35b47afbf3b253e4c21720e836c5a2a8d1), [`8da1d3d`](https://github.com/graphql-hive/gateway/commit/8da1d3dcfb9db64ac7adfa9e2e51b1ed5c03581e), [`88fb4b0`](https://github.com/graphql-hive/gateway/commit/88fb4b01e09ccd80814d3460be8e673a6b641ca6), [`5e62ee7`](https://github.com/graphql-hive/gateway/commit/5e62ee74e3351d51dca788661bb796615c03eb73), [`1768c28`](https://github.com/graphql-hive/gateway/commit/1768c28b986866b0b7b93306200bde48aca4d559), [`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3), [`c491469`](https://github.com/graphql-hive/gateway/commit/c4914691db8f3c36ead138bcf0eb8d862a751b2e)]:
69
- - @graphql-hive/gateway-runtime@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
70
- - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
71
- - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
72
- - @graphql-mesh/plugin-prometheus@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
73
- - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
74
- - @graphql-hive/plugin-deduplicate-request@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
75
- - @graphql-mesh/transport-http-callback@1.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
76
- - @graphql-hive/plugin-aws-sigv4@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
77
- - @graphql-mesh/transport-http@1.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
78
- - @graphql-mesh/transport-ws@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
79
- - @graphql-hive/importer@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
80
- - @graphql-hive/logger@1.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
81
- - @graphql-hive/pubsub@2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537
72
+ - Updated dependencies [[`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`69f1cf8`](https://github.com/graphql-hive/gateway/commit/69f1cf82747e8d9613888ca58c3de21b4301306d), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`ceb4981`](https://github.com/graphql-hive/gateway/commit/ceb4981ed5c9b2c944b43c84240220463111aef5), [`016c4c8`](https://github.com/graphql-hive/gateway/commit/016c4c833ddb9fe4b470aff34b43a23dd192928a), [`0566deb`](https://github.com/graphql-hive/gateway/commit/0566deb996fd84628491cd631d483c3b1c34b632), [`c8c98bf`](https://github.com/graphql-hive/gateway/commit/c8c98bf60b187ab1645d6d9f76f6016cdc833b8c), [`1768c28`](https://github.com/graphql-hive/gateway/commit/1768c28b986866b0b7b93306200bde48aca4d559), [`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`69f1cf8`](https://github.com/graphql-hive/gateway/commit/69f1cf82747e8d9613888ca58c3de21b4301306d), [`c3a0216`](https://github.com/graphql-hive/gateway/commit/c3a021612d1277dd00dd73e20cd45b28b72799ed), [`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3), [`5029b80`](https://github.com/graphql-hive/gateway/commit/5029b80363b5991dd4bb7ce3585ac7f42a654b71), [`507f2ee`](https://github.com/graphql-hive/gateway/commit/507f2ee8ca5f515063fb60b7e3cb43597361d226), [`9b230f3`](https://github.com/graphql-hive/gateway/commit/9b230f35b47afbf3b253e4c21720e836c5a2a8d1), [`8da1d3d`](https://github.com/graphql-hive/gateway/commit/8da1d3dcfb9db64ac7adfa9e2e51b1ed5c03581e), [`88fb4b0`](https://github.com/graphql-hive/gateway/commit/88fb4b01e09ccd80814d3460be8e673a6b641ca6), [`25636db`](https://github.com/graphql-hive/gateway/commit/25636dbe2066c9f59322eab9b69417d8e5727d03), [`1768c28`](https://github.com/graphql-hive/gateway/commit/1768c28b986866b0b7b93306200bde48aca4d559), [`f22b935`](https://github.com/graphql-hive/gateway/commit/f22b935203f2712405b6d74aa29bd9f94ee78ec3), [`c491469`](https://github.com/graphql-hive/gateway/commit/c4914691db8f3c36ead138bcf0eb8d862a751b2e)]:
73
+ - @graphql-hive/gateway-runtime@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
74
+ - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
75
+ - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
76
+ - @graphql-mesh/plugin-prometheus@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
77
+ - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
78
+ - @graphql-hive/plugin-deduplicate-request@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
79
+ - @graphql-mesh/transport-http-callback@1.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
80
+ - @graphql-hive/plugin-aws-sigv4@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
81
+ - @graphql-mesh/transport-http@1.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
82
+ - @graphql-mesh/transport-ws@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
83
+ - @graphql-hive/importer@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
84
+ - @graphql-hive/logger@1.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
85
+ - @graphql-hive/pubsub@2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413
82
86
 
83
87
  ## 1.15.4
84
88
 
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-w6SSRswf.cjs');
6
+ var cli = require('./cli-BQ10GobO.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-CEBNmXIe.js';
5
+ import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-CpJrCTMy.js';
6
6
  import 'node:cluster';
7
7
  import 'node:os';
8
8
  import 'node:path';
@@ -712,8 +712,10 @@ async function runProxy({ log }, config) {
712
712
  if (handleFork(log, config)) {
713
713
  return;
714
714
  }
715
- log.info(`Proxying requests to ${config.proxy.endpoint}`);
716
715
  const runtime = gatewayRuntime.createGatewayRuntime(config);
716
+ log.info({ endpoint: config.proxy.endpoint }, "Loading schema");
717
+ await runtime.getSchema();
718
+ log.info({ endpoint: config.proxy.endpoint }, "Proxying requests");
717
719
  await startServerForRuntime(runtime, {
718
720
  ...config,
719
721
  log
@@ -842,12 +844,13 @@ async function runSubgraph({ log }, config) {
842
844
  }
843
845
  const runtime = gatewayRuntime.createGatewayRuntime(config);
844
846
  if (absSchemaPath) {
845
- log.info(`Serving local subgraph from ${absSchemaPath}`);
847
+ log.info(`Loading local subgraph from ${absSchemaPath}`);
846
848
  } else if (utils.isUrl(String(config.subgraph))) {
847
- log.info(`Serving remote subgraph from ${config.subgraph}`);
849
+ log.info(`Loading remote subgraph from ${config.subgraph}`);
848
850
  } else {
849
- log.info("Serving subgraph from config");
851
+ log.info("Loading subgraph from config");
850
852
  }
853
+ await runtime.getSchema();
851
854
  await startServerForRuntime(runtime, {
852
855
  ...config,
853
856
  log
@@ -890,12 +893,12 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
890
893
  });
891
894
  let supergraph2 = "./supergraph.graphql";
892
895
  if (schemaPathOrUrl) {
893
- ctx.log.info(`Supergraph will be loaded from ${schemaPathOrUrl}`);
896
+ ctx.log.info(`Supergraph will be loaded from "${schemaPathOrUrl}"`);
894
897
  if (hiveCdnKey) {
895
898
  ctx.log.info("Using Hive CDN key");
896
899
  if (!utils.isUrl(schemaPathOrUrl)) {
897
900
  ctx.log.error(
898
- `Hive CDN endpoint must be a URL when providing --hive-cdn-key but got ${schemaPathOrUrl}`
901
+ `Hive CDN endpoint must be a URL when providing --hive-cdn-key but got "${schemaPathOrUrl}"`
899
902
  );
900
903
  process.exit(1);
901
904
  }
@@ -908,7 +911,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
908
911
  ctx.log.info("Using GraphOS API key");
909
912
  if (!schemaPathOrUrl.includes("@")) {
910
913
  ctx.log.error(
911
- `Apollo GraphOS requires a graph ref in the format <graph-id>@<graph-variant> when providing --apollo-key. Please provide a valid graph ref not ${schemaPathOrUrl}.`
914
+ `Apollo GraphOS requires a graph ref in the format <graph-id>@<graph-variant> when providing --apollo-key. Please provide a valid graph ref not "${schemaPathOrUrl}".`
912
915
  );
913
916
  process.exit(1);
914
917
  }
@@ -1047,13 +1050,12 @@ async function runSupergraph({ log }, config) {
1047
1050
  if (typeof config.supergraph === "string" && utils$1.isValidPath(config.supergraph) && !utils.isUrl(config.supergraph)) {
1048
1051
  const supergraphPath = config.supergraph;
1049
1052
  absSchemaPath = node_path.isAbsolute(supergraphPath) ? String(supergraphPath) : node_path.resolve(process.cwd(), supergraphPath);
1050
- log.info({ path: absSchemaPath }, "Reading supergraph");
1051
1053
  try {
1052
1054
  await promises.lstat(absSchemaPath);
1053
1055
  } catch (err) {
1054
1056
  log.error(
1055
1057
  { path: absSchemaPath, err },
1056
- "Could not read supergraph. Make sure the file exists."
1058
+ "Could not find supergraph. Make sure the file exists."
1057
1059
  );
1058
1060
  process.exit(1);
1059
1061
  }
@@ -1061,7 +1063,7 @@ async function runSupergraph({ log }, config) {
1061
1063
  if (absSchemaPath) {
1062
1064
  delete config.pollingInterval;
1063
1065
  if (cluster__default.default.isPrimary) {
1064
- log.info({ path: absSchemaPath }, "Watching supergraph for changes");
1066
+ log.info({ path: absSchemaPath }, "Watching supergraph file for changes");
1065
1067
  const ctrl = new AbortController();
1066
1068
  utils.registerTerminateHandler((signal) => {
1067
1069
  log.info(
@@ -1129,17 +1131,18 @@ async function runSupergraph({ log }, config) {
1129
1131
  }
1130
1132
  const runtime = gatewayRuntime.createGatewayRuntime(config);
1131
1133
  if (absSchemaPath) {
1132
- log.info({ path: absSchemaPath }, "Serving local supergraph");
1134
+ log.info({ path: absSchemaPath }, "Loading local supergraph");
1133
1135
  } else if (utils.isUrl(String(config.supergraph))) {
1134
- log.info({ url: config.supergraph }, "Serving remote supergraph");
1136
+ log.info({ url: config.supergraph }, "Loading remote supergraph");
1135
1137
  } else if (typeof config.supergraph === "object" && "type" in config.supergraph && config.supergraph.type === "hive") {
1136
1138
  log.info(
1137
1139
  { endpoint: config.supergraph.endpoint },
1138
- "Serving supergraph from Hive CDN"
1140
+ "Loading supergraph from Hive CDN"
1139
1141
  );
1140
1142
  } else {
1141
- log.info("Serving supergraph from config");
1143
+ log.info("Loading supergraph from config");
1142
1144
  }
1145
+ await runtime.getSchema();
1143
1146
  await startServerForRuntime(runtime, {
1144
1147
  ...config,
1145
1148
  log
@@ -705,8 +705,10 @@ async function runProxy({ log }, config) {
705
705
  if (handleFork(log, config)) {
706
706
  return;
707
707
  }
708
- log.info(`Proxying requests to ${config.proxy.endpoint}`);
709
708
  const runtime = createGatewayRuntime(config);
709
+ log.info({ endpoint: config.proxy.endpoint }, "Loading schema");
710
+ await runtime.getSchema();
711
+ log.info({ endpoint: config.proxy.endpoint }, "Proxying requests");
710
712
  await startServerForRuntime(runtime, {
711
713
  ...config,
712
714
  log
@@ -835,12 +837,13 @@ async function runSubgraph({ log }, config) {
835
837
  }
836
838
  const runtime = createGatewayRuntime(config);
837
839
  if (absSchemaPath) {
838
- log.info(`Serving local subgraph from ${absSchemaPath}`);
840
+ log.info(`Loading local subgraph from ${absSchemaPath}`);
839
841
  } else if (isUrl(String(config.subgraph))) {
840
- log.info(`Serving remote subgraph from ${config.subgraph}`);
842
+ log.info(`Loading remote subgraph from ${config.subgraph}`);
841
843
  } else {
842
- log.info("Serving subgraph from config");
844
+ log.info("Loading subgraph from config");
843
845
  }
846
+ await runtime.getSchema();
844
847
  await startServerForRuntime(runtime, {
845
848
  ...config,
846
849
  log
@@ -883,12 +886,12 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
883
886
  });
884
887
  let supergraph2 = "./supergraph.graphql";
885
888
  if (schemaPathOrUrl) {
886
- ctx.log.info(`Supergraph will be loaded from ${schemaPathOrUrl}`);
889
+ ctx.log.info(`Supergraph will be loaded from "${schemaPathOrUrl}"`);
887
890
  if (hiveCdnKey) {
888
891
  ctx.log.info("Using Hive CDN key");
889
892
  if (!isUrl(schemaPathOrUrl)) {
890
893
  ctx.log.error(
891
- `Hive CDN endpoint must be a URL when providing --hive-cdn-key but got ${schemaPathOrUrl}`
894
+ `Hive CDN endpoint must be a URL when providing --hive-cdn-key but got "${schemaPathOrUrl}"`
892
895
  );
893
896
  process.exit(1);
894
897
  }
@@ -901,7 +904,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
901
904
  ctx.log.info("Using GraphOS API key");
902
905
  if (!schemaPathOrUrl.includes("@")) {
903
906
  ctx.log.error(
904
- `Apollo GraphOS requires a graph ref in the format <graph-id>@<graph-variant> when providing --apollo-key. Please provide a valid graph ref not ${schemaPathOrUrl}.`
907
+ `Apollo GraphOS requires a graph ref in the format <graph-id>@<graph-variant> when providing --apollo-key. Please provide a valid graph ref not "${schemaPathOrUrl}".`
905
908
  );
906
909
  process.exit(1);
907
910
  }
@@ -1040,13 +1043,12 @@ async function runSupergraph({ log }, config) {
1040
1043
  if (typeof config.supergraph === "string" && isValidPath(config.supergraph) && !isUrl(config.supergraph)) {
1041
1044
  const supergraphPath = config.supergraph;
1042
1045
  absSchemaPath = isAbsolute(supergraphPath) ? String(supergraphPath) : resolve(process.cwd(), supergraphPath);
1043
- log.info({ path: absSchemaPath }, "Reading supergraph");
1044
1046
  try {
1045
1047
  await lstat(absSchemaPath);
1046
1048
  } catch (err) {
1047
1049
  log.error(
1048
1050
  { path: absSchemaPath, err },
1049
- "Could not read supergraph. Make sure the file exists."
1051
+ "Could not find supergraph. Make sure the file exists."
1050
1052
  );
1051
1053
  process.exit(1);
1052
1054
  }
@@ -1054,7 +1056,7 @@ async function runSupergraph({ log }, config) {
1054
1056
  if (absSchemaPath) {
1055
1057
  delete config.pollingInterval;
1056
1058
  if (cluster.isPrimary) {
1057
- log.info({ path: absSchemaPath }, "Watching supergraph for changes");
1059
+ log.info({ path: absSchemaPath }, "Watching supergraph file for changes");
1058
1060
  const ctrl = new AbortController();
1059
1061
  registerTerminateHandler((signal) => {
1060
1062
  log.info(
@@ -1122,17 +1124,18 @@ async function runSupergraph({ log }, config) {
1122
1124
  }
1123
1125
  const runtime = createGatewayRuntime(config);
1124
1126
  if (absSchemaPath) {
1125
- log.info({ path: absSchemaPath }, "Serving local supergraph");
1127
+ log.info({ path: absSchemaPath }, "Loading local supergraph");
1126
1128
  } else if (isUrl(String(config.supergraph))) {
1127
- log.info({ url: config.supergraph }, "Serving remote supergraph");
1129
+ log.info({ url: config.supergraph }, "Loading remote supergraph");
1128
1130
  } else if (typeof config.supergraph === "object" && "type" in config.supergraph && config.supergraph.type === "hive") {
1129
1131
  log.info(
1130
1132
  { endpoint: config.supergraph.endpoint },
1131
- "Serving supergraph from Hive CDN"
1133
+ "Loading supergraph from Hive CDN"
1132
1134
  );
1133
1135
  } else {
1134
- log.info("Serving supergraph from config");
1136
+ log.info("Loading supergraph from config");
1135
1137
  }
1138
+ await runtime.getSchema();
1136
1139
  await startServerForRuntime(runtime, {
1137
1140
  ...config,
1138
1141
  log
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var cli = require('./cli-w6SSRswf.cjs');
3
+ var cli = require('./cli-BQ10GobO.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-CEBNmXIe.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-CpJrCTMy.js';
2
2
  export * from '@graphql-hive/logger';
3
3
  export * from '@graphql-hive/gateway-runtime';
4
4
  export { PubSub } from '@graphql-hive/pubsub';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway",
3
- "version": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
3
+ "version": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
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-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
57
- "@graphql-hive/importer": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
58
- "@graphql-hive/logger": "1.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
59
- "@graphql-hive/plugin-aws-sigv4": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
60
- "@graphql-hive/plugin-deduplicate-request": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
61
- "@graphql-hive/pubsub": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
56
+ "@graphql-hive/gateway-runtime": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
57
+ "@graphql-hive/importer": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
58
+ "@graphql-hive/logger": "1.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
59
+ "@graphql-hive/plugin-aws-sigv4": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
60
+ "@graphql-hive/plugin-deduplicate-request": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
61
+ "@graphql-hive/pubsub": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
62
62
  "@graphql-mesh/cache-cfw-kv": "^0.105.5",
63
63
  "@graphql-mesh/cache-localforage": "^0.105.6",
64
64
  "@graphql-mesh/cache-redis": "^0.104.5",
65
65
  "@graphql-mesh/cache-upstash-redis": "^0.1.5",
66
66
  "@graphql-mesh/cross-helpers": "^0.4.10",
67
- "@graphql-mesh/hmac-upstream-signature": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
67
+ "@graphql-mesh/hmac-upstream-signature": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
68
68
  "@graphql-mesh/plugin-http-cache": "^0.105.6",
69
69
  "@graphql-mesh/plugin-jit": "^0.2.5",
70
- "@graphql-mesh/plugin-jwt-auth": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
71
- "@graphql-mesh/plugin-opentelemetry": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
72
- "@graphql-mesh/plugin-prometheus": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
70
+ "@graphql-mesh/plugin-jwt-auth": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
71
+ "@graphql-mesh/plugin-opentelemetry": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
72
+ "@graphql-mesh/plugin-prometheus": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
73
73
  "@graphql-mesh/plugin-rate-limit": "^0.104.5",
74
74
  "@graphql-mesh/plugin-snapshot": "^0.104.5",
75
- "@graphql-mesh/transport-http": "1.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
76
- "@graphql-mesh/transport-http-callback": "1.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
77
- "@graphql-mesh/transport-ws": "2.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
75
+ "@graphql-mesh/transport-http": "1.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
76
+ "@graphql-mesh/transport-http-callback": "1.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
77
+ "@graphql-mesh/transport-ws": "2.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
78
78
  "@graphql-mesh/types": "^0.104.5",
79
79
  "@graphql-mesh/utils": "^0.104.5",
80
80
  "@graphql-tools/code-file-loader": "^8.1.15",
@@ -101,7 +101,7 @@
101
101
  "ws": "^8.18.0"
102
102
  },
103
103
  "devDependencies": {
104
- "@graphql-mesh/transport-common": "1.0.0-alpha-f845e6e7925e6bcc82f81accde21fbcfab10d537",
104
+ "@graphql-mesh/transport-common": "1.0.0-alpha-e51140b8666184716a0ec2af84e15f93b94b1413",
105
105
  "@graphql-mesh/transport-soap": "^0.10.6",
106
106
  "@graphql-tools/executor": "^1.4.7",
107
107
  "@rollup/plugin-commonjs": "^28.0.0",