@graphql-hive/gateway-runtime 2.5.3 → 2.5.4-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80
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 +12 -0
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @graphql-hive/gateway-runtime
|
|
2
2
|
|
|
3
|
+
## 2.5.4-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies [[`8ee616a`](https://github.com/graphql-hive/gateway/commit/8ee616a668eea6cf2b4539a17642ed1f85a9560d)]:
|
|
7
|
+
- @graphql-tools/delegate@12.0.5-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80
|
|
8
|
+
- @graphql-tools/batch-delegate@10.0.11-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80
|
|
9
|
+
- @graphql-tools/federation@4.2.9-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80
|
|
10
|
+
- @graphql-mesh/fusion-runtime@1.6.6-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80
|
|
11
|
+
- @graphql-tools/stitch@10.1.9-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80
|
|
12
|
+
- @graphql-tools/wrap@11.1.5-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80
|
|
13
|
+
- @graphql-mesh/hmac-upstream-signature@2.0.9
|
|
14
|
+
|
|
3
15
|
## 2.5.3
|
|
4
16
|
### Patch Changes
|
|
5
17
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaybePromise as MaybePromise$1 } from '@whatwg-node/promise-helpers';
|
|
2
2
|
import { OperationTypeNode, FieldNode, TypeInfo, GraphQLNamedOutputType, GraphQLSchema, DocumentNode } from 'graphql';
|
|
3
|
-
import {
|
|
4
|
-
import { Plugin
|
|
3
|
+
import { YogaInitialContext, Plugin as Plugin$1, Instrumentation as Instrumentation$1, YogaServerOptions, BatchingOptions, FetchAPI as FetchAPI$1, YogaMaskedErrorOpts, YogaServerInstance } from 'graphql-yoga';
|
|
4
|
+
import { Plugin } from '@envelop/core';
|
|
5
5
|
export { withState } from '@envelop/core';
|
|
6
6
|
import { GenericAuthPluginOptions } from '@envelop/generic-auth';
|
|
7
7
|
export { ResolveUserFn, ValidateUserFn } from '@envelop/generic-auth';
|
|
@@ -10,7 +10,7 @@ export { CircuitBreakerConfiguration } from '@graphql-hive/core';
|
|
|
10
10
|
import { Logger, LogLevel } from '@graphql-hive/logger';
|
|
11
11
|
export * from '@graphql-hive/logger';
|
|
12
12
|
import { PubSub } from '@graphql-hive/pubsub';
|
|
13
|
-
import { UnifiedGraphManagerOptions, UnifiedGraphPlugin, Instrumentation as Instrumentation$2,
|
|
13
|
+
import { UnifiedGraphManagerOptions, Transports, TransportEntryAdditions, UnifiedGraphPlugin, Instrumentation as Instrumentation$2, BatchDelegateOptions, UnifiedGraphHandler, OnSubgraphExecuteHook } from '@graphql-mesh/fusion-runtime';
|
|
14
14
|
export { TransportEntryAdditions, UnifiedGraphHandler, UnifiedGraphPlugin, getExecutorForUnifiedGraph, getSdkRequesterForUnifiedGraph } from '@graphql-mesh/fusion-runtime';
|
|
15
15
|
import { HMACUpstreamSignatureOptions } from '@graphql-mesh/hmac-upstream-signature';
|
|
16
16
|
export * from '@graphql-mesh/hmac-upstream-signature';
|
|
@@ -242,7 +242,7 @@ interface GatewayContext extends GatewayConfigContext, YogaInitialContext {
|
|
|
242
242
|
*/
|
|
243
243
|
connectionParams?: Record<string, string>;
|
|
244
244
|
}
|
|
245
|
-
type GatewayPlugin<TPluginContext extends Record<string, any> = Record<string, any>, TContext extends Record<string, any> = Record<string, any>> = Plugin<Partial<TPluginContext> & GatewayContext & TContext, GatewayConfigContext> & UnifiedGraphPlugin<Partial<TPluginContext> & GatewayContext & TContext> & {
|
|
245
|
+
type GatewayPlugin<TPluginContext extends Record<string, any> = Record<string, any>, TContext extends Record<string, any> = Record<string, any>> = Plugin$1<Partial<TPluginContext> & GatewayContext & TContext, GatewayConfigContext> & UnifiedGraphPlugin<Partial<TPluginContext> & GatewayContext & TContext> & {
|
|
246
246
|
onFetch?: OnFetchHook<Partial<TPluginContext> & TContext>;
|
|
247
247
|
onCacheGet?: OnCacheGetHook;
|
|
248
248
|
onCacheSet?: OnCacheSetHook;
|
|
@@ -608,7 +608,7 @@ interface GatewayConfigBase<TContext extends Record<string, any>> {
|
|
|
608
608
|
/**
|
|
609
609
|
* Gateway plugins that are compatible with GraphQL Yoga, envelop and Mesh.
|
|
610
610
|
*/
|
|
611
|
-
plugins?(context: GatewayConfigContext): (Plugin
|
|
611
|
+
plugins?(context: GatewayConfigContext): (Plugin | Plugin<GatewayContext> | Plugin<GatewayContext & TContext> | Plugin$1 | Plugin$1<GatewayContext> | Plugin$1<GatewayContext & TContext> | GatewayPlugin | GatewayPlugin<any, GatewayContext> | GatewayPlugin<any, GatewayContext & TContext>)[];
|
|
612
612
|
/**
|
|
613
613
|
* Enable, disable or configure CORS.
|
|
614
614
|
*/
|
|
@@ -888,7 +888,7 @@ interface StaticFilesOpts {
|
|
|
888
888
|
baseDir: string;
|
|
889
889
|
staticFiles?: string;
|
|
890
890
|
}
|
|
891
|
-
declare const useStaticFiles: ({ baseDir, staticFiles, }: StaticFilesOpts) => Plugin;
|
|
891
|
+
declare const useStaticFiles: ({ baseDir, staticFiles, }: StaticFilesOpts) => Plugin$1;
|
|
892
892
|
|
|
893
893
|
declare function getProxyExecutor<TContext extends Record<string, any>>({ config, configContext, getSchema, onSubgraphExecuteHooks, transportExecutorStack, instrumentation, }: {
|
|
894
894
|
config: GatewayConfigProxy<TContext>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaybePromise as MaybePromise$1 } from '@whatwg-node/promise-helpers';
|
|
2
2
|
import { OperationTypeNode, FieldNode, TypeInfo, GraphQLNamedOutputType, GraphQLSchema, DocumentNode } from 'graphql';
|
|
3
|
-
import {
|
|
4
|
-
import { Plugin
|
|
3
|
+
import { YogaInitialContext, Plugin as Plugin$1, Instrumentation as Instrumentation$1, YogaServerOptions, BatchingOptions, FetchAPI as FetchAPI$1, YogaMaskedErrorOpts, YogaServerInstance } from 'graphql-yoga';
|
|
4
|
+
import { Plugin } from '@envelop/core';
|
|
5
5
|
export { withState } from '@envelop/core';
|
|
6
6
|
import { GenericAuthPluginOptions } from '@envelop/generic-auth';
|
|
7
7
|
export { ResolveUserFn, ValidateUserFn } from '@envelop/generic-auth';
|
|
@@ -10,7 +10,7 @@ export { CircuitBreakerConfiguration } from '@graphql-hive/core';
|
|
|
10
10
|
import { Logger, LogLevel } from '@graphql-hive/logger';
|
|
11
11
|
export * from '@graphql-hive/logger';
|
|
12
12
|
import { PubSub } from '@graphql-hive/pubsub';
|
|
13
|
-
import { UnifiedGraphManagerOptions, UnifiedGraphPlugin, Instrumentation as Instrumentation$2,
|
|
13
|
+
import { UnifiedGraphManagerOptions, Transports, TransportEntryAdditions, UnifiedGraphPlugin, Instrumentation as Instrumentation$2, BatchDelegateOptions, UnifiedGraphHandler, OnSubgraphExecuteHook } from '@graphql-mesh/fusion-runtime';
|
|
14
14
|
export { TransportEntryAdditions, UnifiedGraphHandler, UnifiedGraphPlugin, getExecutorForUnifiedGraph, getSdkRequesterForUnifiedGraph } from '@graphql-mesh/fusion-runtime';
|
|
15
15
|
import { HMACUpstreamSignatureOptions } from '@graphql-mesh/hmac-upstream-signature';
|
|
16
16
|
export * from '@graphql-mesh/hmac-upstream-signature';
|
|
@@ -242,7 +242,7 @@ interface GatewayContext extends GatewayConfigContext, YogaInitialContext {
|
|
|
242
242
|
*/
|
|
243
243
|
connectionParams?: Record<string, string>;
|
|
244
244
|
}
|
|
245
|
-
type GatewayPlugin<TPluginContext extends Record<string, any> = Record<string, any>, TContext extends Record<string, any> = Record<string, any>> = Plugin<Partial<TPluginContext> & GatewayContext & TContext, GatewayConfigContext> & UnifiedGraphPlugin<Partial<TPluginContext> & GatewayContext & TContext> & {
|
|
245
|
+
type GatewayPlugin<TPluginContext extends Record<string, any> = Record<string, any>, TContext extends Record<string, any> = Record<string, any>> = Plugin$1<Partial<TPluginContext> & GatewayContext & TContext, GatewayConfigContext> & UnifiedGraphPlugin<Partial<TPluginContext> & GatewayContext & TContext> & {
|
|
246
246
|
onFetch?: OnFetchHook<Partial<TPluginContext> & TContext>;
|
|
247
247
|
onCacheGet?: OnCacheGetHook;
|
|
248
248
|
onCacheSet?: OnCacheSetHook;
|
|
@@ -608,7 +608,7 @@ interface GatewayConfigBase<TContext extends Record<string, any>> {
|
|
|
608
608
|
/**
|
|
609
609
|
* Gateway plugins that are compatible with GraphQL Yoga, envelop and Mesh.
|
|
610
610
|
*/
|
|
611
|
-
plugins?(context: GatewayConfigContext): (Plugin
|
|
611
|
+
plugins?(context: GatewayConfigContext): (Plugin | Plugin<GatewayContext> | Plugin<GatewayContext & TContext> | Plugin$1 | Plugin$1<GatewayContext> | Plugin$1<GatewayContext & TContext> | GatewayPlugin | GatewayPlugin<any, GatewayContext> | GatewayPlugin<any, GatewayContext & TContext>)[];
|
|
612
612
|
/**
|
|
613
613
|
* Enable, disable or configure CORS.
|
|
614
614
|
*/
|
|
@@ -888,7 +888,7 @@ interface StaticFilesOpts {
|
|
|
888
888
|
baseDir: string;
|
|
889
889
|
staticFiles?: string;
|
|
890
890
|
}
|
|
891
|
-
declare const useStaticFiles: ({ baseDir, staticFiles, }: StaticFilesOpts) => Plugin;
|
|
891
|
+
declare const useStaticFiles: ({ baseDir, staticFiles, }: StaticFilesOpts) => Plugin$1;
|
|
892
892
|
|
|
893
893
|
declare function getProxyExecutor<TContext extends Record<string, any>>({ config, configContext, getSchema, onSubgraphExecuteHooks, transportExecutorStack, instrumentation, }: {
|
|
894
894
|
config: GatewayConfigProxy<TContext>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/gateway-runtime",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.4-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -55,20 +55,20 @@
|
|
|
55
55
|
"@graphql-hive/signal": "^2.0.0",
|
|
56
56
|
"@graphql-hive/yoga": "^0.47.0",
|
|
57
57
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
|
58
|
-
"@graphql-mesh/fusion-runtime": "
|
|
58
|
+
"@graphql-mesh/fusion-runtime": "1.6.6-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80",
|
|
59
59
|
"@graphql-mesh/hmac-upstream-signature": "^2.0.9",
|
|
60
60
|
"@graphql-mesh/plugin-response-cache": "^0.104.18",
|
|
61
61
|
"@graphql-mesh/transport-common": "^1.0.14",
|
|
62
62
|
"@graphql-mesh/types": "^0.104.16",
|
|
63
63
|
"@graphql-mesh/utils": "^0.104.16",
|
|
64
|
-
"@graphql-tools/batch-delegate": "
|
|
65
|
-
"@graphql-tools/delegate": "
|
|
64
|
+
"@graphql-tools/batch-delegate": "10.0.11-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80",
|
|
65
|
+
"@graphql-tools/delegate": "12.0.5-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80",
|
|
66
66
|
"@graphql-tools/executor-common": "^1.0.6",
|
|
67
67
|
"@graphql-tools/executor-http": "^3.1.0",
|
|
68
|
-
"@graphql-tools/federation": "
|
|
69
|
-
"@graphql-tools/stitch": "
|
|
68
|
+
"@graphql-tools/federation": "4.2.9-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80",
|
|
69
|
+
"@graphql-tools/stitch": "10.1.9-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80",
|
|
70
70
|
"@graphql-tools/utils": "^11.0.0",
|
|
71
|
-
"@graphql-tools/wrap": "
|
|
71
|
+
"@graphql-tools/wrap": "11.1.5-alpha-4d1c96128a393dc22315febb8a66c2944cbecf80",
|
|
72
72
|
"@graphql-yoga/plugin-apollo-usage-report": "^0.13.0",
|
|
73
73
|
"@graphql-yoga/plugin-csrf-prevention": "^3.16.2",
|
|
74
74
|
"@graphql-yoga/plugin-defer-stream": "^3.16.2",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"graphql": "^16.12.0",
|
|
96
96
|
"graphql-sse": "^2.6.0",
|
|
97
97
|
"html-minifier-terser": "7.2.0",
|
|
98
|
-
"pkgroll": "2.
|
|
98
|
+
"pkgroll": "2.23.0",
|
|
99
99
|
"react": "^19.2.0",
|
|
100
100
|
"react-dom": "^19.2.0",
|
|
101
101
|
"tsx": "4.21.0"
|