@graphql-hive/gateway 2.0.0-alpha-a67e55d44b9e0997cc4b49c940766cf498e2bccd → 2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
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 +76 -36
- package/dist/bin.cjs +2 -1
- package/dist/bin.js +2 -1
- package/dist/{cli-CP9iY6tm.js → cli-C5gzw52P.js} +17 -10
- package/dist/{cli-CPxULGJb.cjs → cli-Cl8Ek55A.cjs} +16 -9
- package/dist/index.cjs +7 -5
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/opentelemetry/api.cjs +1 -1
- package/dist/opentelemetry/api.d.cts +1 -1
- package/dist/opentelemetry/api.d.ts +1 -1
- package/dist/opentelemetry/api.js +1 -1
- package/dist/opentelemetry/index.cjs +1 -1
- package/dist/opentelemetry/index.d.cts +3 -3
- package/dist/opentelemetry/index.d.ts +3 -3
- package/dist/opentelemetry/index.js +1 -1
- package/dist/opentelemetry/setup.cjs +1 -1
- package/dist/opentelemetry/setup.d.cts +1 -1
- package/dist/opentelemetry/setup.d.ts +1 -1
- package/dist/opentelemetry/setup.js +1 -1
- package/package.json +17 -17
- package/dist/execAsync-CZu27rRM.cjs +0 -44
- package/dist/execAsync-DmTy47v9.js +0 -21
- package/dist/getMachineId-bsd-B4KI42yf.js +0 -40
- package/dist/getMachineId-bsd-Bm_iwnsS.cjs +0 -42
- package/dist/getMachineId-darwin-BDexu45J.cjs +0 -43
- package/dist/getMachineId-darwin-c7bqIReD.js +0 -41
- package/dist/getMachineId-linux-D2g1lfzo.js +0 -33
- package/dist/getMachineId-linux-sJzq0whF.cjs +0 -35
- package/dist/getMachineId-unsupported-C6mI58qQ.js +0 -23
- package/dist/getMachineId-unsupported-Cmowwltd.cjs +0 -25
- package/dist/getMachineId-win-5mPgREt3.cjs +0 -63
- package/dist/getMachineId-win-CvE0ShWu.js +0 -41
- package/dist/index-61dm03o3.js +0 -279698
- package/dist/index-B44NjpxU.cjs +0 -843
- package/dist/index-DWaHa380.cjs +0 -279743
- package/dist/index-Dw4Doxg2.js +0 -821
package/CHANGELOG.md
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
# @graphql-hive/gateway
|
2
2
|
|
3
|
-
## 2.0.0-alpha-
|
3
|
+
## 2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
4
4
|
### Major Changes
|
5
5
|
|
6
6
|
|
7
7
|
|
8
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
8
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`22bd3f7`](https://github.com/graphql-hive/gateway/commit/22bd3f70d2901738d4c35e02282569546b820b11) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Drop Node 18 support
|
9
9
|
|
10
10
|
Least supported Node version is now v20.
|
11
11
|
|
12
12
|
|
13
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
13
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Introduce and use the new Hive Logger
|
14
14
|
|
15
15
|
- [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger)
|
16
16
|
|
17
17
|
- If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2)
|
18
18
|
|
19
19
|
|
20
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
20
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`216cf81`](https://github.com/graphql-hive/gateway/commit/216cf81e435c298687409fc9d0de5255b6b08e57) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Disable forking even if NODE_ENV=production
|
21
21
|
|
22
22
|
Forking workers for concurrent processing is a delicate process and if not done carefully can lead to performance degradations. It should be configured with careful consideration by advanced users.
|
23
23
|
|
24
24
|
|
25
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
25
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`9adc4dd`](https://github.com/graphql-hive/gateway/commit/9adc4dd8a34ef5cc7202287113000a62b6b98a30) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Remove mocking plugin from Hive Gateway built-ins
|
26
26
|
|
27
27
|
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.
|
28
28
|
|
29
29
|
|
30
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
30
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`a8256d4`](https://github.com/graphql-hive/gateway/commit/a8256d4e66466bf934abab86b16aad293fa45e76) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Load schema on initialization
|
31
31
|
|
32
32
|
Failing to start if the schema is not loaded for whatever reason.
|
33
33
|
|
@@ -35,19 +35,19 @@
|
|
35
35
|
|
36
36
|
|
37
37
|
|
38
|
-
- [#
|
38
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`dafd3a1`](https://github.com/graphql-hive/gateway/commit/dafd3a17f02cb85963d6004665017e4733f14fb8) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - The `defineConfig` accepts a TContext generic
|
39
39
|
|
40
40
|
|
41
41
|
### Patch Changes
|
42
42
|
|
43
43
|
|
44
44
|
|
45
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
45
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
46
46
|
|
47
47
|
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
|
48
48
|
|
49
49
|
|
50
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
50
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`8317c68`](https://github.com/graphql-hive/gateway/commit/8317c685a415541d051c341be3694c2aa6416249) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
51
51
|
|
52
52
|
- Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`)
|
53
53
|
- Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`)
|
@@ -60,31 +60,22 @@
|
|
60
60
|
- Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
|
61
61
|
|
62
62
|
|
63
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
63
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`4a01290`](https://github.com/graphql-hive/gateway/commit/4a01290df3efe523ca5626fe88e4b0590d8e899f) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
64
64
|
|
65
65
|
- Added dependency [`@opentelemetry/api-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.202.0) (to `dependencies`)
|
66
66
|
- Added dependency [`@opentelemetry/sdk-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.202.0) (to `dependencies`)
|
67
67
|
|
68
68
|
|
69
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
69
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`1116b33`](https://github.com/graphql-hive/gateway/commit/1116b3321b695dfddd7a8c2ae8de939bbe434eb9) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
70
70
|
|
71
71
|
- Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`)
|
72
72
|
- Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
|
73
73
|
|
74
74
|
|
75
|
-
- [#
|
76
|
-
|
77
|
-
- Updated dependency [`@graphql-mesh/cache-cfw-kv@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.8) (from `^0.105.7`, in `dependencies`)
|
78
|
-
- Updated dependency [`@graphql-mesh/cache-localforage@^0.105.9` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.9) (from `^0.105.8`, in `dependencies`)
|
79
|
-
- Updated dependency [`@graphql-mesh/cache-redis@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.8) (from `^0.104.7`, in `dependencies`)
|
80
|
-
- Updated dependency [`@graphql-mesh/cache-upstash-redis@^0.1.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.8) (from `^0.1.7`, in `dependencies`)
|
81
|
-
- Updated dependency [`@graphql-mesh/types@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.8) (from `^0.104.7`, in `dependencies`)
|
82
|
-
- Updated dependency [`@graphql-mesh/utils@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.8) (from `^0.104.7`, in `dependencies`)
|
83
|
-
|
84
|
-
|
85
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`8db36e9`](https://github.com/graphql-hive/gateway/commit/8db36e9e19e0885d498dd44575ebdf4e25d5bd34) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
75
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`91e0764`](https://github.com/graphql-hive/gateway/commit/91e0764ceed0e892cfbe93f8d6e1353fadfa0f8a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
86
76
|
|
87
77
|
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
|
78
|
+
- Added dependency [`@graphql-hive/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-opentelemetry/v/workspace:^) (to `dependencies`)
|
88
79
|
- Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`)
|
89
80
|
- Added dependency [`@opentelemetry/api-logs@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.203.0) (to `dependencies`)
|
90
81
|
- Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`)
|
@@ -99,20 +90,69 @@
|
|
99
90
|
- Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
|
100
91
|
- Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
|
101
92
|
- Removed dependency [`@graphql-mesh/plugin-mock@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.8) (from `dependencies`)
|
102
|
-
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
- @graphql-
|
109
|
-
- @graphql-
|
110
|
-
- @graphql-
|
111
|
-
- @graphql-mesh/
|
112
|
-
- @graphql-
|
113
|
-
- @graphql-hive/
|
114
|
-
- @graphql-
|
115
|
-
- @graphql-hive/
|
93
|
+
- Removed dependency [`@graphql-mesh/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-opentelemetry/v/workspace:^) (from `dependencies`)
|
94
|
+
|
95
|
+
|
96
|
+
- [#1419](https://github.com/graphql-hive/gateway/pull/1419) [`8b275c4`](https://github.com/graphql-hive/gateway/commit/8b275c44c177dfe2a2ec089613ab444b68fb0038) Thanks [@ardatan](https://github.com/ardatan)! - Inflight request deduplication
|
97
|
+
|
98
|
+
- Updated dependencies [[`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355), [`f09c4a7`](https://github.com/graphql-hive/gateway/commit/f09c4a74e37c29d4a44cc5612078754e38e54c4a), [`dafd3a1`](https://github.com/graphql-hive/gateway/commit/dafd3a17f02cb85963d6004665017e4733f14fb8), [`91e0764`](https://github.com/graphql-hive/gateway/commit/91e0764ceed0e892cfbe93f8d6e1353fadfa0f8a), [`475ef5c`](https://github.com/graphql-hive/gateway/commit/475ef5cad6c7b7328a18e4d6b851bbcafb09d1a1), [`b0bdd93`](https://github.com/graphql-hive/gateway/commit/b0bdd93de13286e9481217f7c31fe151b3e810f7), [`b4ac110`](https://github.com/graphql-hive/gateway/commit/b4ac11056eface0747eb5a94217e773787b87834), [`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355), [`91e0764`](https://github.com/graphql-hive/gateway/commit/91e0764ceed0e892cfbe93f8d6e1353fadfa0f8a), [`22bd3f7`](https://github.com/graphql-hive/gateway/commit/22bd3f70d2901738d4c35e02282569546b820b11), [`5cbfc38`](https://github.com/graphql-hive/gateway/commit/5cbfc389021dcf616402788080ffb56b69ff6019), [`b0bdd93`](https://github.com/graphql-hive/gateway/commit/b0bdd93de13286e9481217f7c31fe151b3e810f7), [`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355), [`f238e21`](https://github.com/graphql-hive/gateway/commit/f238e215ef5ac9b8c93458d4889bf80f85a574ed), [`5dee497`](https://github.com/graphql-hive/gateway/commit/5dee497a3a2908bd2c18b8f50c1c9226023abe1f), [`44530c2`](https://github.com/graphql-hive/gateway/commit/44530c2713a1039e420a793c76fc4dc2231b936e), [`c84b36e`](https://github.com/graphql-hive/gateway/commit/c84b36e1125a8ab3bd8e988be285b96c8545073d), [`00047fd`](https://github.com/graphql-hive/gateway/commit/00047fd581f257d8be5499a25ee80425fb01fc85), [`f238e21`](https://github.com/graphql-hive/gateway/commit/f238e215ef5ac9b8c93458d4889bf80f85a574ed), [`76073af`](https://github.com/graphql-hive/gateway/commit/76073af61b408de42c85f21696cf20a0d97e4027), [`b4f5042`](https://github.com/graphql-hive/gateway/commit/b4f5042c2f152252918a8814d060e39cb9551cdd), [`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355), [`b0bdd93`](https://github.com/graphql-hive/gateway/commit/b0bdd93de13286e9481217f7c31fe151b3e810f7), [`61f45a1`](https://github.com/graphql-hive/gateway/commit/61f45a13e1175bfb30fbd397604c92ee1fd19a1a)]:
|
99
|
+
- @graphql-hive/gateway-runtime@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
100
|
+
- @graphql-hive/plugin-opentelemetry@1.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
101
|
+
- @graphql-hive/pubsub@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
102
|
+
- @graphql-mesh/plugin-prometheus@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
103
|
+
- @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
104
|
+
- @graphql-hive/plugin-deduplicate-request@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
105
|
+
- @graphql-mesh/transport-http-callback@1.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
106
|
+
- @graphql-hive/plugin-aws-sigv4@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
107
|
+
- @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
108
|
+
- @graphql-mesh/transport-http@1.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
109
|
+
- @graphql-mesh/transport-ws@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
110
|
+
- @graphql-hive/importer@2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
111
|
+
- @graphql-hive/logger@1.0.1-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54
|
112
|
+
|
113
|
+
## 1.16.5
|
114
|
+
### Patch Changes
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
- [#1428](https://github.com/graphql-hive/gateway/pull/1428) [`5660dab`](https://github.com/graphql-hive/gateway/commit/5660dab0398deed34809ef71e9a0292cfd4ddefb) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Resolve to latest @envelop/core that includes instrumentation changes
|
119
|
+
|
120
|
+
- Updated dependencies [[`5660dab`](https://github.com/graphql-hive/gateway/commit/5660dab0398deed34809ef71e9a0292cfd4ddefb)]:
|
121
|
+
- @graphql-mesh/plugin-jwt-auth@1.5.10
|
122
|
+
- @graphql-hive/gateway-runtime@1.11.1
|
123
|
+
- @graphql-hive/plugin-aws-sigv4@1.0.19
|
124
|
+
- @graphql-hive/plugin-deduplicate-request@1.0.5
|
125
|
+
- @graphql-mesh/hmac-upstream-signature@1.2.32
|
126
|
+
|
127
|
+
## 1.16.4
|
128
|
+
### Patch Changes
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
- [#1408](https://github.com/graphql-hive/gateway/pull/1408) [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
|
133
|
+
|
134
|
+
- Updated dependency [`@graphql-mesh/cache-cfw-kv@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.8) (from `^0.105.7`, in `dependencies`)
|
135
|
+
- Updated dependency [`@graphql-mesh/cache-localforage@^0.105.9` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.9) (from `^0.105.8`, in `dependencies`)
|
136
|
+
- Updated dependency [`@graphql-mesh/cache-redis@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.8) (from `^0.104.7`, in `dependencies`)
|
137
|
+
- Updated dependency [`@graphql-mesh/cache-upstash-redis@^0.1.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.8) (from `^0.1.7`, in `dependencies`)
|
138
|
+
- Updated dependency [`@graphql-mesh/types@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.8) (from `^0.104.7`, in `dependencies`)
|
139
|
+
- Updated dependency [`@graphql-mesh/utils@^0.104.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.8) (from `^0.104.7`, in `dependencies`)
|
140
|
+
|
141
|
+
|
142
|
+
- [#1424](https://github.com/graphql-hive/gateway/pull/1424) [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
|
143
|
+
|
144
|
+
- Updated dependency [`@graphql-mesh/utils@^0.104.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.11) (from `^0.104.8`, in `dependencies`)
|
145
|
+
- Updated dependencies [[`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`37113d1`](https://github.com/graphql-hive/gateway/commit/37113d1a446748fd83da9823e27a0f56872317df), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`37113d1`](https://github.com/graphql-hive/gateway/commit/37113d1a446748fd83da9823e27a0f56872317df), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`5aefad2`](https://github.com/graphql-hive/gateway/commit/5aefad2ac4abe40fd1cb141218bd2679b3e0047d), [`fe9b42f`](https://github.com/graphql-hive/gateway/commit/fe9b42f02ca6e3fbe6defd83e21e283dedf7481a), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5), [`e5eb881`](https://github.com/graphql-hive/gateway/commit/e5eb881e8a063accc55b750e613f4baefa21dda5)]:
|
146
|
+
- @graphql-hive/gateway-runtime@1.11.0
|
147
|
+
- @graphql-hive/plugin-deduplicate-request@1.0.5
|
148
|
+
- @graphql-mesh/hmac-upstream-signature@1.2.32
|
149
|
+
- @graphql-mesh/plugin-jwt-auth@1.5.9
|
150
|
+
- @graphql-mesh/plugin-opentelemetry@1.3.67
|
151
|
+
- @graphql-mesh/plugin-prometheus@1.3.55
|
152
|
+
- @graphql-mesh/transport-http@0.7.3
|
153
|
+
- @graphql-mesh/transport-http-callback@0.7.3
|
154
|
+
- @graphql-mesh/transport-ws@1.1.3
|
155
|
+
- @graphql-hive/plugin-aws-sigv4@1.0.19
|
116
156
|
|
117
157
|
## 1.16.3
|
118
158
|
|
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-
|
6
|
+
var cli = require('./cli-Cl8Ek55A.cjs');
|
7
7
|
require('node:cluster');
|
8
8
|
require('node:os');
|
9
9
|
require('node:path');
|
@@ -28,6 +28,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
28
28
|
|
29
29
|
var module__default = /*#__PURE__*/_interopDefault(module$1);
|
30
30
|
|
31
|
+
globalThis.__VERSION__ = '2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54';
|
31
32
|
module__default.default.register("@graphql-hive/importer/hooks", {
|
32
33
|
parentURL: (
|
33
34
|
// @ts-ignore bob will complain when bundling for cjs
|
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-
|
5
|
+
import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-C5gzw52P.js';
|
6
6
|
import 'node:cluster';
|
7
7
|
import 'node:os';
|
8
8
|
import 'node:path';
|
@@ -22,6 +22,7 @@ import '@graphql-tools/code-file-loader';
|
|
22
22
|
import '@graphql-tools/graphql-file-loader';
|
23
23
|
import '@graphql-tools/load';
|
24
24
|
|
25
|
+
globalThis.__VERSION__ = '2.0.0-alpha-2cea6e8a62aea3e45963d47c35cb6db588d78c54';
|
25
26
|
module.register("@graphql-hive/importer/hooks", {
|
26
27
|
parentURL: (
|
27
28
|
// @ts-ignore bob will complain when bundling for cjs
|
@@ -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 {
|
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';
|
@@ -176,7 +176,7 @@ async function getBuiltinPluginsFromConfig(config, ctx) {
|
|
176
176
|
plugins.push(useMeshPrometheus(config.prometheus));
|
177
177
|
}
|
178
178
|
if (config.openTelemetry) {
|
179
|
-
const { useOpenTelemetry } = await import('@graphql-
|
179
|
+
const { useOpenTelemetry } = await import('@graphql-hive/plugin-opentelemetry');
|
180
180
|
plugins.push(useOpenTelemetry({ ...config.openTelemetry, log: ctx.log }));
|
181
181
|
}
|
182
182
|
if (config.rateLimiting) {
|
@@ -530,7 +530,7 @@ async function handleOpenTelemetryConfig(ctx, cliOpts) {
|
|
530
530
|
"Initializing OpenTelemetry SDK"
|
531
531
|
);
|
532
532
|
return fakePromise().then(async () => {
|
533
|
-
const { openTelemetrySetup, HiveTracingSpanProcessor } = await import('@graphql-
|
533
|
+
const { openTelemetrySetup, HiveTracingSpanProcessor } = await import('@graphql-hive/plugin-opentelemetry/setup');
|
534
534
|
const processors = [];
|
535
535
|
const logAttributes = {
|
536
536
|
traceEndpoints: [],
|
@@ -600,8 +600,10 @@ async function handleOpenTelemetryConfig(ctx, cliOpts) {
|
|
600
600
|
}
|
601
601
|
async function detectResource() {
|
602
602
|
if (isNode()) {
|
603
|
-
const
|
604
|
-
const {
|
603
|
+
const autoInstrumentationsNodeName = "@opentelemetry/auto-instrumentations-node";
|
604
|
+
const { getResourceDetectors } = await import(autoInstrumentationsNodeName);
|
605
|
+
const resourcesName = "@opentelemetry/resources";
|
606
|
+
const { detectResources } = await import(resourcesName);
|
605
607
|
return detectResources({ detectors: getResourceDetectors() });
|
606
608
|
}
|
607
609
|
return void 0;
|
@@ -621,7 +623,12 @@ function handleReportingConfig(ctx, loadedConfig, cliOpts) {
|
|
621
623
|
};
|
622
624
|
const opts = {
|
623
625
|
...confOpts,
|
624
|
-
...cliOpts,
|
626
|
+
...Object.entries(cliOpts).reduce((acc, [key, val]) => {
|
627
|
+
if (val != null) {
|
628
|
+
return { ...acc, [key]: val };
|
629
|
+
}
|
630
|
+
return acc;
|
631
|
+
}, {}),
|
625
632
|
hiveTarget: (
|
626
633
|
// cli arguments always take precedence over config
|
627
634
|
confOpts.hiveTarget ?? cliOpts.hiveTarget ?? cliOpts.hiveUsageTarget
|
@@ -785,7 +792,7 @@ const addCommand$2 = (ctx, cli) => cli.command("proxy").description(
|
|
785
792
|
if (reporting) {
|
786
793
|
registryConfig.reporting = reporting;
|
787
794
|
}
|
788
|
-
const pubsub = loadedConfig.pubsub || new
|
795
|
+
const pubsub = loadedConfig.pubsub || new MemPubSub();
|
789
796
|
const cwd = loadedConfig.cwd || process.cwd();
|
790
797
|
if (loadedConfig.logging != null) {
|
791
798
|
ctx.log = createLoggerFromLogging(loadedConfig.logging);
|
@@ -923,7 +930,7 @@ const addCommand$1 = (ctx, cli) => cli.command("subgraph").description(
|
|
923
930
|
if (reporting) {
|
924
931
|
registryConfig.reporting = reporting;
|
925
932
|
}
|
926
|
-
const pubsub = loadedConfig.pubsub || new
|
933
|
+
const pubsub = loadedConfig.pubsub || new MemPubSub();
|
927
934
|
const cwd = loadedConfig.cwd || process.cwd();
|
928
935
|
if (loadedConfig.logging != null) {
|
929
936
|
ctx.log = createLoggerFromLogging(loadedConfig.logging);
|
@@ -1157,7 +1164,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
|
|
1157
1164
|
if (reporting) {
|
1158
1165
|
registryConfig.reporting = reporting;
|
1159
1166
|
}
|
1160
|
-
const pubsub = loadedConfig.pubsub || new
|
1167
|
+
const pubsub = loadedConfig.pubsub || new MemPubSub();
|
1161
1168
|
const cwd = loadedConfig.cwd || process.cwd();
|
1162
1169
|
if (loadedConfig.logging != null) {
|
1163
1170
|
ctx.log = createLoggerFromLogging(loadedConfig.logging);
|
@@ -1509,7 +1516,7 @@ async function run(userCtx) {
|
|
1509
1516
|
productLink: "https://the-guild.dev/graphql/hive/docs/gateway",
|
1510
1517
|
binName: "hive-gateway",
|
1511
1518
|
configFileName: "gateway.config",
|
1512
|
-
version: globalThis.__VERSION__ || "
|
1519
|
+
version: globalThis.__VERSION__ || "unknown",
|
1513
1520
|
...userCtx
|
1514
1521
|
};
|
1515
1522
|
const { binName, productDescription, version } = ctx;
|
@@ -183,7 +183,7 @@ async function getBuiltinPluginsFromConfig(config, ctx) {
|
|
183
183
|
plugins.push(useMeshPrometheus(config.prometheus));
|
184
184
|
}
|
185
185
|
if (config.openTelemetry) {
|
186
|
-
const { useOpenTelemetry } = await import('@graphql-
|
186
|
+
const { useOpenTelemetry } = await import('@graphql-hive/plugin-opentelemetry');
|
187
187
|
plugins.push(useOpenTelemetry({ ...config.openTelemetry, log: ctx.log }));
|
188
188
|
}
|
189
189
|
if (config.rateLimiting) {
|
@@ -537,7 +537,7 @@ async function handleOpenTelemetryConfig(ctx, cliOpts) {
|
|
537
537
|
"Initializing OpenTelemetry SDK"
|
538
538
|
);
|
539
539
|
return utils$1.fakePromise().then(async () => {
|
540
|
-
const { openTelemetrySetup, HiveTracingSpanProcessor } = await import('@graphql-
|
540
|
+
const { openTelemetrySetup, HiveTracingSpanProcessor } = await import('@graphql-hive/plugin-opentelemetry/setup');
|
541
541
|
const processors = [];
|
542
542
|
const logAttributes = {
|
543
543
|
traceEndpoints: [],
|
@@ -607,8 +607,10 @@ async function handleOpenTelemetryConfig(ctx, cliOpts) {
|
|
607
607
|
}
|
608
608
|
async function detectResource() {
|
609
609
|
if (isNode()) {
|
610
|
-
const
|
611
|
-
const {
|
610
|
+
const autoInstrumentationsNodeName = "@opentelemetry/auto-instrumentations-node";
|
611
|
+
const { getResourceDetectors } = await import(autoInstrumentationsNodeName);
|
612
|
+
const resourcesName = "@opentelemetry/resources";
|
613
|
+
const { detectResources } = await import(resourcesName);
|
612
614
|
return detectResources({ detectors: getResourceDetectors() });
|
613
615
|
}
|
614
616
|
return void 0;
|
@@ -628,7 +630,12 @@ function handleReportingConfig(ctx, loadedConfig, cliOpts) {
|
|
628
630
|
};
|
629
631
|
const opts = {
|
630
632
|
...confOpts,
|
631
|
-
...cliOpts,
|
633
|
+
...Object.entries(cliOpts).reduce((acc, [key, val]) => {
|
634
|
+
if (val != null) {
|
635
|
+
return { ...acc, [key]: val };
|
636
|
+
}
|
637
|
+
return acc;
|
638
|
+
}, {}),
|
632
639
|
hiveTarget: (
|
633
640
|
// cli arguments always take precedence over config
|
634
641
|
confOpts.hiveTarget ?? cliOpts.hiveTarget ?? cliOpts.hiveUsageTarget
|
@@ -792,7 +799,7 @@ const addCommand$2 = (ctx, cli) => cli.command("proxy").description(
|
|
792
799
|
if (reporting) {
|
793
800
|
registryConfig.reporting = reporting;
|
794
801
|
}
|
795
|
-
const pubsub$1 = loadedConfig.pubsub || new pubsub.
|
802
|
+
const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
|
796
803
|
const cwd = loadedConfig.cwd || process.cwd();
|
797
804
|
if (loadedConfig.logging != null) {
|
798
805
|
ctx.log = gatewayRuntime.createLoggerFromLogging(loadedConfig.logging);
|
@@ -930,7 +937,7 @@ const addCommand$1 = (ctx, cli) => cli.command("subgraph").description(
|
|
930
937
|
if (reporting) {
|
931
938
|
registryConfig.reporting = reporting;
|
932
939
|
}
|
933
|
-
const pubsub$1 = loadedConfig.pubsub || new pubsub.
|
940
|
+
const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
|
934
941
|
const cwd = loadedConfig.cwd || process.cwd();
|
935
942
|
if (loadedConfig.logging != null) {
|
936
943
|
ctx.log = gatewayRuntime.createLoggerFromLogging(loadedConfig.logging);
|
@@ -1164,7 +1171,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
|
|
1164
1171
|
if (reporting) {
|
1165
1172
|
registryConfig.reporting = reporting;
|
1166
1173
|
}
|
1167
|
-
const pubsub$1 = loadedConfig.pubsub || new pubsub.
|
1174
|
+
const pubsub$1 = loadedConfig.pubsub || new pubsub.MemPubSub();
|
1168
1175
|
const cwd = loadedConfig.cwd || process.cwd();
|
1169
1176
|
if (loadedConfig.logging != null) {
|
1170
1177
|
ctx.log = gatewayRuntime.createLoggerFromLogging(loadedConfig.logging);
|
@@ -1516,7 +1523,7 @@ async function run(userCtx) {
|
|
1516
1523
|
productLink: "https://the-guild.dev/graphql/hive/docs/gateway",
|
1517
1524
|
binName: "hive-gateway",
|
1518
1525
|
configFileName: "gateway.config",
|
1519
|
-
version: globalThis.__VERSION__ || "
|
1526
|
+
version: globalThis.__VERSION__ || "unknown",
|
1520
1527
|
...userCtx
|
1521
1528
|
};
|
1522
1529
|
const { binName, productDescription, version } = ctx;
|
package/dist/index.cjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var cli = require('./cli-
|
3
|
+
var cli = require('./cli-Cl8Ek55A.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');
|
@@ -58,10 +58,6 @@ exports.getBuiltinPluginsFromConfig = cli.getBuiltinPluginsFromConfig;
|
|
58
58
|
exports.getCacheInstanceFromConfig = cli.getCacheInstanceFromConfig;
|
59
59
|
exports.handleNodeWarnings = cli.handleNodeWarnings;
|
60
60
|
exports.run = cli.run;
|
61
|
-
Object.defineProperty(exports, "PubSub", {
|
62
|
-
enumerable: true,
|
63
|
-
get: function () { return pubsub.PubSub; }
|
64
|
-
});
|
65
61
|
Object.defineProperty(exports, "usePrometheus", {
|
66
62
|
enumerable: true,
|
67
63
|
get: function () { return pluginPrometheus__default.default; }
|
@@ -122,6 +118,12 @@ Object.keys(gatewayRuntime).forEach(function (k) {
|
|
122
118
|
get: function () { return gatewayRuntime[k]; }
|
123
119
|
});
|
124
120
|
});
|
121
|
+
Object.keys(pubsub).forEach(function (k) {
|
122
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
123
|
+
enumerable: true,
|
124
|
+
get: function () { return pubsub[k]; }
|
125
|
+
});
|
126
|
+
});
|
125
127
|
Object.keys(pluginJwtAuth).forEach(function (k) {
|
126
128
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
127
129
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
@@ -5,13 +5,13 @@ 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 {
|
9
|
-
|
8
|
+
import { OpenTelemetryGatewayPluginOptions } from '@graphql-hive/plugin-opentelemetry';
|
9
|
+
import { PubSub } from '@graphql-hive/pubsub';
|
10
|
+
export * from '@graphql-hive/pubsub';
|
10
11
|
import UpstashRedisCache from '@graphql-mesh/cache-upstash-redis';
|
11
12
|
export { default as UpstashRedisCache } from '@graphql-mesh/cache-upstash-redis';
|
12
13
|
import { JWTAuthPluginOptions } from '@graphql-mesh/plugin-jwt-auth';
|
13
14
|
export * from '@graphql-mesh/plugin-jwt-auth';
|
14
|
-
import { OpenTelemetryGatewayPluginOptions } from '@graphql-mesh/plugin-opentelemetry';
|
15
15
|
import { PrometheusPluginOptions } from '@graphql-mesh/plugin-prometheus';
|
16
16
|
export * from '@graphql-mesh/plugin-prometheus';
|
17
17
|
export { default as usePrometheus } from '@graphql-mesh/plugin-prometheus';
|
@@ -133,7 +133,7 @@ interface GatewayCLIProxyConfig<TContext extends Record<string, any> = Record<st
|
|
133
133
|
}
|
134
134
|
type KeyValueCacheFactoryFn = (ctx: {
|
135
135
|
log: Logger;
|
136
|
-
pubsub:
|
136
|
+
pubsub: PubSub;
|
137
137
|
cwd: string;
|
138
138
|
}) => KeyValueCache;
|
139
139
|
interface GatewayCLIBuiltinPluginConfig {
|
@@ -319,7 +319,7 @@ declare function enableModuleCachingIfPossible(): void;
|
|
319
319
|
declare function getBuiltinPluginsFromConfig(config: GatewayCLIBuiltinPluginConfig, ctx: {
|
320
320
|
cache: KeyValueCache;
|
321
321
|
log: Logger;
|
322
|
-
pubsub:
|
322
|
+
pubsub: PubSub;
|
323
323
|
cwd: string;
|
324
324
|
}): Promise<GatewayPlugin[]>;
|
325
325
|
/**
|
@@ -328,7 +328,7 @@ declare function getBuiltinPluginsFromConfig(config: GatewayCLIBuiltinPluginConf
|
|
328
328
|
*/
|
329
329
|
declare function getCacheInstanceFromConfig(config: GatewayCLIBuiltinPluginConfig, ctx: {
|
330
330
|
log: Logger;
|
331
|
-
pubsub:
|
331
|
+
pubsub: PubSub;
|
332
332
|
cwd: string;
|
333
333
|
}): Promise<KeyValueCache>;
|
334
334
|
|
package/dist/index.d.ts
CHANGED
@@ -5,13 +5,13 @@ 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 {
|
9
|
-
|
8
|
+
import { OpenTelemetryGatewayPluginOptions } from '@graphql-hive/plugin-opentelemetry';
|
9
|
+
import { PubSub } from '@graphql-hive/pubsub';
|
10
|
+
export * from '@graphql-hive/pubsub';
|
10
11
|
import UpstashRedisCache from '@graphql-mesh/cache-upstash-redis';
|
11
12
|
export { default as UpstashRedisCache } from '@graphql-mesh/cache-upstash-redis';
|
12
13
|
import { JWTAuthPluginOptions } from '@graphql-mesh/plugin-jwt-auth';
|
13
14
|
export * from '@graphql-mesh/plugin-jwt-auth';
|
14
|
-
import { OpenTelemetryGatewayPluginOptions } from '@graphql-mesh/plugin-opentelemetry';
|
15
15
|
import { PrometheusPluginOptions } from '@graphql-mesh/plugin-prometheus';
|
16
16
|
export * from '@graphql-mesh/plugin-prometheus';
|
17
17
|
export { default as usePrometheus } from '@graphql-mesh/plugin-prometheus';
|
@@ -133,7 +133,7 @@ interface GatewayCLIProxyConfig<TContext extends Record<string, any> = Record<st
|
|
133
133
|
}
|
134
134
|
type KeyValueCacheFactoryFn = (ctx: {
|
135
135
|
log: Logger;
|
136
|
-
pubsub:
|
136
|
+
pubsub: PubSub;
|
137
137
|
cwd: string;
|
138
138
|
}) => KeyValueCache;
|
139
139
|
interface GatewayCLIBuiltinPluginConfig {
|
@@ -319,7 +319,7 @@ declare function enableModuleCachingIfPossible(): void;
|
|
319
319
|
declare function getBuiltinPluginsFromConfig(config: GatewayCLIBuiltinPluginConfig, ctx: {
|
320
320
|
cache: KeyValueCache;
|
321
321
|
log: Logger;
|
322
|
-
pubsub:
|
322
|
+
pubsub: PubSub;
|
323
323
|
cwd: string;
|
324
324
|
}): Promise<GatewayPlugin[]>;
|
325
325
|
/**
|
@@ -328,7 +328,7 @@ declare function getBuiltinPluginsFromConfig(config: GatewayCLIBuiltinPluginConf
|
|
328
328
|
*/
|
329
329
|
declare function getCacheInstanceFromConfig(config: GatewayCLIBuiltinPluginConfig, ctx: {
|
330
330
|
log: Logger;
|
331
|
-
pubsub:
|
331
|
+
pubsub: PubSub;
|
332
332
|
cwd: string;
|
333
333
|
}): Promise<KeyValueCache>;
|
334
334
|
|
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-
|
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-C5gzw52P.js';
|
2
2
|
export * from '@graphql-hive/logger';
|
3
3
|
export * from '@graphql-hive/gateway-runtime';
|
4
|
-
export
|
4
|
+
export * from '@graphql-hive/pubsub';
|
5
5
|
export * from '@graphql-mesh/plugin-jwt-auth';
|
6
6
|
export * from '@graphql-mesh/plugin-prometheus';
|
7
7
|
export { default as usePrometheus } from '@graphql-mesh/plugin-prometheus';
|
@@ -1 +1 @@
|
|
1
|
-
export * from '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry/api';
|
@@ -1 +1 @@
|
|
1
|
-
export * from '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry/api';
|
@@ -1 +1 @@
|
|
1
|
-
export * from '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry/api';
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from '@graphql-
|
2
|
-
import '@graphql-
|
3
|
-
import '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry';
|
2
|
+
import '@graphql-hive/plugin-opentelemetry/api';
|
3
|
+
import '@graphql-hive/plugin-opentelemetry/setup';
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from '@graphql-
|
2
|
-
import '@graphql-
|
3
|
-
import '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry';
|
2
|
+
import '@graphql-hive/plugin-opentelemetry/api';
|
3
|
+
import '@graphql-hive/plugin-opentelemetry/setup';
|
@@ -1 +1 @@
|
|
1
|
-
export * from '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry';
|
@@ -1 +1 @@
|
|
1
|
-
export * from '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry/setup';
|
@@ -1 +1 @@
|
|
1
|
-
export * from '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry/setup';
|
@@ -1 +1 @@
|
|
1
|
-
export * from '@graphql-
|
1
|
+
export * from '@graphql-hive/plugin-opentelemetry/setup';
|