@neondatabase/auth 0.1.0-beta.13 → 0.1.0-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-D1HVvYeG.mjs";
2
- import * as better_auth_client23 from "better-auth/client";
1
+ import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-CtcS7ex8.mjs";
2
+ import * as better_auth_client31 from "better-auth/client";
3
3
  import { createAuthClient } from "better-auth/client";
4
- import * as better_auth_client_plugins11 from "better-auth/client/plugins";
4
+ import * as better_auth_client_plugins33 from "better-auth/client/plugins";
5
5
  import * as _supabase_auth_js0 from "@supabase/auth-js";
6
6
  import { AuthClient, JwtHeader, JwtPayload } from "@supabase/auth-js";
7
- import * as jose1 from "jose";
8
- import * as better_auth307 from "better-auth";
9
- import * as _better_fetch_fetch179 from "@better-fetch/fetch";
10
- import * as nanostores1 from "nanostores";
7
+ import * as jose6 from "jose";
8
+ import * as better_auth360 from "better-auth";
9
+ import * as _better_fetch_fetch185 from "@better-fetch/fetch";
10
+ import * as nanostores9 from "nanostores";
11
11
 
12
12
  //#region src/adapters/better-auth-vanilla/better-auth-vanilla-adapter.d.ts
13
13
  type BetterAuthVanillaAdapterOptions = Omit<NeonAuthAdapterCoreAuthOptions, 'baseURL'>;
@@ -18,8 +18,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
18
18
  private _betterAuth;
19
19
  constructor(betterAuthClientOptions: NeonAuthAdapterCoreAuthOptions);
