@envelop/generic-auth
Advanced tools
Comparing version 8.0.0-alpha-20240812121725-c400329c to 8.0.0-alpha-20240812121953-81638fef
@@ -154,3 +154,3 @@ "use strict"; | ||
const userScopes = extractScopes(user); | ||
const policies = policiesByContext.get(context) ?? []; | ||
const userPolicies = policiesByContext.get(args.contextValue) ?? []; | ||
const resolvePath = []; | ||
@@ -180,3 +180,3 @@ let curr = args.document; | ||
path: resolvePath, | ||
userPolicies: policies, | ||
userPolicies, | ||
}); | ||
@@ -183,0 +183,0 @@ }; |
@@ -147,3 +147,3 @@ import { getNamedType, isInterfaceType, isIntrospectionType, isObjectType, isUnionType, } from 'graphql'; | ||
const userScopes = extractScopes(user); | ||
const policies = policiesByContext.get(context) ?? []; | ||
const userPolicies = policiesByContext.get(args.contextValue) ?? []; | ||
const resolvePath = []; | ||
@@ -173,3 +173,3 @@ let curr = args.document; | ||
path: resolvePath, | ||
userPolicies: policies, | ||
userPolicies, | ||
}); | ||
@@ -176,0 +176,0 @@ }; |
{ | ||
"name": "@envelop/generic-auth", | ||
"version": "8.0.0-alpha-20240812121725-c400329c", | ||
"version": "8.0.0-alpha-20240812121953-81638fef", | ||
"sideEffects": false, | ||
@@ -10,3 +10,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@envelop/extended-validation": "4.1.0-alpha-20240812121725-c400329c", | ||
"@envelop/extended-validation": "4.1.0-alpha-20240812121953-81638fef", | ||
"@graphql-tools/utils": "^10.5.1", | ||
@@ -13,0 +13,0 @@ "tslib": "^2.5.0" |
51696