From f2051e79c4228a7ac7d82e6088ac0d055def296f Mon Sep 17 00:00:00 2001 From: Philzen Date: Sun, 22 Dec 2024 19:40:54 +0100 Subject: [PATCH] Fix AuthProviderProps export missing from `@redwood/auth` (#11766) May resolve #11765 In that case patchreleaseworthy. :wink: --------- Co-authored-by: Tobbe Lundberg --- .changesets/11766.md | 3 +++ packages/auth/src/index.ts | 1 + 2 files changed, 4 insertions(+) create mode 100644 .changesets/11766.md diff --git a/.changesets/11766.md b/.changesets/11766.md new file mode 100644 index 000000000000..dc19cc98264f --- /dev/null +++ b/.changesets/11766.md @@ -0,0 +1,3 @@ +- Fix AuthProviderProps export missing from `@redwood/auth` (#11766) by @Philzen + +`AuthProviderProps` is now exported from `@redwood/auth` diff --git a/packages/auth/src/index.ts b/packages/auth/src/index.ts index db1a1000b11e..f6dcd0e37834 100644 --- a/packages/auth/src/index.ts +++ b/packages/auth/src/index.ts @@ -1,4 +1,5 @@ export type { AuthContextInterface, CurrentUser } from './AuthContext.js' +export type { AuthProviderProps } from './AuthProvider/AuthProvider.js'; export { useNoAuth } from './useAuth.js' export type { UseAuth } from './useAuth.js' export { createAuthentication } from './authFactory.js'