20
20
  getBetterAuthInstance(): {
21
- useActiveOrganization: nanostores1.PreinitializedWritableAtom<{
22
- data: better_auth307.Prettify<{
21
+ useActiveOrganization: nanostores9.PreinitializedWritableAtom<{
22
+ data: better_auth360.Prettify<{
23
23
  id: string;
24
24
  name: string;
25
25
  slug: string;
@@ -45,20 +45,20 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
45
45
  organizationId: string;
46
46
  email: string;
47
47
  role: "admin" | "member" | "owner";
48
- status: better_auth_client23.InvitationStatus;
48
+ status: better_auth_client31.InvitationStatus;
49
49
  inviterId: string;
50
50
  expiresAt: Date;
51
51
  createdAt: Date;
52
52
  }[];
53
53
  }> | null;
54
- error: null | _better_fetch_fetch179.BetterFetchError;
54
+ error: null | _better_fetch_fetch185.BetterFetchError;
55
55
  isPending: boolean;
56
56
  isRefetching: boolean;
57
57
  refetch: (queryParams?: {
58
- query?: better_auth307.SessionQueryParams;
58
+ query?: better_auth360.SessionQueryParams;
59
59
  } | undefined) => Promise<void>;
60
60
  }> & object;
61
- useListOrganizations: nanostores1.PreinitializedWritableAtom<{
61
+ useListOrganizations: nanostores9.PreinitializedWritableAtom<{
62
62
  data: {
63
63
  id: string;
64
64
  name: string;
@@ -67,14 +67,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
67
67
  logo?: string | null | undefined | undefined;
68
68
  metadata?: any;
69
69
  }[] | null;
70
- error: null | _better_fetch_fetch179.BetterFetchError;
70
+ error: null | _better_fetch_fetch185.BetterFetchError;
71
71
  isPending: boolean;
72
72
  isRefetching: boolean;
73
73
  refetch: (queryParams?: {
74
- query?: better_auth307.SessionQueryParams;
74
+ query?: better_auth360.SessionQueryParams;
75
75
  } | undefined) => Promise<void>;
76
76
  }> & object;
77
- useActiveMember: nanostores1.PreinitializedWritableAtom<{
77
+ useActiveMember: nanostores9.PreinitializedWritableAtom<{
78
78
  data: {
79
79
  id: string;
80
80
  organizationId: string;
@@ -82,29 +82,29 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
82
82
  role: string;
83
83
  createdAt: Date;
84
84
  } | null;
85
- error: null | _better_fetch_fetch179.BetterFetchError;
85
+ error: null | _better_fetch_fetch185.BetterFetchError;
86
86
  isPending: boolean;
87
87
  isRefetching: boolean;
88
88
  refetch: (queryParams?: {
89
- query?: better_auth307.SessionQueryParams;
89
+ query?: better_auth360.SessionQueryParams;
90
90
  } | undefined) => Promise<void>;
91
91
  }> & object;
92
- useActiveMemberRole: nanostores1.PreinitializedWritableAtom<{
92
+ useActiveMemberRole: nanostores9.PreinitializedWritableAtom<{
93
93
  data: {
94
94
  role: string;
95
95
  } | null;
96
- error: null | _better_fetch_fetch179.BetterFetchError;
96
+ error: null | _better_fetch_fetch185.BetterFetchError;
97
97
  isPending: boolean;
98
98
  isRefetching: boolean;
99
99
  refetch: (queryParams?: {
100
- query?: better_auth307.SessionQueryParams;
100
+ query?: better_auth360.SessionQueryParams;
101
101
  } | undefined) => Promise<void>;
102
102
  }> & object;
103
103
  } & {
104
- token: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
104
+ token: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
105
105
  query?: Record<string, any> | undefined;
106
106
  fetchOptions?: FetchOptions | undefined;
107
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
107
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
108
108
  token: string;
109
109
  }, {
110
110
  code?: string | undefined;
@@ -112,16 +112,16 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
112
112
  }, FetchOptions["throw"] extends true ? true : false>>;
113
113
  } & {
114
114
  admin: {
115
- setRole: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
115
+ setRole: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
116
116
  userId: string;
117
117
  role: "user" | "admin" | ("user" | "admin")[];
118
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
118
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
119
119
  userId: string;
120
120
  role: "user" | "admin" | ("user" | "admin")[];
121
121
  } & {
122
122
  fetchOptions?: FetchOptions | undefined;
123
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
124
- user: better_auth_client_plugins11.UserWithRole;
123
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
124
+ user: better_auth_client_plugins33.UserWithRole;
125
125
  }, {
126
126
  code?: string | undefined;
127
127
  message?: string | undefined;
@@ -129,14 +129,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
129
129
  };
130
130
  } & {
131
131
  admin: {
132
- getUser: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
132
+ getUser: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
133
133
  id: string;
134
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
134
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
135
135
  query: {
136
136
  id: string;
137
137
  };
138
138
  fetchOptions?: FetchOptions | undefined;
139
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
139
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
140
140
  id: string;
141
141
  createdAt: Date;
142
142
  updatedAt: Date;
@@ -151,13 +151,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
151
151
  };
152
152
  } & {
153
153
  admin: {
154
- createUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
154
+ createUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
155
155
  email: string;
156
156
  password: string;
157
157
  name: string;
158
158
  role?: "user" | "admin" | ("user" | "admin")[] | undefined;
159
159
  data?: Record<string, any> | undefined;
160
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
160
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
161
161
  email: string;
162
162
  password: string;
163
163
  name: string;
@@ -165,8 +165,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
165
165
  data?: Record<string, any> | undefined;
166
166
  } & {
167
167
  fetchOptions?: FetchOptions | undefined;
168
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
169
- user: better_auth_client_plugins11.UserWithRole;
168
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
169
+ user: better_auth_client_plugins33.UserWithRole;
170
170
  }, {
171
171
  code?: string | undefined;
172
172
  message?: string | undefined;
@@ -174,22 +174,22 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
174
174
  };
175
175
  } & {
176
176
  admin: {
177
- updateUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
177
+ updateUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
178
178
  userId: unknown;
179
179
  data: Record<any, any>;
180
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
180
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
181
181
  userId: unknown;
182
182
  data: Record<any, any>;
183
183
  } & {
184
184
  fetchOptions?: FetchOptions | undefined;
185
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<better_auth_client_plugins11.UserWithRole, {
185
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<better_auth_client_plugins33.UserWithRole, {
186
186
  code?: string | undefined;
187
187
  message?: string | undefined;
188
188
  }, FetchOptions["throw"] extends true ? true : false>>;
189
189
  };
190
190
  } & {
191
191
  admin: {
192
- listUsers: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
192
+ listUsers: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
193
193
  searchValue?: string | undefined;
194
194
  searchField?: "email" | "name" | undefined;
195
195
  searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
@@ -200,7 +200,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
200
200
  filterField?: string | undefined;
201
201
  filterValue?: string | number | boolean | undefined;
202
202
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
203
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
203
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
204
204
  query: {
205
205
  searchValue?: string | undefined;
206
206
  searchField?: "email" | "name" | undefined;
@@ -214,8 +214,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
214
214
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
215
215
  };
216
216
  fetchOptions?: FetchOptions | undefined;
217
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
218
- users: better_auth_client_plugins11.UserWithRole[];
217
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
218
+ users: better_auth_client_plugins33.UserWithRole[];
219
219
  total: number;
220
220
  limit: number | undefined;
221
221
  offset: number | undefined;
@@ -229,14 +229,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
229
229
  };
230
230
  } & {
231
231
  admin: {
232
- listUserSessions: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
232
+ listUserSessions: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
233
233
  userId: unknown;
234
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
234
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
235
235
  userId: unknown;
236
236
  } & {
237
237
  fetchOptions?: FetchOptions | undefined;
238
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
239
- sessions: better_auth_client_plugins11.SessionWithImpersonatedBy[];
238
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
239
+ sessions: better_auth_client_plugins33.SessionWithImpersonatedBy[];
240
240
  }, {
241
241
  code?: string | undefined;
242
242
  message?: string | undefined;
@@ -244,13 +244,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
244
244
  };
245
245
  } & {
246
246
  admin: {
247
- unbanUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
247
+ unbanUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
248
248
  userId: unknown;
249
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
249
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
250
250
  userId: unknown;
251
251
  } & {
252
252
  fetchOptions?: FetchOptions | undefined;
253
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
253
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
254
254
  user: {
255
255
  id: string;
256
256
  createdAt: Date;
@@ -267,17 +267,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
267
267
  };
268
268
  } & {
269
269
  admin: {
270
- banUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
270
+ banUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
271
271
  userId: unknown;
272
272
  banReason?: string | undefined;
273
273
  banExpiresIn?: number | undefined;
274
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
274
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
275
275
  userId: unknown;
276
276
  banReason?: string | undefined;
277
277
  banExpiresIn?: number | undefined;
278
278
  } & {
279
279
  fetchOptions?: FetchOptions | undefined;
280
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
280
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
281
281
  user: {
282
282
  id: string;
283
283
  createdAt: Date;
@@ -294,13 +294,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
294
294
  };
295
295
  } & {
296
296
  admin: {
297
- impersonateUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
297
+ impersonateUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
298
298
  userId: unknown;
299
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
299
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
300
300
  userId: unknown;
301
301
  } & {
302
302
  fetchOptions?: FetchOptions | undefined;
303
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
303
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
304
304
  session: {
305
305
  id: string;
306
306
  createdAt: Date;
@@ -311,7 +311,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
311
311
  ipAddress?: string | null | undefined;
312
312
  userAgent?: string | null | undefined;
313
313
  };
314
- user: better_auth_client_plugins11.UserWithRole;
314
+ user: better_auth_client_plugins33.UserWithRole;
315
315
  }, {
316
316
  code?: string | undefined;
317
317
  message?: string | undefined;
@@ -319,12 +319,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
319
319
  };
320
320
  } & {
321
321
  admin: {
322
- stopImpersonating: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
322
+ stopImpersonating: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
323
323
  query?: Record<string, any> | undefined;
324
324
  fetchOptions?: FetchOptions | undefined;
325
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
326
- session: better_auth307.Session & Record<string, any>;
327
- user: better_auth307.User & Record<string, any>;
325
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
326
+ session: better_auth360.Session & Record<string, any>;
327
+ user: better_auth360.User & Record<string, any>;
328
328
  }, {
329
329
  code?: string | undefined;
330
330
  message?: string | undefined;
@@ -332,13 +332,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
332
332
  };
333
333
  } & {
334
334
  admin: {
335
- revokeUserSession: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
335
+ revokeUserSession: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
336
336
  sessionToken: string;
337
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
337
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
338
338
  sessionToken: string;
339
339
  } & {
340
340
  fetchOptions?: FetchOptions | undefined;
341
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
341
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
342
342
  success: boolean;
343
343
  }, {
344
344
  code?: string | undefined;
@@ -347,13 +347,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
347
347
  };
348
348
  } & {
349
349
  admin: {
350
- revokeUserSessions: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
350
+ revokeUserSessions: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
351
351
  userId: unknown;
352
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
352
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
353
353
  userId: unknown;
354
354
  } & {
355
355
  fetchOptions?: FetchOptions | undefined;
356
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
356
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
357
357
  success: boolean;
358
358
  }, {
359
359
  code?: string | undefined;
@@ -362,13 +362,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
362
362
  };
363
363
  } & {
364
364
  admin: {
365
- removeUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
365
+ removeUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
366
366
  userId: unknown;
367
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
367
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
368
368
  userId: unknown;
369
369
  } & {
370
370
  fetchOptions?: FetchOptions | undefined;
371
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
371
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
372
372
  success: boolean;
373
373
  }, {
374
374
  code?: string | undefined;
@@ -377,15 +377,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
377
377
  };
378
378
  } & {
379
379
  admin: {
380
- setUserPassword: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
380
+ setUserPassword: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
381
381
  newPassword: string;
382
382
  userId: unknown;
383
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
383
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
384
384
  newPassword: string;
385
385
  userId: unknown;
386
386
  } & {
387
387
  fetchOptions?: FetchOptions | undefined;
388
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
388
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
389
389
  status: boolean;
390
390
  }, {
391
391
  code?: string | undefined;
@@ -394,7 +394,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
394
394
  };
395
395
  } & {
396
396
  admin: {
397
- hasPermission: <FetchOptions extends better_auth307.ClientFetchOption<Partial<({
397
+ hasPermission: <FetchOptions extends better_auth360.ClientFetchOption<Partial<({
398
398
  permission: {
399
399
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
400
400
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -409,7 +409,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
409
409
  }) & {
410
410
  userId?: string | undefined;
411
411
  role?: "user" | "admin" | undefined;
412
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<(({
412
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<(({
413
413
  permission: {
414
414
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
415
415
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -426,7 +426,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
426
426
  role?: "user" | "admin" | undefined;
427
427
  }) & {
428
428
  fetchOptions?: FetchOptions | undefined;
429
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
429
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
430
430
  error: null;
431
431
  success: boolean;
432
432
  }, {
@@ -436,14 +436,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
436
436
  };
437
437
  } & {
438
438
  organization: {
439
- create: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
439
+ create: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
440
440
  name: string;
441
441
  slug: string;
442
442
  userId?: string | undefined;
443
443
  logo?: string | undefined;
444
444
  metadata?: Record<string, any> | undefined;
445
445
  keepCurrentActiveOrganization?: boolean | undefined;
446
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
446
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
447
447
  name: string;
448
448
  slug: string;
449
449
  userId?: string | undefined;
@@ -452,7 +452,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
452
452
  keepCurrentActiveOrganization?: boolean | undefined;
453
453
  } & {
454
454
  fetchOptions?: FetchOptions | undefined;
455
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
455
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
456
456
  id: string;
457
457
  name: string;
458
458
  slug: string;
@@ -475,7 +475,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
475
475
  };
476
476
  } & {
477
477
  organization: {
478
- update: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
478
+ update: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
479
479
  data: {
480
480
  name?: string | undefined;
481
481
  slug?: string | undefined;
@@ -483,7 +483,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
483
483
  metadata?: Record<string, any> | undefined;
484
484
  } & Partial<{}>;
485
485
  organizationId?: string | undefined;
486
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
486
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
487
487
  data: {
488
488
  name?: string | undefined;
489
489
  slug?: string | undefined;
@@ -493,7 +493,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
493
493
  organizationId?: string | undefined;
494
494
  } & {
495
495
  fetchOptions?: FetchOptions | undefined;
496
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
496
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
497
497
  id: string;
498
498
  name: string;
499
499
  slug: string;
@@ -509,13 +509,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
509
509
  };
510
510
  } & {
511
511
  organization: {
512
- delete: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
512
+ delete: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
513
513
  organizationId: string;
514
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
514
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
515
515
  organizationId: string;
516
516
  } & {
517
517
  fetchOptions?: FetchOptions | undefined;
518
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
518
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
519
519
  id: string;
520
520
  name: string;
521
521
  slug: string;
@@ -529,15 +529,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
529
529
  };
530
530
  } & {
531
531
  organization: {
532
- setActive: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
532
+ setActive: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
533
533
  organizationId?: string | null | undefined;
534
534
  organizationSlug?: string | undefined;
535
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
535
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
536
536
  organizationId?: string | null | undefined;
537
537
  organizationSlug?: string | undefined;
538
538
  } & {
539
539
  fetchOptions?: FetchOptions | undefined;
540
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
540
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
541
541
  members: {
542
542
  id: string;
543
543
  organizationId: string;
@@ -556,7 +556,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
556
556
  organizationId: string;
557
557
  email: string;
558
558
  role: "admin" | "member" | "owner";
559
- status: better_auth_client23.InvitationStatus;
559
+ status: better_auth_client31.InvitationStatus;
560
560
  inviterId: string;
561
561
  expiresAt: Date;
562
562
  createdAt: Date;
@@ -575,18 +575,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
575
575
  };
576
576
  } & {
577
577
  organization: {
578
- getFullOrganization: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
578
+ getFullOrganization: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
579
579
  organizationId?: string | undefined;
580
580
  organizationSlug?: string | undefined;
581
581
  membersLimit?: string | number | undefined;
582
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
582
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
583
583
  query?: {
584
584
  organizationId?: string | undefined;
585
585
  organizationSlug?: string | undefined;
586
586
  membersLimit?: string | number | undefined;
587
587
  } | undefined;
588
588
  fetchOptions?: FetchOptions | undefined;
589
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
589
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
590
590
  members: {
591
591
  id: string;
592
592
  organizationId: string;
@@ -605,7 +605,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
605
605
  organizationId: string;
606
606
  email: string;
607
607
  role: "admin" | "member" | "owner";
608
- status: better_auth_client23.InvitationStatus;
608
+ status: better_auth_client31.InvitationStatus;
609
609
  inviterId: string;
610
610
  expiresAt: Date;
611
611
  createdAt: Date;
@@ -624,10 +624,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
624
624
  };
625
625
  } & {
626
626
  organization: {
627
- list: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
627
+ list: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
628
628
  query?: Record<string, any> | undefined;
629
629
  fetchOptions?: FetchOptions | undefined;
630
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
630
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
631
631
  id: string;
632
632
  name: string;
633
633
  slug: string;
@@ -641,24 +641,24 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
641
641
  };
642
642
  } & {
643
643
  organization: {
644
- inviteMember: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
644
+ inviteMember: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
645
645
  email: string;
646
646
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
647
647
  organizationId?: string | undefined;
648
648
  resend?: boolean | undefined;
649
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
649
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
650
650
  email: string;
651
651
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
652
652
  organizationId?: string | undefined;
653
653
  resend?: boolean | undefined;
654
654
  } & {
655
655
  fetchOptions?: FetchOptions | undefined;
656
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
656
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
657
657
  id: string;
658
658
  organizationId: string;
659
659
  email: string;
660
660
  role: "admin" | "member" | "owner";
661
- status: better_auth_client23.InvitationStatus;
661
+ status: better_auth_client31.InvitationStatus;
662
662
  inviterId: string;
663
663
  expiresAt: Date;
664
664
  createdAt: Date;
@@ -669,18 +669,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
669
669
  };
670
670
  } & {
671
671
  organization: {
672
- cancelInvitation: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
672
+ cancelInvitation: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
673
673
  invitationId: string;
674
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
674
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
675
675
  invitationId: string;
676
676
  } & {
677
677
  fetchOptions?: FetchOptions | undefined;
678
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
678
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
679
679
  id: string;
680
680
  organizationId: string;
681
681
  email: string;
682
682
  role: "admin" | "member" | "owner";
683
- status: better_auth_client23.InvitationStatus;
683
+ status: better_auth_client31.InvitationStatus;
684
684
  inviterId: string;
685
685
  expiresAt: Date;
686
686
  createdAt: Date;
@@ -691,19 +691,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
691
691
  };
692
692
  } & {
693
693
  organization: {
694
- acceptInvitation: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
694
+ acceptInvitation: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
695
695
  invitationId: string;
696
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
696
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
697
697
  invitationId: string;
698
698
  } & {
699
699
  fetchOptions?: FetchOptions | undefined;
700
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
700
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
701
701
  invitation: {
702
702
  id: string;
703
703
  organizationId: string;
704
704
  email: string;
705
705
  role: "admin" | "member" | "owner";
706
- status: better_auth_client23.InvitationStatus;
706
+ status: better_auth_client31.InvitationStatus;
707
707
  inviterId: string;
708
708
  expiresAt: Date;
709
709
  createdAt: Date;
@@ -722,19 +722,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
722
722
  };
723
723
  } & {
724
724
  organization: {
725
- getInvitation: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
725
+ getInvitation: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
726
726
  id: string;
727
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
727
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
728
728
  query: {
729
729
  id: string;
730
730
  };
731
731
  fetchOptions?: FetchOptions | undefined;
732
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
732
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
733
733
  id: string;
734
734
  organizationId: string;
735
735
  email: string;
736
736
  role: "admin" | "member" | "owner";
737
- status: better_auth_client23.InvitationStatus;
737
+ status: better_auth_client31.InvitationStatus;
738
738
  inviterId: string;
739
739
  expiresAt: Date;
740
740
  createdAt: Date;
@@ -749,19 +749,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
749
749
  };
750
750
  } & {
751
751
  organization: {
752
- rejectInvitation: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
752
+ rejectInvitation: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
753
753
  invitationId: string;
754
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
754
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
755
755
  invitationId: string;
756
756
  } & {
757
757
  fetchOptions?: FetchOptions | undefined;
758
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
758
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
759
759
  invitation: {
760
760
  id: string;
761
761
  organizationId: string;
762
762
  email: string;
763
763
  role: "member" | "admin" | "owner";
764
- status: better_auth_client23.InvitationStatus;
764
+ status: better_auth_client31.InvitationStatus;
765
765
  inviterId: string;
766
766
  expiresAt: Date;
767
767
  createdAt: Date;
@@ -774,19 +774,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
774
774
  };
775
775
  } & {
776
776
  organization: {
777
- listInvitations: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
777
+ listInvitations: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
778
778
  organizationId?: string | undefined;
779
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
779
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
780
780
  query?: {
781
781
  organizationId?: string | undefined;
782
782
  } | undefined;
783
783
  fetchOptions?: FetchOptions | undefined;
784
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
784
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
785
785
  id: string;
786
786
  organizationId: string;
787
787
  email: string;
788
788
  role: "admin" | "member" | "owner";
789
- status: better_auth_client23.InvitationStatus;
789
+ status: better_auth_client31.InvitationStatus;
790
790
  inviterId: string;
791
791
  expiresAt: Date;
792
792
  createdAt: Date;
@@ -797,10 +797,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
797
797
  };
798
798
  } & {
799
799
  organization: {
800
- getActiveMember: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
800
+ getActiveMember: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
801
801
  query?: Record<string, any> | undefined;
802
802
  fetchOptions?: FetchOptions | undefined;
803
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<Omit<{
803
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<Omit<{
804
804
  id: string;
805
805
  organizationId: string;
806
806
  role: "admin" | "member" | "owner";
@@ -813,7 +813,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
813
813
  image?: string | undefined;
814
814
  };
815
815
  } & {
816
- user: better_auth307.User;
816
+ user: better_auth360.User;
817
817
  }, "user"> & {
818
818
  user: {
819
819
  id: string;
@@ -828,13 +828,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
828
828
  };
829
829
  } & {
830
830
  organization: {
831
- checkSlug: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
831
+ checkSlug: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
832
832
  slug: string;
833
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
833
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
834
834
  slug: string;
835
835
  } & {
836
836
  fetchOptions?: FetchOptions | undefined;
837
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
837
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
838
838
  status: boolean;
839
839
  }, {
840
840
  code?: string | undefined;
@@ -843,15 +843,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
843
843
  };
844
844
  } & {
845
845
  organization: {
846
- removeMember: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
846
+ removeMember: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
847
847
  memberIdOrEmail: string;
848
848
  organizationId?: string | undefined;
849
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
849
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
850
850
  memberIdOrEmail: string;
851
851
  organizationId?: string | undefined;
852
852
  } & {
853
853
  fetchOptions?: FetchOptions | undefined;
854
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
854
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
855
855
  member: {
856
856
  id: string;
857
857
  organizationId: string;
@@ -872,17 +872,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
872
872
  };
873
873
  } & {
874
874
  organization: {
875
- updateMemberRole: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
876
- role: better_auth307.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth307.LiteralString[];
875
+ updateMemberRole: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
876
+ role: better_auth360.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth360.LiteralString[];
877
877
  memberId: string;
878
878
  organizationId?: string | undefined;
879
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
880
- role: better_auth307.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth307.LiteralString[];
879
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
880
+ role: better_auth360.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth360.LiteralString[];
881
881
  memberId: string;
882
882
  organizationId?: string | undefined;
883
883
  } & {
884
884
  fetchOptions?: FetchOptions | undefined;
885
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
885
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
886
886
  id: string;
887
887
  organizationId: string;
888
888
  role: "member" | "admin" | "owner";
@@ -901,13 +901,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
901
901
  };
902
902
  } & {
903
903
  organization: {
904
- leave: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
904
+ leave: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
905
905
  organizationId: string;
906
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
906
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
907
907
  organizationId: string;
908
908
  } & {
909
909
  fetchOptions?: FetchOptions | undefined;
910
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<Omit<{
910
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<Omit<{
911
911
  id: string;
912
912
  organizationId: string;
913
913
  role: "admin" | "member" | "owner";
@@ -920,7 +920,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
920
920
  image?: string | undefined;
921
921
  };
922
922
  } & {
923
- user: better_auth307.User;
923
+ user: better_auth360.User;
924
924
  }, "user"> & {
925
925
  user: {
926
926
  id: string;
@@ -935,19 +935,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
935
935
  };
936
936
  } & {
937
937
  organization: {
938
- listUserInvitations: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
938
+ listUserInvitations: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
939
939
  email?: string | undefined;
940
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
940
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
941
941
  query?: {
942
942
  email?: string | undefined;
943
943
  } | undefined;
944
944
  fetchOptions?: FetchOptions | undefined;
945
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<(Omit<{
945
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<(Omit<{
946
946
  id: string;
947
947
  organizationId: string;
948
948
  email: string;
949
949
  role: "admin" | "member" | "owner";
950
- status: better_auth_client23.InvitationStatus;
950
+ status: better_auth_client31.InvitationStatus;
951
951
  inviterId: string;
952
952
  expiresAt: Date;
953
953
  createdAt: Date;
@@ -969,7 +969,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
969
969
  };
970
970
  } & {
971
971
  organization: {
972
- listMembers: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
972
+ listMembers: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
973
973
  limit?: string | number | undefined;
974
974
  offset?: string | number | undefined;
975
975
  sortBy?: string | undefined;
@@ -979,7 +979,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
979
979
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
980
980
  organizationId?: string | undefined;
981
981
  organizationSlug?: string | undefined;
982
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
982
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
983
983
  query?: {
984
984
  limit?: string | number | undefined;
985
985
  offset?: string | number | undefined;
@@ -992,7 +992,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
992
992
  organizationSlug?: string | undefined;
993
993
  } | undefined;
994
994
  fetchOptions?: FetchOptions | undefined;
995
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
995
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
996
996
  members: ({
997
997
  id: string;
998
998
  organizationId: string;
@@ -1021,18 +1021,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1021
1021
  };
1022
1022
  } & {
1023
1023
  organization: {
1024
- getActiveMemberRole: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1024
+ getActiveMemberRole: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1025
1025
  userId?: string | undefined;
1026
1026
  organizationId?: string | undefined;
1027
1027
  organizationSlug?: string | undefined;
1028
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1028
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1029
1029
  query?: {
1030
1030
  userId?: string | undefined;
1031
1031
  organizationId?: string | undefined;
1032
1032
  organizationSlug?: string | undefined;
1033
1033
  } | undefined;
1034
1034
  fetchOptions?: FetchOptions | undefined;
1035
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1035
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1036
1036
  role: "admin" | "member" | "owner";
1037
1037
  }, {
1038
1038
  code?: string | undefined;
@@ -1041,11 +1041,11 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1041
1041
  };
1042
1042
  } & {
1043
1043
  organization: {
1044
- hasPermission: <FetchOptions extends better_auth307.ClientFetchOption<Partial<({
1044
+ hasPermission: <FetchOptions extends better_auth360.ClientFetchOption<Partial<({
1045
1045
  permission: {
1046
1046
  readonly organization?: ("delete" | "update")[] | undefined;
1047
1047
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1048
- readonly invitation?: ("create" | "cancel")[] | undefined;
1048
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1049
1049
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1050
1050
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1051
1051
  };
@@ -1054,18 +1054,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1054
1054
  permissions: {
1055
1055
  readonly organization?: ("delete" | "update")[] | undefined;
1056
1056
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1057
- readonly invitation?: ("create" | "cancel")[] | undefined;
1057
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1058
1058
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1059
1059
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1060
1060
  };
1061
1061
  permission?: never | undefined;
1062
1062
  }) & {
1063
1063
  organizationId?: string | undefined;
1064
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<(({
1064
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<(({
1065
1065
  permission: {
1066
1066
  readonly organization?: ("delete" | "update")[] | undefined;
1067
1067
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1068
- readonly invitation?: ("create" | "cancel")[] | undefined;
1068
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1069
1069
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1070
1070
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1071
1071
  };
@@ -1074,7 +1074,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1074
1074
  permissions: {
1075
1075
  readonly organization?: ("delete" | "update")[] | undefined;
1076
1076
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1077
- readonly invitation?: ("create" | "cancel")[] | undefined;
1077
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1078
1078
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1079
1079
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1080
1080
  };
@@ -1083,7 +1083,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1083
1083
  organizationId?: string | undefined;
1084
1084
  }) & {
1085
1085
  fetchOptions?: FetchOptions | undefined;
1086
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1086
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1087
1087
  error: null;
1088
1088
  success: boolean;
1089
1089
  }, {
@@ -1093,15 +1093,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1093
1093
  };
1094
1094
  } & {
1095
1095
  emailOtp: {
1096
- sendVerificationOtp: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1096
+ sendVerificationOtp: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1097
1097
  email: string;
1098
1098
  type: "sign-in" | "email-verification" | "forget-password";
1099
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1099
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1100
1100
  email: string;
1101
1101
  type: "sign-in" | "email-verification" | "forget-password";
1102
1102
  } & {
1103
1103
  fetchOptions?: FetchOptions | undefined;
1104
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1104
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1105
1105
  success: boolean;
1106
1106
  }, {
1107
1107
  code?: string | undefined;
@@ -1110,17 +1110,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1110
1110
  };
1111
1111
  } & {
1112
1112
  emailOtp: {
1113
- checkVerificationOtp: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1113
+ checkVerificationOtp: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1114
1114
  email: string;
1115
1115
  type: "sign-in" | "email-verification" | "forget-password";
1116
1116
  otp: string;
1117
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1117
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1118
1118
  email: string;
1119
1119
  type: "sign-in" | "email-verification" | "forget-password";
1120
1120
  otp: string;
1121
1121
  } & {
1122
1122
  fetchOptions?: FetchOptions | undefined;
1123
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1123
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1124
1124
  success: boolean;
1125
1125
  }, {
1126
1126
  code?: string | undefined;
@@ -1129,15 +1129,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1129
1129
  };
1130
1130
  } & {
1131
1131
  emailOtp: {
1132
- verifyEmail: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1132
+ verifyEmail: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1133
1133
  email: string;
1134
1134
  otp: string;
1135
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1135
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1136
1136
  email: string;
1137
1137
  otp: string;
1138
1138
  } & {
1139
1139
  fetchOptions?: FetchOptions | undefined;
1140
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
1140
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
1141
1141
  status: boolean;
1142
1142
  token: string;
1143
1143
  user: {
@@ -1168,15 +1168,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1168
1168
  };
1169
1169
  } & {
1170
1170
  signIn: {
1171
- emailOtp: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1171
+ emailOtp: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1172
1172
  email: string;
1173
1173
  otp: string;
1174
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1174
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1175
1175
  email: string;
1176
1176
  otp: string;
1177
1177
  } & {
1178
1178
  fetchOptions?: FetchOptions | undefined;
1179
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1179
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1180
1180
  token: string;
1181
1181
  user: {
1182
1182
  id: string;
@@ -1194,13 +1194,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1194
1194
  };
1195
1195
  } & {
1196
1196
  forgetPassword: {
1197
- emailOtp: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1197
+ emailOtp: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1198
1198
  email: string;
1199
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1199
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1200
1200
  email: string;
1201
1201
  } & {
1202
1202
  fetchOptions?: FetchOptions | undefined;
1203
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1203
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1204
1204
  success: boolean;
1205
1205
  }, {
1206
1206
  code?: string | undefined;
@@ -1209,17 +1209,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1209
1209
  };
1210
1210
  } & {
1211
1211
  emailOtp: {
1212
- resetPassword: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1212
+ resetPassword: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1213
1213
  email: string;
1214
1214
  otp: string;
1215
1215
  password: string;
1216
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1216
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1217
1217
  email: string;
1218
1218
  otp: string;
1219
1219
  password: string;
1220
1220
  } & {
1221
1221
  fetchOptions?: FetchOptions | undefined;
1222
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1222
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1223
1223
  success: boolean;
1224
1224
  }, {
1225
1225
  code?: string | undefined;
@@ -1228,27 +1228,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1228
1228
  };
1229
1229
  } & {
1230
1230
  signIn: {
1231
- anonymous: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1232
- query?: Record<string, any> | undefined;
1233
- fetchOptions?: FetchOptions | undefined;
1234
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1235
- token: string;
1236
- user: {
1237
- id: string;
1238
- email: string;
1239
- emailVerified: boolean;
1240
- name: string;
1241
- createdAt: Date;
1242
- updatedAt: Date;
1243
- };
1244
- }, {
1245
- code?: string | undefined;
1246
- message?: string | undefined;
1247
- }, FetchOptions["throw"] extends true ? true : false>>;
1248
- };
1249
- } & {
1250
- signIn: {
1251
- social: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1231
+ social: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1252
1232
  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";
1253
1233
  callbackURL?: string | undefined;
1254
1234
  newUserCallbackURL?: string | undefined;
@@ -1265,7 +1245,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1265
1245
  requestSignUp?: boolean | undefined;
1266
1246
  loginHint?: string | undefined;
1267
1247
  additionalData?: Record<string, any> | undefined;
1268
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1248
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1269
1249
  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";
1270
1250
  callbackURL?: string | undefined;
1271
1251
  newUserCallbackURL?: string | undefined;
@@ -1284,7 +1264,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1284
1264
  additionalData?: Record<string, any> | undefined;
1285
1265
  } & {
1286
1266
  fetchOptions?: FetchOptions | undefined;
1287
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
1267
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
1288
1268
  redirect: boolean;
1289
1269
  url: string;
1290
1270
  } | {
@@ -1306,10 +1286,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1306
1286
  }, FetchOptions["throw"] extends true ? true : false>>;
1307
1287
  };
1308
1288
  } & {
1309
- signOut: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1289
+ signOut: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1310
1290
  query?: Record<string, any> | undefined;
1311
1291
  fetchOptions?: FetchOptions | undefined;
1312
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1292
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1313
1293
  success: boolean;
1314
1294
  }, {
1315
1295
  code?: string | undefined;
@@ -1317,21 +1297,21 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1317
1297
  }, FetchOptions["throw"] extends true ? true : false>>;
1318
1298
  } & {
1319
1299
  signUp: {
1320
- email: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1300
+ email: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1321
1301
  name: string;
1322
1302
  email: string;
1323
1303
  password: string;
1324
1304
  image?: string | undefined;
1325
1305
  callbackURL?: string | undefined;
1326
1306
  rememberMe?: boolean | undefined;
1327
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1307
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1328
1308
  email: string;
1329
1309
  name: string;
1330
1310
  password: string;
1331
1311
  image?: string | undefined;
1332
1312
  callbackURL?: string | undefined;
1333
1313
  fetchOptions?: FetchOptions | undefined;
1334
- } & {} & {} & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<{
1314
+ } & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
1335
1315
  token: null;
1336
1316
  user: {
1337
1317
  id: string;
@@ -1360,19 +1340,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1360
1340
  };
1361
1341
  } & {
1362
1342
  signIn: {
1363
- email: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1343
+ email: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1364
1344
  email: string;
1365
1345
  password: string;
1366
1346
  callbackURL?: string | undefined;
1367
1347
  rememberMe?: boolean | undefined;
1368
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1348
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1369
1349
  email: string;
1370
1350
  password: string;
1371
1351
  callbackURL?: string | undefined;
1372
1352
  rememberMe?: boolean | undefined;
1373
1353
  } & {
1374
1354
  fetchOptions?: FetchOptions | undefined;
1375
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1355
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1376
1356
  redirect: boolean;
1377
1357
  token: string;
1378
1358
  url?: string | undefined;
@@ -1391,80 +1371,80 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1391
1371
  }, FetchOptions["throw"] extends true ? true : false>>;
1392
1372
  };
1393
1373
  } & {
1394
- resetPassword: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1374
+ resetPassword: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1395
1375
  newPassword: string;
1396
1376
  token?: string | undefined;
1397
1377
  }> & Record<string, any>, Partial<{
1398
1378
  token?: string | undefined;
1399
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1379
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1400
1380
  newPassword: string;
1401
1381
  token?: string | undefined;
1402
1382
  } & {
1403
1383
  fetchOptions?: FetchOptions | undefined;
1404
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1384
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1405
1385
  status: boolean;
1406
1386
  }, {
1407
1387
  code?: string | undefined;
1408
1388
  message?: string | undefined;
1409
1389
  }, FetchOptions["throw"] extends true ? true : false>>;
1410
1390
  } & {
1411
- verifyEmail: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1391
+ verifyEmail: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1412
1392
  token: string;
1413
1393
  callbackURL?: string | undefined;
1414
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1394
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1415
1395
  query: {
1416
1396
  token: string;
1417
1397
  callbackURL?: string | undefined;
1418
1398
  };
1419
1399
  fetchOptions?: FetchOptions | undefined;
1420
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<NonNullable<void | {
1400
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<void | {
1421
1401
  status: boolean;
1422
1402
  }>, {
1423
1403
  code?: string | undefined;
1424
1404
  message?: string | undefined;
1425
1405
  }, FetchOptions["throw"] extends true ? true : false>>;
1426
1406
  } & {
1427
- sendVerificationEmail: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1407
+ sendVerificationEmail: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1428
1408
  email: string;
1429
1409
  callbackURL?: string | undefined;
1430
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1410
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1431
1411
  email: string;
1432
1412
  callbackURL?: string | undefined;
1433
1413
  } & {
1434
1414
  fetchOptions?: FetchOptions | undefined;
1435
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1415
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1436
1416
  status: boolean;
1437
1417
  }, {
1438
1418
  code?: string | undefined;
1439
1419
  message?: string | undefined;
1440
1420
  }, FetchOptions["throw"] extends true ? true : false>>;
1441
1421
  } & {
1442
- changeEmail: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1422
+ changeEmail: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1443
1423
  newEmail: string;
1444
1424
  callbackURL?: string | undefined;
1445
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1425
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1446
1426
  newEmail: string;
1447
1427
  callbackURL?: string | undefined;
1448
1428
  } & {
1449
1429
  fetchOptions?: FetchOptions | undefined;
1450
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1430
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1451
1431
  status: boolean;
1452
1432
  }, {
1453
1433
  code?: string | undefined;
1454
1434
  message?: string | undefined;
1455
1435
  }, FetchOptions["throw"] extends true ? true : false>>;
1456
1436
  } & {
1457
- changePassword: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1437
+ changePassword: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1458
1438
  newPassword: string;
1459
1439
  currentPassword: string;
1460
1440
  revokeOtherSessions?: boolean | undefined;
1461
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1441
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1462
1442
  newPassword: string;
1463
1443
  currentPassword: string;
1464
1444
  revokeOtherSessions?: boolean | undefined;
1465
1445
  } & {
1466
1446
  fetchOptions?: FetchOptions | undefined;
1467
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1447
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1468
1448
  token: string | null;
1469
1449
  user: {
1470
1450
  id: string;
@@ -1480,31 +1460,31 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1480
1460
  message?: string | undefined;
1481
1461
  }, FetchOptions["throw"] extends true ? true : false>>;
1482
1462
  } & {
1483
- updateUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<Partial<{}> & {
1463
+ updateUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<Partial<{}> & {
1484
1464
  name?: string | undefined;
1485
1465
  image?: string | undefined | null;
1486
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1466
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1487
1467
  image?: (string | null) | undefined;
1488
1468
  name?: string | undefined;
1489
1469
  fetchOptions?: FetchOptions | undefined;
1490
- } & Partial<{} & {} & {} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1470
+ } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1491
1471
  status: boolean;
1492
1472
  }, {
1493
1473
  code?: string | undefined;
1494
1474
  message?: string | undefined;
1495
1475
  }, FetchOptions["throw"] extends true ? true : false>>;
1496
1476
  } & {
1497
- deleteUser: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1477
+ deleteUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1498
1478
  callbackURL?: string | undefined;
1499
1479
  password?: string | undefined;
1500
1480
  token?: string | undefined;
1501
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1481
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1502
1482
  callbackURL?: string | undefined;
1503
1483
  password?: string | undefined;
1504
1484
  token?: string | undefined;
1505
1485
  } & {
1506
1486
  fetchOptions?: FetchOptions | undefined;
1507
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1487
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1508
1488
  success: boolean;
1509
1489
  message: string;
1510
1490
  }, {
@@ -1512,15 +1492,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1512
1492
  message?: string | undefined;
1513
1493
  }, FetchOptions["throw"] extends true ? true : false>>;
1514
1494
  } & {
1515
- requestPasswordReset: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1495
+ requestPasswordReset: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1516
1496
  email: string;
1517
1497
  redirectTo?: string | undefined;
1518
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1498
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1519
1499
  email: string;
1520
1500
  redirectTo?: string | undefined;
1521
1501
  } & {
1522
1502
  fetchOptions?: FetchOptions | undefined;
1523
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1503
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1524
1504
  status: boolean;
1525
1505
  message: string;
1526
1506
  }, {
@@ -1529,25 +1509,25 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1529
1509
  }, FetchOptions["throw"] extends true ? true : false>>;
1530
1510
  } & {
1531
1511
  resetPassword: {
1532
- ":token": <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1512
+ ":token": <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1533
1513
  callbackURL: string;
1534
1514
  }> & Record<string, any>, {
1535
1515
  token: string;
1536
- }>>(data_0: better_auth307.Prettify<{
1516
+ }>>(data_0: better_auth360.Prettify<{
1537
1517
  query: {
1538
1518
  callbackURL: string;
1539
1519
  };
1540
1520
  fetchOptions?: FetchOptions | undefined;
1541
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<never, {
1521
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<never, {
1542
1522
  code?: string | undefined;
1543
1523
  message?: string | undefined;
1544
1524
  }, FetchOptions["throw"] extends true ? true : false>>;
1545
1525
  };
1546
1526
  } & {
1547
- listSessions: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1527
+ listSessions: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1548
1528
  query?: Record<string, any> | undefined;
1549
1529
  fetchOptions?: FetchOptions | undefined;
1550
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<better_auth307.Prettify<{
1530
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<better_auth360.Prettify<{
1551
1531
  id: string;
1552
1532
  createdAt: Date;
1553
1533
  updatedAt: Date;
@@ -1561,40 +1541,40 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1561
1541
  message?: string | undefined;
1562
1542
  }, FetchOptions["throw"] extends true ? true : false>>;
1563
1543
  } & {
1564
- revokeSession: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1544
+ revokeSession: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1565
1545
  token: string;
1566
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1546
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1567
1547
  token: string;
1568
1548
  } & {
1569
1549
  fetchOptions?: FetchOptions | undefined;
1570
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1550
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1571
1551
  status: boolean;
1572
1552
  }, {
1573
1553
  code?: string | undefined;
1574
1554
  message?: string | undefined;
1575
1555
  }, FetchOptions["throw"] extends true ? true : false>>;
1576
1556
  } & {
1577
- revokeSessions: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1557
+ revokeSessions: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1578
1558
  query?: Record<string, any> | undefined;
1579
1559
  fetchOptions?: FetchOptions | undefined;
1580
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1560
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1581
1561
  status: boolean;
1582
1562
  }, {
1583
1563
  code?: string | undefined;
1584
1564
  message?: string | undefined;
1585
1565
  }, FetchOptions["throw"] extends true ? true : false>>;
1586
1566
  } & {
1587
- revokeOtherSessions: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1567
+ revokeOtherSessions: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1588
1568
  query?: Record<string, any> | undefined;
1589
1569
  fetchOptions?: FetchOptions | undefined;
1590
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1570
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1591
1571
  status: boolean;
1592
1572
  }, {
1593
1573
  code?: string | undefined;
1594
1574
  message?: string | undefined;
1595
1575
  }, FetchOptions["throw"] extends true ? true : false>>;
1596
1576
  } & {
1597
- linkSocial: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1577
+ linkSocial: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1598
1578
  provider: unknown;
1599
1579
  callbackURL?: string | undefined;
1600
1580
  idToken?: {
@@ -1609,7 +1589,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1609
1589
  errorCallbackURL?: string | undefined;
1610
1590
  disableRedirect?: boolean | undefined;
1611
1591
  additionalData?: Record<string, any> | undefined;
1612
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1592
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1613
1593
  provider: unknown;
1614
1594
  callbackURL?: string | undefined;
1615
1595
  idToken?: {
@@ -1626,7 +1606,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1626
1606
  additionalData?: Record<string, any> | undefined;
1627
1607
  } & {
1628
1608
  fetchOptions?: FetchOptions | undefined;
1629
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1609
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1630
1610
  url: string;
1631
1611
  redirect: boolean;
1632
1612
  }, {
@@ -1634,10 +1614,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1634
1614
  message?: string | undefined;
1635
1615
  }, FetchOptions["throw"] extends true ? true : false>>;
1636
1616
  } & {
1637
- listAccounts: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1617
+ listAccounts: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1638
1618
  query?: Record<string, any> | undefined;
1639
1619
  fetchOptions?: FetchOptions | undefined;
1640
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1620
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1641
1621
  id: string;
1642
1622
  providerId: string;
1643
1623
  createdAt: Date;
@@ -1651,16 +1631,16 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1651
1631
  }, FetchOptions["throw"] extends true ? true : false>>;
1652
1632
  } & {
1653
1633
  deleteUser: {
1654
- callback: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1634
+ callback: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1655
1635
  token: string;
1656
1636
  callbackURL?: string | undefined;
1657
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1637
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1658
1638
  query: {
1659
1639
  token: string;
1660
1640
  callbackURL?: string | undefined;
1661
1641
  };
1662
1642
  fetchOptions?: FetchOptions | undefined;
1663
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1643
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1664
1644
  success: boolean;
1665
1645
  message: string;
1666
1646
  }, {
@@ -1669,32 +1649,32 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1669
1649
  }, FetchOptions["throw"] extends true ? true : false>>;
1670
1650
  };
1671
1651
  } & {
1672
- unlinkAccount: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1652
+ unlinkAccount: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1673
1653
  providerId: string;
1674
1654
  accountId?: string | undefined;
1675
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1655
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1676
1656
  providerId: string;
1677
1657
  accountId?: string | undefined;
1678
1658
  } & {
1679
1659
  fetchOptions?: FetchOptions | undefined;
1680
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1660
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1681
1661
  status: boolean;
1682
1662
  }, {
1683
1663
  code?: string | undefined;
1684
1664
  message?: string | undefined;
1685
1665
  }, FetchOptions["throw"] extends true ? true : false>>;
1686
1666
  } & {
1687
- refreshToken: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1667
+ refreshToken: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1688
1668
  providerId: string;
1689
1669
  accountId?: string | undefined;
1690
1670
  userId?: string | undefined;
1691
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1671
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1692
1672
  providerId: string;
1693
1673
  accountId?: string | undefined;
1694
1674
  userId?: string | undefined;
1695
1675
  } & {
1696
1676
  fetchOptions?: FetchOptions | undefined;
1697
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1677
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1698
1678
  accessToken: string | undefined;
1699
1679
  refreshToken: string | undefined;
1700
1680
  accessTokenExpiresAt: Date | undefined;
@@ -1708,17 +1688,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1708
1688
  message?: string | undefined;
1709
1689
  }, FetchOptions["throw"] extends true ? true : false>>;
1710
1690
  } & {
1711
- getAccessToken: <FetchOptions extends better_auth307.ClientFetchOption<Partial<{
1691
+ getAccessToken: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1712
1692
  providerId: string;
1713
1693
  accountId?: string | undefined;
1714
1694
  userId?: string | undefined;
1715
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth307.Prettify<{
1695
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1716
1696
  providerId: string;
1717
1697
  accountId?: string | undefined;
1718
1698
  userId?: string | undefined;
1719
1699
  } & {
1720
1700
  fetchOptions?: FetchOptions | undefined;
1721
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1701
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1722
1702
  accessToken: string;
1723
1703
  accessTokenExpiresAt: Date | undefined;
1724
1704
  scopes: string[];
@@ -1728,31 +1708,31 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1728
1708
  message?: string | undefined;
1729
1709
  }, FetchOptions["throw"] extends true ? true : false>>;
1730
1710
  } & {
1731
- accountInfo: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1711
+ accountInfo: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1732
1712
  accountId?: string | undefined;
1733
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1713
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1734
1714
  query?: {
1735
1715
  accountId?: string | undefined;
1736
1716
  } | undefined;
1737
1717
  fetchOptions?: FetchOptions | undefined;
1738
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1739
- user: better_auth307.OAuth2UserInfo;
1718
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1719
+ user: better_auth360.OAuth2UserInfo;
1740
1720
  data: Record<string, any>;
1741
1721
  }, {
1742
1722
  code?: string | undefined;
1743
1723
  message?: string | undefined;
1744
1724
  }, FetchOptions["throw"] extends true ? true : false>>;
1745
1725
  } & {
1746
- getSession: <FetchOptions extends better_auth307.ClientFetchOption<never, Partial<{
1726
+ getSession: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1747
1727
  disableCookieCache?: unknown;
1748
1728
  disableRefresh?: unknown;
1749
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth307.Prettify<{
1729
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1750
1730
  query?: {
1751
1731
  disableCookieCache?: unknown;
1752
1732
  disableRefresh?: unknown;
1753
1733
  } | undefined;
1754
1734
  fetchOptions?: FetchOptions | undefined;
1755
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch179.BetterFetchResponse<{
1735
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1756
1736
  user: {
1757
1737
  id: string;
1758
1738
  createdAt: Date;
@@ -1765,7 +1745,6 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1765
1745
  role?: string | null | undefined;
1766
1746
  banReason?: string | null | undefined;
1767
1747
  banExpires?: Date | null | undefined;
1768
- isAnonymous: boolean | null | undefined;
1769
1748
  };
1770
1749
  session: {
1771
1750
  id: string;
@@ -1807,7 +1786,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1807
1786
  statusText: string;
1808
1787
  };
1809
1788
  } | {
1810
- data: jose1.JSONWebKeySet;
1789
+ data: jose6.JSONWebKeySet;
1811
1790
  error: null;
1812
1791
  }>;
1813
1792
  } & {
@@ -1849,7 +1828,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1849
1828
  organizationId: string;
1850
1829
  email: string;
1851
1830
  role: "admin" | "member" | "owner";
1852
- status: better_auth_client23.InvitationStatus;
1831
+ status: better_auth_client31.InvitationStatus;
1853
1832
  inviterId: string;
1854
1833
  expiresAt: Date;
1855
1834
  createdAt: Date;
@@ -1875,7 +1854,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1875
1854
  organizationId: string;
1876
1855
  email: string;
1877
1856
  role: "admin" | "member" | "owner";
1878
- status: better_auth_client23.InvitationStatus;
1857
+ status: better_auth_client31.InvitationStatus;
1879
1858
  inviterId: string;
1880
1859
  expiresAt: Date;
1881
1860
  createdAt: Date;
@@ -1906,7 +1885,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1906
1885
  permission: {
1907
1886
  readonly organization?: ("delete" | "update")[] | undefined;
1908
1887
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1909
- readonly invitation?: ("create" | "cancel")[] | undefined;
1888
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1910
1889
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1911
1890
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1912
1891
  };
@@ -1915,7 +1894,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1915
1894
  permissions: {
1916
1895
  readonly organization?: ("delete" | "update")[] | undefined;
1917
1896
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1918
- readonly invitation?: ("create" | "cancel")[] | undefined;
1897
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1919
1898
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1920
1899
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1921
1900
  };
@@ -1925,7 +1904,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1925
1904
  }) => boolean;
1926
1905
  };
1927
1906
  } & {
1928
- useSession: nanostores1.Atom<{
1907
+ useSession: nanostores9.Atom<{
1929
1908
  data: {
1930
1909
  user: {
1931
1910
  id: string;
@@ -1939,7 +1918,6 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1939
1918
  role?: string | null | undefined;
1940
1919
  banReason?: string | null | undefined;
1941
1920
  banExpires?: Date | null | undefined;
1942
- isAnonymous: boolean | null | undefined;
1943
1921
  };
1944
1922
  session: {
1945
1923
  id: string;
@@ -1954,24 +1932,24 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1954
1932
  activeOrganizationId?: string | null | undefined;
1955
1933
  };
1956
1934
  } | null;
1957
- error: _better_fetch_fetch179.BetterFetchError | null;
1935
+ error: _better_fetch_fetch185.BetterFetchError | null;
1958
1936
  isPending: boolean;
1959
1937
  }>;
1960
- $fetch: _better_fetch_fetch179.BetterFetch<{
1961
- plugins: (_better_fetch_fetch179.BetterFetchPlugin | {
1938
+ $fetch: _better_fetch_fetch185.BetterFetch<{
1939
+ plugins: (_better_fetch_fetch185.BetterFetchPlugin | {
1962
1940
  id: string;
1963
1941
  name: string;
1964
1942
  hooks: {
1965
- onSuccess(context: _better_fetch_fetch179.SuccessContext<any>): void;
1943
+ onSuccess(context: _better_fetch_fetch185.SuccessContext<any>): void;
1966
1944
  };
1967
1945
  } | {
1968
1946
  id: string;
1969
1947
  name: string;
1970
1948
  hooks: {
1971
- onSuccess: ((context: _better_fetch_fetch179.SuccessContext<any>) => Promise<void> | void) | undefined;
1972
- onError: ((context: _better_fetch_fetch179.ErrorContext) => Promise<void> | void) | undefined;
1973
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch179.RequestContext<T>) => Promise<_better_fetch_fetch179.RequestContext | void> | _better_fetch_fetch179.RequestContext | void) | undefined;
1974
- onResponse: ((context: _better_fetch_fetch179.ResponseContext) => Promise<Response | void | _better_fetch_fetch179.ResponseContext> | Response | _better_fetch_fetch179.ResponseContext | void) | undefined;
1949
+ onSuccess: ((context: _better_fetch_fetch185.SuccessContext<any>) => Promise<void> | void) | undefined;
1950
+ onError: ((context: _better_fetch_fetch185.ErrorContext) => Promise<void> | void) | undefined;
1951
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch185.RequestContext<T>) => Promise<_better_fetch_fetch185.RequestContext | void> | _better_fetch_fetch185.RequestContext | void) | undefined;
1952
+ onResponse: ((context: _better_fetch_fetch185.ResponseContext) => Promise<Response | void | _better_fetch_fetch185.ResponseContext> | Response | _better_fetch_fetch185.ResponseContext | void) | undefined;
1975
1953
  };
1976
1954
  })[];
1977
1955
  cache?: RequestCache | undefined;
@@ -1991,12 +1969,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1991
1969
  referrerPolicy?: ReferrerPolicy | undefined;
1992
1970
  signal?: (AbortSignal | null) | undefined;
1993
1971
  window?: null | undefined;
1994
- onRetry?: ((response: _better_fetch_fetch179.ResponseContext) => Promise<void> | void) | undefined;
1972
+ onRetry?: ((response: _better_fetch_fetch185.ResponseContext) => Promise<void> | void) | undefined;
1995
1973
  hookOptions?: {
1996
1974
  cloneResponse?: boolean;
1997
1975
  } | undefined;
1998
1976
  timeout?: number | undefined;
1999
- customFetchImpl: _better_fetch_fetch179.FetchEsque;
1977
+ customFetchImpl: _better_fetch_fetch185.FetchEsque;
2000
1978
  baseURL: string;
2001
1979
  throw?: boolean | undefined;
2002
1980
  auth?: ({
@@ -2016,17 +1994,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2016
1994
  params?: any;
2017
1995
  duplex?: "full" | "half" | undefined;
2018
1996
  jsonParser: (text: string) => Promise<any> | any;
2019
- retry?: _better_fetch_fetch179.RetryOptions | undefined;
1997
+ retry?: _better_fetch_fetch185.RetryOptions | undefined;
2020
1998
  retryAttempt?: number | undefined;
2021
- output?: (_better_fetch_fetch179.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2022
- errorSchema?: _better_fetch_fetch179.StandardSchemaV1 | undefined;
1999
+ output?: (_better_fetch_fetch185.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2000
+ errorSchema?: _better_fetch_fetch185.StandardSchemaV1 | undefined;
2023
2001
  disableValidation?: boolean | undefined;
2024
2002
  disableSignal?: boolean | undefined;
2025
2003
  }, unknown, unknown, {}>;
2026
2004
  $store: {
2027
2005
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
2028
2006
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
2029
- atoms: Record<string, nanostores1.WritableAtom<any>>;
2007
+ atoms: Record<string, nanostores9.WritableAtom<any>>;
2030
2008
  };
2031
2009
  $Infer: {
2032
2010
  Session: {
@@ -2042,7 +2020,6 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2042
2020
  role?: string | null | undefined;
2043
2021
  banReason?: string | null | undefined;
2044
2022
  banExpires?: Date | null | undefined;
2045
- isAnonymous: boolean | null | undefined;
2046
2023
  };
2047
2024
  session: {
2048
2025
  id: string;
@@ -2138,9 +2115,6 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2138
2115
  readonly OTP_EXPIRED: "OTP expired";
2139
2116
  readonly INVALID_OTP: "Invalid OTP";
2140
2117
  readonly TOO_MANY_ATTEMPTS: "Too many attempts";
2141
- readonly INVALID_EMAIL_FORMAT: "Email was not generated in a valid format";
2142
- readonly COULD_NOT_CREATE_SESSION: "Could not create session";
2143
- readonly ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY: "Anonymous users cannot sign in again anonymously";
2144
2118
  readonly USER_NOT_FOUND: "User not found";
2145
2119
  readonly FAILED_TO_CREATE_SESSION: "Failed to create session";
2146
2120
  readonly FAILED_TO_UPDATE_USER: "Failed to update user";