connect-authentication
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -118,3 +118,2 @@ "use strict"; | ||
throw new Error('TTL is required'); | ||
console.log(isTokenRevoked); | ||
var getPayloadWithTimestamp = function (req) { return __awaiter(void 0, void 0, void 0, function () { | ||
@@ -126,3 +125,2 @@ var authentication, token, obj, parsed, createdAt, payload, _a; | ||
case 0: | ||
console.log(isTokenRevoked); | ||
authentication = req.get('Authentication'); | ||
@@ -129,0 +127,0 @@ if (!((_b = authentication === null || authentication === void 0 ? void 0 : authentication.startsWith) === null || _b === void 0 ? void 0 : _b.call(authentication, 'Bearer '))) return [3 /*break*/, 5]; |
{ | ||
"name": "connect-authentication", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Simple express credential/authentication middleware", | ||
@@ -18,3 +18,3 @@ "main": "index.js", | ||
"index.js", | ||
"index.d.js" | ||
"index.d.ts" | ||
], | ||
@@ -21,0 +21,0 @@ "keywords": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
21023
4
227
0