@envelop/generic-auth 4.2.2 → 4.2.3
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/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -96,7 +96,7 @@ const useGenericAuth = (options) => {
|
|
|
96
96
|
},
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
if (options.mode === 'resolve-only') {
|
|
100
100
|
return {
|
|
101
101
|
async onContextBuilding({ context, extendContext }) {
|
|
102
102
|
const user = await options.resolveUserFn(context);
|
package/index.mjs
CHANGED
|
@@ -92,7 +92,7 @@ const useGenericAuth = (options) => {
|
|
|
92
92
|
},
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
if (options.mode === 'resolve-only') {
|
|
96
96
|
return {
|
|
97
97
|
async onContextBuilding({ context, extendContext }) {
|
|
98
98
|
const user = await options.resolveUserFn(context);
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@envelop/generic-auth",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@envelop/core": "^2.3.
|
|
6
|
+
"@envelop/core": "^2.3.3",
|
|
7
7
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@envelop/extended-validation": "^1.6.
|
|
10
|
+
"@envelop/extended-validation": "^1.6.3"
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/n1ru4l/envelop.git",
|
|
15
15
|
"directory": "packages/plugins/generic-auth"
|
|
16
16
|
},
|
|
17
17
|
"author": "Dotan Simha <dotansimha@gmail.com>",
|