@neondatabase/auth 0.4.0-beta → 0.4.1-beta

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.
@@ -1,79 +1,106 @@
1
- import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-BWM7cWOp.mjs";
2
- import { r as SupabaseAuthClientInterface } from "./auth-interface-Clz-oWq1.mjs";
3
- import * as better_auth_react5 from "better-auth/react";
4
- import * as better_auth_client3 from "better-auth/client";
5
- import { createAuthClient as createAuthClient$1 } from "better-auth/client";
6
- import * as _supabase_auth_js0 from "@supabase/auth-js";
7
- import { JwtHeader, JwtPayload } from "@supabase/auth-js";
8
- import * as jose6 from "jose";
9
- import * as better_auth_plugins82 from "better-auth/plugins";
10
- import * as better_auth429 from "better-auth";
11
- import * as _better_fetch_fetch187 from "@better-fetch/fetch";
1
+ import { n as NeonAuthAdapterCoreAuthOptions, t as NeonAuthAdapterCore } from "./adapter-core-ClY-p_AI.mjs";
2
+ import * as better_auth_react2 from "better-auth/react";
3
+ import * as jose1 from "jose";
4
+ import * as better_auth_plugins43 from "better-auth/plugins";
5
+ import * as better_auth307 from "better-auth";
6
+ import * as _better_fetch_fetch179 from "@better-fetch/fetch";
12
7
 
13
- //#region src/adapters/better-auth-vanilla/better-auth-vanilla-adapter.d.ts
14
- type BetterAuthVanillaAdapterOptions = Omit<NeonAuthAdapterCoreAuthOptions, 'baseURL'>;
8
+ //#region src/adapters/better-auth-react/better-auth-react-adapter.d.ts
9
+ type BetterAuthReactAdapterOptions = Omit<NeonAuthAdapterCoreAuthOptions, 'baseURL'>;
15
10
  /**
16
- * Internal implementation class - use BetterAuthVanillaAdapter factory function instead
11
+ * Internal implementation class - use BetterAuthReactAdapter factory function instead
17
12
  */
18
- declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
13
+ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
19
14
  private _betterAuth;
20
15
  constructor(betterAuthClientOptions: NeonAuthAdapterCoreAuthOptions);
21
16
  getBetterAuthInstance(): {
22
- useActiveOrganization: better_auth_client3.AuthQueryAtom<better_auth429.Prettify<{
23
- id: string;
24
- name: string;
25
- slug: string;
26
- createdAt: Date;
27
- logo?: string | null | undefined | undefined;
28
- metadata?: any;
29
- } & {
30
- members: {
17
+ useActiveOrganization: () => {
18
+ data: better_auth307.Prettify<{
31
19
  id: string;
32
- organizationId: string;
33
- role: "admin" | "member" | "owner";
20
+ name: string;
21
+ slug: string;
34
22
  createdAt: Date;
35
- userId: string;
36
- user: {
23
+ logo?: string | null | undefined | undefined;
24
+ metadata?: any;
25
+ } & {
26
+ members: {
37
27
  id: string;
28
+ organizationId: string;
29
+ role: "admin" | "member" | "owner";
30
+ createdAt: Date;
31
+ userId: string;
32
+ user: {
33
+ id: string;
34
+ email: string;
35
+ name: string;
36
+ image?: string | undefined;
37
+ };
38
+ }[];
39
+ invitations: {
40
+ id: string;
41
+ organizationId: string;
38
42
  email: string;
39
- name: string;
40
- image?: string | undefined;
41
- };
42
- }[];
43
- invitations: {
43
+ role: "admin" | "member" | "owner";
44
+ status: better_auth_plugins43.InvitationStatus;
45
+ inviterId: string;
46
+ expiresAt: Date;
47
+ createdAt: Date;
48
+ }[];
49
+ }> | null;
50
+ error: null | _better_fetch_fetch179.BetterFetchError;
51
+ isPending: boolean;
52
+ isRefetching: boolean;
53
+ refetch: (queryParams?: {
54
+ query?: better_auth307.SessionQueryParams;
55
+ } | undefined) => Promise<void>;
56
+ };
57
+ useListOrganizations: () => {
58
+ data: {
59
+ id: string;
60
+ name: string;
61
+ slug: string;
62
+ createdAt: Date;
63
+ logo?: string | null | undefined | undefined;
64
+ metadata?: any;
65
+ }[] | null;
66
+ error: null | _better_fetch_fetch179.BetterFetchError;
67
+ isPending: boolean;
68
+ isRefetching: boolean;
69
+ refetch: (queryParams?: {
70
+ query?: better_auth307.SessionQueryParams;
71
+ } | undefined) => Promise<void>;
72
+ };
73
+ useActiveMember: () => {
74
+ data: {
44
75
  id: string;
45
76
  organizationId: string;
46
- email: string;
47
- role: "admin" | "member" | "owner";
48
- status: better_auth_plugins82.InvitationStatus;
49
- inviterId: string;
50
- expiresAt: Date;
77
+ userId: string;
78
+ role: string;
51
79
  createdAt: Date;
52
- }[];
53
- }>>;
54
- useListOrganizations: better_auth_client3.AuthQueryAtom<{
55
- id: string;
56
- name: string;
57
- slug: string;
58
- createdAt: Date;
59
- logo?: string | null | undefined | undefined;
60
- metadata?: any;
61
- }[]>;
62
- useActiveMember: better_auth_client3.AuthQueryAtom<{
63
- id: string;
64
- organizationId: string;
65
- userId: string;
66
- role: string;
67
- createdAt: Date;
68
- }>;
69
- useActiveMemberRole: better_auth_client3.AuthQueryAtom<{
70
- role: string;
71
- }>;
80
+ } | null;
81
+ error: null | _better_fetch_fetch179.BetterFetchError;
82
+ isPending: boolean;
83
+ isRefetching: boolean;
84
+ refetch: (queryParams?: {
85
+ query?: better_auth307.SessionQueryParams;
86
+ } | undefined) => Promise<void>;
87
+ };
88
+ useActiveMemberRole: () => {
89
+ data: {
90
+ role: string;
91
+ } | null;
92
+ error: null | _better_fetch_fetch179.BetterFetchError;
93
+ isPending: boolean;
94
+ isRefetching: boolean;
95
+ refetch: (queryParams?: {
96
+ query?: better_auth307.SessionQueryParams;
97
+ } | undefined) => Promise<void>;
98
+ };
72
99
  } & {
73
- token: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
100
+ token: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
74
101
  query?: Record<string, any> | undefined;
75
102
  fetchOptions?: FetchOptions | undefined;
76
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
103
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
77
104
  token: string;
78
105
  }, {
79
106
  code?: string | undefined;
@@ -81,16 +108,16 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
81
108
  }, FetchOptions["throw"] extends true ? true : false>>;
