Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "fast-jwt", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Fast JSON Web Token implementation", | ||
@@ -5,0 +5,0 @@ "author": "NearForm Ltd", |
@@ -97,40 +97,40 @@ import 'node' | ||
export interface SignerOptions { | ||
algorithm: Algorithm | ||
mutatePayload: boolean | ||
expiresIn: number | ||
notBefore: number | ||
jti: string | ||
aud: string | string[] | ||
iss: string | ||
sub: string | ||
nonce: string | ||
kid: string | ||
header: JwtHeader | ||
noTimestamp: boolean | ||
clockTimestamp: number | ||
algorithm?: Algorithm | ||
mutatePayload?: boolean | ||
expiresIn?: number | ||
notBefore?: number | ||
jti?: string | ||
aud?: string | string[] | ||
iss?: string | ||
sub?: string | ||
nonce?: string | ||
kid?: string | ||
header?: JwtHeader | ||
noTimestamp?: boolean | ||
clockTimestamp?: number | ||
} | ||
export interface DecoderOptions { | ||
complete: boolean | ||
checkTyp: string | ||
complete?: boolean | ||
checkTyp?: string | ||
} | ||
export interface VerifierOptions { | ||
algorithms: Algorithm[] | ||
complete: boolean | ||
cache: boolean | number | ||
cacheTTL: number | ||
errorCacheTTL: number | ((tokenError: TokenError) => number) | ||
allowedJti: string | RegExp | Array<string | RegExp> | ||
allowedAud: string | RegExp | Array<string | RegExp> | ||
allowedIss: string | RegExp | Array<string | RegExp> | ||
allowedSub: string | RegExp | Array<string | RegExp> | ||
allowedNonce: string | RegExp | Array<string | RegExp> | ||
ignoreExpiration: boolean | ||
ignoreNotBefore: boolean | ||
maxAge: number | ||
clockTimestamp: number | ||
clockTolerance: number | ||
requiredClaims: Array<string> | ||
checkTyp: string | ||
algorithms?: Algorithm[] | ||
complete?: boolean | ||
cache?: boolean | number | ||
cacheTTL?: number | ||
errorCacheTTL?: number | ((tokenError: TokenError) => number) | ||
allowedJti?: string | RegExp | Array<string | RegExp> | ||
allowedAud?: string | RegExp | Array<string | RegExp> | ||
allowedIss?: string | RegExp | Array<string | RegExp> | ||
allowedSub?: string | RegExp | Array<string | RegExp> | ||
allowedNonce?: string | RegExp | Array<string | RegExp> | ||
ignoreExpiration?: boolean | ||
ignoreNotBefore?: boolean | ||
maxAge?: number | ||
clockTimestamp?: number | ||
clockTolerance?: number | ||
requiredClaims?: Array<string> | ||
checkTyp?: string | ||
} | ||
@@ -137,0 +137,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
89554
0