[PR #7095] [MERGED] chore: explicit export auth.ts #15318

Closed
opened 2026-04-13 09:57:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7095
Author: @himself65
Created: 1/2/2026
Status: Merged
Merged: 1/2/2026
Merged by: @himself65

Base: canaryHead: himself65/2026/01/02/export


📝 Commits (1)

  • 26cd48b chore: explicit export auth.ts

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 packages/better-auth/src/auth/index.ts (+1 -1)
📝 packages/better-auth/src/index.ts (+1 -1)

📄 Description

Summary by cubic

Export only betterAuth from auth.ts instead of exporting everything. This tightens the public API and prevents unintended exports.

Written for commit 26cd48b046. Summary will update on new commits.


🔄 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/7095 **Author:** [@himself65](https://github.com/himself65) **Created:** 1/2/2026 **Status:** ✅ Merged **Merged:** 1/2/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2026/01/02/export` --- ### 📝 Commits (1) - [`26cd48b`](https://github.com/better-auth/better-auth/commit/26cd48b04616922d7ba21061277752cc1d81b6d1) chore: explicit export `auth.ts` ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/auth/index.ts` (+1 -1) 📝 `packages/better-auth/src/index.ts` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Export only betterAuth from auth.ts instead of exporting everything. This tightens the public API and prevents unintended exports. <sup>Written for commit 26cd48b04616922d7ba21061277752cc1d81b6d1. Summary will update on new commits.</sup> <!-- 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-04-13 09:57:49 -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#15318