[PR #1609] [CLOSED] chore: Added export for passkey plugin for consistency of imports #20793

Closed
opened 2026-04-15 19:55:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1609
Author: @kirill-dev-pro
Created: 3/1/2025
Status: Closed

Base: mainHead: chore/passkey-plugin-export


📝 Commits (1)

  • 392fbf9 Added export for passkey plugin for consistency of imports

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

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

📄 Description

Currently it requires 2 lines to import plugins with passkey
Example:

import { passkey } from 'better-auth/plugins/passkey'
import { anonymous, openAPI, oidcProvider } from 'better-auth/plugins'

This change aims to fix it and make possible to import passkey from plugins/index

import { passkey, anonymous, openAPI, oidcProvider } from 'better-auth/plugins'

🔄 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/1609 **Author:** [@kirill-dev-pro](https://github.com/kirill-dev-pro) **Created:** 3/1/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chore/passkey-plugin-export` --- ### 📝 Commits (1) - [`392fbf9`](https://github.com/better-auth/better-auth/commit/392fbf99e26009b82ae4bd3e62606b6762205498) Added export for passkey plugin for consistency of imports ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/index.ts` (+1 -0) </details> ### 📄 Description Currently it requires 2 lines to import plugins with `passkey` Example: ```ts import { passkey } from 'better-auth/plugins/passkey' import { anonymous, openAPI, oidcProvider } from 'better-auth/plugins' ``` This change aims to fix it and make possible to import passkey from plugins/index ```ts import { passkey, anonymous, openAPI, oidcProvider } from 'better-auth/plugins' ``` --- <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 19:55:56 -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#20793