@neondatabase/auth 0.1.0-beta.15 → 0.1.0-beta.17
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/README.md +1 -0
- package/dist/{adapter-core-ChIlSbGg.mjs → adapter-core-BQ6ga1zK.mjs} +2 -28
- package/dist/{better-auth-react-adapter-C3_WRaIy.mjs → better-auth-react-adapter-BLKXYcWM.mjs} +1 -1
- package/dist/{better-auth-react-adapter-AucJqubr.d.mts → better-auth-react-adapter-BWH-XVdf.d.mts} +1 -1
- package/dist/constants-2bpp2_-f.mjs +30 -0
- package/dist/index-B4dy0AqC.d.mts +49 -0
- package/dist/index.d.mts +5 -105
- package/dist/index.mjs +2 -2
- package/dist/middleware-DPLYghmx.mjs +303 -0
- package/dist/{neon-auth-sSiNq4zM.mjs → neon-auth-ClDZNB9a.mjs} +1 -1
- package/dist/neon-auth-DDPaciiS.d.mts +105 -0
- package/dist/next/index.d.mts +63 -98
- package/dist/next/index.mjs +26 -301
- package/dist/next/server/index.d.mts +389 -0
- package/dist/next/server/index.mjs +432 -0
- package/dist/react/adapters/index.d.mts +4 -4
- package/dist/react/adapters/index.mjs +2 -2
- package/dist/react/index.d.mts +5 -5
- package/dist/react/index.mjs +4 -5
- package/dist/react/ui/index.d.mts +1 -1
- package/dist/react/ui/index.mjs +2 -3
- package/dist/react/ui/server.mjs +2 -2
- package/dist/{supabase-adapter-DhlcXYb9.mjs → supabase-adapter-Bl576usk.mjs} +2 -1
- package/dist/{supabase-adapter-Bbn88gZj.d.mts → supabase-adapter-k8RBezY9.d.mts} +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/ui-DLtIc4wi.mjs +4 -0
- package/dist/vanilla/adapters/index.d.mts +4 -4
- package/dist/vanilla/adapters/index.mjs +2 -2
- package/dist/vanilla/index.d.mts +4 -4
- package/dist/vanilla/index.mjs +2 -2
- package/package.json +5 -1
- package/dist/chunk-5DLVHPZS-Bxj7snpZ-EhdAQJMu.mjs +0 -533
- package/dist/ui-C1IRQzLY.mjs +0 -9449
- /package/dist/{adapter-core-CtcS7ex8.d.mts → adapter-core-Sx7jkLdB.d.mts} +0 -0
- /package/dist/{adapters-D0mxG3F-.mjs → adapters-CUvhsAvY.mjs} +0 -0
- /package/dist/{adapters-Df6Dd3KK.mjs → adapters-CivF9wql.mjs} +0 -0
- /package/dist/{better-auth-types-VqadyqlG.d.mts → better-auth-types-Kq3kGuiz.d.mts} +0 -0
- /package/dist/{index-ClXLQ1fw.d.mts → index-D8dPsry7.d.mts} +0 -0
- /package/dist/{index-BXlAjlSt.d.mts → index-D_HDtZfY.d.mts} +0 -0
- /package/dist/{index-DCQ5Y2ED.d.mts → index-OEBbnNdr.d.mts} +0 -0
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
import { a as parseSetCookies, i as extractNeonAuthCookies, n as neonAuth, r as authApiHandler, t as neonAuthMiddleware } from "../../middleware-DPLYghmx.mjs";
|
|
2
|
+
import { cookies, headers } from "next/headers";
|
|
3
|
+
|
|
4
|
+
//#region src/server/request-context.ts
|
|
5
|
+
/**
|
|
6
|
+
* Header name used to identify server-side proxy requests.
|
|
7
|
+
* The value will be the framework name (e.g., 'nextjs', 'remix').
|
|
8
|
+
*/
|
|
9
|
+
const NEON_AUTH_SERVER_PROXY_HEADER = "x-neon-auth-proxy";
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/server/endpoints.ts
|
|
13
|
+
const API_ENDPOINTS = {
|
|
14
|
+
getSession: {
|
|
15
|
+
path: "get-session",
|
|
16
|
+
method: "GET"
|
|
17
|
+
},
|
|
18
|
+
getAccessToken: {
|
|
19
|
+
path: "get-access-token",
|
|
20
|
+
method: "GET"
|
|
21
|
+
},
|
|
22
|
+
listSessions: {
|
|
23
|
+
path: "list-sessions",
|
|
24
|
+
method: "GET"
|
|
25
|
+
},
|
|
26
|
+
revokeSession: {
|
|
27
|
+
path: "revoke-session",
|
|
28
|
+
method: "POST"
|
|
29
|
+
},
|
|
30
|
+
revokeSessions: {
|
|
31
|
+
path: "revoke-sessions",
|
|
32
|
+
method: "POST"
|
|
33
|
+
},
|
|
34
|
+
revokeOtherSessions: {
|
|
35
|
+
path: "revoke-all-sessions",
|
|
36
|
+
method: "POST"
|
|
37
|
+
},
|
|
38
|
+
refreshToken: {
|
|
39
|
+
path: "refresh-token",
|
|
40
|
+
method: "POST"
|
|
41
|
+
},
|
|
42
|
+
signIn: {
|
|
43
|
+
email: {
|
|
44
|
+
path: "sign-in/email",
|
|
45
|
+
method: "POST"
|
|
46
|
+
},
|
|
47
|
+
social: {
|
|
48
|
+
path: "sign-in/social",
|
|
49
|
+
method: "POST"
|
|
50
|
+
},
|
|
51
|
+
emailOtp: {
|
|
52
|
+
path: "sign-in/email-otp",
|
|
53
|
+
method: "POST"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
signUp: { email: {
|
|
57
|
+
path: "sign-up/email",
|
|
58
|
+
method: "POST"
|
|
59
|
+
} },
|
|
60
|
+
signOut: {
|
|
61
|
+
path: "sign-out",
|
|
62
|
+
method: "POST"
|
|
63
|
+
},
|
|
64
|
+
listAccounts: {
|
|
65
|
+
path: "list-accounts",
|
|
66
|
+
method: "GET"
|
|
67
|
+
},
|
|
68
|
+
accountInfo: {
|
|
69
|
+
path: "account-info",
|
|
70
|
+
method: "GET"
|
|
71
|
+
},
|
|
72
|
+
updateUser: {
|
|
73
|
+
path: "update-user",
|
|
74
|
+
method: "POST"
|
|
75
|
+
},
|
|
76
|
+
deleteUser: {
|
|
77
|
+
path: "delete-user",
|
|
78
|
+
method: "POST"
|
|
79
|
+
},
|
|
80
|
+
changePassword: {
|
|
81
|
+
path: "change-password",
|
|
82
|
+
method: "POST"
|
|
83
|
+
},
|
|
84
|
+
sendVerificationEmail: {
|
|
85
|
+
path: "send-verification-email",
|
|
86
|
+
method: "POST"
|
|
87
|
+
},
|
|
88
|
+
verifyEmail: {
|
|
89
|
+
path: "verify-email",
|
|
90
|
+
method: "POST"
|
|
91
|
+
},
|
|
92
|
+
resetPassword: {
|
|
93
|
+
path: "reset-password",
|
|
94
|
+
method: "POST"
|
|
95
|
+
},
|
|
96
|
+
requestPasswordReset: {
|
|
97
|
+
path: "request-password-reset",
|
|
98
|
+
method: "POST"
|
|
99
|
+
},
|
|
100
|
+
token: {
|
|
101
|
+
path: "token",
|
|
102
|
+
method: "GET"
|
|
103
|
+
},
|
|
104
|
+
jwks: {
|
|
105
|
+
path: "jwt",
|
|
106
|
+
method: "GET"
|
|
107
|
+
},
|
|
108
|
+
getAnonymousToken: {
|
|
109
|
+
path: "token/anonymous",
|
|
110
|
+
method: "GET"
|
|
111
|
+
},
|
|
112
|
+
admin: {
|
|
113
|
+
createUser: {
|
|
114
|
+
path: "admin/create-user",
|
|
115
|
+
method: "POST"
|
|
116
|
+
},
|
|
117
|
+
listUsers: {
|
|
118
|
+
path: "admin/list-users",
|
|
119
|
+
method: "GET"
|
|
120
|
+
},
|
|
121
|
+
setRole: {
|
|
122
|
+
path: "admin/set-role",
|
|
123
|
+
method: "POST"
|
|
124
|
+
},
|
|
125
|
+
setUserPassword: {
|
|
126
|
+
path: "admin/set-user-password",
|
|
127
|
+
method: "POST"
|
|
128
|
+
},
|
|
129
|
+
updateUser: {
|
|
130
|
+
path: "admin/update-user",
|
|
131
|
+
method: "POST"
|
|
132
|
+
},
|
|
133
|
+
banUser: {
|
|
134
|
+
path: "admin/ban-user",
|
|
135
|
+
method: "POST"
|
|
136
|
+
},
|
|
137
|
+
unbanUser: {
|
|
138
|
+
path: "admin/unban-user",
|
|
139
|
+
method: "POST"
|
|
140
|
+
},
|
|
141
|
+
listUserSessions: {
|
|
142
|
+
path: "admin/list-user-sessions",
|
|
143
|
+
method: "GET"
|
|
144
|
+
},
|
|
145
|
+
revokeUserSession: {
|
|
146
|
+
path: "admin/revoke-user-session",
|
|
147
|
+
method: "POST"
|
|
148
|
+
},
|
|
149
|
+
revokeUserSessions: {
|
|
150
|
+
path: "admin/revoke-user-sessions",
|
|
151
|
+
method: "POST"
|
|
152
|
+
},
|
|
153
|
+
impersonateUser: {
|
|
154
|
+
path: "admin/impersonate-user",
|
|
155
|
+
method: "POST"
|
|
156
|
+
},
|
|
157
|
+
stopImpersonating: {
|
|
158
|
+
path: "admin/stop-impersonating",
|
|
159
|
+
method: "POST"
|
|
160
|
+
},
|
|
161
|
+
removeUser: {
|
|
162
|
+
path: "admin/remove-user",
|
|
163
|
+
method: "POST"
|
|
164
|
+
},
|
|
165
|
+
hasPermission: {
|
|
166
|
+
path: "admin/has-permission",
|
|
167
|
+
method: "POST"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
organization: {
|
|
171
|
+
create: {
|
|
172
|
+
path: "organization/create",
|
|
173
|
+
method: "POST"
|
|
174
|
+
},
|
|
175
|
+
update: {
|
|
176
|
+
path: "organization/update",
|
|
177
|
+
method: "POST"
|
|
178
|
+
},
|
|
179
|
+
delete: {
|
|
180
|
+
path: "organization/delete",
|
|
181
|
+
method: "POST"
|
|
182
|
+
},
|
|
183
|
+
list: {
|
|
184
|
+
path: "organization/list",
|
|
185
|
+
method: "GET"
|
|
186
|
+
},
|
|
187
|
+
getFullOrganization: {
|
|
188
|
+
path: "organization/get-full-organization",
|
|
189
|
+
method: "GET"
|
|
190
|
+
},
|
|
191
|
+
setActive: {
|
|
192
|
+
path: "organization/set-active",
|
|
193
|
+
method: "POST"
|
|
194
|
+
},
|
|
195
|
+
checkSlug: {
|
|
196
|
+
path: "organization/check-slug",
|
|
197
|
+
method: "GET"
|
|
198
|
+
},
|
|
199
|
+
listMembers: {
|
|
200
|
+
path: "organization/list-members",
|
|
201
|
+
method: "GET"
|
|
202
|
+
},
|
|
203
|
+
removeMember: {
|
|
204
|
+
path: "organization/remove-member",
|
|
205
|
+
method: "POST"
|
|
206
|
+
},
|
|
207
|
+
updateMemberRole: {
|
|
208
|
+
path: "organization/update-member-role",
|
|
209
|
+
method: "POST"
|
|
210
|
+
},
|
|
211
|
+
leave: {
|
|
212
|
+
path: "organization/leave",
|
|
213
|
+
method: "POST"
|
|
214
|
+
},
|
|
215
|
+
getActiveMember: {
|
|
216
|
+
path: "organization/get-active-member",
|
|
217
|
+
method: "GET"
|
|
218
|
+
},
|
|
219
|
+
getActiveMemberRole: {
|
|
220
|
+
path: "organization/get-active-member-role",
|
|
221
|
+
method: "GET"
|
|
222
|
+
},
|
|
223
|
+
inviteMember: {
|
|
224
|
+
path: "organization/invite-member",
|
|
225
|
+
method: "POST"
|
|
226
|
+
},
|
|
227
|
+
acceptInvitation: {
|
|
228
|
+
path: "organization/accept-invitation",
|
|
229
|
+
method: "POST"
|
|
230
|
+
},
|
|
231
|
+
rejectInvitation: {
|
|
232
|
+
path: "organization/reject-invitation",
|
|
233
|
+
method: "POST"
|
|
234
|
+
},
|
|
235
|
+
cancelInvitation: {
|
|
236
|
+
path: "organization/cancel-invitation",
|
|
237
|
+
method: "POST"
|
|
238
|
+
},
|
|
239
|
+
getInvitation: {
|
|
240
|
+
path: "organization/get-invitation",
|
|
241
|
+
method: "GET"
|
|
242
|
+
},
|
|
243
|
+
listInvitations: {
|
|
244
|
+
path: "organization/list-invitations",
|
|
245
|
+
method: "GET"
|
|
246
|
+
},
|
|
247
|
+
listUserInvitations: {
|
|
248
|
+
path: "organization/list-user-invitations",
|
|
249
|
+
method: "GET"
|
|
250
|
+
},
|
|
251
|
+
hasPermission: {
|
|
252
|
+
path: "organization/has-permission",
|
|
253
|
+
method: "POST"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
emailOtp: {
|
|
257
|
+
sendVerificationOtp: {
|
|
258
|
+
path: "email-otp/send-verification-otp",
|
|
259
|
+
method: "POST"
|
|
260
|
+
},
|
|
261
|
+
verifyEmail: {
|
|
262
|
+
path: "email-otp/verify-email",
|
|
263
|
+
method: "POST"
|
|
264
|
+
},
|
|
265
|
+
checkVerificationOtp: {
|
|
266
|
+
path: "email-otp/check-verification-otp",
|
|
267
|
+
method: "POST"
|
|
268
|
+
},
|
|
269
|
+
resetPassword: {
|
|
270
|
+
path: "email-otp/passcode",
|
|
271
|
+
method: "POST"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region src/server/client-factory.ts
|
|
278
|
+
function createAuthServerInternal(config) {
|
|
279
|
+
const { baseUrl, context: getContext } = config;
|
|
280
|
+
const fetchWithAuth = async (path, method, args) => {
|
|
281
|
+
const ctx = await getContext();
|
|
282
|
+
const cookies$1 = await ctx.getCookies();
|
|
283
|
+
const origin = await ctx.getOrigin();
|
|
284
|
+
const framework = ctx.getFramework();
|
|
285
|
+
const url = new URL(path, baseUrl.endsWith("/") ? baseUrl : `${baseUrl}/`);
|
|
286
|
+
const { query, fetchOptions: _fetchOptions, ...body } = args || {};
|
|
287
|
+
if (query && typeof query === "object") {
|
|
288
|
+
const queryParams = query;
|
|
289
|
+
for (const [key, value] of Object.entries(queryParams)) if (value !== void 0 && value !== null) url.searchParams.set(key, String(value));
|
|
290
|
+
}
|
|
291
|
+
const headers$1 = {
|
|
292
|
+
Cookie: cookies$1,
|
|
293
|
+
Origin: origin,
|
|
294
|
+
[NEON_AUTH_SERVER_PROXY_HEADER]: framework
|
|
295
|
+
};
|
|
296
|
+
let requestBody;
|
|
297
|
+
if (method === "POST") {
|
|
298
|
+
headers$1["Content-Type"] = "application/json";
|
|
299
|
+
requestBody = JSON.stringify(Object.keys(body).length > 0 ? body : {});
|
|
300
|
+
}
|
|
301
|
+
const response = await fetch(url.toString(), {
|
|
302
|
+
method,
|
|
303
|
+
headers: headers$1,
|
|
304
|
+
body: requestBody
|
|
305
|
+
});
|
|
306
|
+
const setCookieHeader = response.headers.get("set-cookie");
|
|
307
|
+
if (setCookieHeader) {
|
|
308
|
+
const parsedCookies = parseSetCookies(setCookieHeader);
|
|
309
|
+
for (const cookie of parsedCookies) await ctx.setCookie(cookie.name, cookie.value, cookie);
|
|
310
|
+
}
|
|
311
|
+
const responseData = await response.json().catch(() => null);
|
|
312
|
+
if (!response.ok) return {
|
|
313
|
+
data: null,
|
|
314
|
+
error: {
|
|
315
|
+
message: responseData?.message || response.statusText,
|
|
316
|
+
status: response.status,
|
|
317
|
+
statusText: response.statusText
|
|
318
|
+
}
|
|
319
|
+
};
|
|
320
|
+
return {
|
|
321
|
+
data: responseData,
|
|
322
|
+
error: null
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
return createApiProxy(API_ENDPOINTS, fetchWithAuth);
|
|
326
|
+
}
|
|
327
|
+
function isEndpointConfig(value) {
|
|
328
|
+
return typeof value === "object" && value !== null && "path" in value && "method" in value;
|
|
329
|
+
}
|
|
330
|
+
function createApiProxy(endpoints, fetchFn) {
|
|
331
|
+
return new Proxy({}, { get(_, prop) {
|
|
332
|
+
const endpoint = endpoints[prop];
|
|
333
|
+
if (!endpoint) return;
|
|
334
|
+
if (isEndpointConfig(endpoint)) return (args) => fetchFn(endpoint.path, endpoint.method, args);
|
|
335
|
+
return createApiProxy(endpoint, fetchFn);
|
|
336
|
+
} });
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region src/next/server/adapter.ts
|
|
341
|
+
/**
|
|
342
|
+
* Creates a Next.js-specific RequestContext that reads cookies and headers
|
|
343
|
+
* from next/headers and handles cookie setting.
|
|
344
|
+
*/
|
|
345
|
+
async function createNextRequestContext() {
|
|
346
|
+
const cookieStore = await cookies();
|
|
347
|
+
const headerStore = await headers();
|
|
348
|
+
return {
|
|
349
|
+
getCookies() {
|
|
350
|
+
return extractNeonAuthCookies(headerStore);
|
|
351
|
+
},
|
|
352
|
+
setCookie(name, value, options) {
|
|
353
|
+
cookieStore.set(name, value, options);
|
|
354
|
+
},
|
|
355
|
+
getHeader(name) {
|
|
356
|
+
return headerStore.get(name) ?? null;
|
|
357
|
+
},
|
|
358
|
+
getOrigin() {
|
|
359
|
+
return headerStore.get("origin") || headerStore.get("referer")?.split("/").slice(0, 3).join("/") || "";
|
|
360
|
+
},
|
|
361
|
+
getFramework() {
|
|
362
|
+
return "nextjs";
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
//#endregion
|
|
368
|
+
//#region src/next/server/index.ts
|
|
369
|
+
/**
|
|
370
|
+
* Creates a server-side auth API client for Next.js.
|
|
371
|
+
*
|
|
372
|
+
* This client exposes the Neon Auth APIs including authentication, user management, organizations, and admin operations.
|
|
373
|
+
*
|
|
374
|
+
* **Where to use:**
|
|
375
|
+
* - React Server Components
|
|
376
|
+
* - Server Actions
|
|
377
|
+
* - Route Handlers
|
|
378
|
+
*
|
|
379
|
+
* **Requirements:**
|
|
380
|
+
* - `NEON_AUTH_BASE_URL` environment variable must be set
|
|
381
|
+
* - Cookies are automatically read/written via `next/headers`
|
|
382
|
+
*
|
|
383
|
+
* @returns Auth server API client for Next.js
|
|
384
|
+
* @throws Error if `NEON_AUTH_BASE_URL` environment variable is not set
|
|
385
|
+
*
|
|
386
|
+
* @example
|
|
387
|
+
* ```typescript
|
|
388
|
+
* // lib/auth/server.ts - Create a singleton instance
|
|
389
|
+
* import { createAuthServer } from '@neondatabase/auth/next/server';
|
|
390
|
+
* export const authServer = createAuthServer();
|
|
391
|
+
* ```
|
|
392
|
+
*
|
|
393
|
+
* @example
|
|
394
|
+
* ```typescript
|
|
395
|
+
* // Server Component - Reading session
|
|
396
|
+
* import { authServer } from '@/lib/auth/server';
|
|
397
|
+
*
|
|
398
|
+
* export default async function Page() {
|
|
399
|
+
* const { data: session } = await authServer.getSession();
|
|
400
|
+
* if (!session?.user) return <div>Not logged in</div>;
|
|
401
|
+
* return <div>Hello {session.user.name}</div>;
|
|
402
|
+
* }
|
|
403
|
+
* ```
|
|
404
|
+
*
|
|
405
|
+
* @example
|
|
406
|
+
* ```typescript
|
|
407
|
+
* // Server Action - Sign in
|
|
408
|
+
* 'use server';
|
|
409
|
+
* import { authServer } from '@/lib/auth/server';
|
|
410
|
+
* import { redirect } from 'next/navigation';
|
|
411
|
+
*
|
|
412
|
+
* export async function signIn(formData: FormData) {
|
|
413
|
+
* const { error } = await authServer.signIn.email({
|
|
414
|
+
* email: formData.get('email') as string,
|
|
415
|
+
* password: formData.get('password') as string,
|
|
416
|
+
* });
|
|
417
|
+
* if (error) return { error: error.message };
|
|
418
|
+
* redirect('/dashboard');
|
|
419
|
+
* }
|
|
420
|
+
* ```
|
|
421
|
+
*/
|
|
422
|
+
function createAuthServer() {
|
|
423
|
+
const baseUrl = process.env.NEON_AUTH_BASE_URL;
|
|
424
|
+
if (!baseUrl) throw new Error("NEON_AUTH_BASE_URL environment variable is required for createAuthServer()");
|
|
425
|
+
return createAuthServerInternal({
|
|
426
|
+
baseUrl,
|
|
427
|
+
context: createNextRequestContext
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
//#endregion
|
|
432
|
+
export { authApiHandler, createAuthServer, neonAuth, neonAuthMiddleware };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../better-auth-types-
|
|
2
|
-
import "../../adapter-core-
|
|
3
|
-
import { i as BetterAuthReactAdapterOptions, n as BetterAuthReactAdapterBuilder, r as BetterAuthReactAdapterInstance, t as BetterAuthReactAdapter } from "../../better-auth-react-adapter-
|
|
4
|
-
import "../../index-
|
|
1
|
+
import "../../better-auth-types-Kq3kGuiz.mjs";
|
|
2
|
+
import "../../adapter-core-Sx7jkLdB.mjs";
|
|
3
|
+
import { i as BetterAuthReactAdapterOptions, n as BetterAuthReactAdapterBuilder, r as BetterAuthReactAdapterInstance, t as BetterAuthReactAdapter } from "../../better-auth-react-adapter-BWH-XVdf.mjs";
|
|
4
|
+
import "../../index-OEBbnNdr.mjs";
|
|
5
5
|
export { BetterAuthReactAdapter, BetterAuthReactAdapterBuilder, BetterAuthReactAdapterInstance, BetterAuthReactAdapterOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../adapter-core-
|
|
2
|
-
import { t as BetterAuthReactAdapter } from "../../better-auth-react-adapter-
|
|
1
|
+
import "../../adapter-core-BQ6ga1zK.mjs";
|
|
2
|
+
import { t as BetterAuthReactAdapter } from "../../better-auth-react-adapter-BLKXYcWM.mjs";
|
|
3
3
|
|
|
4
4
|
export { BetterAuthReactAdapter };
|
package/dist/react/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../better-auth-types-
|
|
2
|
-
import "../adapter-core-
|
|
3
|
-
import { i as BetterAuthReactAdapterOptions, n as BetterAuthReactAdapterBuilder, r as BetterAuthReactAdapterInstance, t as BetterAuthReactAdapter } from "../better-auth-react-adapter-
|
|
4
|
-
import "../index-
|
|
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-
|
|
1
|
+
import "../better-auth-types-Kq3kGuiz.mjs";
|
|
2
|
+
import "../adapter-core-Sx7jkLdB.mjs";
|
|
3
|
+
import { i as BetterAuthReactAdapterOptions, n as BetterAuthReactAdapterBuilder, r as BetterAuthReactAdapterInstance, t as BetterAuthReactAdapter } from "../better-auth-react-adapter-BWH-XVdf.mjs";
|
|
4
|
+
import "../index-OEBbnNdr.mjs";
|
|
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-D_HDtZfY.mjs";
|
|
6
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,6 +1,5 @@
|
|
|
1
|
-
import "../adapter-core-
|
|
2
|
-
import { t as BetterAuthReactAdapter } from "../better-auth-react-adapter-
|
|
3
|
-
import { c as getViewByPath,
|
|
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";
|
|
1
|
+
import "../adapter-core-BQ6ga1zK.mjs";
|
|
2
|
+
import { t as BetterAuthReactAdapter } from "../better-auth-react-adapter-BLKXYcWM.mjs";
|
|
3
|
+
import { $ as RobloxIcon, A as MagicLinkForm, At as authViewPaths, B as OrganizationSettingsCards, C as GitLabIcon, Ct as UserInvitationsCard, D as KickIcon, Dt as ZoomIcon, E as InputFieldSkeleton, Et as XIcon, F as OrganizationInvitationsCard, Ft as useAuthenticate, G as PasskeysCard, H as OrganizationSwitcher, I as OrganizationLogo, It as useCurrentOrganization, J as RecoverAccountForm, K as PasswordInput, L as OrganizationLogoCard, Lt as useTheme, M as NeonAuthUIProvider, Mt as organizationViewPaths, N as NotionIcon, Nt as socialProviders, O as LinearIcon, Ot as accountViewPaths, P as OrganizationCellView, Pt as useAuthData, 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 getViewByPath, k as LinkedInIcon, kt as authLocalization, 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-DLtIc4wi.mjs";
|
|
5
4
|
|
|
6
|
-
export { AcceptInvitationCard, AccountSettingsCards, AccountView, AccountsCard, AppleIcon, AuthCallback, AuthForm, AuthLoading, AuthUIContext, AuthUIProvider, AuthView, BetterAuthReactAdapter, ChangeEmailCard, ChangePasswordCard, CreateOrganizationDialog, CreateTeamDialog, DeleteAccountCard, DeleteOrganizationCard, DiscordIcon, DropboxIcon, FacebookIcon, ForgotPasswordForm, GitHubIcon, GitLabIcon, GoogleIcon, HuggingFaceIcon, InputFieldSkeleton, KickIcon, LinearIcon, LinkedInIcon, MagicLinkForm, MicrosoftIcon, NeonAuthUIProvider, NotionIcon, OrganizationCellView, OrganizationInvitationsCard, OrganizationLogo, OrganizationLogoCard, OrganizationMembersCard, OrganizationNameCard, OrganizationSettingsCards, OrganizationSlugCard, OrganizationSwitcher, OrganizationView, OrganizationsCard, PasskeysCard, PasswordInput, ProvidersCard, RecoverAccountForm, RedditIcon, RedirectToSignIn, RedirectToSignUp, ResetPasswordForm, RobloxIcon, SecuritySettingsCards, SessionsCard, SettingsCard, SettingsCellSkeleton, SignInForm, SignOut, SignUpForm, SignedIn, SignedOut, SlackIcon, SpotifyIcon, TeamCell, TeamsCard, TikTokIcon, TwitchIcon, TwoFactorCard, TwoFactorForm, UpdateAvatarCard, UpdateFieldCard, UpdateNameCard, UpdateUsernameCard, UserAvatar, UserButton, UserInvitationsCard, UserView, VKIcon,
|
|
5
|
+
export { AcceptInvitationCard, AccountSettingsCards, AccountView, AccountsCard, AppleIcon, AuthCallback, AuthForm, AuthLoading, AuthUIContext, AuthUIProvider, AuthView, BetterAuthReactAdapter, ChangeEmailCard, ChangePasswordCard, CreateOrganizationDialog, CreateTeamDialog, DeleteAccountCard, DeleteOrganizationCard, DiscordIcon, DropboxIcon, FacebookIcon, ForgotPasswordForm, GitHubIcon, GitLabIcon, GoogleIcon, HuggingFaceIcon, InputFieldSkeleton, KickIcon, LinearIcon, LinkedInIcon, MagicLinkForm, MicrosoftIcon, NeonAuthUIProvider, NotionIcon, OrganizationCellView, OrganizationInvitationsCard, OrganizationLogo, OrganizationLogoCard, OrganizationMembersCard, OrganizationNameCard, OrganizationSettingsCards, OrganizationSlugCard, OrganizationSwitcher, OrganizationView, OrganizationsCard, PasskeysCard, PasswordInput, ProvidersCard, RecoverAccountForm, RedditIcon, RedirectToSignIn, RedirectToSignUp, ResetPasswordForm, RobloxIcon, SecuritySettingsCards, SessionsCard, SettingsCard, SettingsCellSkeleton, SignInForm, SignOut, SignUpForm, SignedIn, SignedOut, SlackIcon, SpotifyIcon, TeamCell, TeamsCard, TikTokIcon, TwitchIcon, TwoFactorCard, TwoFactorForm, UpdateAvatarCard, UpdateFieldCard, UpdateNameCard, UpdateUsernameCard, UserAvatar, UserButton, UserInvitationsCard, UserView, VKIcon, XIcon, ZoomIcon, accountViewPaths, authLocalization, authViewPaths, getViewByPath, organizationViewPaths, socialProviders, useAuthData, useAuthenticate, useCurrentOrganization, useTheme };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
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-
|
|
2
|
+
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-D_HDtZfY.mjs";
|
|
3
3
|
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, 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/ui/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { c as getViewByPath,
|
|
3
|
-
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";
|
|
2
|
+
import { $ as RobloxIcon, A as MagicLinkForm, At as authViewPaths, B as OrganizationSettingsCards, C as GitLabIcon, Ct as UserInvitationsCard, D as KickIcon, Dt as ZoomIcon, E as InputFieldSkeleton, Et as XIcon, F as OrganizationInvitationsCard, Ft as useAuthenticate, G as PasskeysCard, H as OrganizationSwitcher, I as OrganizationLogo, It as useCurrentOrganization, J as RecoverAccountForm, K as PasswordInput, L as OrganizationLogoCard, Lt as useTheme, M as NeonAuthUIProvider, Mt as organizationViewPaths, N as NotionIcon, Nt as socialProviders, O as LinearIcon, Ot as accountViewPaths, P as OrganizationCellView, Pt as useAuthData, 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 getViewByPath, k as LinkedInIcon, kt as authLocalization, 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-DLtIc4wi.mjs";
|
|
4
3
|
|
|
5
|
-
export { AcceptInvitationCard, AccountSettingsCards, AccountView, AccountsCard, AppleIcon, AuthCallback, AuthForm, AuthLoading, AuthUIContext, AuthUIProvider, AuthView, ChangeEmailCard, ChangePasswordCard, CreateOrganizationDialog, CreateTeamDialog, DeleteAccountCard, DeleteOrganizationCard, DiscordIcon, DropboxIcon, FacebookIcon, ForgotPasswordForm, GitHubIcon, GitLabIcon, GoogleIcon, HuggingFaceIcon, InputFieldSkeleton, KickIcon, LinearIcon, LinkedInIcon, MagicLinkForm, MicrosoftIcon, NeonAuthUIProvider, NotionIcon, OrganizationCellView, OrganizationInvitationsCard, OrganizationLogo, OrganizationLogoCard, OrganizationMembersCard, OrganizationNameCard, OrganizationSettingsCards, OrganizationSlugCard, OrganizationSwitcher, OrganizationView, OrganizationsCard, PasskeysCard, PasswordInput, ProvidersCard, RecoverAccountForm, RedditIcon, RedirectToSignIn, RedirectToSignUp, ResetPasswordForm, RobloxIcon, SecuritySettingsCards, SessionsCard, SettingsCard, SettingsCellSkeleton, SignInForm, SignOut, SignUpForm, SignedIn, SignedOut, SlackIcon, SpotifyIcon, TeamCell, TeamsCard, TikTokIcon, TwitchIcon, TwoFactorCard, TwoFactorForm, UpdateAvatarCard, UpdateFieldCard, UpdateNameCard, UpdateUsernameCard, UserAvatar, UserButton, UserInvitationsCard, UserView, VKIcon,
|
|
4
|
+
export { AcceptInvitationCard, AccountSettingsCards, AccountView, AccountsCard, AppleIcon, AuthCallback, AuthForm, AuthLoading, AuthUIContext, AuthUIProvider, AuthView, ChangeEmailCard, ChangePasswordCard, CreateOrganizationDialog, CreateTeamDialog, DeleteAccountCard, DeleteOrganizationCard, DiscordIcon, DropboxIcon, FacebookIcon, ForgotPasswordForm, GitHubIcon, GitLabIcon, GoogleIcon, HuggingFaceIcon, InputFieldSkeleton, KickIcon, LinearIcon, LinkedInIcon, MagicLinkForm, MicrosoftIcon, NeonAuthUIProvider, NotionIcon, OrganizationCellView, OrganizationInvitationsCard, OrganizationLogo, OrganizationLogoCard, OrganizationMembersCard, OrganizationNameCard, OrganizationSettingsCards, OrganizationSlugCard, OrganizationSwitcher, OrganizationView, OrganizationsCard, PasskeysCard, PasswordInput, ProvidersCard, RecoverAccountForm, RedditIcon, RedirectToSignIn, RedirectToSignUp, ResetPasswordForm, RobloxIcon, SecuritySettingsCards, SessionsCard, SettingsCard, SettingsCellSkeleton, SignInForm, SignOut, SignUpForm, SignedIn, SignedOut, SlackIcon, SpotifyIcon, TeamCell, TeamsCard, TikTokIcon, TwitchIcon, TwoFactorCard, TwoFactorForm, UpdateAvatarCard, UpdateFieldCard, UpdateNameCard, UpdateUsernameCard, UserAvatar, UserButton, UserInvitationsCard, UserView, VKIcon, XIcon, ZoomIcon, accountViewPaths, authLocalization, authViewPaths, getViewByPath, organizationViewPaths, socialProviders, useAuthData, useAuthenticate, useCurrentOrganization, useTheme };
|
package/dist/react/ui/server.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
export * from "@neondatabase/auth-ui/server"
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as CURRENT_TAB_CLIENT_ID, n as BETTER_AUTH_METHODS_CACHE, r as BETTER_AUTH_METHODS_HOOKS, t as NeonAuthAdapterCore } from "./adapter-core-BQ6ga1zK.mjs";
|
|
2
|
+
import { n as DEFAULT_SESSION_EXPIRY_MS } from "./constants-2bpp2_-f.mjs";
|
|
2
3
|
import { createAuthClient, getGlobalBroadcastChannel } from "better-auth/client";
|
|
3
4
|
import { AuthApiError, AuthError, isAuthError } from "@supabase/auth-js";
|
|
4
5
|
import { base64url, decodeJwt, decodeProtectedHeader } from "jose";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-
|
|
1
|
+
import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-Sx7jkLdB.mjs";
|
|
2
2
|
import * as better_auth_client31 from "better-auth/client";
|
|
3
3
|
import { createAuthClient } from "better-auth/client";
|
|
4
4
|
import * as better_auth_client_plugins33 from "better-auth/client/plugins";
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as BetterAuthSession, r as BetterAuthUser, t as BetterAuthErrorResponse } from "../better-auth-types-
|
|
2
|
-
import { C as TeamInput, E as UserWithRole, S as Team, T as TeamMemberInput, _ as MemberInput, a as BetterAuthInstance, b as OrganizationRole, c as InferAdminRolesFromOption, d as InvitationStatus, f as JWKOptions, g as Member, h as JwtOptions, i as AdminOptions, l as Invitation, m as Jwk, o as BetterFetchError, p as JWSAlgorithms, s as EmailOTPOptions, u as InvitationInput, v as Organization, w as TeamMember, x as SessionWithImpersonatedBy, y as OrganizationInput } from "../adapter-core-
|
|
1
|
+
import { n as BetterAuthSession, r as BetterAuthUser, t as BetterAuthErrorResponse } from "../better-auth-types-Kq3kGuiz.mjs";
|
|
2
|
+
import { C as TeamInput, E as UserWithRole, S as Team, T as TeamMemberInput, _ as MemberInput, a as BetterAuthInstance, b as OrganizationRole, c as InferAdminRolesFromOption, d as InvitationStatus, f as JWKOptions, g as Member, h as JwtOptions, i as AdminOptions, l as Invitation, m as Jwk, o as BetterFetchError, p as JWSAlgorithms, s as EmailOTPOptions, u as InvitationInput, v as Organization, w as TeamMember, x as SessionWithImpersonatedBy, y as OrganizationInput } from "../adapter-core-Sx7jkLdB.mjs";
|
|
3
3
|
export * from "better-auth/types";
|
|
4
4
|
export { AdminOptions, BetterAuthErrorResponse, BetterAuthInstance, BetterAuthSession, BetterAuthUser, BetterFetchError, EmailOTPOptions, InferAdminRolesFromOption, Invitation, InvitationInput, InvitationStatus, JWKOptions, JWSAlgorithms, Jwk, JwtOptions, Member, MemberInput, Organization, OrganizationInput, OrganizationRole, SessionWithImpersonatedBy, Team, TeamInput, TeamMember, TeamMemberInput, UserWithRole };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { AcceptInvitationCard, AccountSettingsCards, AccountView, AccountsCard, AppleIcon, AuthCallback, AuthForm, AuthLoading, AuthUIContext, AuthUIProvider, AuthView, ChangeEmailCard, ChangePasswordCard, CreateOrganizationDialog, CreateTeamDialog, DeleteAccountCard, DeleteOrganizationCard, DiscordIcon, DropboxIcon, FacebookIcon, ForgotPasswordForm, GitHubIcon, GitLabIcon, GoogleIcon, HuggingFaceIcon, InputFieldSkeleton, KickIcon, LinearIcon, LinkedInIcon, MagicLinkForm, MicrosoftIcon, NeonAuthUIProvider, NotionIcon, OrganizationCellView, OrganizationInvitationsCard, OrganizationLogo, OrganizationLogoCard, OrganizationMembersCard, OrganizationNameCard, OrganizationSettingsCards, OrganizationSlugCard, OrganizationSwitcher, OrganizationView, OrganizationsCard, PasskeysCard, PasswordInput, ProvidersCard, RecoverAccountForm, RedditIcon, RedirectToSignIn, RedirectToSignUp, ResetPasswordForm, RobloxIcon, SecuritySettingsCards, SessionsCard, SettingsCard, SettingsCellSkeleton, SignInForm, SignOut, SignUpForm, SignedIn, SignedOut, SlackIcon, SpotifyIcon, TeamCell, TeamsCard, TikTokIcon, TwitchIcon, TwoFactorCard, TwoFactorForm, UpdateAvatarCard, UpdateFieldCard, UpdateNameCard, UpdateUsernameCard, UserAvatar, UserButton, UserInvitationsCard, UserView, VKIcon, XIcon, ZoomIcon, accountViewPaths, authLocalization, authViewPaths, getViewByPath, organizationViewPaths, socialProviders, useAuthData, useAuthenticate, useCurrentOrganization, useTheme } from "@neondatabase/auth-ui";
|
|
3
|
+
|
|
4
|
+
export { RobloxIcon as $, MagicLinkForm as A, authViewPaths as At, OrganizationSettingsCards as B, GitLabIcon as C, UserInvitationsCard as Ct, KickIcon as D, ZoomIcon as Dt, InputFieldSkeleton as E, XIcon as Et, OrganizationInvitationsCard as F, useAuthenticate as Ft, PasskeysCard as G, OrganizationSwitcher as H, OrganizationLogo as I, useCurrentOrganization as It, RecoverAccountForm as J, PasswordInput as K, OrganizationLogoCard as L, useTheme as Lt, NeonAuthUIProvider as M, organizationViewPaths as Mt, NotionIcon as N, socialProviders as Nt, LinearIcon as O, accountViewPaths as Ot, OrganizationCellView as P, useAuthData as Pt, ResetPasswordForm as Q, OrganizationMembersCard as R, GitHubIcon as S, UserButton as St, HuggingFaceIcon as T, VKIcon as Tt, OrganizationView as U, OrganizationSlugCard as V, OrganizationsCard as W, RedirectToSignIn as X, RedditIcon as Y, RedirectToSignUp as Z, DeleteOrganizationCard as _, UpdateAvatarCard as _t, AppleIcon as a, SignOut as at, FacebookIcon as b, UpdateUsernameCard as bt, AuthLoading as c, SignedOut as ct, AuthView as d, TeamCell as dt, SecuritySettingsCards as et, ChangeEmailCard as f, TeamsCard as ft, DeleteAccountCard as g, TwoFactorForm as gt, CreateTeamDialog as h, TwoFactorCard as ht, AccountsCard as i, SignInForm as it, MicrosoftIcon as j, getViewByPath as jt, LinkedInIcon as k, authLocalization as kt, AuthUIContext as l, SlackIcon as lt, CreateOrganizationDialog as m, TwitchIcon as mt, AccountSettingsCards as n, SettingsCard as nt, AuthCallback as o, SignUpForm as ot, ChangePasswordCard as p, TikTokIcon as pt, ProvidersCard as q, AccountView as r, SettingsCellSkeleton as rt, AuthForm as s, SignedIn as st, AcceptInvitationCard as t, SessionsCard as tt, AuthUIProvider as u, SpotifyIcon as ut, DiscordIcon as v, UpdateFieldCard as vt, GoogleIcon as w, UserView as wt, ForgotPasswordForm as x, UserAvatar as xt, DropboxIcon as y, UpdateNameCard as yt, OrganizationNameCard as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../better-auth-types-
|
|
2
|
-
import "../../adapter-core-
|
|
3
|
-
import { a as BetterAuthVanillaAdapter, c as BetterAuthVanillaAdapterOptions, i as SupabaseAuthAdapterOptions, n as SupabaseAuthAdapterBuilder, o as BetterAuthVanillaAdapterBuilder, r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance, t as SupabaseAuthAdapter } from "../../supabase-adapter-
|
|
4
|
-
import "../../index-
|
|
1
|
+
import "../../better-auth-types-Kq3kGuiz.mjs";
|
|
2
|
+
import "../../adapter-core-Sx7jkLdB.mjs";
|
|
3
|
+
import { a as BetterAuthVanillaAdapter, c as BetterAuthVanillaAdapterOptions, i as SupabaseAuthAdapterOptions, n as SupabaseAuthAdapterBuilder, o as BetterAuthVanillaAdapterBuilder, r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance, t as SupabaseAuthAdapter } from "../../supabase-adapter-k8RBezY9.mjs";
|
|
4
|
+
import "../../index-D8dPsry7.mjs";
|
|
5
5
|
export { BetterAuthVanillaAdapter, BetterAuthVanillaAdapterBuilder, BetterAuthVanillaAdapterInstance, BetterAuthVanillaAdapterOptions, SupabaseAuthAdapter, SupabaseAuthAdapterBuilder, SupabaseAuthAdapterInstance, SupabaseAuthAdapterOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../adapter-core-
|
|
2
|
-
import { n as BetterAuthVanillaAdapter, t as SupabaseAuthAdapter } from "../../supabase-adapter-
|
|
1
|
+
import "../../adapter-core-BQ6ga1zK.mjs";
|
|
2
|
+
import { n as BetterAuthVanillaAdapter, t as SupabaseAuthAdapter } from "../../supabase-adapter-Bl576usk.mjs";
|
|
3
3
|
|
|
4
4
|
export { BetterAuthVanillaAdapter, SupabaseAuthAdapter };
|
package/dist/vanilla/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../better-auth-types-
|
|
2
|
-
import "../adapter-core-
|
|
3
|
-
import { a as BetterAuthVanillaAdapter, c as BetterAuthVanillaAdapterOptions, i as SupabaseAuthAdapterOptions, n as SupabaseAuthAdapterBuilder, o as BetterAuthVanillaAdapterBuilder, r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance, t as SupabaseAuthAdapter } from "../supabase-adapter-
|
|
4
|
-
import "../index-
|
|
1
|
+
import "../better-auth-types-Kq3kGuiz.mjs";
|
|
2
|
+
import "../adapter-core-Sx7jkLdB.mjs";
|
|
3
|
+
import { a as BetterAuthVanillaAdapter, c as BetterAuthVanillaAdapterOptions, i as SupabaseAuthAdapterOptions, n as SupabaseAuthAdapterBuilder, o as BetterAuthVanillaAdapterBuilder, r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance, t as SupabaseAuthAdapter } from "../supabase-adapter-k8RBezY9.mjs";
|
|
4
|
+
import "../index-D8dPsry7.mjs";
|
|
5
5
|
export { BetterAuthVanillaAdapter, BetterAuthVanillaAdapterBuilder, BetterAuthVanillaAdapterInstance, BetterAuthVanillaAdapterOptions, SupabaseAuthAdapter, SupabaseAuthAdapterBuilder, SupabaseAuthAdapterInstance, SupabaseAuthAdapterOptions };
|
package/dist/vanilla/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../adapter-core-
|
|
2
|
-
import { n as BetterAuthVanillaAdapter, t as SupabaseAuthAdapter } from "../supabase-adapter-
|
|
1
|
+
import "../adapter-core-BQ6ga1zK.mjs";
|
|
2
|
+
import { n as BetterAuthVanillaAdapter, t as SupabaseAuthAdapter } from "../supabase-adapter-Bl576usk.mjs";
|
|
3
3
|
|
|
4
4
|
export { BetterAuthVanillaAdapter, SupabaseAuthAdapter };
|