@graphql-hive/gateway 2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f → 2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06

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-7cca9a736dedd76b74903e60a54f792bd789232f
3
+ ## 2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
4
4
 
5
5
  ### Major Changes
6
6
 
@@ -75,19 +75,19 @@
75
75
  - Removed dependency [`@graphql-mesh/plugin-mock@^0.105.6` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.6) (from `dependencies`)
76
76
 
77
77
  - Updated dependencies [[`95484c2`](https://github.com/graphql-hive/gateway/commit/95484c2ca0cea1cd732df4bfe8ce45032ec31d42), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`f12f2b7`](https://github.com/graphql-hive/gateway/commit/f12f2b78163fbef797a42b5999a0b5a8ef6b2c98), [`8b7db06`](https://github.com/graphql-hive/gateway/commit/8b7db06887f5dec52d380bfc123dbf495cbe04ef), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`9e4d81c`](https://github.com/graphql-hive/gateway/commit/9e4d81c2ad9e99d2195e3f2a021a30a9312cf980), [`f3caa12`](https://github.com/graphql-hive/gateway/commit/f3caa12a7ad50cdc03c82f2336f820e8ccbad55e), [`1ba0cf4`](https://github.com/graphql-hive/gateway/commit/1ba0cf4a6359e41a6ab16f940d8733d3ad9d800b), [`dfe6f58`](https://github.com/graphql-hive/gateway/commit/dfe6f58209afd27953676c5b51b8b9f07fc99671), [`ceb07a6`](https://github.com/graphql-hive/gateway/commit/ceb07a61f6f1c7ca345df2c23860950e5152288e), [`732c6f5`](https://github.com/graphql-hive/gateway/commit/732c6f5c82fdf6b730109fbc7c05c69da8ce6fb4), [`95484c2`](https://github.com/graphql-hive/gateway/commit/95484c2ca0cea1cd732df4bfe8ce45032ec31d42), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`8b7db06`](https://github.com/graphql-hive/gateway/commit/8b7db06887f5dec52d380bfc123dbf495cbe04ef), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`cd9b7ce`](https://github.com/graphql-hive/gateway/commit/cd9b7ce551ec702c00b33e6c1b2cf68f0a6c82a3), [`95484c2`](https://github.com/graphql-hive/gateway/commit/95484c2ca0cea1cd732df4bfe8ce45032ec31d42), [`f052709`](https://github.com/graphql-hive/gateway/commit/f0527092e4942b4c97cb3272266f93f3200fac98), [`9bee8e9`](https://github.com/graphql-hive/gateway/commit/9bee8e9ff165c43591c0b20637b6d1f2a2cb9cc2), [`9b230f3`](https://github.com/graphql-hive/gateway/commit/9b230f35b47afbf3b253e4c21720e836c5a2a8d1), [`10a5887`](https://github.com/graphql-hive/gateway/commit/10a58873acde8734f05dfda455fe7b366861676b), [`2a56e5f`](https://github.com/graphql-hive/gateway/commit/2a56e5fd5a07f6784e8c2d0ad767d8c55710ada4), [`ae37c4a`](https://github.com/graphql-hive/gateway/commit/ae37c4a4189e3ea20f2ce0d24e2509d2053eb244), [`732c6f5`](https://github.com/graphql-hive/gateway/commit/732c6f5c82fdf6b730109fbc7c05c69da8ce6fb4), [`95484c2`](https://github.com/graphql-hive/gateway/commit/95484c2ca0cea1cd732df4bfe8ce45032ec31d42), [`dbb4fd9`](https://github.com/graphql-hive/gateway/commit/dbb4fd9287ff872de5cc9f18546987bd71232df5)]:
78
- - @graphql-hive/gateway-runtime@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
79
- - @graphql-hive/plugin-aws-sigv4@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
80
- - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
81
- - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
82
- - @graphql-mesh/plugin-prometheus@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
83
- - @graphql-mesh/transport-ws@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
84
- - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
85
- - @graphql-hive/plugin-deduplicate-request@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
86
- - @graphql-mesh/transport-http-callback@1.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
87
- - @graphql-mesh/transport-http@1.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
88
- - @graphql-hive/importer@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
89
- - @graphql-hive/pubsub@2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
90
- - @graphql-hive/logger@1.0.1-alpha-7cca9a736dedd76b74903e60a54f792bd789232f
78
+ - @graphql-hive/gateway-runtime@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
79
+ - @graphql-hive/plugin-aws-sigv4@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
80
+ - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
81
+ - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
82
+ - @graphql-mesh/plugin-prometheus@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
83
+ - @graphql-mesh/transport-ws@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
84
+ - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
85
+ - @graphql-hive/plugin-deduplicate-request@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
86
+ - @graphql-mesh/transport-http-callback@1.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
87
+ - @graphql-mesh/transport-http@1.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
88
+ - @graphql-hive/importer@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
89
+ - @graphql-hive/pubsub@2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
90
+ - @graphql-hive/logger@1.0.1-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06
91
91
 
92
92
  ## 1.15.4
93
93
 
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-Be2W1qf0.cjs');
6
+ var cli = require('./cli-CBlIrvLS.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-eXE2psgp.js';
5
+ import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-BPISYJxP.js';
6
6
  import 'node:cluster';
7
7
  import 'node:os';
8
8
  import 'node:path';
@@ -536,7 +536,10 @@ function handleReportingConfig(ctx, loadedConfig, cliOpts) {
536
536
  const opts = {
537
537
  ...confOpts,
538
538
  ...cliOpts,
539
- hiveTarget: cliOpts.hiveTarget ?? cliOpts.hiveUsageTarget ?? confOpts.hiveTarget
539
+ hiveTarget: (
540
+ // cli arguments always take precedence over config
541
+ confOpts.hiveTarget ?? cliOpts.hiveTarget ?? cliOpts.hiveUsageTarget
542
+ )
540
543
  };
541
544
  if (cliOpts.hiveRegistryToken && cliOpts.hiveUsageAccessToken) {
542
545
  ctx.log.error(
@@ -562,7 +565,7 @@ function handleReportingConfig(ctx, loadedConfig, cliOpts) {
562
565
  );
563
566
  process.exit(1);
564
567
  }
565
- if ((opts.hiveAccessToken || opts.hiveUsageAccessToken || opts.hiveTraceAccessToken) && !opts.hiveUsageTarget) {
568
+ if ((opts.hiveAccessToken || opts.hiveUsageAccessToken || opts.hiveTraceAccessToken) && !opts.hiveTarget) {
566
569
  ctx.log.error(
567
570
  'Hive access token needs a target. Please provide it through the "--hive-target <target>" option or the config.'
568
571
  );
@@ -543,7 +543,10 @@ function handleReportingConfig(ctx, loadedConfig, cliOpts) {
543
543
  const opts = {
544
544
  ...confOpts,
545
545
  ...cliOpts,
546
- hiveTarget: cliOpts.hiveTarget ?? cliOpts.hiveUsageTarget ?? confOpts.hiveTarget
546
+ hiveTarget: (
547
+ // cli arguments always take precedence over config
548
+ confOpts.hiveTarget ?? cliOpts.hiveTarget ?? cliOpts.hiveUsageTarget
549
+ )
547
550
  };
548
551
  if (cliOpts.hiveRegistryToken && cliOpts.hiveUsageAccessToken) {
549
552
  ctx.log.error(
@@ -569,7 +572,7 @@ function handleReportingConfig(ctx, loadedConfig, cliOpts) {
569
572
  );
570
573
  process.exit(1);
571
574
  }
572
- if ((opts.hiveAccessToken || opts.hiveUsageAccessToken || opts.hiveTraceAccessToken) && !opts.hiveUsageTarget) {
575
+ if ((opts.hiveAccessToken || opts.hiveUsageAccessToken || opts.hiveTraceAccessToken) && !opts.hiveTarget) {
573
576
  ctx.log.error(
574
577
  'Hive access token needs a target. Please provide it through the "--hive-target <target>" option or the config.'
575
578
  );
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var cli = require('./cli-Be2W1qf0.cjs');
3
+ var cli = require('./cli-CBlIrvLS.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-eXE2psgp.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-BPISYJxP.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-7cca9a736dedd76b74903e60a54f792bd789232f",
3
+ "version": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
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-7cca9a736dedd76b74903e60a54f792bd789232f",
57
- "@graphql-hive/importer": "2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
58
- "@graphql-hive/logger": "1.0.1-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
59
- "@graphql-hive/plugin-aws-sigv4": "2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
60
- "@graphql-hive/plugin-deduplicate-request": "2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
61
- "@graphql-hive/pubsub": "2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
56
+ "@graphql-hive/gateway-runtime": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
57
+ "@graphql-hive/importer": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
58
+ "@graphql-hive/logger": "1.0.1-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
59
+ "@graphql-hive/plugin-aws-sigv4": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
60
+ "@graphql-hive/plugin-deduplicate-request": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
61
+ "@graphql-hive/pubsub": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
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-7cca9a736dedd76b74903e60a54f792bd789232f",
67
+ "@graphql-mesh/hmac-upstream-signature": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
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-7cca9a736dedd76b74903e60a54f792bd789232f",
71
- "@graphql-mesh/plugin-opentelemetry": "2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
72
- "@graphql-mesh/plugin-prometheus": "2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
70
+ "@graphql-mesh/plugin-jwt-auth": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
71
+ "@graphql-mesh/plugin-opentelemetry": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
72
+ "@graphql-mesh/plugin-prometheus": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
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-7cca9a736dedd76b74903e60a54f792bd789232f",
76
- "@graphql-mesh/transport-http-callback": "1.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
77
- "@graphql-mesh/transport-ws": "2.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
75
+ "@graphql-mesh/transport-http": "1.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
76
+ "@graphql-mesh/transport-http-callback": "1.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
77
+ "@graphql-mesh/transport-ws": "2.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
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",
@@ -103,7 +103,7 @@
103
103
  "ws": "^8.18.3"
104
104
  },
105
105
  "devDependencies": {
106
- "@graphql-mesh/transport-common": "1.0.0-alpha-7cca9a736dedd76b74903e60a54f792bd789232f",
106
+ "@graphql-mesh/transport-common": "1.0.0-alpha-7116c2bde184d9d6f11f4a6821961468374e9a06",
107
107
  "@graphql-mesh/transport-soap": "^0.10.6",
108
108
  "@graphql-tools/executor": "^1.4.7",
109
109
  "@rollup/plugin-commonjs": "^28.0.0",