82
109
  } & {
83
110
  admin: {
84
- setRole: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
111
+ setRole: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
85
112
  userId: string;
86
113
  role: "user" | "admin" | ("user" | "admin")[];
87
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
114
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
88
115
  userId: string;
89
116
  role: "user" | "admin" | ("user" | "admin")[];
90
117
  } & {
91
118
  fetchOptions?: FetchOptions | undefined;
92
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
93
- user: better_auth_plugins82.UserWithRole;
119
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
120
+ user: better_auth_plugins43.UserWithRole;
94
121
  }, {
95
122
  code?: string | undefined;
96
123
  message?: string | undefined;
@@ -98,27 +125,27 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
98
125
  };
99
126
  } & {
100
127
  admin: {
101
- getUser: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
128
+ getUser: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
102
129
  id: string;
103
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
130
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
104
131
  query: {
105
132
  id: string;
106
133
  };
107
134
  fetchOptions?: FetchOptions | undefined;
108
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<better_auth_plugins82.UserWithRole, {
135
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<better_auth_plugins43.UserWithRole, {
109
136
  code?: string | undefined;
110
137
  message?: string | undefined;
111
138
  }, FetchOptions["throw"] extends true ? true : false>>;
112
139
  };
113
140
  } & {
114
141
  admin: {
115
- createUser: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
142
+ createUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
116
143
  email: string;
117
144
  password?: string | undefined;
118
145
  name: string;
119
146
  role?: "user" | "admin" | ("user" | "admin")[] | undefined;
120
147
  data?: Record<string, any> | undefined;
121
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
148
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
122
149
  email: string;
123
150
  password?: string | undefined;
124
151
  name: string;
@@ -126,8 +153,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
126
153
  data?: Record<string, any> | undefined;
127
154
  } & {
128
155
  fetchOptions?: FetchOptions | undefined;
129
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
130
- user: better_auth_plugins82.UserWithRole;
156
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
157
+ user: better_auth_plugins43.UserWithRole;
131
158
  }, {
132
159
  code?: string | undefined;
133
160
  message?: string | undefined;
@@ -135,22 +162,22 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
135
162
  };
136
163
  } & {
137
164
  admin: {
138
- updateUser: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
165
+ updateUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
139
166
  userId: unknown;
140
167
  data: Record<any, any>;
141
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
168
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
142
169
  userId: unknown;
143
170
  data: Record<any, any>;
144
171
  } & {
145
172
  fetchOptions?: FetchOptions | undefined;
146
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<better_auth_plugins82.UserWithRole, {
173
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<better_auth_plugins43.UserWithRole, {
147
174
  code?: string | undefined;
148
175
  message?: string | undefined;
149
176
  }, FetchOptions["throw"] extends true ? true : false>>;
150
177
  };
151
178
  } & {
152
179
  admin: {
153
- listUsers: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
180
+ listUsers: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
154
181
  searchValue?: string | undefined;
155
182
  searchField?: "email" | "name" | undefined;
156
183
  searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
@@ -161,7 +188,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
161
188
  filterField?: string | undefined;
162
189
  filterValue?: string | number | boolean | undefined;
163
190
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
164
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
191
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
165
192
  query: {
166
193
  searchValue?: string | undefined;
167
194
  searchField?: "email" | "name" | undefined;
@@ -175,8 +202,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
175
202
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
176
203
  };
177
204
  fetchOptions?: FetchOptions | undefined;
178
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<NonNullable<{
179
- users: better_auth_plugins82.UserWithRole[];
205
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
206
+ users: better_auth_plugins43.UserWithRole[];
180
207
  total: number;
181
208
  limit: number | undefined;
182
209
  offset: number | undefined;
@@ -190,14 +217,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
190
217
  };
191
218
  } & {
192
219
  admin: {
193
- listUserSessions: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
220
+ listUserSessions: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
194
221
  userId: unknown;
195
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
222
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
196
223
  userId: unknown;
197
224
  } & {
198
225
  fetchOptions?: FetchOptions | undefined;
199
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
200
- sessions: better_auth_plugins82.SessionWithImpersonatedBy[];
226
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
227
+ sessions: better_auth_plugins43.SessionWithImpersonatedBy[];
201
228
  }, {
202
229
  code?: string | undefined;
203
230
  message?: string | undefined;
@@ -205,14 +232,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
205
232
  };
206
233
  } & {
207
234
  admin: {
208
- unbanUser: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
235
+ unbanUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
209
236
  userId: unknown;
210
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
237
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
211
238
  userId: unknown;
212
239
  } & {
213
240
  fetchOptions?: FetchOptions | undefined;
214
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
215
- user: better_auth_plugins82.UserWithRole;
241
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
242
+ user: better_auth_plugins43.UserWithRole;
216
243
  }, {
217
244
  code?: string | undefined;
218
245
  message?: string | undefined;
@@ -220,18 +247,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
220
247
  };
221
248
  } & {
222
249
  admin: {
223
- banUser: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
250
+ banUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
224
251
  userId: unknown;
225
252
  banReason?: string | undefined;
226
253
  banExpiresIn?: number | undefined;
227
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
254
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
228
255
  userId: unknown;
229
256
  banReason?: string | undefined;
230
257
  banExpiresIn?: number | undefined;
231
258
  } & {
232
259
  fetchOptions?: FetchOptions | undefined;
233
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
234
- user: better_auth_plugins82.UserWithRole;
260
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
261
+ user: better_auth_plugins43.UserWithRole;
235
262
  }, {
236
263
  code?: string | undefined;
237
264
  message?: string | undefined;
@@ -239,13 +266,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
239
266
  };
240
267
  } & {
241
268
  admin: {
242
- impersonateUser: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
269
+ impersonateUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
243
270
  userId: unknown;
244
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
271
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
245
272
  userId: unknown;
246
273
  } & {
247
274
  fetchOptions?: FetchOptions | undefined;
248
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
275
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
249
276
  session: {
250
277
  id: string;
251
278
  createdAt: Date;
@@ -256,7 +283,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
256
283
  ipAddress?: string | null | undefined;
257
284
  userAgent?: string | null | undefined;
258
285
  };
259
- user: better_auth_plugins82.UserWithRole;
286
+ user: better_auth_plugins43.UserWithRole;
260
287
  }, {
261
288
  code?: string | undefined;
262
289
  message?: string | undefined;
@@ -264,10 +291,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
264
291
  };
265
292
  } & {
266
293
  admin: {
267
- stopImpersonating: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
294
+ stopImpersonating: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
268
295
  query?: Record<string, any> | undefined;
269
296
  fetchOptions?: FetchOptions | undefined;
270
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
297
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
271
298
  session: {
272
299
  id: string;
273
300
  createdAt: Date;
@@ -294,13 +321,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
294
321
  };
295
322
  } & {
296
323
  admin: {
297
- revokeUserSession: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
324
+ revokeUserSession: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
298
325
  sessionToken: string;
299
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
326
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
300
327
  sessionToken: string;
301
328
  } & {
302
329
  fetchOptions?: FetchOptions | undefined;
303
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
330
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
304
331
  success: boolean;
305
332
  }, {
306
333
  code?: string | undefined;
@@ -309,13 +336,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
309
336
  };
310
337
  } & {
311
338
  admin: {
312
- revokeUserSessions: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
339
+ revokeUserSessions: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
313
340
  userId: unknown;
314
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
341
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
315
342
  userId: unknown;
316
343
  } & {
317
344
  fetchOptions?: FetchOptions | undefined;
318
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
345
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
319
346
  success: boolean;
320
347
  }, {
321
348
  code?: string | undefined;
@@ -324,13 +351,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
324
351
  };
325
352
  } & {
326
353
  admin: {
327
- removeUser: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
354
+ removeUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
328
355
  userId: unknown;
329
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
356
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
330
357
  userId: unknown;
331
358
  } & {
332
359
  fetchOptions?: FetchOptions | undefined;
333
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
360
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
334
361
  success: boolean;
335
362
  }, {
336
363
  code?: string | undefined;
@@ -339,15 +366,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
339
366
  };
340
367
  } & {
341
368
  admin: {
342
- setUserPassword: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
369
+ setUserPassword: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
343
370
  newPassword: string;
344
371
  userId: unknown;
345
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
372
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
346
373
  newPassword: string;
347
374
  userId: unknown;
348
375
  } & {
349
376
  fetchOptions?: FetchOptions | undefined;
350
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
377
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
351
378
  status: boolean;
352
379
  }, {
353
380
  code?: string | undefined;
@@ -356,7 +383,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
356
383
  };
357
384
  } & {
358
385
  admin: {
359
- hasPermission: <FetchOptions extends better_auth429.ClientFetchOption<Partial<({
386
+ hasPermission: <FetchOptions extends better_auth307.ClientFetchOption<Partial<({
360
387
  permission: {
361
388
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
362
389
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -371,7 +398,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
371
398
  }) & {
372
399
  userId?: string | undefined;
373
400
  role?: "user" | "admin" | undefined;
374
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<(({
401
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<(({
375
402
  permission: {
376
403
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
377
404
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -388,7 +415,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
388
415
  role?: "user" | "admin" | undefined;
389
416
  }) & {
390
417
  fetchOptions?: FetchOptions | undefined;
391
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
418
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
392
419
  error: null;
393
420
  success: boolean;
394
421
  }, {
@@ -398,14 +425,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
398
425
  };
399
426
  } & {
400
427
  organization: {
401
- create: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
428
+ create: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
402
429
  name: string;
403
430
  slug: string;
404
431
  userId?: string | undefined;
405
432
  logo?: string | undefined;
406
433
  metadata?: Record<string, any> | undefined;
407
434
  keepCurrentActiveOrganization?: boolean | undefined;
408
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
435
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
409
436
  name: string;
410
437
  slug: string;
411
438
  userId?: string | undefined;
@@ -414,7 +441,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
414
441
  keepCurrentActiveOrganization?: boolean | undefined;
415
442
  } & {
416
443
  fetchOptions?: FetchOptions | undefined;
417
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
444
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
418
445
  id: string;
419
446
  name: string;
420
447
  slug: string;
@@ -437,7 +464,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
437
464
  };
438
465
  } & {
439
466
  organization: {
440
- update: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
467
+ update: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
441
468
  data: {
442
469
  name?: string | undefined;
443
470
  slug?: string | undefined;
@@ -445,7 +472,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
445
472
  metadata?: Record<string, any> | undefined;
446
473
  } & Partial<{}>;
447
474
  organizationId?: string | undefined;
448
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
475
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
449
476
  data: {
450
477
  name?: string | undefined;
451
478
  slug?: string | undefined;
@@ -455,7 +482,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
455
482
  organizationId?: string | undefined;
456
483
  } & {
457
484
  fetchOptions?: FetchOptions | undefined;
458
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
485
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
459
486
  id: string;
460
487
  name: string;
461
488
  slug: string;
@@ -469,13 +496,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
469
496
  };
470
497
  } & {
471
498
  organization: {
472
- delete: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
499
+ delete: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
473
500
  organizationId: string;
474
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
501
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
475
502
  organizationId: string;
476
503
  } & {
477
504
  fetchOptions?: FetchOptions | undefined;
478
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
505
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
479
506
  id: string;
480
507
  name: string;
481
508
  slug: string;
@@ -489,15 +516,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
489
516
  };
490
517
  } & {
491
518
  organization: {
492
- setActive: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
519
+ setActive: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
493
520
  organizationId?: string | null | undefined;
494
521
  organizationSlug?: string | undefined;
495
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
522
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
496
523
  organizationId?: string | null | undefined;
497
524
  organizationSlug?: string | undefined;
498
525
  } & {
499
526
  fetchOptions?: FetchOptions | undefined;
500
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
527
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
501
528
  members: {
502
529
  id: string;
503
530
  organizationId: string;
@@ -516,7 +543,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
516
543
  organizationId: string;
517
544
  email: string;
518
545
  role: "admin" | "member" | "owner";
519
- status: better_auth_plugins82.InvitationStatus;
546
+ status: better_auth_plugins43.InvitationStatus;
520
547
  inviterId: string;
521
548
  expiresAt: Date;
522
549
  createdAt: Date;
@@ -535,18 +562,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
535
562
  };
536
563
  } & {
537
564
  organization: {
538
- getFullOrganization: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
565
+ getFullOrganization: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
539
566
  organizationId?: string | undefined;
540
567
  organizationSlug?: string | undefined;
541
568
  membersLimit?: string | number | undefined;
542
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
569
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
543
570
  query?: {
544
571
  organizationId?: string | undefined;
545
572
  organizationSlug?: string | undefined;
546
573
  membersLimit?: string | number | undefined;
547
574
  } | undefined;
548
575
  fetchOptions?: FetchOptions | undefined;
549
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
576
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
550
577
  members: {
551
578
  id: string;
552
579
  organizationId: string;
@@ -565,7 +592,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
565
592
  organizationId: string;
566
593
  email: string;
567
594
  role: "admin" | "member" | "owner";
568
- status: better_auth_plugins82.InvitationStatus;
595
+ status: better_auth_plugins43.InvitationStatus;
569
596
  inviterId: string;
570
597
  expiresAt: Date;
571
598
  createdAt: Date;
@@ -584,10 +611,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
584
611
  };
585
612
  } & {
586
613
  organization: {
587
- list: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
614
+ list: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
588
615
  query?: Record<string, any> | undefined;
589
616
  fetchOptions?: FetchOptions | undefined;
590
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
617
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
591
618
  id: string;
592
619
  name: string;
593
620
  slug: string;
@@ -601,24 +628,24 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
601
628
  };
602
629
  } & {
603
630
  organization: {
604
- inviteMember: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
631
+ inviteMember: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
605
632
  email: string;
606
633
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
607
634
  organizationId?: string | undefined;
608
635
  resend?: boolean | undefined;
609
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
636
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
610
637
  email: string;
611
638
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
612
639
  organizationId?: string | undefined;
613
640
  resend?: boolean | undefined;
614
641
  } & {
615
642
  fetchOptions?: FetchOptions | undefined;
616
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<NonNullable<{
643
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
617
644
  id: string;
618
645
  organizationId: string;
619
646
  email: string;
620
647
  role: "admin" | "member" | "owner";
621
- status: better_auth_plugins82.InvitationStatus;
648
+ status: better_auth_plugins43.InvitationStatus;
622
649
  inviterId: string;
623
650
  expiresAt: Date;
624
651
  createdAt: Date;
@@ -627,7 +654,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
627
654
  organizationId: string;
628
655
  email: string;
629
656
  role: "admin" | "member" | "owner";
630
- status: better_auth_plugins82.InvitationStatus;
657
+ status: better_auth_plugins43.InvitationStatus;
631
658
  inviterId: string;
632
659
  expiresAt: Date;
633
660
  createdAt: Date;
@@ -638,18 +665,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
638
665
  };
639
666
  } & {
640
667
  organization: {
641
- cancelInvitation: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
668
+ cancelInvitation: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
642
669
  invitationId: string;
643
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
670
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
644
671
  invitationId: string;
645
672
  } & {
646
673
  fetchOptions?: FetchOptions | undefined;
647
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
674
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
648
675
  id: string;
649
676
  organizationId: string;
650
677
  email: string;
651
678
  role: "admin" | "member" | "owner";
652
- status: better_auth_plugins82.InvitationStatus;
679
+ status: better_auth_plugins43.InvitationStatus;
653
680
  inviterId: string;
654
681
  expiresAt: Date;
655
682
  createdAt: Date;
@@ -660,19 +687,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
660
687
  };
661
688
  } & {
662
689
  organization: {
663
- acceptInvitation: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
690
+ acceptInvitation: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
664
691
  invitationId: string;
665
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
692
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
666
693
  invitationId: string;
667
694
  } & {
668
695
  fetchOptions?: FetchOptions | undefined;
669
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
696
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
670
697
  invitation: {
671
698
  id: string;
672
699
  organizationId: string;
673
700
  email: string;
674
701
  role: "admin" | "member" | "owner";
675
- status: better_auth_plugins82.InvitationStatus;
702
+ status: better_auth_plugins43.InvitationStatus;
676
703
  inviterId: string;
677
704
  expiresAt: Date;
678
705
  createdAt: Date;
@@ -691,19 +718,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
691
718
  };
692
719
  } & {
693
720
  organization: {
694
- getInvitation: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
721
+ getInvitation: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
695
722
  id: string;
696
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
723
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
697
724
  query: {
698
725
  id: string;
699
726
  };
700
727
  fetchOptions?: FetchOptions | undefined;
701
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<NonNullable<{
728
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
702
729
  id: string;
703
730
  organizationId: string;
704
731
  email: string;
705
732
  role: "admin" | "member" | "owner";
706
- status: better_auth_plugins82.InvitationStatus;
733
+ status: better_auth_plugins43.InvitationStatus;
707
734
  inviterId: string;
708
735
  expiresAt: Date;
709
736
  createdAt: Date;
@@ -718,19 +745,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
718
745
  };
719
746
  } & {
720
747
  organization: {
721
- rejectInvitation: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
748
+ rejectInvitation: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
722
749
  invitationId: string;
723
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
750
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
724
751
  invitationId: string;
725
752
  } & {
726
753
  fetchOptions?: FetchOptions | undefined;
727
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
754
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
728
755
  invitation: {
729
756
  id: string;
730
757
  organizationId: string;
731
758
  email: string;
732
759
  role: "member" | "admin" | "owner";
733
- status: better_auth_plugins82.InvitationStatus;
760
+ status: better_auth_plugins43.InvitationStatus;
734
761
  inviterId: string;
735
762
  expiresAt: Date;
736
763
  createdAt: Date;
@@ -743,19 +770,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
743
770
  };
744
771
  } & {
745
772
  organization: {
746
- listInvitations: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
773
+ listInvitations: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
747
774
  organizationId?: string | undefined;
748
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
775
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
749
776
  query?: {
750
777
  organizationId?: string | undefined;
751
778
  } | undefined;
752
779
  fetchOptions?: FetchOptions | undefined;
753
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
780
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
754
781
  id: string;
755
782
  organizationId: string;
756
783
  email: string;
757
784
  role: "admin" | "member" | "owner";
758
- status: better_auth_plugins82.InvitationStatus;
785
+ status: better_auth_plugins43.InvitationStatus;
759
786
  inviterId: string;
760
787
  expiresAt: Date;
761
788
  createdAt: Date;
@@ -766,10 +793,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
766
793
  };
767
794
  } & {
768
795
  organization: {
769
- getActiveMember: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
796
+ getActiveMember: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
770
797
  query?: Record<string, any> | undefined;
771
798
  fetchOptions?: FetchOptions | undefined;
772
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<Omit<{
799
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<Omit<{
773
800
  id: string;
774
801
  organizationId: string;
775
802
  role: "admin" | "member" | "owner";
@@ -782,7 +809,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
782
809
  image?: string | undefined;
783
810
  };
784
811
  } & {
785
- user: better_auth429.User;
812
+ user: better_auth307.User;
786
813
  }, "user"> & {
787
814
  user: {
788
815
  id: string;
@@ -797,13 +824,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
797
824
  };
798
825
  } & {
799
826
  organization: {
800
- checkSlug: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
827
+ checkSlug: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
801
828
  slug: string;
802
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
829
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
803
830
  slug: string;
804
831
  } & {
805
832
  fetchOptions?: FetchOptions | undefined;
806
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
833
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
807
834
  status: boolean;
808
835
  }, {
809
836
  code?: string | undefined;
@@ -812,15 +839,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
812
839
  };
813
840
  } & {
814
841
  organization: {
815
- removeMember: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
842
+ removeMember: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
816
843
  memberIdOrEmail: string;
817
844
  organizationId?: string | undefined;
818
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
845
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
819
846
  memberIdOrEmail: string;
820
847
  organizationId?: string | undefined;
821
848
  } & {
822
849
  fetchOptions?: FetchOptions | undefined;
823
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
850
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
824
851
  member: {
825
852
  id: string;
826
853
  organizationId: string;
@@ -841,17 +868,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
841
868
  };
842
869
  } & {
843
870
  organization: {
844
- updateMemberRole: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
845
- role: better_auth429.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth429.LiteralString[];
871
+ updateMemberRole: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
872
+ role: better_auth307.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth307.LiteralString[];
846
873
  memberId: string;
847
874
  organizationId?: string | undefined;
848
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
849
- role: better_auth429.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth429.LiteralString[];
875
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
876
+ role: better_auth307.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth307.LiteralString[];
850
877
  memberId: string;
851
878
  organizationId?: string | undefined;
852
879
  } & {
853
880
  fetchOptions?: FetchOptions | undefined;
854
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
881
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
855
882
  id: string;
856
883
  organizationId: string;
857
884
  role: "member" | "admin" | "owner";
@@ -870,13 +897,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
870
897
  };
871
898
  } & {
872
899
  organization: {
873
- leave: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
900
+ leave: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
874
901
  organizationId: string;
875
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
902
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
876
903
  organizationId: string;
877
904
  } & {
878
905
  fetchOptions?: FetchOptions | undefined;
879
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<NonNullable<Omit<{
906
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<Omit<{
880
907
  id: string;
881
908
  organizationId: string;
882
909
  role: "admin" | "member" | "owner";
@@ -889,7 +916,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
889
916
  image?: string | undefined;
890
917
  };
891
918
  } & {
892
- user: better_auth429.User;
919
+ user: better_auth307.User;
893
920
  }, "user"> & {
894
921
  user: {
895
922
  id: string;
@@ -904,19 +931,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
904
931
  };
905
932
  } & {
906
933
  organization: {
907
- listUserInvitations: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
934
+ listUserInvitations: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
908
935
  email?: string | undefined;
909
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
936
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
910
937
  query?: {
911
938
  email?: string | undefined;
912
939
  } | undefined;
913
940
  fetchOptions?: FetchOptions | undefined;
914
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<(Omit<{
941
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<(Omit<{
915
942
  id: string;
916
943
  organizationId: string;
917
944
  email: string;
918
945
  role: "admin" | "member" | "owner";
919
- status: better_auth_plugins82.InvitationStatus;
946
+ status: better_auth_plugins43.InvitationStatus;
920
947
  inviterId: string;
921
948
  expiresAt: Date;
922
949
  createdAt: Date;
@@ -938,7 +965,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
938
965
  };
939
966
  } & {
940
967
  organization: {
941
- listMembers: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
968
+ listMembers: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
942
969
  limit?: string | number | undefined;
943
970
  offset?: string | number | undefined;
944
971
  sortBy?: string | undefined;
@@ -948,7 +975,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
948
975
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
949
976
  organizationId?: string | undefined;
950
977
  organizationSlug?: string | undefined;
951
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
978
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
952
979
  query?: {
953
980
  limit?: string | number | undefined;
954
981
  offset?: string | number | undefined;
@@ -961,7 +988,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
961
988
  organizationSlug?: string | undefined;
962
989
  } | undefined;
963
990
  fetchOptions?: FetchOptions | undefined;
964
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
991
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
965
992
  members: ({
966
993
  id: string;
967
994
  organizationId: string;
@@ -990,18 +1017,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
990
1017
  };
991
1018
  } & {
992
1019
  organization: {
993
- getActiveMemberRole: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
1020
+ getActiveMemberRole: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
994
1021
  userId?: string | undefined;
995
1022
  organizationId?: string | undefined;
996
1023
  organizationSlug?: string | undefined;
997
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1024
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
998
1025
  query?: {
999
1026
  userId?: string | undefined;
1000
1027
  organizationId?: string | undefined;
1001
1028
  organizationSlug?: string | undefined;
1002
1029
  } | undefined;
1003
1030
  fetchOptions?: FetchOptions | undefined;
1004
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1031
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1005
1032
  role: "admin" | "member" | "owner";
1006
1033
  }, {
1007
1034
  code?: string | undefined;
@@ -1010,7 +1037,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1010
1037
  };
1011
1038
  } & {
1012
1039
  organization: {
1013
- hasPermission: <FetchOptions extends better_auth429.ClientFetchOption<Partial<({
1040
+ hasPermission: <FetchOptions extends better_auth307.ClientFetchOption<Partial<({
1014
1041
  permission: {
1015
1042
  readonly organization?: ("delete" | "update")[] | undefined;
1016
1043
  readonly member?: ("delete" | "create" | "update")[] | undefined;
@@ -1030,7 +1057,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1030
1057
  permission?: never | undefined;
1031
1058
  }) & {
1032
1059
  organizationId?: string | undefined;
1033
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<(({
1060
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<(({
1034
1061
  permission: {
1035
1062
  readonly organization?: ("delete" | "update")[] | undefined;
1036
1063
  readonly member?: ("delete" | "create" | "update")[] | undefined;
@@ -1052,7 +1079,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1052
1079
  organizationId?: string | undefined;
1053
1080
  }) & {
1054
1081
  fetchOptions?: FetchOptions | undefined;
1055
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1082
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1056
1083
  error: null;
1057
1084
  success: boolean;
1058
1085
  }, {
@@ -1062,15 +1089,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1062
1089
  };
1063
1090
  } & {
1064
1091
  emailOtp: {
1065
- sendVerificationOtp: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1092
+ sendVerificationOtp: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1066
1093
  email: string;
1067
1094
  type: "sign-in" | "email-verification" | "forget-password";
1068
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1095
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1069
1096
  email: string;
1070
1097
  type: "sign-in" | "email-verification" | "forget-password";
1071
1098
  } & {
1072
1099
  fetchOptions?: FetchOptions | undefined;
1073
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1100
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1074
1101
  success: boolean;
1075
1102
  }, {
1076
1103
  code?: string | undefined;
@@ -1079,17 +1106,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1079
1106
  };
1080
1107
  } & {
1081
1108
  emailOtp: {
1082
- checkVerificationOtp: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1109
+ checkVerificationOtp: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1083
1110
  email: string;
1084
1111
  type: "sign-in" | "email-verification" | "forget-password";
1085
1112
  otp: string;
1086
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1113
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1087
1114
  email: string;
1088
1115
  type: "sign-in" | "email-verification" | "forget-password";
1089
1116
  otp: string;
1090
1117
  } & {
1091
1118
  fetchOptions?: FetchOptions | undefined;
1092
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1119
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1093
1120
  success: boolean;
1094
1121
  }, {
1095
1122
  code?: string | undefined;
@@ -1098,15 +1125,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1098
1125
  };
1099
1126
  } & {
1100
1127
  emailOtp: {
1101
- verifyEmail: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1128
+ verifyEmail: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1102
1129
  email: string;
1103
1130
  otp: string;
1104
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1131
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1105
1132
  email: string;
1106
1133
  otp: string;
1107
1134
  } & {
1108
1135
  fetchOptions?: FetchOptions | undefined;
1109
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<NonNullable<{
1136
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
1110
1137
  status: boolean;
1111
1138
  token: string;
1112
1139
  user: {
@@ -1137,15 +1164,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1137
1164
  };
1138
1165
  } & {
1139
1166
  signIn: {
1140
- emailOtp: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1167
+ emailOtp: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1141
1168
  email: string;
1142
1169
  otp: string;
1143
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1170
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1144
1171
  email: string;
1145
1172
  otp: string;
1146
1173
  } & {
1147
1174
  fetchOptions?: FetchOptions | undefined;
1148
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1175
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1149
1176
  token: string;
1150
1177
  user: {
1151
1178
  id: string;
@@ -1163,13 +1190,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1163
1190
  };
1164
1191
  } & {
1165
1192
  emailOtp: {
1166
- requestPasswordReset: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1193
+ requestPasswordReset: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1167
1194
  email: string;
1168
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1195
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1169
1196
  email: string;
1170
1197
  } & {
1171
1198
  fetchOptions?: FetchOptions | undefined;
1172
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1199
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1173
1200
  success: boolean;
1174
1201
  }, {
1175
1202
  code?: string | undefined;
@@ -1178,13 +1205,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1178
1205
  };
1179
1206
  } & {
1180
1207
  forgetPassword: {
1181
- emailOtp: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1208
+ emailOtp: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1182
1209
  email: string;
1183
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1210
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1184
1211
  email: string;
1185
1212
  } & {
1186
1213
  fetchOptions?: FetchOptions | undefined;
1187
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1214
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1188
1215
  success: boolean;
1189
1216
  }, {
1190
1217
  code?: string | undefined;
@@ -1193,17 +1220,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1193
1220
  };
1194
1221
  } & {
1195
1222
  emailOtp: {
1196
- resetPassword: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1223
+ resetPassword: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1197
1224
  email: string;
1198
1225
  otp: string;
1199
1226
  password: string;
1200
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1227
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1201
1228
  email: string;
1202
1229
  otp: string;
1203
1230
  password: string;
1204
1231
  } & {
1205
1232
  fetchOptions?: FetchOptions | undefined;
1206
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1233
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1207
1234
  success: boolean;
1208
1235
  }, {
1209
1236
  code?: string | undefined;
@@ -1212,13 +1239,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1212
1239
  };
1213
1240
  } & {
1214
1241
  signIn: {
1215
- magicLink: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1242
+ magicLink: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1216
1243
  email: string;
1217
1244
  name?: string | undefined;
1218
1245
  callbackURL?: string | undefined;
1219
1246
  newUserCallbackURL?: string | undefined;
1220
1247
  errorCallbackURL?: string | undefined;
1221
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1248
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1222
1249
  email: string;
1223
1250
  name?: string | undefined;
1224
1251
  callbackURL?: string | undefined;
@@ -1226,7 +1253,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1226
1253
  errorCallbackURL?: string | undefined;
1227
1254
  } & {
1228
1255
  fetchOptions?: FetchOptions | undefined;
1229
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1256
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1230
1257
  status: boolean;
1231
1258
  }, {
1232
1259
  code?: string | undefined;
@@ -1235,12 +1262,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1235
1262
  };
1236
1263
  } & {
1237
1264
  magicLink: {
1238
- verify: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
1265
+ verify: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1239
1266
  token: string;
1240
1267
  callbackURL?: string | undefined;
1241
1268
  errorCallbackURL?: string | undefined;
1242
1269
  newUserCallbackURL?: string | undefined;
1243
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1270
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1244
1271
  query: {
1245
1272
  token: string;
1246
1273
  callbackURL?: string | undefined;
@@ -1248,7 +1275,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1248
1275
  newUserCallbackURL?: string | undefined;
1249
1276
  };
1250
1277
  fetchOptions?: FetchOptions | undefined;
1251
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1278
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1252
1279
  token: string;
1253
1280
  user: {
1254
1281
  id: string;
@@ -1266,7 +1293,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1266
1293
  };
1267
1294
  } & {
1268
1295
  signIn: {
1269
- social: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1296
+ social: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1270
1297
  provider: (string & {}) | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "vercel";
1271
1298
  callbackURL?: string | undefined;
1272
1299
  newUserCallbackURL?: string | undefined;
@@ -1283,7 +1310,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1283
1310
  requestSignUp?: boolean | undefined;
1284
1311
  loginHint?: string | undefined;
1285
1312
  additionalData?: Record<string, any> | undefined;
1286
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1313
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1287
1314
  provider: (string & {}) | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "vercel";
1288
1315
  callbackURL?: string | undefined;
1289
1316
  newUserCallbackURL?: string | undefined;
@@ -1302,7 +1329,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1302
1329
  additionalData?: Record<string, any> | undefined;
1303
1330
  } & {
1304
1331
  fetchOptions?: FetchOptions | undefined;
1305
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<NonNullable<{
1332
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
1306
1333
  redirect: boolean;
1307
1334
  url: string;
1308
1335
  } | {
@@ -1324,10 +1351,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1324
1351
  }, FetchOptions["throw"] extends true ? true : false>>;
1325
1352
  };
1326
1353
  } & {
1327
- signOut: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1354
+ signOut: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1328
1355
  query?: Record<string, any> | undefined;
1329
1356
  fetchOptions?: FetchOptions | undefined;
1330
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1357
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1331
1358
  success: boolean;
1332
1359
  }, {
1333
1360
  code?: string | undefined;
@@ -1335,21 +1362,21 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1335
1362
  }, FetchOptions["throw"] extends true ? true : false>>;
1336
1363
  } & {
1337
1364
  signUp: {
1338
- email: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1365
+ email: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1339
1366
  name: string;
1340
1367
  email: string;
1341
1368
  password: string;
1342
1369
  image?: string | undefined;
1343
1370
  callbackURL?: string | undefined;
1344
1371
  rememberMe?: boolean | undefined;
1345
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1372
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1346
1373
  email: string;
1347
1374
  name: string;
1348
1375
  password: string;
1349
1376
  image?: string | undefined;
1350
1377
  callbackURL?: string | undefined;
1351
1378
  fetchOptions?: FetchOptions | undefined;
1352
- } & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<NonNullable<{
1379
+ } & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
1353
1380
  token: null;
1354
1381
  user: {
1355
1382
  id: string;
@@ -1378,19 +1405,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1378
1405
  };
1379
1406
  } & {
1380
1407
  signIn: {
1381
- email: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1408
+ email: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1382
1409
  email: string;
1383
1410
  password: string;
1384
1411
  callbackURL?: string | undefined;
1385
1412
  rememberMe?: boolean | undefined;
1386
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1413
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1387
1414
  email: string;
1388
1415
  password: string;
1389
1416
  callbackURL?: string | undefined;
1390
1417
  rememberMe?: boolean | undefined;
1391
1418
  } & {
1392
1419
  fetchOptions?: FetchOptions | undefined;
1393
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1420
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1394
1421
  redirect: boolean;
1395
1422
  token: string;
1396
1423
  url?: string | undefined;
@@ -1409,80 +1436,80 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1409
1436
  }, FetchOptions["throw"] extends true ? true : false>>;
1410
1437
  };
1411
1438
  } & {
1412
- resetPassword: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1439
+ resetPassword: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1413
1440
  newPassword: string;
1414
1441
  token?: string | undefined;
1415
1442
  }> & Record<string, any>, Partial<{
1416
1443
  token?: string | undefined;
1417
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1444
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1418
1445
  newPassword: string;
1419
1446
  token?: string | undefined;
1420
1447
  } & {
1421
1448
  fetchOptions?: FetchOptions | undefined;
1422
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1449
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1423
1450
  status: boolean;
1424
1451
  }, {
1425
1452
  code?: string | undefined;
1426
1453
  message?: string | undefined;
1427
1454
  }, FetchOptions["throw"] extends true ? true : false>>;
1428
1455
  } & {
1429
- verifyEmail: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
1456
+ verifyEmail: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1430
1457
  token: string;
1431
1458
  callbackURL?: string | undefined;
1432
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1459
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1433
1460
  query: {
1434
1461
  token: string;
1435
1462
  callbackURL?: string | undefined;
1436
1463
  };
1437
1464
  fetchOptions?: FetchOptions | undefined;
1438
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<NonNullable<void | {
1465
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<void | {
1439
1466
  status: boolean;
1440
1467
  }>, {
1441
1468
  code?: string | undefined;
1442
1469
  message?: string | undefined;
1443
1470
  }, FetchOptions["throw"] extends true ? true : false>>;
1444
1471
  } & {
1445
- sendVerificationEmail: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1472
+ sendVerificationEmail: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1446
1473
  email: string;
1447
1474
  callbackURL?: string | undefined;
1448
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1475
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1449
1476
  email: string;
1450
1477
  callbackURL?: string | undefined;
1451
1478
  } & {
1452
1479
  fetchOptions?: FetchOptions | undefined;
1453
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1480
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1454
1481
  status: boolean;
1455
1482
  }, {
1456
1483
  code?: string | undefined;
1457
1484
  message?: string | undefined;
1458
1485
  }, FetchOptions["throw"] extends true ? true : false>>;
1459
1486
  } & {
1460
- changeEmail: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1487
+ changeEmail: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1461
1488
  newEmail: string;
1462
1489
  callbackURL?: string | undefined;
1463
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1490
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1464
1491
  newEmail: string;
1465
1492
  callbackURL?: string | undefined;
1466
1493
  } & {
1467
1494
  fetchOptions?: FetchOptions | undefined;
1468
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1495
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1469
1496
  status: boolean;
1470
1497
  }, {
1471
1498
  code?: string | undefined;
1472
1499
  message?: string | undefined;
1473
1500
  }, FetchOptions["throw"] extends true ? true : false>>;
1474
1501
  } & {
1475
- changePassword: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1502
+ changePassword: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1476
1503
  newPassword: string;
1477
1504
  currentPassword: string;
1478
1505
  revokeOtherSessions?: boolean | undefined;
1479
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1506
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1480
1507
  newPassword: string;
1481
1508
  currentPassword: string;
1482
1509
  revokeOtherSessions?: boolean | undefined;
1483
1510
  } & {
1484
1511
  fetchOptions?: FetchOptions | undefined;
1485
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1512
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1486
1513
  token: string | null;
1487
1514
  user: {
1488
1515
  id: string;
@@ -1498,31 +1525,31 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1498
1525
  message?: string | undefined;
1499
1526
  }, FetchOptions["throw"] extends true ? true : false>>;
1500
1527
  } & {
1501
- updateUser: <FetchOptions extends better_auth429.ClientFetchOption<Partial<Partial<{}> & {
1528
+ updateUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<Partial<{}> & {
1502
1529
  name?: string | undefined;
1503
1530
  image?: string | undefined | null;
1504
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1531
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1505
1532
  image?: (string | null) | undefined;
1506
1533
  name?: string | undefined;
1507
1534
  fetchOptions?: FetchOptions | undefined;
1508
- } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1535
+ } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1509
1536
  status: boolean;
1510
1537
  }, {
1511
1538
  code?: string | undefined;
1512
1539
  message?: string | undefined;
1513
1540
  }, FetchOptions["throw"] extends true ? true : false>>;
1514
1541
  } & {
1515
- deleteUser: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1542
+ deleteUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1516
1543
  callbackURL?: string | undefined;
1517
1544
  password?: string | undefined;
1518
1545
  token?: string | undefined;
1519
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1546
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1520
1547
  callbackURL?: string | undefined;
1521
1548
  password?: string | undefined;
1522
1549
  token?: string | undefined;
1523
1550
  } & {
1524
1551
  fetchOptions?: FetchOptions | undefined;
1525
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1552
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1526
1553
  success: boolean;
1527
1554
  message: string;
1528
1555
  }, {
@@ -1530,15 +1557,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1530
1557
  message?: string | undefined;
1531
1558
  }, FetchOptions["throw"] extends true ? true : false>>;
1532
1559
  } & {
1533
- requestPasswordReset: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1560
+ requestPasswordReset: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1534
1561
  email: string;
1535
1562
  redirectTo?: string | undefined;
1536
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1563
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1537
1564
  email: string;
1538
1565
  redirectTo?: string | undefined;
1539
1566
  } & {
1540
1567
  fetchOptions?: FetchOptions | undefined;
1541
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1568
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1542
1569
  status: boolean;
1543
1570
  message: string;
1544
1571
  }, {
@@ -1547,25 +1574,25 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1547
1574
  }, FetchOptions["throw"] extends true ? true : false>>;
1548
1575
  } & {
1549
1576
  resetPassword: {
1550
- ":token": <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
1577
+ ":token": <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1551
1578
  callbackURL: string;
1552
1579
  }> & Record<string, any>, {
1553
1580
  token: string;
1554
- }>>(data_0: better_auth429.Prettify<{
1581
+ }>>(data_0: better_auth307.Prettify<{
1555
1582
  query: {
1556
1583
  callbackURL: string;
1557
1584
  };
1558
1585
  fetchOptions?: FetchOptions | undefined;
1559
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<never, {
1586
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<never, {
1560
1587
  code?: string | undefined;
1561
1588
  message?: string | undefined;
1562
1589
  }, FetchOptions["throw"] extends true ? true : false>>;
1563
1590
  };
1564
1591
  } & {
1565
- listSessions: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1592
+ listSessions: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1566
1593
  query?: Record<string, any> | undefined;
1567
1594
  fetchOptions?: FetchOptions | undefined;
1568
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<better_auth429.Prettify<{
1595
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<better_auth307.Prettify<{
1569
1596
  id: string;
1570
1597
  createdAt: Date;
1571
1598
  updatedAt: Date;
@@ -1579,40 +1606,40 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1579
1606
  message?: string | undefined;
1580
1607
  }, FetchOptions["throw"] extends true ? true : false>>;
1581
1608
  } & {
1582
- revokeSession: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1609
+ revokeSession: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1583
1610
  token: string;
1584
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1611
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1585
1612
  token: string;
1586
1613
  } & {
1587
1614
  fetchOptions?: FetchOptions | undefined;
1588
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1615
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1589
1616
  status: boolean;
1590
1617
  }, {
1591
1618
  code?: string | undefined;
1592
1619
  message?: string | undefined;
1593
1620
  }, FetchOptions["throw"] extends true ? true : false>>;
1594
1621
  } & {
1595
- revokeSessions: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1622
+ revokeSessions: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1596
1623
  query?: Record<string, any> | undefined;
1597
1624
  fetchOptions?: FetchOptions | undefined;
1598
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1625
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1599
1626
  status: boolean;
1600
1627
  }, {
1601
1628
  code?: string | undefined;
1602
1629
  message?: string | undefined;
1603
1630
  }, FetchOptions["throw"] extends true ? true : false>>;
1604
1631
  } & {
1605
- revokeOtherSessions: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1632
+ revokeOtherSessions: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1606
1633
  query?: Record<string, any> | undefined;
1607
1634
  fetchOptions?: FetchOptions | undefined;
1608
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1635
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1609
1636
  status: boolean;
1610
1637
  }, {
1611
1638
  code?: string | undefined;
1612
1639
  message?: string | undefined;
1613
1640
  }, FetchOptions["throw"] extends true ? true : false>>;
1614
1641
  } & {
1615
- linkSocial: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1642
+ linkSocial: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1616
1643
  provider: unknown;
1617
1644
  callbackURL?: string | undefined;
1618
1645
  idToken?: {
@@ -1627,7 +1654,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1627
1654
  errorCallbackURL?: string | undefined;
1628
1655
  disableRedirect?: boolean | undefined;
1629
1656
  additionalData?: Record<string, any> | undefined;
1630
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1657
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1631
1658
  provider: unknown;
1632
1659
  callbackURL?: string | undefined;
1633
1660
  idToken?: {
@@ -1644,7 +1671,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1644
1671
  additionalData?: Record<string, any> | undefined;
1645
1672
  } & {
1646
1673
  fetchOptions?: FetchOptions | undefined;
1647
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1674
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1648
1675
  url: string;
1649
1676
  redirect: boolean;
1650
1677
  }, {
@@ -1652,10 +1679,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1652
1679
  message?: string | undefined;
1653
1680
  }, FetchOptions["throw"] extends true ? true : false>>;
1654
1681
  } & {
1655
- listAccounts: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1682
+ listAccounts: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1656
1683
  query?: Record<string, any> | undefined;
1657
1684
  fetchOptions?: FetchOptions | undefined;
1658
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1685
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1659
1686
  scopes: string[];
1660
1687
  id: string;
1661
1688
  createdAt: Date;
@@ -1669,16 +1696,16 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1669
1696
  }, FetchOptions["throw"] extends true ? true : false>>;
1670
1697
  } & {
1671
1698
  deleteUser: {
1672
- callback: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
1699
+ callback: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1673
1700
  token: string;
1674
1701
  callbackURL?: string | undefined;
1675
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1702
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1676
1703
  query: {
1677
1704
  token: string;
1678
1705
  callbackURL?: string | undefined;
1679
1706
  };
1680
1707
  fetchOptions?: FetchOptions | undefined;
1681
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1708
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1682
1709
  success: boolean;
1683
1710
  message: string;
1684
1711
  }, {
@@ -1687,32 +1714,32 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1687
1714
  }, FetchOptions["throw"] extends true ? true : false>>;
1688
1715
  };
1689
1716
  } & {
1690
- unlinkAccount: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1717
+ unlinkAccount: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1691
1718
  providerId: string;
1692
1719
  accountId?: string | undefined;
1693
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1720
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1694
1721
  providerId: string;
1695
1722
  accountId?: string | undefined;
1696
1723
  } & {
1697
1724
  fetchOptions?: FetchOptions | undefined;
1698
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1725
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1699
1726
  status: boolean;
1700
1727
  }, {
1701
1728
  code?: string | undefined;
1702
1729
  message?: string | undefined;
1703
1730
  }, FetchOptions["throw"] extends true ? true : false>>;
1704
1731
  } & {
1705
- refreshToken: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1732
+ refreshToken: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1706
1733
  providerId: string;
1707
1734
  accountId?: string | undefined;
1708
1735
  userId?: string | undefined;
1709
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1736
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1710
1737
  providerId: string;
1711
1738
  accountId?: string | undefined;
1712
1739
  userId?: string | undefined;
1713
1740
  } & {
1714
1741
  fetchOptions?: FetchOptions | undefined;
1715
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1742
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1716
1743
  accessToken: string | undefined;
1717
1744
  refreshToken: string | undefined;
1718
1745
  accessTokenExpiresAt: Date | undefined;
@@ -1726,17 +1753,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1726
1753
  message?: string | undefined;
1727
1754
  }, FetchOptions["throw"] extends true ? true : false>>;
1728
1755
  } & {
1729
- getAccessToken: <FetchOptions extends better_auth429.ClientFetchOption<Partial<{
1756
+ getAccessToken: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1730
1757
  providerId: string;
1731
1758
  accountId?: string | undefined;
1732
1759
  userId?: string | undefined;
1733
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth429.Prettify<{
1760
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1734
1761
  providerId: string;
1735
1762
  accountId?: string | undefined;
1736
1763
  userId?: string | undefined;
1737
1764
  } & {
1738
1765
  fetchOptions?: FetchOptions | undefined;
1739
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1766
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1740
1767
  accessToken: string;
1741
1768
  accessTokenExpiresAt: Date | undefined;
1742
1769
  scopes: string[];
@@ -1746,31 +1773,31 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1746
1773
  message?: string | undefined;
1747
1774
  }, FetchOptions["throw"] extends true ? true : false>>;
1748
1775
  } & {
1749
- accountInfo: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
1776
+ accountInfo: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1750
1777
  accountId?: string | undefined;
1751
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1778
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1752
1779
  query?: {
1753
1780
  accountId?: string | undefined;
1754
1781
  } | undefined;
1755
1782
  fetchOptions?: FetchOptions | undefined;
1756
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1757
- user: better_auth429.OAuth2UserInfo;
1783
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1784
+ user: better_auth307.OAuth2UserInfo;
1758
1785
  data: Record<string, any>;
1759
1786
  }, {
1760
1787
  code?: string | undefined;
1761
1788
  message?: string | undefined;
1762
1789
  }, FetchOptions["throw"] extends true ? true : false>>;
1763
1790
  } & {
1764
- getSession: <FetchOptions extends better_auth429.ClientFetchOption<never, Partial<{
1791
+ getSession: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1765
1792
  disableCookieCache?: unknown;
1766
1793
  disableRefresh?: unknown;
1767
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth429.Prettify<{
1794
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1768
1795
  query?: {
1769
1796
  disableCookieCache?: unknown;
1770
1797
  disableRefresh?: unknown;
1771
1798
  } | undefined;
1772
1799
  fetchOptions?: FetchOptions | undefined;
1773
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch187.BetterFetchResponse<{
1800
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1774
1801
  user: {
1775
1802
  id: string;
1776
1803
  createdAt: Date;
@@ -1824,7 +1851,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1824
1851
  statusText: string;
1825
1852
  };
1826
1853
  } | {
1827
- data: jose6.JSONWebKeySet;
1854
+ data: jose1.JSONWebKeySet;
1828
1855
  error: null;
1829
1856
  }>;
1830
1857
  } & {
@@ -1866,7 +1893,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1866
1893
  organizationId: string;
1867
1894
  email: string;
1868
1895
  role: "admin" | "member" | "owner";
1869
- status: better_auth_plugins82.InvitationStatus;
1896
+ status: better_auth_plugins43.InvitationStatus;
1870
1897
  inviterId: string;
1871
1898
  expiresAt: Date;
1872
1899
  createdAt: Date;
@@ -1892,7 +1919,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1892
1919
  organizationId: string;
1893
1920
  email: string;
1894
1921
  role: "admin" | "member" | "owner";
1895
- status: better_auth_plugins82.InvitationStatus;
1922
+ status: better_auth_plugins43.InvitationStatus;
1896
1923
  inviterId: string;
1897
1924
  expiresAt: Date;
1898
1925
  createdAt: Date;
@@ -1942,7 +1969,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1942
1969
  }) => boolean;
1943
1970
  };
1944
1971
  } & {
1945
- useSession: better_auth_react5.Atom<{
1972
+ useSession: () => {
1946
1973
  data: {
1947
1974
  user: {
1948
1975
  id: string;
@@ -1970,28 +1997,57 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1970
1997
  activeOrganizationId?: string | null | undefined;
1971
1998
  };
1972
1999
  } | null;
1973
- error: _better_fetch_fetch187.BetterFetchError | null;
1974
2000
  isPending: boolean;
1975
2001
  isRefetching: boolean;
2002
+ error: _better_fetch_fetch179.BetterFetchError | null;
1976
2003
  refetch: (queryParams?: {
1977
- query?: better_auth429.SessionQueryParams;
2004
+ query?: better_auth307.SessionQueryParams;
1978
2005
  } | undefined) => Promise<void>;
1979
- }>;
1980
- $fetch: _better_fetch_fetch187.BetterFetch<{
1981
- plugins: (_better_fetch_fetch187.BetterFetchPlugin<Record<string, any>> | {
2006
+ };
2007
+ $Infer: {
2008
+ Session: {
2009
+ user: {
2010
+ id: string;
2011
+ createdAt: Date;
2012
+ updatedAt: Date;
2013
+ email: string;
2014
+ emailVerified: boolean;
2015
+ name: string;
2016
+ image?: string | null | undefined;
2017
+ banned: boolean | null | undefined;
2018
+ role?: string | null | undefined;
2019
+ banReason?: string | null | undefined;
2020
+ banExpires?: Date | null | undefined;
2021
+ };
2022
+ session: {
2023
+ id: string;
2024
+ createdAt: Date;
2025
+ updatedAt: Date;
2026
+ userId: string;
2027
+ expiresAt: Date;
2028
+ token: string;
2029
+ ipAddress?: string | null | undefined;
2030
+ userAgent?: string | null | undefined;
2031
+ impersonatedBy?: string | null | undefined;
2032
+ activeOrganizationId?: string | null | undefined;
2033
+ };
2034
+ };
2035
+ };
2036
+ $fetch: _better_fetch_fetch179.BetterFetch<{
2037
+ plugins: (_better_fetch_fetch179.BetterFetchPlugin<Record<string, any>> | {
1982
2038
  id: string;
1983
2039
  name: string;
1984
2040
  hooks: {
1985
- onSuccess(context: _better_fetch_fetch187.SuccessContext<any>): void;
2041
+ onSuccess(context: _better_fetch_fetch179.SuccessContext<any>): void;
1986
2042
  };
1987
2043
  } | {
1988
2044
  id: string;
1989
2045
  name: string;
1990
2046
  hooks: {
1991
- onSuccess: ((context: _better_fetch_fetch187.SuccessContext<any>) => Promise<void> | void) | undefined;
1992
- onError: ((context: _better_fetch_fetch187.ErrorContext) => Promise<void> | void) | undefined;
1993
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch187.RequestContext<T>) => Promise<_better_fetch_fetch187.RequestContext | void> | _better_fetch_fetch187.RequestContext | void) | undefined;
1994
- onResponse: ((context: _better_fetch_fetch187.ResponseContext) => Promise<Response | void | _better_fetch_fetch187.ResponseContext> | Response | _better_fetch_fetch187.ResponseContext | void) | undefined;
2047
+ onSuccess: ((context: _better_fetch_fetch179.SuccessContext<any>) => Promise<void> | void) | undefined;
2048
+ onError: ((context: _better_fetch_fetch179.ErrorContext) => Promise<void> | void) | undefined;
2049
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch179.RequestContext<T>) => Promise<_better_fetch_fetch179.RequestContext | void> | _better_fetch_fetch179.RequestContext | void) | undefined;
2050
+ onResponse: ((context: _better_fetch_fetch179.ResponseContext) => Promise<Response | void | _better_fetch_fetch179.ResponseContext> | Response | _better_fetch_fetch179.ResponseContext | void) | undefined;
1995
2051
  };
1996
2052
  })[];
1997
2053
  cache?: RequestCache | undefined;
@@ -2011,12 +2067,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2011
2067
  referrer?: string | undefined;
2012
2068
  referrerPolicy?: ReferrerPolicy | undefined;
2013
2069
  signal?: (AbortSignal | null) | undefined;
2014
- onRetry?: ((response: _better_fetch_fetch187.ResponseContext) => Promise<void> | void) | undefined;
2070
+ onRetry?: ((response: _better_fetch_fetch179.ResponseContext) => Promise<void> | void) | undefined;
2015
2071
  hookOptions?: {
2016
2072
  cloneResponse?: boolean;
2017
2073
  } | undefined;
2018
2074
  timeout?: number | undefined;
2019
- customFetchImpl: _better_fetch_fetch187.FetchEsque;
2075
+ customFetchImpl: _better_fetch_fetch179.FetchEsque;
2020
2076
  baseURL: string;
2021
2077
  throw?: boolean | undefined;
2022
2078
  auth?: ({
@@ -2036,46 +2092,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2036
2092
  params?: any;
2037
2093
  duplex?: "full" | "half" | undefined;
2038
2094
  jsonParser: (text: string) => Promise<any> | any;
2039
- retry?: _better_fetch_fetch187.RetryOptions | undefined;
2095
+ retry?: _better_fetch_fetch179.RetryOptions | undefined;
2040
2096
  retryAttempt?: number | undefined;
2041
- output?: (_better_fetch_fetch187.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2042
- errorSchema?: _better_fetch_fetch187.StandardSchemaV1 | undefined;
2097
+ output?: (_better_fetch_fetch179.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2098
+ errorSchema?: _better_fetch_fetch179.StandardSchemaV1 | undefined;
2043
2099
  disableValidation?: boolean | undefined;
2044
2100
  disableSignal?: boolean | undefined;
2045
2101
  }, unknown, unknown, {}>;
2046
2102
  $store: {
2047
2103
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
2048
2104
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
2049
- atoms: Record<string, better_auth_react5.WritableAtom<any>>;
2050
- };
2051
- $Infer: {
2052
- Session: {
2053
- user: {
2054
- id: string;
2055
- createdAt: Date;
2056
- updatedAt: Date;
2057
- email: string;
2058
- emailVerified: boolean;
2059
- name: string;
2060
- image?: string | null | undefined;
2061
- banned: boolean | null | undefined;
2062
- role?: string | null | undefined;
2063
- banReason?: string | null | undefined;
2064
- banExpires?: Date | null | undefined;
2065
- };
2066
- session: {
2067
- id: string;
2068
- createdAt: Date;
2069
- updatedAt: Date;
2070
- userId: string;
2071
- expiresAt: Date;
2072
- token: string;
2073
- ipAddress?: string | null | undefined;
2074
- userAgent?: string | null | undefined;
2075
- impersonatedBy?: string | null | undefined;
2076
- activeOrganizationId?: string | null | undefined;
2077
- };
2078
- };
2105
+ atoms: Record<string, better_auth_react2.WritableAtom<any>>;
2079
2106
  };
2080
2107
  $ERROR_CODES: {
2081
2108
  readonly FAILED_TO_CREATE_USER: "Failed to create user";
@@ -2201,96 +2228,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2201
2228
  };
2202
2229
  };
2203
2230
  }
2204
- /** Instance type for BetterAuthVanillaAdapter */
2205
- type BetterAuthVanillaAdapterInstance = BetterAuthVanillaAdapterImpl;
2206
- /** Builder type that creates adapter instances */
2207
- type BetterAuthVanillaAdapterBuilder = (url: string, fetchOptions?: {
2208
- headers?: Record<string, string>;
2209
- }) => BetterAuthVanillaAdapterInstance;
2210
- /**
2211
- * Factory function that returns an adapter builder.
2212
- * The builder is called by createClient/createAuthClient with the URL.
2213
- *
2214
- * @param options - Optional adapter configuration (baseURL is injected separately)
2215
- * @returns A builder function that creates the adapter instance
2216
- *
2217
- * @example
2218
- * ```typescript
2219
- * const client = createClient({
2220
- * auth: {
2221
- * url: 'https://auth.example.com',
2222
- * adapter: BetterAuthVanillaAdapter(),
2223
- * },
2224
- * dataApi: { url: 'https://data-api.example.com' },
2225
- * });
2226
- * ```
2227
- */
2228
- declare function BetterAuthVanillaAdapter(options?: BetterAuthVanillaAdapterOptions): BetterAuthVanillaAdapterBuilder;
2229
- //#endregion
2230
- //#region src/adapters/supabase/supabase-adapter.d.ts
2231
- type SupabaseAuthAdapterOptions = Omit<NeonAuthAdapterCoreAuthOptions, 'baseURL'>;
2232
- /**
2233
- * Internal implementation class - use SupabaseAuthAdapter factory function instead
2234
- */
2235
- declare class SupabaseAuthAdapterImpl extends NeonAuthAdapterCore implements SupabaseAuthClientInterface {
2236
- admin: SupabaseAuthClientInterface['admin'];
2237
- mfa: SupabaseAuthClientInterface['mfa'];
2238
- oauth: SupabaseAuthClientInterface['oauth'];
2239
- private _betterAuth;
2240
- private _stateChangeEmitters;
2241
- constructor(betterAuthClientOptions: NeonAuthAdapterCoreAuthOptions);
2242
- getBetterAuthInstance(): ReturnType<typeof createAuthClient$1<{
2243
- plugins: SupportedBetterAuthClientPlugins;
2244
- }>>;
2245
- initialize: SupabaseAuthClientInterface['initialize'];
2246
- getSession(options?: {
2247
- forceFetch?: boolean;
2248
- }): ReturnType<SupabaseAuthClientInterface['getSession']>;
2249
- refreshSession: SupabaseAuthClientInterface['refreshSession'];
2250
- setSession: SupabaseAuthClientInterface['setSession'];
2251
- signUp: SupabaseAuthClientInterface['signUp'];
2252
- signInAnonymously: SupabaseAuthClientInterface['signInAnonymously'];
2253
- signInWithPassword: SupabaseAuthClientInterface['signInWithPassword'];
2254
- signInWithOAuth: SupabaseAuthClientInterface['signInWithOAuth'];
2255
- signInWithOtp: SupabaseAuthClientInterface['signInWithOtp'];
2256
- signInWithIdToken: SupabaseAuthClientInterface['signInWithIdToken'];
2257
- signInWithSSO: SupabaseAuthClientInterface['signInWithSSO'];
2258
- signInWithWeb3: SupabaseAuthClientInterface['signInWithWeb3'];
2259
- signOut: SupabaseAuthClientInterface['signOut'];
2260
- getUser: SupabaseAuthClientInterface['getUser'];
2261
- getClaims: (jwtArg?: string) => Promise<{
2262
- data: {
2263
- header: JwtHeader;
2264
- claims: JwtPayload;
2265
- signature: Uint8Array<ArrayBufferLike>;
2266
- };
2267
- error: null;
2268
- } | {
2269
- data: null;
2270
- error: _supabase_auth_js0.AuthError;
2271
- }>;
2272
- updateUser: SupabaseAuthClientInterface['updateUser'];
2273
- getUserIdentities: SupabaseAuthClientInterface['getUserIdentities'];
2274
- linkIdentity: SupabaseAuthClientInterface['linkIdentity'];
2275
- unlinkIdentity: SupabaseAuthClientInterface['unlinkIdentity'];
2276
- verifyOtp: SupabaseAuthClientInterface['verifyOtp'];
2277
- resetPasswordForEmail: SupabaseAuthClientInterface['resetPasswordForEmail'];
2278
- reauthenticate: SupabaseAuthClientInterface['reauthenticate'];
2279
- resend: SupabaseAuthClientInterface['resend'];
2280
- exchangeCodeForSession: SupabaseAuthClientInterface['exchangeCodeForSession'];
2281
- onAuthStateChange: SupabaseAuthClientInterface['onAuthStateChange'];
2282
- isThrowOnErrorEnabled: SupabaseAuthClientInterface['isThrowOnErrorEnabled'];
2283
- startAutoRefresh: SupabaseAuthClientInterface['startAutoRefresh'];
2284
- stopAutoRefresh: SupabaseAuthClientInterface['stopAutoRefresh'];
2285
- private verifyEmailOtp;
2286
- private emitInitialSession;
2287
- }
2288
- /** Instance type for SupabaseAuthAdapter */
2289
- type SupabaseAuthAdapterInstance = SupabaseAuthAdapterImpl;
2231
+ /** Instance type for BetterAuthReactAdapter */
2232
+ type BetterAuthReactAdapterInstance = BetterAuthReactAdapterImpl;
2290
2233
  /** Builder type that creates adapter instances */
2291
- type SupabaseAuthAdapterBuilder = (url: string, fetchOptions?: {
2234
+ type BetterAuthReactAdapterBuilder = (url: string, fetchOptions?: {
2292
2235
  headers?: Record<string, string>;
2293
- }) => SupabaseAuthAdapterInstance;
2236
+ }) => BetterAuthReactAdapterInstance;
2294
2237
  /**
2295
2238
  * Factory function that returns an adapter builder.
2296
2239
  * The builder is called by createClient/createAuthClient with the URL.
@@ -2303,12 +2246,12 @@ type SupabaseAuthAdapterBuilder = (url: string, fetchOptions?: {
2303
2246
  * const client = createClient({
2304
2247
  * auth: {
2305
2248
  * url: 'https://auth.example.com',
2306
- * adapter: SupabaseAuthAdapter(),
2249
+ * adapter: BetterAuthReactAdapter(),
2307
2250
  * },
2308
2251
  * dataApi: { url: 'https://data-api.example.com' },
2309
2252
  * });
2310
2253
  * ```
2311
2254
  */
2312
- declare function SupabaseAuthAdapter(options?: SupabaseAuthAdapterOptions): SupabaseAuthAdapterBuilder;
2255
+ declare function BetterAuthReactAdapter(options?: BetterAuthReactAdapterOptions): BetterAuthReactAdapterBuilder;
2313
2256
  //#endregion
2314
- export { BetterAuthVanillaAdapter as a, BetterAuthVanillaAdapterOptions as c, SupabaseAuthAdapterOptions as i, SupabaseAuthAdapterBuilder as n, BetterAuthVanillaAdapterBuilder as o, SupabaseAuthAdapterInstance as r, BetterAuthVanillaAdapterInstance as s, SupabaseAuthAdapter as t };
2257
+ export { BetterAuthReactAdapterInstance as n, BetterAuthReactAdapterOptions as r, BetterAuthReactAdapter as t };