[PR #4950] [MERGED] fix(client): add lynx client exports #22577

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4950
Author: @JagritGumber
Created: 9/27/2025
Status: Merged
Merged: 9/30/2025
Merged by: @himself65

Base: canaryHead: fix/add-lynx-to-package-export


📝 Commits (8)

  • 5a26fb6 feat(client): add support for lynx client
  • fdac21c Merge branch 'canary' into fix/add-lynx-to-package-export
  • 9b014a2 docs: add ask ai feature (#4938)
  • d80a14e Merge branch 'canary' into fix/add-lynx-to-package-export
  • 30f9e33 Merge branch 'canary' into fix/add-lynx-to-package-export
  • dae7048 Merge branch 'canary' into fix/add-lynx-to-package-export
  • 73f3ba6 fix: update @lynx-js/react to version 0.114.0 and add to package exports
  • e46d142 chore: lint fix

📊 Changes

3 files changed (+25 additions, -10 deletions)

View changed files

📝 packages/better-auth/build.config.ts (+2 -0)
📝 packages/better-auth/package.json (+14 -1)
📝 pnpm-lock.yaml (+9 -9)

📄 Description

Add exports for the lynx client in build config and package.json to enable integration with the Lynx framework.


Summary by cubic

Added Lynx client support to better-auth so Lynx apps can use the client directly. The build now includes the Lynx client, with ESM/CJS entry points and TypeScript types exposed.

  • New Features
    • Build: include ./src/client/lynx/index.ts in build entries.
    • Exports: add better-auth/lynx ESM/CJS entries with type definitions.
    • TypeScript: map lynx types to ./dist/client/lynx/index.d.ts.

🔄 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/4950 **Author:** [@JagritGumber](https://github.com/JagritGumber) **Created:** 9/27/2025 **Status:** ✅ Merged **Merged:** 9/30/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix/add-lynx-to-package-export` --- ### 📝 Commits (8) - [`5a26fb6`](https://github.com/better-auth/better-auth/commit/5a26fb6986ed63762d79b7b73545827e34117f54) feat(client): add support for lynx client - [`fdac21c`](https://github.com/better-auth/better-auth/commit/fdac21c3dec7b370f196ab1156514f0c912b898d) Merge branch 'canary' into fix/add-lynx-to-package-export - [`9b014a2`](https://github.com/better-auth/better-auth/commit/9b014a2dd22da2ea9300eb63d5c9d709b9526e7f) docs: add ask ai feature (#4938) - [`d80a14e`](https://github.com/better-auth/better-auth/commit/d80a14e65feca7ef3f69c60b0e4451e4483135a4) Merge branch 'canary' into fix/add-lynx-to-package-export - [`30f9e33`](https://github.com/better-auth/better-auth/commit/30f9e335e849b76ffec1a00500e0895fe0d19588) Merge branch 'canary' into fix/add-lynx-to-package-export - [`dae7048`](https://github.com/better-auth/better-auth/commit/dae7048834866338df6f8956c26350e8a9e1e008) Merge branch 'canary' into fix/add-lynx-to-package-export - [`73f3ba6`](https://github.com/better-auth/better-auth/commit/73f3ba692ae134bdef3427ca63a41e94f9918aed) fix: update @lynx-js/react to version 0.114.0 and add to package exports - [`e46d142`](https://github.com/better-auth/better-auth/commit/e46d1429cd6f667e861b1ec5e39d0f27785d3746) chore: lint fix ### 📊 Changes **3 files changed** (+25 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/build.config.ts` (+2 -0) 📝 `packages/better-auth/package.json` (+14 -1) 📝 `pnpm-lock.yaml` (+9 -9) </details> ### 📄 Description Add exports for the lynx client in build config and package.json to enable integration with the Lynx framework. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added Lynx client support to better-auth so Lynx apps can use the client directly. The build now includes the Lynx client, with ESM/CJS entry points and TypeScript types exposed. - **New Features** - Build: include ./src/client/lynx/index.ts in build entries. - Exports: add better-auth/lynx ESM/CJS entries with type definitions. - TypeScript: map lynx types to ./dist/client/lynx/index.d.ts. <!-- 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-15 21:08:48 -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#22577