express-jwt
Advanced tools
Comparing version 8.4.1 to 8.5.0
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import * as jwt from 'jsonwebtoken'; | ||
@@ -91,4 +90,4 @@ import * as express from 'express'; | ||
export declare const expressjwt: (options: Params) => { | ||
(req: express.Request, res: express.Response, next: express.NextFunction): Promise<void | NodeJS.Immediate>; | ||
(req: express.Request, res: express.Response, next: express.NextFunction): Promise<void>; | ||
unless: typeof unless; | ||
}; |
@@ -79,3 +79,4 @@ "use strict"; | ||
if (hasAuthInAccessControl) { | ||
return [2 /*return*/, setImmediate(next)]; | ||
setImmediate(next); | ||
return [2 /*return*/]; | ||
} | ||
@@ -82,0 +83,0 @@ } |
{ | ||
"name": "express-jwt", | ||
"version": "8.4.1", | ||
"version": "8.5.0", | ||
"description": "JWT authentication middleware.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
28521