Skip to content

Commit

Permalink
doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinta365 committed Apr 28, 2024
1 parent f51260b commit 73c7b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cross/jwt",
"version": "0.4.3",
"version": "0.4.4",
"exports": "./mod.ts",

"tasks": {
Expand Down
2 changes: 1 addition & 1 deletion src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<JWTPayload>} A promise resolving to the decoded JWT payload.
Expand Down

0 comments on commit 73c7b29

Please sign in to comment.