@theydo/graphql-directive-requires-authentication
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -90,4 +90,12 @@ "use strict"; | ||
} | ||
_this.resolver.apply(_this, args); | ||
return resolve.call.apply(resolve, __spreadArrays([_this], args)); | ||
return __awaiter(_this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, this.resolver.apply(this, args)]; | ||
case 1: | ||
_a.sent(); | ||
return [2 /*return*/, resolve.call.apply(resolve, __spreadArrays([this], args))]; | ||
} | ||
}); | ||
}); | ||
}; | ||
@@ -94,0 +102,0 @@ }; |
{ | ||
"name": "@theydo/graphql-directive-requires-authentication", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "GraphQL directive for checking authentication through context", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
10123
134