Comparing version 1.5.2 to 1.5.3
{ | ||
"name": "fast-jwt", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "Fast JSON Web Token implementation", | ||
@@ -81,3 +81,3 @@ "author": "NearForm Ltd", | ||
"engines": { | ||
"node": "^16 || ^14 || ^12" | ||
"node": "^17 || ^16 || ^14 || ^12" | ||
}, | ||
@@ -84,0 +84,0 @@ "tsd": { |
@@ -109,3 +109,10 @@ import 'node' | ||
export function createSigner(options?: Partial<SignerOptions & { key: string | Buffer }>): typeof SignerSync | ||
export interface PrivateKey { | ||
key: string | Buffer | ||
passphrase: string | undefined | ||
} | ||
export function createSigner( | ||
options?: Partial<SignerOptions & { key: string | Buffer | PrivateKey }> | ||
): typeof SignerSync | ||
export function createSigner(options?: Partial<SignerOptions & { key: KeyFetcher }>): typeof SignerAsync | ||
@@ -112,0 +119,0 @@ export function createDecoder(options?: Partial<DecoderOptions>): (token: string | Buffer) => any |
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
86343
1216