hook packages

This commit is contained in:
Sebastian Frank 2021-08-19 14:32:38 +02:00
parent 2c7319d00b
commit b7a4a17ea5
Signed by: apairon
GPG Key ID: A0E05A8199CE3F57

4
index.d.ts vendored
View File

@ -307,7 +307,7 @@ interface JwtPackage {
* @param claims data object
* @param options options (secret, validityDuration = expiry in X seconds)
*/
jwtCreate(
create(
claims: {
[key: string]: any
},
@ -323,7 +323,7 @@ interface JwtPackage {
* @param token token string
* @param options options (secret)
*/
jwtParse(
parse(
token: string,
options?: {
secret?: string