[PR #1571] [MERGED] feat(client): add basePath option on createAuthClient #3868

Closed
opened 2026-03-13 11:18:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1571
Author: @Bekacru
Created: 2/25/2025
Status: Merged
Merged: 2/25/2025
Merged by: @Bekacru

Base: mainHead: chore/upgrade-better-fetch


📝 Commits (2)

  • 0f42d52 chore(dependencies): update @better-fetch/fetch to 1.1.15
  • 34ebc2d feat(client): add basePath option

📊 Changes

8 files changed (+135 additions, -59 deletions)

View changed files

📝 demo/nextjs/package.json (+1 -1)
📝 docs/package.json (+1 -1)
📝 packages/better-auth/package.json (+1 -1)
📝 packages/better-auth/src/client/config.ts (+1 -1)
📝 packages/better-auth/src/client/types.ts (+1 -0)
packages/better-auth/src/client/url.test.ts (+68 -0)
📝 packages/expo/package.json (+1 -1)
📝 pnpm-lock.yaml (+61 -54)

📄 Description

closes #1560


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/1571 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 2/25/2025 **Status:** ✅ Merged **Merged:** 2/25/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `chore/upgrade-better-fetch` --- ### 📝 Commits (2) - [`0f42d52`](https://github.com/better-auth/better-auth/commit/0f42d529d68f35d60fb5f9560d30ce1c73f679ff) chore(dependencies): update @better-fetch/fetch to 1.1.15 - [`34ebc2d`](https://github.com/better-auth/better-auth/commit/34ebc2dfff740182ed16fe64450c0e69100a8d13) feat(client): add basePath option ### 📊 Changes **8 files changed** (+135 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/package.json` (+1 -1) 📝 `docs/package.json` (+1 -1) 📝 `packages/better-auth/package.json` (+1 -1) 📝 `packages/better-auth/src/client/config.ts` (+1 -1) 📝 `packages/better-auth/src/client/types.ts` (+1 -0) ➕ `packages/better-auth/src/client/url.test.ts` (+68 -0) 📝 `packages/expo/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+61 -54) </details> ### 📄 Description closes #1560 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:18:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#3868