From 73c7b2967394028e1a27004d045f2627cf31ce6c Mon Sep 17 00:00:00 2001 From: Pinta365 Date: Sun, 28 Apr 2024 22:53:46 +0200 Subject: [PATCH] doc typo --- deno.jsonc | 2 +- src/validate.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno.jsonc b/deno.jsonc index 22cba11..6c362e9 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,6 +1,6 @@ { "name": "@cross/jwt", - "version": "0.4.3", + "version": "0.4.4", "exports": "./mod.ts", "tasks": { diff --git a/src/validate.ts b/src/validate.ts index bb4686d..22b7bf6 100644 --- a/src/validate.ts +++ b/src/validate.ts @@ -240,7 +240,7 @@ export async function verify(key: CryptoKey, data: string, signature: string, op } /** - * Validates and parses a JWT, verifying it with the given key. + * "unsafely" parse a JWT without cryptokey. * * @param {string} jwt - The encoded JWT string. * @returns {Promise} A promise resolving to the decoded JWT payload.