1
0

Add support for RSA algorithm

This commit is contained in:
Zoran Plesivcak
2022-02-13 23:46:33 +00:00
parent 430fa0eb84
commit 5160cfa416
3 changed files with 9 additions and 3 deletions

2
index.d.ts vendored
View File

@@ -37,7 +37,7 @@ declare class JWT {
}
declare const _exports: JWT
type JWTAlgorithm = 'ES256' | 'ES384' | 'ES512' | 'HS256' | 'HS384' | 'HS512'
type JWTAlgorithm = 'ES256' | 'ES384' | 'ES512' | 'HS256' | 'HS384' | 'HS512' | 'RS256' | 'RS384' | 'RS512'
type JWTSignOptions = {
algorithm?: JWTAlgorithm,