@graphql-mesh/plugin-jwt-auth 2.0.14 → 2.0.15-alpha-b8b1b6724923f4cb4e7f9c26abd7591393e1ceca

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,5 +1,14 @@
1
1
  # @graphql-mesh/plugin-jwt-auth
2
2
 
3
+ ## 2.0.15-alpha-b8b1b6724923f4cb4e7f9c26abd7591393e1ceca
4
+ ### Patch Changes
5
+
6
+
7
+
8
+ - [#2670](https://github.com/graphql-hive/gateway/pull/2670) [`b8b1b67`](https://github.com/graphql-hive/gateway/commit/b8b1b6724923f4cb4e7f9c26abd7591393e1ceca) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
9
+
10
+ - Updated dependency [`@graphql-yoga/plugin-jwt@4.0.0-alpha-20261019165905-4e993e96c2903cbe3084f9b49dfbf05042e3fe57` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-jwt/v/4.0.0) (from `^3.10.2`, in `dependencies`)
11
+
3
12
  ## 2.0.14
4
13
  ### Patch Changes
5
14
 
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { Plugin, YogaInitialContext, Instrumentation as Instrumentation$2 } from 'graphql-yoga';
2
2
  import { DisposableSymbols } from '@whatwg-node/disposablestack';
3
3
  import { MaybePromise } from '@whatwg-node/promise-helpers';
4
- import { ExecutionRequest, ExecutionResult, Executor, MaybePromise as MaybePromise$1, Maybe } from '@graphql-tools/utils';
4
+ import { ExecutionRequest, ExecutionResult, Executor, GraphQLResolveInfoHelpers, MaybePromise as MaybePromise$1, Maybe } from '@graphql-tools/utils';
5
5
  import { GraphQLSchema, OperationTypeNode, GraphQLFieldResolver, GraphQLResolveInfo, GraphQLOutputType, GraphQLError, SelectionSetNode, FragmentDefinitionNode, FieldNode, ExecutionResult as ExecutionResult$1, SelectionNode } from 'graphql';
6
6
  import DataLoader from 'dataloader';
7
7
  import { GraphQLResolveInfo as GraphQLResolveInfo$1, GraphQLOutputType as GraphQLOutputType$1 } from 'graphql/type';
8
- import { MeshFetch, KeyValueCache, MeshFetchRequestInit, Logger as Logger$1 } from '@graphql-mesh/types';
8
+ import { MeshFetch, KeyValueCache, MeshFetchRequestInit } from '@graphql-mesh/types';
9
9
  import { FetchInstrumentation } from '@graphql-mesh/utils';
10
10
  import { JWTExtendContextFields, JwtPluginOptions } from '@graphql-yoga/plugin-jwt';
11
11
  export { ExtractTokenFunction, GetSigningKeyFunction, JWTExtendContextFields, JwtPluginOptions, createInlineSigningKeyProvider, createRemoteJwksSigningKeyProvider, extractFromConnectionParams, extractFromCookie, extractFromHeader } from '@graphql-yoga/plugin-jwt';
@@ -270,6 +270,8 @@ type Instrumentation$1 = {
270
270
  declare module 'graphql' {
271
271
  interface GraphQLResolveInfo {
272
272
  executionRequest?: ExecutionRequest;
273
+ readonly getAbortSignal: () => AbortSignal | undefined;
274
+ readonly getAsyncHelpers: () => GraphQLResolveInfoHelpers;
273
275
  }
274
276
  }
275
277
  interface UnifiedGraphPlugin<TContext> {
@@ -405,8 +407,6 @@ interface OnFetchHookPayload<TContext> {
405
407
  context: (GatewayContext & TContext) | {
406
408
  log: Logger;
407
409
  };
408
- /** @deprecated Please use `log` from the {@link context} instead. */
409
- logger: Logger$1;
410
410
  info: GraphQLResolveInfo$1;
411
411
  fetchFn: MeshFetch;
412
412
  setFetchFn: (fetchFn: MeshFetch) => void;
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { Plugin, YogaInitialContext, Instrumentation as Instrumentation$2 } from 'graphql-yoga';
2
2
  import { DisposableSymbols } from '@whatwg-node/disposablestack';
3
3
  import { MaybePromise } from '@whatwg-node/promise-helpers';
4
- import { ExecutionRequest, ExecutionResult, Executor, MaybePromise as MaybePromise$1, Maybe } from '@graphql-tools/utils';
4
+ import { ExecutionRequest, ExecutionResult, Executor, GraphQLResolveInfoHelpers, MaybePromise as MaybePromise$1, Maybe } from '@graphql-tools/utils';
5
5
  import { GraphQLSchema, OperationTypeNode, GraphQLFieldResolver, GraphQLResolveInfo, GraphQLOutputType, GraphQLError, SelectionSetNode, FragmentDefinitionNode, FieldNode, ExecutionResult as ExecutionResult$1, SelectionNode } from 'graphql';
6
6
  import DataLoader from 'dataloader';
7
7
  import { GraphQLResolveInfo as GraphQLResolveInfo$1, GraphQLOutputType as GraphQLOutputType$1 } from 'graphql/type';
8
- import { MeshFetch, KeyValueCache, MeshFetchRequestInit, Logger as Logger$1 } from '@graphql-mesh/types';
8
+ import { MeshFetch, KeyValueCache, MeshFetchRequestInit } from '@graphql-mesh/types';
9
9
  import { FetchInstrumentation } from '@graphql-mesh/utils';
10
10
  import { JWTExtendContextFields, JwtPluginOptions } from '@graphql-yoga/plugin-jwt';
11
11
  export { ExtractTokenFunction, GetSigningKeyFunction, JWTExtendContextFields, JwtPluginOptions, createInlineSigningKeyProvider, createRemoteJwksSigningKeyProvider, extractFromConnectionParams, extractFromCookie, extractFromHeader } from '@graphql-yoga/plugin-jwt';
@@ -270,6 +270,8 @@ type Instrumentation$1 = {
270
270
  declare module 'graphql' {
271
271
  interface GraphQLResolveInfo {
272
272
  executionRequest?: ExecutionRequest;
273
+ readonly getAbortSignal: () => AbortSignal | undefined;
274
+ readonly getAsyncHelpers: () => GraphQLResolveInfoHelpers;
273
275
  }
274
276
  }
275
277
  interface UnifiedGraphPlugin<TContext> {
@@ -405,8 +407,6 @@ interface OnFetchHookPayload<TContext> {
405
407
  context: (GatewayContext & TContext) | {
406
408
  log: Logger;
407
409
  };
408
- /** @deprecated Please use `log` from the {@link context} instead. */
409
- logger: Logger$1;
410
410
  info: GraphQLResolveInfo$1;
411
411
  fetchFn: MeshFetch;
412
412
  setFetchFn: (fetchFn: MeshFetch) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-mesh/plugin-jwt-auth",
3
- "version": "2.0.14",
3
+ "version": "2.0.15-alpha-b8b1b6724923f4cb4e7f9c26abd7591393e1ceca",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,14 +44,14 @@
44
44
  "dependencies": {
45
45
  "@graphql-mesh/types": "^0.107.1",
46
46
  "@graphql-mesh/utils": "^0.107.1",
47
- "@graphql-yoga/plugin-jwt": "^3.10.2",
47
+ "@graphql-yoga/plugin-jwt": "4.0.0-alpha-20261019165905-4e993e96c2903cbe3084f9b49dfbf05042e3fe57",
48
48
  "tslib": "^2.4.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@envelop/core": "^5.4.0",
52
- "@envelop/generic-auth": "^11.0.0",
51
+ "@envelop/core": "6.0.0-alpha-20261019165905-4e993e96c2903cbe3084f9b49dfbf05042e3fe57",
52
+ "@envelop/generic-auth": "12.0.0-alpha-20261019165905-4e993e96c2903cbe3084f9b49dfbf05042e3fe57",
53
53
  "graphql": "^16.12.0",
54
- "graphql-yoga": "^5.21.1",
54
+ "graphql-yoga": "6.0.0-alpha-20261019165905-4e993e96c2903cbe3084f9b49dfbf05042e3fe57",
55
55
  "jsonwebtoken": "9.0.3",
56
56
  "pkgroll": "2.27.1"
57
57
  },