[PR #3503] [MERGED] fix(plugins): export siwe plugin #4859

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3503
Author: @chunterb
Created: 7/20/2025
Status: Merged
Merged: 8/2/2025
Merged by: @Bekacru

Base: mainHead: fix/export-siwe-plugin


📝 Commits (3)

  • 6ea7a76 fix(plugins): export siwe plugin
  • b9c2b7a fix(plugins): export siweClient from client plugins
  • eec33fb fix(plugins): siwe plugin client types

📊 Changes

5 files changed (+18 additions, -4 deletions)

View changed files

📝 packages/better-auth/build.config.ts (+1 -0)
📝 packages/better-auth/package.json (+13 -0)
📝 packages/better-auth/src/client/plugins/index.ts (+1 -0)
📝 packages/better-auth/src/plugins/index.ts (+1 -0)
📝 packages/better-auth/src/plugins/siwe/client.ts (+2 -4)

📄 Description

Description

The SIWE plugin is fully implemented, and was released in PR 2579, but is missing from the export configuration.

Changes Made

  • Main export: Added export * from "./siwe" to src/plugins/index.ts
  • Build config: Added "./src/plugins/siwe/index.ts" to build entries
  • Package exports: Added dedicated "./plugins/siwe" export path
  • Type definitions: Added "plugins/siwe" to typesVersions
  • Client export: Added export * from "../../plugins/siwe/client"; to src/client/plugins/index.ts

Summary by cubic

Added the SIWE plugin to the main export, build config, and package exports so it can be imported and used like other plugins.

  • Dependencies
    • Updated build entries, package exports, and type definitions to include the SIWE plugin.

🔄 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/3503 **Author:** [@chunterb](https://github.com/chunterb) **Created:** 7/20/2025 **Status:** ✅ Merged **Merged:** 8/2/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/export-siwe-plugin` --- ### 📝 Commits (3) - [`6ea7a76`](https://github.com/better-auth/better-auth/commit/6ea7a76110c93a149b8dae1c116af2de03e8d5d2) fix(plugins): export siwe plugin - [`b9c2b7a`](https://github.com/better-auth/better-auth/commit/b9c2b7a9373f41d3a2cc234fd671029100e1d128) fix(plugins): export siweClient from client plugins - [`eec33fb`](https://github.com/better-auth/better-auth/commit/eec33fbbea7c1ffae5c5499cb914c731110704ed) fix(plugins): siwe plugin client types ### 📊 Changes **5 files changed** (+18 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/build.config.ts` (+1 -0) 📝 `packages/better-auth/package.json` (+13 -0) 📝 `packages/better-auth/src/client/plugins/index.ts` (+1 -0) 📝 `packages/better-auth/src/plugins/index.ts` (+1 -0) 📝 `packages/better-auth/src/plugins/siwe/client.ts` (+2 -4) </details> ### 📄 Description ## Description The SIWE plugin is fully implemented, and was released in [PR 2579](https://github.com/better-auth/better-auth/pull/2579), but is missing from the export configuration. ## Changes Made - **Main export**: Added `export * from "./siwe"` to `src/plugins/index.ts` - **Build config**: Added `"./src/plugins/siwe/index.ts"` to build entries - **Package exports**: Added dedicated `"./plugins/siwe"` export path - **Type definitions**: Added `"plugins/siwe"` to typesVersions - **Client export**: Added `export * from "../../plugins/siwe/client";` to `src/client/plugins/index.ts` <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added the SIWE plugin to the main export, build config, and package exports so it can be imported and used like other plugins. - **Dependencies** - Updated build entries, package exports, and type definitions to include the SIWE plugin. <!-- 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:02:18 -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#4859