[PR #6230] [MERGED] chore: re-export necessary types in client plugins #23434

Closed
opened 2026-04-15 21:43:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6230
Author: @jslno
Created: 11/23/2025
Status: Merged
Merged: 11/24/2025
Merged by: @himself65

Base: canaryHead: chore/re-export-two-factor


📝 Commits (7)

  • 890a1a8 chore: re-export two-factor types in client plugins
  • beb75e9 chore: re-export admin plugin types
  • c301fc8 refactor: re-export type in each individual plugin client
  • 77dcf9b chore: fix linting
  • 000a52e chore: add other necessary re-exports
  • fcfc8d8 fix(anonymous): re-export schema
  • 9145da7 fix(generic-oauth): re-export options

📊 Changes

13 files changed (+32 additions, -3 deletions)

View changed files

📝 packages/better-auth/src/plugins/admin/client.ts (+2 -0)
📝 packages/better-auth/src/plugins/anonymous/client.ts (+3 -0)
📝 packages/better-auth/src/plugins/api-key/client.ts (+2 -0)
📝 packages/better-auth/src/plugins/generic-oauth/client.ts (+7 -0)
📝 packages/better-auth/src/plugins/generic-oauth/index.ts (+1 -1)
📝 packages/better-auth/src/plugins/jwt/client.ts (+2 -0)
📝 packages/better-auth/src/plugins/multi-session/client.ts (+2 -0)
📝 packages/better-auth/src/plugins/multi-session/index.ts (+1 -1)
📝 packages/better-auth/src/plugins/oidc-provider/client.ts (+2 -0)
📝 packages/better-auth/src/plugins/one-time-token/client.ts (+2 -0)
📝 packages/better-auth/src/plugins/one-time-token/index.ts (+1 -1)
📝 packages/better-auth/src/plugins/phone-number/client.ts (+2 -0)
📝 packages/better-auth/src/plugins/two-factor/client.ts (+5 -0)

📄 Description

Fixes: #6227


🔄 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/6230 **Author:** [@jslno](https://github.com/jslno) **Created:** 11/23/2025 **Status:** ✅ Merged **Merged:** 11/24/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `chore/re-export-two-factor` --- ### 📝 Commits (7) - [`890a1a8`](https://github.com/better-auth/better-auth/commit/890a1a8a53b53845573771ce7dc782ef66ab7c79) chore: re-export two-factor types in client plugins - [`beb75e9`](https://github.com/better-auth/better-auth/commit/beb75e9222747a3f36558c574ae7db525644ec03) chore: re-export admin plugin types - [`c301fc8`](https://github.com/better-auth/better-auth/commit/c301fc8bf34e8e70fcf9d4e6be80ac186fcdd7e9) refactor: re-export type in each individual plugin client - [`77dcf9b`](https://github.com/better-auth/better-auth/commit/77dcf9bd8147d6e58ce553ab6fed4a969dc46731) chore: fix linting - [`000a52e`](https://github.com/better-auth/better-auth/commit/000a52eb6b871671d3bc6cc5fba4bfa6c00de5a3) chore: add other necessary re-exports - [`fcfc8d8`](https://github.com/better-auth/better-auth/commit/fcfc8d86e5f23f5263e46c460c3fb684776a3eda) fix(anonymous): re-export schema - [`9145da7`](https://github.com/better-auth/better-auth/commit/9145da710ebe69f8c16bca14e77ae512f4321bb6) fix(generic-oauth): re-export options ### 📊 Changes **13 files changed** (+32 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/admin/client.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/anonymous/client.ts` (+3 -0) 📝 `packages/better-auth/src/plugins/api-key/client.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/generic-oauth/client.ts` (+7 -0) 📝 `packages/better-auth/src/plugins/generic-oauth/index.ts` (+1 -1) 📝 `packages/better-auth/src/plugins/jwt/client.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/multi-session/client.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/multi-session/index.ts` (+1 -1) 📝 `packages/better-auth/src/plugins/oidc-provider/client.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/one-time-token/client.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/one-time-token/index.ts` (+1 -1) 📝 `packages/better-auth/src/plugins/phone-number/client.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/two-factor/client.ts` (+5 -0) </details> ### 📄 Description Fixes: #6227 --- <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-04-15 21:43:09 -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#23434