@neondatabase/auth 0.1.0-beta.13 → 0.1.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapter-core-Ed-EN_tr.mjs → adapter-core-ChIlSbGg.mjs} +127 -3
- package/dist/{adapter-core-D1HVvYeG.d.mts → adapter-core-CtcS7ex8.d.mts} +128 -198
- package/dist/{better-auth-react-adapter-C4kQ31os.d.mts → better-auth-react-adapter-AucJqubr.d.mts} +234 -260
- package/dist/{better-auth-react-adapter-COSlFmvp.mjs → better-auth-react-adapter-C3_WRaIy.mjs} +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +2 -1
- package/dist/{neon-auth-BHWfv-bR.mjs → neon-auth-sSiNq4zM.mjs} +1 -1
- package/dist/next/index.d.mts +9 -35
- package/dist/next/index.mjs +13 -14
- package/dist/react/adapters/index.d.mts +3 -2
- package/dist/react/adapters/index.mjs +2 -1
- package/dist/react/index.d.mts +3 -2
- package/dist/react/index.mjs +2 -1
- package/dist/{supabase-adapter-BFja3Oys.d.mts → supabase-adapter-Bbn88gZj.d.mts} +261 -287
- package/dist/{supabase-adapter-NVDAeWHu.mjs → supabase-adapter-DhlcXYb9.mjs} +9 -31
- package/dist/types/index.d.mts +3 -7
- package/dist/ui/.safelist.html +1 -1
- package/dist/ui/css.css +1 -1
- package/dist/ui/tailwind.css +1 -0
- package/dist/ui/theme-inline.css +39 -0
- package/dist/vanilla/adapters/index.d.mts +3 -2
- package/dist/vanilla/adapters/index.mjs +2 -1
- package/dist/vanilla/index.d.mts +3 -2
- package/dist/vanilla/index.mjs +2 -1
- package/llms.txt +157 -0
- package/package.json +4 -3
- /package/dist/{better-auth-types-CE4hLv9E.d.mts → better-auth-types-VqadyqlG.d.mts} +0 -0
package/dist/{better-auth-react-adapter-COSlFmvp.mjs → better-auth-react-adapter-C3_WRaIy.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as NeonAuthAdapterCore } from "./adapter-core-
|
|
1
|
+
import { t as NeonAuthAdapterCore } from "./adapter-core-ChIlSbGg.mjs";
|
|
2
2
|
import { createAuthClient } from "better-auth/react";
|
|
3
3
|
|
|
4
4
|
//#region src/adapters/better-auth-react/better-auth-react-adapter.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { r as
|
|
3
|
-
import { r as
|
|
1
|
+
import "./better-auth-types-VqadyqlG.mjs";
|
|
2
|
+
import { r as SupportedBetterAuthClientPlugins } from "./adapter-core-CtcS7ex8.mjs";
|
|
3
|
+
import { r as BetterAuthReactAdapterInstance } from "./better-auth-react-adapter-AucJqubr.mjs";
|
|
4
|
+
import { r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance } from "./supabase-adapter-Bbn88gZj.mjs";
|
|
4
5
|
import { createAuthClient as createAuthClient$1 } from "better-auth/react";
|
|
5
6
|
import { createAuthClient as createAuthClient$2 } from "better-auth/client";
|
|
6
7
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./adapter-core-ChIlSbGg.mjs";
|
|
2
|
+
import { n as createInternalNeonAuth, t as createAuthClient } from "./neon-auth-sSiNq4zM.mjs";
|
|
2
3
|
|
|
3
4
|
export { createAuthClient, createInternalNeonAuth };
|
package/dist/next/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as BetterAuthSession, r as BetterAuthUser } from "../better-auth-types-
|
|
1
|
+
import { n as BetterAuthSession, r as BetterAuthUser } from "../better-auth-types-VqadyqlG.mjs";
|
|
2
2
|
import * as better_auth_client0 from "better-auth/client";
|
|
3
3
|
import * as better_auth_client_plugins0 from "better-auth/client/plugins";
|
|
4
4
|
import * as jose0 from "jose";
|
|
@@ -1132,7 +1132,7 @@ declare function createAuthClient(): {
|
|
|
1132
1132
|
permission: {
|
|
1133
1133
|
readonly organization?: ("delete" | "update")[] | undefined;
|
|
1134
1134
|
readonly member?: ("delete" | "create" | "update")[] | undefined;
|
|
1135
|
-
readonly invitation?: ("
|
|
1135
|
+
readonly invitation?: ("cancel" | "create")[] | undefined;
|
|
1136
1136
|
readonly team?: ("delete" | "create" | "update")[] | undefined;
|
|
1137
1137
|
readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
|
|
1138
1138
|
};
|
|
@@ -1141,7 +1141,7 @@ declare function createAuthClient(): {
|
|
|
1141
1141
|
permissions: {
|
|
1142
1142
|
readonly organization?: ("delete" | "update")[] | undefined;
|
|
1143
1143
|
readonly member?: ("delete" | "create" | "update")[] | undefined;
|
|
1144
|
-
readonly invitation?: ("
|
|
1144
|
+
readonly invitation?: ("cancel" | "create")[] | undefined;
|
|
1145
1145
|
readonly team?: ("delete" | "create" | "update")[] | undefined;
|
|
1146
1146
|
readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
|
|
1147
1147
|
};
|
|
@@ -1152,7 +1152,7 @@ declare function createAuthClient(): {
|
|
|
1152
1152
|
permission: {
|
|
1153
1153
|
readonly organization?: ("delete" | "update")[] | undefined;
|
|
1154
1154
|
readonly member?: ("delete" | "create" | "update")[] | undefined;
|
|
1155
|
-
readonly invitation?: ("
|
|
1155
|
+
readonly invitation?: ("cancel" | "create")[] | undefined;
|
|
1156
1156
|
readonly team?: ("delete" | "create" | "update")[] | undefined;
|
|
1157
1157
|
readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
|
|
1158
1158
|
};
|
|
@@ -1161,7 +1161,7 @@ declare function createAuthClient(): {
|
|
|
1161
1161
|
permissions: {
|
|
1162
1162
|
readonly organization?: ("delete" | "update")[] | undefined;
|
|
1163
1163
|
readonly member?: ("delete" | "create" | "update")[] | undefined;
|
|
1164
|
-
readonly invitation?: ("
|
|
1164
|
+
readonly invitation?: ("cancel" | "create")[] | undefined;
|
|
1165
1165
|
readonly team?: ("delete" | "create" | "update")[] | undefined;
|
|
1166
1166
|
readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
|
|
1167
1167
|
};
|
|
@@ -1313,26 +1313,6 @@ declare function createAuthClient(): {
|
|
|
1313
1313
|
message?: string | undefined;
|
|
1314
1314
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1315
1315
|
};
|
|
1316
|
-
} & {
|
|
1317
|
-
signIn: {
|
|
1318
|
-
anonymous: <FetchOptions extends better_auth0.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth0.Prettify<{
|
|
1319
|
-
query?: Record<string, any> | undefined;
|
|
1320
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1321
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1322
|
-
token: string;
|
|
1323
|
-
user: {
|
|
1324
|
-
id: string;
|
|
1325
|
-
email: string;
|
|
1326
|
-
emailVerified: boolean;
|
|
1327
|
-
name: string;
|
|
1328
|
-
createdAt: Date;
|
|
1329
|
-
updatedAt: Date;
|
|
1330
|
-
};
|
|
1331
|
-
}, {
|
|
1332
|
-
code?: string | undefined;
|
|
1333
|
-
message?: string | undefined;
|
|
1334
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1335
|
-
};
|
|
1336
1316
|
} & {
|
|
1337
1317
|
signIn: {
|
|
1338
1318
|
social: <FetchOptions extends better_auth0.ClientFetchOption<Partial<{
|
|
@@ -1418,7 +1398,7 @@ declare function createAuthClient(): {
|
|
|
1418
1398
|
image?: string | undefined;
|
|
1419
1399
|
callbackURL?: string | undefined;
|
|
1420
1400
|
fetchOptions?: FetchOptions | undefined;
|
|
1421
|
-
} & {} & {}
|
|
1401
|
+
} & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch0.BetterFetchResponse<NonNullable<{
|
|
1422
1402
|
token: null;
|
|
1423
1403
|
user: {
|
|
1424
1404
|
id: string;
|
|
@@ -1574,7 +1554,7 @@ declare function createAuthClient(): {
|
|
|
1574
1554
|
image?: (string | null) | undefined;
|
|
1575
1555
|
name?: string | undefined;
|
|
1576
1556
|
fetchOptions?: FetchOptions | undefined;
|
|
1577
|
-
} & Partial<{} & {}
|
|
1557
|
+
} & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch0.BetterFetchResponse<{
|
|
1578
1558
|
status: boolean;
|
|
1579
1559
|
}, {
|
|
1580
1560
|
code?: string | undefined;
|
|
@@ -1852,7 +1832,6 @@ declare function createAuthClient(): {
|
|
|
1852
1832
|
role?: string | null | undefined;
|
|
1853
1833
|
banReason?: string | null | undefined;
|
|
1854
1834
|
banExpires?: Date | null | undefined;
|
|
1855
|
-
isAnonymous: boolean | null | undefined;
|
|
1856
1835
|
};
|
|
1857
1836
|
session: {
|
|
1858
1837
|
id: string;
|
|
@@ -1993,7 +1972,7 @@ declare function createAuthClient(): {
|
|
|
1993
1972
|
permission: {
|
|
1994
1973
|
readonly organization?: ("delete" | "update")[] | undefined;
|
|
1995
1974
|
readonly member?: ("delete" | "create" | "update")[] | undefined;
|
|
1996
|
-
readonly invitation?: ("
|
|
1975
|
+
readonly invitation?: ("cancel" | "create")[] | undefined;
|
|
1997
1976
|
readonly team?: ("delete" | "create" | "update")[] | undefined;
|
|
1998
1977
|
readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
|
|
1999
1978
|
};
|
|
@@ -2002,7 +1981,7 @@ declare function createAuthClient(): {
|
|
|
2002
1981
|
permissions: {
|
|
2003
1982
|
readonly organization?: ("delete" | "update")[] | undefined;
|
|
2004
1983
|
readonly member?: ("delete" | "create" | "update")[] | undefined;
|
|
2005
|
-
readonly invitation?: ("
|
|
1984
|
+
readonly invitation?: ("cancel" | "create")[] | undefined;
|
|
2006
1985
|
readonly team?: ("delete" | "create" | "update")[] | undefined;
|
|
2007
1986
|
readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
|
|
2008
1987
|
};
|
|
@@ -2026,7 +2005,6 @@ declare function createAuthClient(): {
|
|
|
2026
2005
|
role?: string | null | undefined;
|
|
2027
2006
|
banReason?: string | null | undefined;
|
|
2028
2007
|
banExpires?: Date | null | undefined;
|
|
2029
|
-
isAnonymous: boolean | null | undefined;
|
|
2030
2008
|
};
|
|
2031
2009
|
session: {
|
|
2032
2010
|
id: string;
|
|
@@ -2062,7 +2040,6 @@ declare function createAuthClient(): {
|
|
|
2062
2040
|
role?: string | null | undefined;
|
|
2063
2041
|
banReason?: string | null | undefined;
|
|
2064
2042
|
banExpires?: Date | null | undefined;
|
|
2065
|
-
isAnonymous: boolean | null | undefined;
|
|
2066
2043
|
};
|
|
2067
2044
|
session: {
|
|
2068
2045
|
id: string;
|
|
@@ -2229,9 +2206,6 @@ declare function createAuthClient(): {
|
|
|
2229
2206
|
readonly OTP_EXPIRED: "OTP expired";
|
|
2230
2207
|
readonly INVALID_OTP: "Invalid OTP";
|
|
2231
2208
|
readonly TOO_MANY_ATTEMPTS: "Too many attempts";
|
|
2232
|
-
readonly INVALID_EMAIL_FORMAT: "Email was not generated in a valid format";
|
|
2233
|
-
readonly COULD_NOT_CREATE_SESSION: "Could not create session";
|
|
2234
|
-
readonly ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY: "Anonymous users cannot sign in again anonymously";
|
|
2235
2209
|
readonly USER_NOT_FOUND: "User not found";
|
|
2236
2210
|
readonly FAILED_TO_CREATE_SESSION: "Failed to create session";
|
|
2237
2211
|
readonly FAILED_TO_UPDATE_USER: "Failed to update user";
|
package/dist/next/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
1
|
+
import { o as NEON_AUTH_SESSION_VERIFIER_PARAM_NAME } from "../adapter-core-ChIlSbGg.mjs";
|
|
2
|
+
import { t as BetterAuthReactAdapter } from "../better-auth-react-adapter-C3_WRaIy.mjs";
|
|
3
|
+
import { t as createAuthClient$1 } from "../neon-auth-sSiNq4zM.mjs";
|
|
3
4
|
import { parseCookies, parseSetCookieHeader } from "better-auth/cookies";
|
|
4
5
|
import { NextRequest, NextResponse } from "next/server";
|
|
5
6
|
import { cookies, headers } from "next/headers";
|
|
@@ -12,8 +13,6 @@ const ERRORS = { MISSING_AUTH_BASE_URL: "Missing environment variable: NEON_AUTH
|
|
|
12
13
|
const NEON_AUTH_COOKIE_PREFIX = "__Secure-neon-auth";
|
|
13
14
|
const NEON_AUTH_SESSION_COOKIE_NAME = `${NEON_AUTH_COOKIE_PREFIX}.session_token`;
|
|
14
15
|
const NEON_AUTH_SESSION_CHALLENGE_COOKIE_NAME = `${NEON_AUTH_COOKIE_PREFIX}.session_challange`;
|
|
15
|
-
/** Name of the session verifier parameter in the URL, used for the OAUTH flow */
|
|
16
|
-
const NEON_AUTH_SESSION_VERIFIER_PARAM_NAME = "neon_auth_session_verifier";
|
|
17
16
|
const NEON_AUTH_HEADER_MIDDLEWARE_NAME = "X-Neon-Auth-Next-Middleware";
|
|
18
17
|
|
|
19
18
|
//#endregion
|
|
@@ -219,14 +218,14 @@ const NEON_AUTH_BASE_URL = process.env.NEON_AUTH_BASE_URL;
|
|
|
219
218
|
//#endregion
|
|
220
219
|
//#region src/next/auth/session.ts
|
|
221
220
|
/**
|
|
222
|
-
* A utility function to be used in react server components fetch the session details from the Neon Auth API, if session token is available in cookie.
|
|
223
|
-
*
|
|
221
|
+
* A utility function to be used in react server components fetch the session details from the Neon Auth API, if session token is available in cookie.
|
|
222
|
+
*
|
|
224
223
|
* @returns - `{ session: Session, user: User }` | `{ session: null, user: null}`.
|
|
225
|
-
*
|
|
224
|
+
*
|
|
226
225
|
* @example
|
|
227
226
|
* ```ts
|
|
228
227
|
* import { neonAuth } from "@neondatabase/auth/next"
|
|
229
|
-
*
|
|
228
|
+
*
|
|
230
229
|
* const { session, user } = await neonAuth()
|
|
231
230
|
* ```
|
|
232
231
|
*/
|
|
@@ -234,8 +233,8 @@ const neonAuth = async () => {
|
|
|
234
233
|
return await fetchSession();
|
|
235
234
|
};
|
|
236
235
|
/**
|
|
237
|
-
* A utility function to fetch the session details from the Neon Auth API, if session token is available in cookie.
|
|
238
|
-
*
|
|
236
|
+
* A utility function to fetch the session details from the Neon Auth API, if session token is available in cookie.
|
|
237
|
+
*
|
|
239
238
|
* @returns - `{ session: Session, user: User }` | `{ session: null, user: null}`.
|
|
240
239
|
*/
|
|
241
240
|
const fetchSession = async () => {
|
|
@@ -275,16 +274,16 @@ const SKIP_ROUTES = [
|
|
|
275
274
|
"/auth/email-otp",
|
|
276
275
|
"/auth/forgot-password"
|
|
277
276
|
];
|
|
278
|
-
/**
|
|
277
|
+
/**
|
|
279
278
|
* A Next.js middleware to protect routes from unauthenticated requests and refresh the session if required.
|
|
280
|
-
*
|
|
279
|
+
*
|
|
281
280
|
* @param loginUrl - The URL to redirect to when the user is not authenticated.
|
|
282
281
|
* @returns A middleware function that can be used in the Next.js app.
|
|
283
|
-
*
|
|
282
|
+
*
|
|
284
283
|
* @example
|
|
285
284
|
* ```ts
|
|
286
285
|
* import { neonAuthMiddleware } from "@neondatabase/auth/next"
|
|
287
|
-
*
|
|
286
|
+
*
|
|
288
287
|
* export default neonAuthMiddleware({
|
|
289
288
|
* loginUrl: '/auth/sign-in',
|
|
290
289
|
* });
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import
|
|
1
|
+
import "../../better-auth-types-VqadyqlG.mjs";
|
|
2
|
+
import "../../adapter-core-CtcS7ex8.mjs";
|
|
3
|
+
import { i as BetterAuthReactAdapterOptions, n as BetterAuthReactAdapterBuilder, r as BetterAuthReactAdapterInstance, t as BetterAuthReactAdapter } from "../../better-auth-react-adapter-AucJqubr.mjs";
|
|
3
4
|
import "../../index-DCQ5Y2ED.mjs";
|
|
4
5
|
export { BetterAuthReactAdapter, BetterAuthReactAdapterBuilder, BetterAuthReactAdapterInstance, BetterAuthReactAdapterOptions };
|
package/dist/react/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import
|
|
1
|
+
import "../better-auth-types-VqadyqlG.mjs";
|
|
2
|
+
import "../adapter-core-CtcS7ex8.mjs";
|
|
3
|
+
import { i as BetterAuthReactAdapterOptions, n as BetterAuthReactAdapterBuilder, r as BetterAuthReactAdapterInstance, t as BetterAuthReactAdapter } from "../better-auth-react-adapter-AucJqubr.mjs";
|
|
3
4
|
import "../index-DCQ5Y2ED.mjs";
|
|
4
5
|
import { $ as MagicLinkFormProps, $t as SignUpFormProps, A as ChangePasswordCard, An as UserViewClassNames, At as PasswordInput, B as DropboxIcon, Bn as socialProviders, Bt as ResetPasswordFormProps, C as AuthUIProviderProps, Cn as UserAvatarClassNames, Ct as OrganizationViewPageProps, D as AuthViewPaths, Dn as UserButtonProps, Dt as OrganizationsCard, E as AuthViewPath, En as UserButtonClassNames, Et as OrganizationViewProps, F as CreateTeamDialogProps, Fn as accountViewPaths, Ft as RecoverAccountFormProps, G as GitLabIcon, Gt as SettingsCard, H as ForgotPasswordForm, Hn as useAuthenticate, Ht as SecuritySettingsCards, I as DeleteAccountCard, In as authLocalization, It as RedditIcon, J as InputFieldSkeleton, Jt as SettingsCellSkeleton, K as GoogleIcon, Kt as SettingsCardClassNames, L as DeleteAccountCardProps, Ln as authViewPaths, Lt as RedirectToSignIn, M as CreateOrganizationDialog, Mn as VKIcon, Mt as ProvidersCard, N as CreateOrganizationDialogProps, Nn as XIcon, Nt as ProvidersCardProps, O as AuthViewProps, On as UserInvitationsCard, Ot as PasskeysCard, P as CreateTeamDialog, Pn as ZoomIcon, Pt as RecoverAccountForm, Q as MagicLinkForm, Qt as SignUpForm, R as DeleteOrganizationCard, Rn as getViewByPath, Rt as RedirectToSignUp, S as AuthUIProvider, Sn as UserAvatar, St as OrganizationViewClassNames, T as AuthViewClassNames, Tn as UserButton, Tt as OrganizationViewPaths, U as ForgotPasswordFormProps, Un as useCurrentOrganization, Ut as SessionsCard, V as FacebookIcon, Vn as useAuthData, Vt as RobloxIcon, W as GitHubIcon, Wn as useTheme, Wt as SessionsCardProps, X as LinearIcon, Xt as SignInFormProps, Y as KickIcon, Yt as SignInForm, Z as LinkedInIcon, Zt as SignOut, _ as AuthLoading, _n as UpdateAvatarCardProps, _t as OrganizationSlugCardProps, a as AccountViewPath, an as TeamCell, at as OrganizationInvitationsCard, b as AuthUIContext, bn as UpdateNameCard, bt as OrganizationSwitcherProps, c as AccountsCard, cn as TeamOptionsContext, ct as OrganizationLogoCardProps, d as AppleIcon, dn as TwitchIcon, dt as OrganizationMembersCard, en as SignedIn, et as MicrosoftIcon, f as AuthCallback, fn as TwoFactorCard, ft as OrganizationNameCard, g as AuthHooks, gn as UpdateAvatarCard, gt as OrganizationSlugCard, h as AuthFormProps, hn as TwoFactorFormProps, ht as OrganizationSettingsCardsProps, i as AccountView, in as Team, it as OrganizationCellView, j as ChangePasswordCardProps, jn as UserViewProps, jt as Provider, k as ChangeEmailCard, kn as UserView, kt as PasskeysCardProps, l as AccountsCardProps, ln as TeamsCard, lt as OrganizationLogoClassNames, m as AuthFormClassNames, mn as TwoFactorForm, mt as OrganizationSettingsCards, n as AcceptInvitationCardProps, nn as SlackIcon, nt as NeonAuthUIProviderProps, o as AccountViewPaths, on as TeamCellProps, ot as OrganizationLogo, p as AuthForm, pn as TwoFactorCardProps, pt as OrganizationNameCardProps, q as HuggingFaceIcon, qt as SettingsCardProps, r as AccountSettingsCards, rn as SpotifyIcon, rt as NotionIcon, s as AccountViewProps, sn as TeamOptions, st as OrganizationLogoCard, t as AcceptInvitationCard, tn as SignedOut, tt as NeonAuthUIProvider, u as ApiKeysCardProps, un as TikTokIcon, ut as OrganizationLogoProps, v as AuthLocalization, vn as UpdateFieldCard, vt as OrganizationSwitcher, w as AuthView, wn as UserAvatarProps, wt as OrganizationViewPath, x as AuthUIContextType, xn as UpdateUsernameCard, xt as OrganizationView, y as AuthMutators, yn as UpdateFieldCardProps, yt as OrganizationSwitcherClassNames, z as DiscordIcon, zn as organizationViewPaths, zt as ResetPasswordForm } from "../index-BXlAjlSt.mjs";
|
|
5
6
|
export { AcceptInvitationCard, AcceptInvitationCardProps, AccountSettingsCards, AccountView, AccountViewPath, AccountViewPaths, AccountViewProps, AccountsCard, AccountsCardProps, ApiKeysCardProps, AppleIcon, AuthCallback, AuthForm, AuthFormClassNames, AuthFormProps, AuthHooks, AuthLoading, AuthLocalization, AuthMutators, AuthUIContext, AuthUIContextType, AuthUIProvider, AuthUIProviderProps, AuthView, AuthViewClassNames, AuthViewPath, AuthViewPaths, AuthViewProps, BetterAuthReactAdapter, BetterAuthReactAdapterBuilder, BetterAuthReactAdapterInstance, BetterAuthReactAdapterOptions, ChangeEmailCard, ChangePasswordCard, ChangePasswordCardProps, CreateOrganizationDialog, CreateOrganizationDialogProps, CreateTeamDialog, CreateTeamDialogProps, DeleteAccountCard, DeleteAccountCardProps, DeleteOrganizationCard, DiscordIcon, DropboxIcon, FacebookIcon, ForgotPasswordForm, ForgotPasswordFormProps, GitHubIcon, GitLabIcon, GoogleIcon, HuggingFaceIcon, InputFieldSkeleton, KickIcon, LinearIcon, LinkedInIcon, MagicLinkForm, MagicLinkFormProps, MicrosoftIcon, NeonAuthUIProvider, NeonAuthUIProviderProps, NotionIcon, OrganizationCellView, OrganizationInvitationsCard, OrganizationLogo, OrganizationLogoCard, OrganizationLogoCardProps, OrganizationLogoClassNames, OrganizationLogoProps, OrganizationMembersCard, OrganizationNameCard, OrganizationNameCardProps, OrganizationSettingsCards, OrganizationSettingsCardsProps, OrganizationSlugCard, OrganizationSlugCardProps, OrganizationSwitcher, OrganizationSwitcherClassNames, OrganizationSwitcherProps, OrganizationView, OrganizationViewClassNames, OrganizationViewPageProps, OrganizationViewPath, OrganizationViewPaths, OrganizationViewProps, OrganizationsCard, PasskeysCard, PasskeysCardProps, PasswordInput, Provider, ProvidersCard, ProvidersCardProps, RecoverAccountForm, RecoverAccountFormProps, RedditIcon, RedirectToSignIn, RedirectToSignUp, ResetPasswordForm, ResetPasswordFormProps, RobloxIcon, SecuritySettingsCards, SessionsCard, SessionsCardProps, SettingsCard, SettingsCardClassNames, SettingsCardProps, SettingsCellSkeleton, SignInForm, SignInFormProps, SignOut, SignUpForm, SignUpFormProps, SignedIn, SignedOut, SlackIcon, SpotifyIcon, Team, TeamCell, TeamCellProps, TeamOptions, TeamOptionsContext, TeamsCard, TikTokIcon, TwitchIcon, TwoFactorCard, TwoFactorCardProps, TwoFactorForm, TwoFactorFormProps, UpdateAvatarCard, UpdateAvatarCardProps, UpdateFieldCard, UpdateFieldCardProps, UpdateNameCard, UpdateUsernameCard, UserAvatar, UserAvatarClassNames, UserAvatarProps, UserButton, UserButtonClassNames, UserButtonProps, UserInvitationsCard, UserView, UserViewClassNames, UserViewProps, VKIcon, XIcon, ZoomIcon, accountViewPaths, authLocalization, authViewPaths, getViewByPath, organizationViewPaths, socialProviders, useAuthData, useAuthenticate, useCurrentOrganization, useTheme };
|
package/dist/react/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../adapter-core-ChIlSbGg.mjs";
|
|
2
|
+
import { t as BetterAuthReactAdapter } from "../better-auth-react-adapter-C3_WRaIy.mjs";
|
|
2
3
|
import { c as getViewByPath, n as authLocalization, r as authViewPaths, t as accountViewPaths, u as organizationViewPaths } from "../chunk-5DLVHPZS-Bxj7snpZ-EhdAQJMu.mjs";
|
|
3
4
|
import { $ as RobloxIcon, A as MagicLinkForm, At as useAuthenticate, B as OrganizationSettingsCards, C as GitLabIcon, Ct as UserInvitationsCard, D as KickIcon, Dt as ZoomIcon, E as InputFieldSkeleton, Et as XIcon3, F as OrganizationInvitationsCard, G as PasskeysCard, H as OrganizationSwitcher, I as OrganizationLogo, J as RecoverAccountForm, K as PasswordInput, L as OrganizationLogoCard, M as NeonAuthUIProvider, Mt as useTheme, N as NotionIcon, O as LinearIcon, Ot as socialProviders, P as OrganizationCellView, Q as ResetPasswordForm, R as OrganizationMembersCard, S as GitHubIcon, St as UserButton, T as HuggingFaceIcon, Tt as VKIcon, U as OrganizationView, V as OrganizationSlugCard, W as OrganizationsCard, X as RedirectToSignIn, Y as RedditIcon, Z as RedirectToSignUp, _ as DeleteOrganizationCard, _t as UpdateAvatarCard, a as AppleIcon, at as SignOut, b as FacebookIcon, bt as UpdateUsernameCard, c as AuthLoading, ct as SignedOut, d as AuthView, dt as TeamCell, et as SecuritySettingsCards, f as ChangeEmailCard, ft as TeamsCard, g as DeleteAccountCard, gt as TwoFactorForm, h as CreateTeamDialog, ht as TwoFactorCard, i as AccountsCard, it as SignInForm, j as MicrosoftIcon, jt as useCurrentOrganization, k as LinkedInIcon, kt as useAuthData, l as AuthUIContext, lt as SlackIcon, m as CreateOrganizationDialog, mt as TwitchIcon, n as AccountSettingsCards, nt as SettingsCard, o as AuthCallback, ot as SignUpForm, p as ChangePasswordCard, pt as TikTokIcon, q as ProvidersCard, r as AccountView, rt as SettingsCellSkeleton, s as AuthForm, st as SignedIn, t as AcceptInvitationCard, tt as SessionsCard, u as AuthUIProvider, ut as SpotifyIcon, v as DiscordIcon, vt as UpdateFieldCard, w as GoogleIcon, wt as UserView, x as ForgotPasswordForm, xt as UserAvatar, y as DropboxIcon, yt as UpdateNameCard, z as OrganizationNameCard } from "../ui-C1IRQzLY.mjs";
|
|
4
5
|
|