From 153f09703fa725e763b57bf45ef54feddae6e42c Mon Sep 17 00:00:00 2001 From: Toby Date: Wed, 21 Feb 2024 21:03:44 +0100 Subject: [PATCH] clean up --- src/index.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/index.ts b/src/index.ts index 4200972..7ecda7d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,10 @@ import { - textToArrayBuffer, - arrayBufferToBase64Url, - base64UrlToArrayBuffer, - textToBase64Url, - importKey, - decodePayload + textToArrayBuffer, + arrayBufferToBase64Url, + base64UrlToArrayBuffer, + textToBase64Url, + importKey, + decodePayload } from "./utils" if (typeof crypto === 'undefined' || !crypto.subtle) @@ -214,7 +214,6 @@ export async function verify(token: string, secret: string | JsonWebKey | Crypto } catch(err) { if (options.throwError) throw err - return false } }