[PR #5504] [MERGED] chore(expo): decouple from better-auth deps #6045

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5504
Author: @himself65
Created: 10/22/2025
Status: Merged
Merged: 10/22/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/10/22/expo


📝 Commits (2)

  • dbdafc8 chore(expo): decouple from better-auth deps
  • bb22146 chore: fix deps

📊 Changes

7 files changed (+38 additions, -14 deletions)

View changed files

📝 packages/expo/package.json (+3 -1)
📝 packages/expo/src/client.ts (+2 -2)
📝 packages/expo/src/index.ts (+3 -3)
📝 packages/expo/test/expo.test.ts (+5 -5)
📝 packages/expo/tsconfig.json (+5 -1)
packages/expo/tsconfig.test.json (+14 -0)
📝 pnpm-lock.yaml (+6 -2)

📄 Description

Summary by cubic

Decoupled the Expo package from the better-auth monolith by switching to @better-auth/core and using better-call for APIError. This reduces coupling and clarifies the peer requirement without changing runtime behavior.

  • Migration
    • Install @better-auth/core (new peer dependency).
    • If you import APIError from better-auth, import it from better-call instead.

🔄 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/5504 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/10/22/expo` --- ### 📝 Commits (2) - [`dbdafc8`](https://github.com/better-auth/better-auth/commit/dbdafc841ac3935a4385dbb2397d97d602272c54) chore(expo): decouple from better-auth deps - [`bb22146`](https://github.com/better-auth/better-auth/commit/bb221462aa7bf07b59f46081ed01f97426925ec0) chore: fix deps ### 📊 Changes **7 files changed** (+38 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/expo/package.json` (+3 -1) 📝 `packages/expo/src/client.ts` (+2 -2) 📝 `packages/expo/src/index.ts` (+3 -3) 📝 `packages/expo/test/expo.test.ts` (+5 -5) 📝 `packages/expo/tsconfig.json` (+5 -1) ➕ `packages/expo/tsconfig.test.json` (+14 -0) 📝 `pnpm-lock.yaml` (+6 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Decoupled the Expo package from the better-auth monolith by switching to @better-auth/core and using better-call for APIError. This reduces coupling and clarifies the peer requirement without changing runtime behavior. - **Migration** - Install @better-auth/core (new peer dependency). - If you import APIError from better-auth, import it from better-call instead. <!-- End of auto-generated description by cubic. --> --- <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 12:45:35 -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#6045