From ff44d4ec3359e0148dae65a35a2ee3df87370b44 Mon Sep 17 00:00:00 2001 From: Bilal Godil Date: Sat, 23 May 2026 17:50:05 -0700 Subject: [PATCH] fix(hexclave): update url-targets snapshots for shortened HexclaveAssertionError suffix The HexclaveAssertionError disclaimer was simplified from "...error in Hexclave (formerly Stack Auth)." to "...error in Hexclave." but the inline snapshots in url-targets and redirect-urls tests still expected the longer text. Updates the template source-of-truth; SDK mirrors regenerate via the preinstall generate-sdks hook. --- packages/stack-shared/src/utils/redirect-urls.tsx | 2 +- packages/template/src/lib/stack-app/url-targets.test.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/stack-shared/src/utils/redirect-urls.tsx b/packages/stack-shared/src/utils/redirect-urls.tsx index a0366aeae..5ac92217c 100644 --- a/packages/stack-shared/src/utils/redirect-urls.tsx +++ b/packages/stack-shared/src/utils/redirect-urls.tsx @@ -243,7 +243,7 @@ import.meta.vitest?.test("getImplicitlyTrustedDomainsForProject rejects shared-o })).toThrowErrorMatchingInlineSnapshot(` [HexclaveAssertionError: The hosted handler URL template must put {projectId} in the hostname. - This is likely an error in Hexclave (formerly Stack Auth). Please make sure you are running the newest version and report it.] + This is likely an error in Hexclave. Please make sure you are running the newest version and report it.] `); }); diff --git a/packages/template/src/lib/stack-app/url-targets.test.ts b/packages/template/src/lib/stack-app/url-targets.test.ts index 2b1db9a27..fb98c22b8 100644 --- a/packages/template/src/lib/stack-app/url-targets.test.ts +++ b/packages/template/src/lib/stack-app/url-targets.test.ts @@ -105,7 +105,7 @@ describe("handler URL targets", () => { })).toThrowErrorMatchingInlineSnapshot(` [HexclaveAssertionError: OAuth callback URLs must be relative. - This is likely an error in Hexclave (formerly Stack Auth). Please make sure you are running the newest version and report it.] + This is likely an error in Hexclave. Please make sure you are running the newest version and report it.] `); }); @@ -118,7 +118,7 @@ describe("handler URL targets", () => { })).toThrowErrorMatchingInlineSnapshot(` [HexclaveAssertionError: OAuth callback URLs must be relative. - This is likely an error in Hexclave (formerly Stack Auth). Please make sure you are running the newest version and report it.] + This is likely an error in Hexclave. Please make sure you are running the newest version and report it.] `); }); @@ -209,7 +209,7 @@ describe("handler URL targets", () => { })).toThrowErrorMatchingInlineSnapshot(` [HexclaveAssertionError: The hosted handler URL template must put {projectId} in the hostname. - This is likely an error in Hexclave (formerly Stack Auth). Please make sure you are running the newest version and report it.] + This is likely an error in Hexclave. Please make sure you are running the newest version and report it.] `); }); });