From 813b16d29bb56ebefcf8885c8100a3bfd56d9cfd Mon Sep 17 00:00:00 2001 From: panteliselef Date: Fri, 10 Jan 2025 11:07:23 +0200 Subject: [PATCH] fix(nextjs): Typo use "in Keyless mode" instead of "on" (#4862) Co-authored-by: Lennart --- .changeset/curvy-actors-breathe.md | 5 +++++ packages/nextjs/src/server/keyless-node.ts | 4 ++-- packages/nextjs/src/server/utils.ts | 2 +- packages/types/src/clerk.ts | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/curvy-actors-breathe.md diff --git a/.changeset/curvy-actors-breathe.md b/.changeset/curvy-actors-breathe.md new file mode 100644 index 0000000000..4df9168341 --- /dev/null +++ b/.changeset/curvy-actors-breathe.md @@ -0,0 +1,5 @@ +--- +'@clerk/nextjs': patch +--- + +Fix typo for "keyless mode" messages diff --git a/packages/nextjs/src/server/keyless-node.ts b/packages/nextjs/src/server/keyless-node.ts index bd0982a4b7..4a9beeffc7 100644 --- a/packages/nextjs/src/server/keyless-node.ts +++ b/packages/nextjs/src/server/keyless-node.ts @@ -79,7 +79,7 @@ function safeParseClerkFile(): AccountlessApplication | undefined { } const createMessage = (keys: AccountlessApplication) => { - return `\n\x1b[35m\n[Clerk]:\x1b[0m You are running on keyless mode.\nYou can \x1b[35mclaim your keys\x1b[0m by visiting ${keys.claimUrl}\n`; + return `\n\x1b[35m\n[Clerk]:\x1b[0m You are running in keyless mode.\nYou can \x1b[35mclaim your keys\x1b[0m by visiting ${keys.claimUrl}\n`; }; async function createOrReadKeyless(): Promise { @@ -152,7 +152,7 @@ async function createOrReadKeyless(): Promise; /** - * The URL a developer should be redirected to in order to claim an instance created on Keyless mode. + * The URL a developer should be redirected to in order to claim an instance created in Keyless mode. */ __internal_claimKeylessApplicationUrl?: string;