From 526aa322efd648cc2d2583897ab3d24ba565fa6f Mon Sep 17 00:00:00 2001 From: Taesu <166604494+bytaesu@users.noreply.github.com> Date: Sat, 9 May 2026 22:50:16 +0900 Subject: [PATCH] chore(changeset): restore changeset for cli named+default fix (#9477) (#9501) --- .changeset/cli-named-default-auto-detect.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cli-named-default-auto-detect.md diff --git a/.changeset/cli-named-default-auto-detect.md b/.changeset/cli-named-default-auto-detect.md new file mode 100644 index 0000000000..0c533d5d64 --- /dev/null +++ b/.changeset/cli-named-default-auto-detect.md @@ -0,0 +1,5 @@ +--- +"auth": minor +--- + +The CLI now auto-detects auth configs that export the same instance as both a named export and the default export (e.g. `export const auth = betterAuth(...); export default auth;`). Previously such configs failed when no explicit `--config` path was passed.