From 68bde6b06e8f704c6f4b5ac5fdb1ca9d5108640d Mon Sep 17 00:00:00 2001 From: devorun <130918800+devorun@users.noreply.github.com> Date: Tue, 1 Sep 2026 17:27:26 +0300 Subject: [PATCH] docs(jwt): drop the incorrect alg curve-alias claim in createJwt createJwt never resolved secp256k1/Ed25519 to their JWT algorithms; callers pass a JwtAlgorithm directly. Remove the stale alias sentence from the docstring so it matches the code. --- packages/jwt/src/create-jwt.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/jwt/src/create-jwt.ts b/packages/jwt/src/create-jwt.ts index e99d50d9..76ebb0b8 100644 --- a/packages/jwt/src/create-jwt.ts +++ b/packages/jwt/src/create-jwt.ts @@ -25,9 +25,7 @@ export interface JwtHeader extends Omit { * @param payload - The payload to create the JWT from * @param options - The options to create the JWT from * @param header - Optional header overrides - * @param header.alg - The algorithm to use for the JWT. Accepts `secp256k1` and - * `Ed25519` as aliases for `ES256K` and `EdDSA` respectively. Defaults to - * `ES256K`. + * @param header.alg - The algorithm to use for the JWT. Defaults to `ES256K`. * @returns The JWT */ export async function createJwt(