From 150227f1870c71ff602da2cf1281878ed925a44c Mon Sep 17 00:00:00 2001 From: dandriscoll Date: Tue, 19 Jul 2016 23:27:25 -0700 Subject: [PATCH] Update jsonwebtoken.d.ts for 7.1.6 (#10155) --- jsonwebtoken/jsonwebtoken.d.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/jsonwebtoken/jsonwebtoken.d.ts b/jsonwebtoken/jsonwebtoken.d.ts index 201d351a7a..091301e2b2 100644 --- a/jsonwebtoken/jsonwebtoken.d.ts +++ b/jsonwebtoken/jsonwebtoken.d.ts @@ -1,4 +1,4 @@ -// Type definitions for jsonwebtoken 6.2.0 +// Type definitions for jsonwebtoken 7.1.6 // Project: https://github.com/auth0/node-jsonwebtoken // Definitions by: Maxime LUCE , Daniel Heim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -49,14 +49,17 @@ declare module "jsonwebtoken" { jwtid?: string; noTimestamp?: boolean; header?: Object; + encoding?: string; } export interface VerifyOptions { algorithms?: string[]; - audience?: string; - issuer?: string; + audience?: string | string[]; + clockTolerance?: number; + issuer?: string | string[]; ignoreExpiration?: boolean; ignoreNotBefore?: boolean; + jwtId?: string; subject?: string; /** *@deprecated