@graphql-hive/gateway 2.2.0-alpha-59477cb7230d569ac49ecfea1fc944ce07cde014 → 2.2.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4
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 +4 -4
- package/dist/bin.cjs +2 -2
- package/dist/bin.js +2 -2
- package/dist/{cli-CgnOuSH3.cjs → cli-DhpSD4Os.cjs} +4 -4
- package/dist/{cli-BvtBklQr.js → cli-Q4Ki2Qs_.js} +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @graphql-hive/gateway
|
|
2
2
|
|
|
3
|
-
## 2.2.0-alpha-
|
|
3
|
+
## 2.2.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4
|
|
4
4
|
### Minor Changes
|
|
5
5
|
|
|
6
6
|
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
- Ensure `params: GraphQLParams` and `request: Request` exist in the context
|
|
33
33
|
- Invoke `onParams` and `onExecutionResult` hooks from plugins properly
|
|
34
34
|
- Updated dependencies [[`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d), [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc), [`d55cefc`](https://github.com/graphql-hive/gateway/commit/d55cefc2819242fe1d5b77621b1f9ebfc546eba1), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7), [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a), [`071b1e0`](https://github.com/graphql-hive/gateway/commit/071b1e0e5a8cc04bc2815fd8e77c5549727f7bb7)]:
|
|
35
|
-
- @graphql-hive/gateway-runtime@2.5.0-alpha-
|
|
36
|
-
- @graphql-hive/plugin-opentelemetry@1.3.0-alpha-
|
|
35
|
+
- @graphql-hive/gateway-runtime@2.5.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4
|
|
36
|
+
- @graphql-hive/plugin-opentelemetry@1.3.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4
|
|
37
37
|
- @graphql-hive/plugin-aws-sigv4@2.0.20
|
|
38
38
|
- @graphql-mesh/hmac-upstream-signature@2.0.8
|
|
39
|
-
- @graphql-mesh/plugin-prometheus@2.1.10-alpha-
|
|
39
|
+
- @graphql-mesh/plugin-prometheus@2.1.10-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4
|
|
40
40
|
|
|
41
41
|
## 2.1.23
|
|
42
42
|
### Patch Changes
|
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-DhpSD4Os.cjs');
|
|
7
7
|
require('node:cluster');
|
|
8
8
|
require('node:os');
|
|
9
9
|
require('node:path');
|
|
@@ -29,7 +29,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
29
29
|
|
|
30
30
|
var module__default = /*#__PURE__*/_interopDefault(module$1);
|
|
31
31
|
|
|
32
|
-
globalThis.__VERSION__ = '2.2.0-alpha-
|
|
32
|
+
globalThis.__VERSION__ = '2.2.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4';
|
|
33
33
|
module__default.default.register("@graphql-hive/importer/hooks", {
|
|
34
34
|
parentURL: (
|
|
35
35
|
// @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$1 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-Q4Ki2Qs_.js';
|
|
6
6
|
import 'node:cluster';
|
|
7
7
|
import 'node:os';
|
|
8
8
|
import 'node:path';
|
|
@@ -23,7 +23,7 @@ import '@graphql-tools/code-file-loader';
|
|
|
23
23
|
import '@graphql-tools/graphql-file-loader';
|
|
24
24
|
import '@graphql-tools/load';
|
|
25
25
|
|
|
26
|
-
globalThis.__VERSION__ = '2.2.0-alpha-
|
|
26
|
+
globalThis.__VERSION__ = '2.2.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4';
|
|
27
27
|
module$1.register("@graphql-hive/importer/hooks", {
|
|
28
28
|
parentURL: (
|
|
29
29
|
// @ts-ignore bob will complain when bundling for cjs
|
|
@@ -319,7 +319,7 @@ async function startBunServer(gwRuntime, opts) {
|
|
|
319
319
|
serverOptions.websocket = makeHandler(
|
|
320
320
|
gatewayRuntime.getGraphQLWSOptions(gwRuntime, (ctx) => ({
|
|
321
321
|
socket: ctx.extra.socket,
|
|
322
|
-
...ctx.extra.socket.data
|
|
322
|
+
...ctx.extra.socket.data
|
|
323
323
|
}))
|
|
324
324
|
);
|
|
325
325
|
serverOptions.fetch = function(request, server2) {
|
|
@@ -412,9 +412,9 @@ async function startNodeHttpServer(gwRuntime, opts) {
|
|
|
412
412
|
const { useServer } = await import('graphql-ws/use/ws');
|
|
413
413
|
useServer(
|
|
414
414
|
gatewayRuntime.getGraphQLWSOptions(gwRuntime, (ctx) => ({
|
|
415
|
-
req: ctx.extra
|
|
416
|
-
socket: ctx.extra
|
|
417
|
-
request:
|
|
415
|
+
req: ctx.extra.request,
|
|
416
|
+
socket: ctx.extra.socket,
|
|
417
|
+
request: server.normalizeNodeRequest(ctx.extra.request, gwRuntime.fetchAPI)
|
|
418
418
|
})),
|
|
419
419
|
wsServer
|
|
420
420
|
);
|
|
@@ -312,7 +312,7 @@ async function startBunServer(gwRuntime, opts) {
|
|
|
312
312
|
serverOptions.websocket = makeHandler(
|
|
313
313
|
getGraphQLWSOptions(gwRuntime, (ctx) => ({
|
|
314
314
|
socket: ctx.extra.socket,
|
|
315
|
-
...ctx.extra.socket.data
|
|
315
|
+
...ctx.extra.socket.data
|
|
316
316
|
}))
|
|
317
317
|
);
|
|
318
318
|
serverOptions.fetch = function(request, server2) {
|
|
@@ -405,9 +405,9 @@ async function startNodeHttpServer(gwRuntime, opts) {
|
|
|
405
405
|
const { useServer } = await import('graphql-ws/use/ws');
|
|
406
406
|
useServer(
|
|
407
407
|
getGraphQLWSOptions(gwRuntime, (ctx) => ({
|
|
408
|
-
req: ctx.extra
|
|
409
|
-
socket: ctx.extra
|
|
410
|
-
request:
|
|
408
|
+
req: ctx.extra.request,
|
|
409
|
+
socket: ctx.extra.socket,
|
|
410
|
+
request: normalizeNodeRequest(ctx.extra.request, gwRuntime.fetchAPI)
|
|
411
411
|
})),
|
|
412
412
|
wsServer
|
|
413
413
|
);
|
package/dist/index.cjs
CHANGED
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-
|
|
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-Q4Ki2Qs_.js';
|
|
2
2
|
export * from '@graphql-hive/logger';
|
|
3
3
|
export * from '@graphql-hive/gateway-runtime';
|
|
4
4
|
export * from '@graphql-hive/pubsub';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/gateway",
|
|
3
|
-
"version": "2.2.0-alpha-
|
|
3
|
+
"version": "2.2.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
"@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
|
|
95
95
|
"@escape.tech/graphql-armor-max-depth": "^2.4.2",
|
|
96
96
|
"@escape.tech/graphql-armor-max-tokens": "^2.5.0",
|
|
97
|
-
"@graphql-hive/gateway-runtime": "2.5.0-alpha-
|
|
97
|
+
"@graphql-hive/gateway-runtime": "2.5.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4",
|
|
98
98
|
"@graphql-hive/importer": "^2.0.0",
|
|
99
99
|
"@graphql-hive/logger": "^1.0.9",
|
|
100
100
|
"@graphql-hive/plugin-aws-sigv4": "^2.0.20",
|
|
101
|
-
"@graphql-hive/plugin-opentelemetry": "1.3.0-alpha-
|
|
101
|
+
"@graphql-hive/plugin-opentelemetry": "1.3.0-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4",
|
|
102
102
|
"@graphql-hive/pubsub": "^2.1.1",
|
|
103
103
|
"@graphql-mesh/cache-cfw-kv": "^0.105.16",
|
|
104
104
|
"@graphql-mesh/cache-localforage": "^0.105.17",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@graphql-mesh/plugin-http-cache": "^0.105.17",
|
|
110
110
|
"@graphql-mesh/plugin-jit": "^0.2.16",
|
|
111
111
|
"@graphql-mesh/plugin-jwt-auth": "^2.0.9",
|
|
112
|
-
"@graphql-mesh/plugin-prometheus": "2.1.10-alpha-
|
|
112
|
+
"@graphql-mesh/plugin-prometheus": "2.1.10-alpha-fd2d1e0d8e449617611fe942cb85652de6ab07c4",
|
|
113
113
|
"@graphql-mesh/plugin-rate-limit": "^0.105.5",
|
|
114
114
|
"@graphql-mesh/plugin-snapshot": "^0.104.16",
|
|
115
115
|
"@graphql-mesh/transport-http": "^1.0.12",
|