@graphql-mesh/plugin-jwt-auth 2.0.6 → 2.0.7-alpha-d53e1af0c0e090aea7bced47a30bad8b8e5ebb3a
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 +10 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @graphql-mesh/plugin-jwt-auth
|
|
2
2
|
|
|
3
|
+
## 2.0.7-alpha-d53e1af0c0e090aea7bced47a30bad8b8e5ebb3a
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [#1637](https://github.com/graphql-hive/gateway/pull/1637) [`d53e1af`](https://github.com/graphql-hive/gateway/commit/d53e1af0c0e090aea7bced47a30bad8b8e5ebb3a) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
|
|
9
|
+
|
|
10
|
+
- Updated dependency [`@graphql-mesh/types@^0.104.14` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.14) (from `^0.104.13`, in `dependencies`)
|
|
11
|
+
- Updated dependency [`@graphql-mesh/utils@^0.104.14` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.14) (from `^0.104.13`, in `dependencies`)
|
|
12
|
+
|
|
3
13
|
## 2.0.6
|
|
4
14
|
### Patch Changes
|
|
5
15
|
|
package/dist/index.d.cts
CHANGED
|
@@ -205,11 +205,13 @@ interface MergedTypeResolverOptions<K = any, V = any> {
|
|
|
205
205
|
valuesFromResults?: (results: any, keys: ReadonlyArray<K>) => Array<V>;
|
|
206
206
|
dataLoaderOptions?: DataLoader.Options<K, V>;
|
|
207
207
|
}
|
|
208
|
+
type OverrideHandler = (context: any, info: GraphQLResolveInfo) => boolean;
|
|
208
209
|
interface MergedFieldConfig {
|
|
209
210
|
selectionSet?: string;
|
|
210
211
|
computed?: boolean;
|
|
211
212
|
canonical?: boolean;
|
|
212
213
|
provides?: SelectionSetNode;
|
|
214
|
+
override?: OverrideHandler;
|
|
213
215
|
}
|
|
214
216
|
type MergedTypeResolver<TContext = Record<string, any>> = (originalResult: any, context: TContext, info: GraphQLResolveInfo, subschema: Subschema<any, any, any, TContext>, selectionSet: SelectionSetNode, key: any | undefined, type: GraphQLOutputType) => any;
|
|
215
217
|
|
|
@@ -231,6 +233,12 @@ declare class Subschema<K = any, V = any, C = K, TContext = Record<string, any>>
|
|
|
231
233
|
set transformedSchema(value: GraphQLSchema);
|
|
232
234
|
}
|
|
233
235
|
|
|
236
|
+
declare module '@graphql-tools/utils' {
|
|
237
|
+
interface IFieldResolverOptions<TSource = any, TContext = any, TArgs = any> {
|
|
238
|
+
selectionSet?: string | ((node: FieldNode) => SelectionSetNode);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
234
242
|
type Instrumentation$1 = {
|
|
235
243
|
/**
|
|
236
244
|
* Wrap each subgraph execution request. This can happen multiple time for the same graphql operation.
|
package/dist/index.d.ts
CHANGED
|
@@ -205,11 +205,13 @@ interface MergedTypeResolverOptions<K = any, V = any> {
|
|
|
205
205
|
valuesFromResults?: (results: any, keys: ReadonlyArray<K>) => Array<V>;
|
|
206
206
|
dataLoaderOptions?: DataLoader.Options<K, V>;
|
|
207
207
|
}
|
|
208
|
+
type OverrideHandler = (context: any, info: GraphQLResolveInfo) => boolean;
|
|
208
209
|
interface MergedFieldConfig {
|
|
209
210
|
selectionSet?: string;
|
|
210
211
|
computed?: boolean;
|
|
211
212
|
canonical?: boolean;
|
|
212
213
|
provides?: SelectionSetNode;
|
|
214
|
+
override?: OverrideHandler;
|
|
213
215
|
}
|
|
214
216
|
type MergedTypeResolver<TContext = Record<string, any>> = (originalResult: any, context: TContext, info: GraphQLResolveInfo, subschema: Subschema<any, any, any, TContext>, selectionSet: SelectionSetNode, key: any | undefined, type: GraphQLOutputType) => any;
|
|
215
217
|
|
|
@@ -231,6 +233,12 @@ declare class Subschema<K = any, V = any, C = K, TContext = Record<string, any>>
|
|
|
231
233
|
set transformedSchema(value: GraphQLSchema);
|
|
232
234
|
}
|
|
233
235
|
|
|
236
|
+
declare module '@graphql-tools/utils' {
|
|
237
|
+
interface IFieldResolverOptions<TSource = any, TContext = any, TArgs = any> {
|
|
238
|
+
selectionSet?: string | ((node: FieldNode) => SelectionSetNode);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
234
242
|
type Instrumentation$1 = {
|
|
235
243
|
/**
|
|
236
244
|
* Wrap each subgraph execution request. This can happen multiple time for the same graphql operation.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/plugin-jwt-auth",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7-alpha-d53e1af0c0e090aea7bced47a30bad8b8e5ebb3a",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"graphql": "^15.9.0 || ^16.9.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@graphql-mesh/types": "^0.104.
|
|
46
|
-
"@graphql-mesh/utils": "^0.104.
|
|
45
|
+
"@graphql-mesh/types": "^0.104.14",
|
|
46
|
+
"@graphql-mesh/utils": "^0.104.14",
|
|
47
47
|
"@graphql-yoga/plugin-jwt": "^3.10.0",
|
|
48
48
|
"tslib": "^2.4.0"
|
|
49
49
|
},
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"graphql": "^16.10.0",
|
|
54
54
|
"graphql-yoga": "^5.16.0",
|
|
55
55
|
"jsonwebtoken": "9.0.2",
|
|
56
|
-
"pkgroll": "2.
|
|
56
|
+
"pkgroll": "2.20.1"
|
|
57
57
|
},
|
|
58
58
|
"sideEffects": false
|
|
59
59
|
}
|