From b7a4a17ea5723893ce8c4cbff149cecb5e35f187 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Thu, 19 Aug 2021 14:32:38 +0200 Subject: [PATCH] hook packages --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 073eb3c..4ead396 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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