@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,9 +1,9 @@
1
- import { n as NeonAuthAdapterCoreAuthOptions, t as NeonAuthAdapterCore } from "./adapter-core-D1HVvYeG.mjs";
1
+ import { n as NeonAuthAdapterCoreAuthOptions, t as NeonAuthAdapterCore } from "./adapter-core-CtcS7ex8.mjs";
2
2
  import * as better_auth_client11 from "better-auth/client";
3
3
  import * as better_auth_client_plugins5 from "better-auth/client/plugins";
4
4
  import * as jose0 from "jose";
5
- import * as better_auth153 from "better-auth";
6
- import * as _better_fetch_fetch89 from "@better-fetch/fetch";
5
+ import * as better_auth151 from "better-auth";
6
+ import * as _better_fetch_fetch88 from "@better-fetch/fetch";
7
7
  import * as nanostores0 from "nanostores";
8
8
 
9
9
  //#region src/adapters/better-auth-react/better-auth-react-adapter.d.ts
@@ -16,7 +16,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
16
16
  constructor(betterAuthClientOptions: NeonAuthAdapterCoreAuthOptions);
17
17
  getBetterAuthInstance(): {
18
18
  useActiveOrganization: () => {
19
- data: better_auth153.Prettify<{
19
+ data: better_auth151.Prettify<{
20
20
  id: string;
21
21
  name: string;
22
22
  slug: string;
@@ -48,11 +48,11 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
48
48
  createdAt: Date;
49
49
  }[];
50
50
  }> | null;
51
- error: null | _better_fetch_fetch89.BetterFetchError;
51
+ error: null | _better_fetch_fetch88.BetterFetchError;
52
52
  isPending: boolean;
53
53
  isRefetching: boolean;
54
54
  refetch: (queryParams?: {
55
- query?: better_auth153.SessionQueryParams;
55
+ query?: better_auth151.SessionQueryParams;
56
56
  } | undefined) => Promise<void>;
57
57
  };
58
58
  useListOrganizations: () => {
@@ -64,11 +64,11 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
64
64
  logo?: string | null | undefined | undefined;
65
65
  metadata?: any;
66
66
  }[] | null;
67
- error: null | _better_fetch_fetch89.BetterFetchError;
67
+ error: null | _better_fetch_fetch88.BetterFetchError;
68
68
  isPending: boolean;
69
69
  isRefetching: boolean;
70
70
  refetch: (queryParams?: {
71
- query?: better_auth153.SessionQueryParams;
71
+ query?: better_auth151.SessionQueryParams;
72
72
  } | undefined) => Promise<void>;
73
73
  };
74
74
  useActiveMember: () => {
@@ -79,29 +79,29 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
79
79
  role: string;
80
80
  createdAt: Date;
81
81
  } | null;
82
- error: null | _better_fetch_fetch89.BetterFetchError;
82
+ error: null | _better_fetch_fetch88.BetterFetchError;
83
83
  isPending: boolean;
84
84
  isRefetching: boolean;
85
85
  refetch: (queryParams?: {
86
- query?: better_auth153.SessionQueryParams;
86
+ query?: better_auth151.SessionQueryParams;
87
87
  } | undefined) => Promise<void>;
88
88
  };
89
89
  useActiveMemberRole: () => {
90
90
  data: {
91
91
  role: string;
92
92
  } | null;
93
- error: null | _better_fetch_fetch89.BetterFetchError;
93
+ error: null | _better_fetch_fetch88.BetterFetchError;
94
94
  isPending: boolean;
95
95
  isRefetching: boolean;
96
96
  refetch: (queryParams?: {
97
- query?: better_auth153.SessionQueryParams;
97
+ query?: better_auth151.SessionQueryParams;
98
98
  } | undefined) => Promise<void>;
99
99
  };
100
100
  } & {
101
- token: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
101
+ token: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
102
102
  query?: Record<string, any> | undefined;
103
103
  fetchOptions?: FetchOptions | undefined;
104
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
104
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
105
105
  token: string;
106
106
  }, {
107
107
  code?: string | undefined;
@@ -109,15 +109,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
109
109
  }, FetchOptions["throw"] extends true ? true : false>>;
110
110
  } & {
111
111
  admin: {
112
- setRole: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
112
+ setRole: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
113
113
  userId: string;
114
114
  role: "user" | "admin" | ("user" | "admin")[];
115
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
115
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
116
116
  userId: string;
117
117
  role: "user" | "admin" | ("user" | "admin")[];
118
118
  } & {
119
119
  fetchOptions?: FetchOptions | undefined;
120
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
120
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
121
121
  user: better_auth_client_plugins5.UserWithRole;
122
122
  }, {
123
123
  code?: string | undefined;
@@ -126,14 +126,14 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
126
126
  };
127
127
  } & {
128
128
  admin: {
129
- getUser: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
129
+ getUser: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
130
130
  id: string;
131
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
131
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
132
132
  query: {
133
133
  id: string;
134
134
  };
135
135
  fetchOptions?: FetchOptions | undefined;
136
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
136
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
137
137
  id: string;
138
138
  createdAt: Date;
139
139
  updatedAt: Date;
@@ -148,13 +148,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
148
148
  };
149
149
  } & {
150
150
  admin: {
151
- createUser: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
151
+ createUser: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
152
152
  email: string;
153
153
  password: string;
154
154
  name: string;
155
155
  role?: "user" | "admin" | ("user" | "admin")[] | undefined;
156
156
  data?: Record<string, any> | undefined;
157
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
157
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
158
158
  email: string;
159
159
  password: string;
160
160
  name: string;
@@ -162,7 +162,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
162
162
  data?: Record<string, any> | undefined;
163
163
  } & {
164
164
  fetchOptions?: FetchOptions | undefined;
165
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
165
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
166
166
  user: better_auth_client_plugins5.UserWithRole;
167
167
  }, {
168
168
  code?: string | undefined;
@@ -171,22 +171,22 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
171
171
  };
172
172
  } & {
173
173
  admin: {
174
- updateUser: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
174
+ updateUser: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
175
175
  userId: unknown;
176
176
  data: Record<any, any>;
177
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
177
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
178
178
  userId: unknown;
179
179
  data: Record<any, any>;
180
180
  } & {
181
181
  fetchOptions?: FetchOptions | undefined;
182
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<better_auth_client_plugins5.UserWithRole, {
182
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<better_auth_client_plugins5.UserWithRole, {
183
183
  code?: string | undefined;
184
184
  message?: string | undefined;
185
185
  }, FetchOptions["throw"] extends true ? true : false>>;
186
186
  };
187
187
  } & {
188
188
  admin: {
189
- listUsers: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
189
+ listUsers: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
190
190
  searchValue?: string | undefined;
191
191
  searchField?: "email" | "name" | undefined;
192
192
  searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
@@ -197,7 +197,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
197
197
  filterField?: string | undefined;
198
198
  filterValue?: string | number | boolean | undefined;
199
199
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
200
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
200
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
201
201
  query: {
202
202
  searchValue?: string | undefined;
203
203
  searchField?: "email" | "name" | undefined;
@@ -211,7 +211,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
211
211
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
212
212
  };
213
213
  fetchOptions?: FetchOptions | undefined;
214
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<NonNullable<{
214
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<NonNullable<{
215
215
  users: better_auth_client_plugins5.UserWithRole[];
216
216
  total: number;
217
217
  limit: number | undefined;
@@ -226,13 +226,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
226
226
  };
227
227
  } & {
228
228
  admin: {
229
- listUserSessions: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
229
+ listUserSessions: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
230
230
  userId: unknown;
231
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
231
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
232
232
  userId: unknown;
233
233
  } & {
234
234
  fetchOptions?: FetchOptions | undefined;
235
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
235
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
236
236
  sessions: better_auth_client_plugins5.SessionWithImpersonatedBy[];
237
237
  }, {
238
238
  code?: string | undefined;
@@ -241,13 +241,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
241
241
  };
242
242
  } & {
243
243
  admin: {
244
- unbanUser: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
244
+ unbanUser: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
245
245
  userId: unknown;
246
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
246
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
247
247
  userId: unknown;
248
248
  } & {
249
249
  fetchOptions?: FetchOptions | undefined;
250
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
250
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
251
251
  user: {
252
252
  id: string;
253
253
  createdAt: Date;
@@ -264,17 +264,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
264
264
  };
265
265
  } & {
266
266
  admin: {
267
- banUser: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
267
+ banUser: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
268
268
  userId: unknown;
269
269
  banReason?: string | undefined;
270
270
  banExpiresIn?: number | undefined;
271
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
271
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
272
272
  userId: unknown;
273
273
  banReason?: string | undefined;
274
274
  banExpiresIn?: number | undefined;
275
275
  } & {
276
276
  fetchOptions?: FetchOptions | undefined;
277
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
277
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
278
278
  user: {
279
279
  id: string;
280
280
  createdAt: Date;
@@ -291,13 +291,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
291
291
  };
292
292
  } & {
293
293
  admin: {
294
- impersonateUser: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
294
+ impersonateUser: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
295
295
  userId: unknown;
296
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
296
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
297
297
  userId: unknown;
298
298
  } & {
299
299
  fetchOptions?: FetchOptions | undefined;
300
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
300
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
301
301
  session: {
302
302
  id: string;
303
303
  createdAt: Date;
@@ -316,12 +316,12 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
316
316
  };
317
317
  } & {
318
318
  admin: {
319
- stopImpersonating: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
319
+ stopImpersonating: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
320
320
  query?: Record<string, any> | undefined;
321
321
  fetchOptions?: FetchOptions | undefined;
322
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
323
- session: better_auth153.Session & Record<string, any>;
324
- user: better_auth153.User & Record<string, any>;
322
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
323
+ session: better_auth151.Session & Record<string, any>;
324
+ user: better_auth151.User & Record<string, any>;
325
325
  }, {
326
326
  code?: string | undefined;
327
327
  message?: string | undefined;
@@ -329,13 +329,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
329
329
  };
330
330
  } & {
331
331
  admin: {
332
- revokeUserSession: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
332
+ revokeUserSession: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
333
333
  sessionToken: string;
334
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
334
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
335
335
  sessionToken: string;
336
336
  } & {
337
337
  fetchOptions?: FetchOptions | undefined;
338
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
338
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
339
339
  success: boolean;
340
340
  }, {
341
341
  code?: string | undefined;
@@ -344,13 +344,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
344
344
  };
345
345
  } & {
346
346
  admin: {
347
- revokeUserSessions: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
347
+ revokeUserSessions: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
348
348
  userId: unknown;
349
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
349
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
350
350
  userId: unknown;
351
351
  } & {
352
352
  fetchOptions?: FetchOptions | undefined;
353
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
353
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
354
354
  success: boolean;
355
355
  }, {
356
356
  code?: string | undefined;
@@ -359,13 +359,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
359
359
  };
360
360
  } & {
361
361
  admin: {
362
- removeUser: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
362
+ removeUser: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
363
363
  userId: unknown;
364
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
364
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
365
365
  userId: unknown;
366
366
  } & {
367
367
  fetchOptions?: FetchOptions | undefined;
368
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
368
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
369
369
  success: boolean;
370
370
  }, {
371
371
  code?: string | undefined;
@@ -374,15 +374,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
374
374
  };
375
375
  } & {
376
376
  admin: {
377
- setUserPassword: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
377
+ setUserPassword: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
378
378
  newPassword: string;
379
379
  userId: unknown;
380
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
380
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
381
381
  newPassword: string;
382
382
  userId: unknown;
383
383
  } & {
384
384
  fetchOptions?: FetchOptions | undefined;
385
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
385
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
386
386
  status: boolean;
387
387
  }, {
388
388
  code?: string | undefined;
@@ -391,7 +391,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
391
391
  };
392
392
  } & {
393
393
  admin: {
394
- hasPermission: <FetchOptions extends better_auth153.ClientFetchOption<Partial<({
394
+ hasPermission: <FetchOptions extends better_auth151.ClientFetchOption<Partial<({
395
395
  permission: {
396
396
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
397
397
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -406,7 +406,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
406
406
  }) & {
407
407
  userId?: string | undefined;
408
408
  role?: "user" | "admin" | undefined;
409
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<(({
409
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<(({
410
410
  permission: {
411
411
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
412
412
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -423,7 +423,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
423
423
  role?: "user" | "admin" | undefined;
424
424
  }) & {
425
425
  fetchOptions?: FetchOptions | undefined;
426
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
426
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
427
427
  error: null;
428
428
  success: boolean;
429
429
  }, {
@@ -433,14 +433,14 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
433
433
  };
434
434
  } & {
435
435
  organization: {
436
- create: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
436
+ create: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
437
437
  name: string;
438
438
  slug: string;
439
439
  userId?: string | undefined;
440
440
  logo?: string | undefined;
441
441
  metadata?: Record<string, any> | undefined;
442
442
  keepCurrentActiveOrganization?: boolean | undefined;
443
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
443
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
444
444
  name: string;
445
445
  slug: string;
446
446
  userId?: string | undefined;
@@ -449,7 +449,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
449
449
  keepCurrentActiveOrganization?: boolean | undefined;
450
450
  } & {
451
451
  fetchOptions?: FetchOptions | undefined;
452
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
452
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
453
453
  id: string;
454
454
  name: string;
455
455
  slug: string;
@@ -472,7 +472,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
472
472
  };
473
473
  } & {
474
474
  organization: {
475
- update: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
475
+ update: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
476
476
  data: {
477
477
  name?: string | undefined;
478
478
  slug?: string | undefined;
@@ -480,7 +480,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
480
480
  metadata?: Record<string, any> | undefined;
481
481
  } & Partial<{}>;
482
482
  organizationId?: string | undefined;
483
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
483
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
484
484
  data: {
485
485
  name?: string | undefined;
486
486
  slug?: string | undefined;
@@ -490,7 +490,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
490
490
  organizationId?: string | undefined;
491
491
  } & {
492
492
  fetchOptions?: FetchOptions | undefined;
493
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
493
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
494
494
  id: string;
495
495
  name: string;
496
496
  slug: string;
@@ -506,13 +506,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
506
506
  };
507
507
  } & {
508
508
  organization: {
509
- delete: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
509
+ delete: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
510
510
  organizationId: string;
511
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
511
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
512
512
  organizationId: string;
513
513
  } & {
514
514
  fetchOptions?: FetchOptions | undefined;
515
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
515
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
516
516
  id: string;
517
517
  name: string;
518
518
  slug: string;
@@ -526,15 +526,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
526
526
  };
527
527
  } & {
528
528
  organization: {
529
- setActive: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
529
+ setActive: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
530
530
  organizationId?: string | null | undefined;
531
531
  organizationSlug?: string | undefined;
532
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
532
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
533
533
  organizationId?: string | null | undefined;
534
534
  organizationSlug?: string | undefined;
535
535
  } & {
536
536
  fetchOptions?: FetchOptions | undefined;
537
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
537
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
538
538
  members: {
539
539
  id: string;
540
540
  organizationId: string;
@@ -572,18 +572,18 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
572
572
  };
573
573
  } & {
574
574
  organization: {
575
- getFullOrganization: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
575
+ getFullOrganization: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
576
576
  organizationId?: string | undefined;
577
577
  organizationSlug?: string | undefined;
578
578
  membersLimit?: string | number | undefined;
579
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
579
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
580
580
  query?: {
581
581
  organizationId?: string | undefined;
582
582
  organizationSlug?: string | undefined;
583
583
  membersLimit?: string | number | undefined;
584
584
  } | undefined;
585
585
  fetchOptions?: FetchOptions | undefined;
586
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
586
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
587
587
  members: {
588
588
  id: string;
589
589
  organizationId: string;
@@ -621,10 +621,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
621
621
  };
622
622
  } & {
623
623
  organization: {
624
- list: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
624
+ list: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
625
625
  query?: Record<string, any> | undefined;
626
626
  fetchOptions?: FetchOptions | undefined;
627
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
627
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
628
628
  id: string;
629
629
  name: string;
630
630
  slug: string;
@@ -638,19 +638,19 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
638
638
  };
639
639
  } & {
640
640
  organization: {
641
- inviteMember: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
641
+ inviteMember: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
642
642
  email: string;
643
643
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
644
644
  organizationId?: string | undefined;
645
645
  resend?: boolean | undefined;
646
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
646
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
647
647
  email: string;
648
648
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
649
649
  organizationId?: string | undefined;
650
650
  resend?: boolean | undefined;
651
651
  } & {
652
652
  fetchOptions?: FetchOptions | undefined;
653
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
653
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
654
654
  id: string;
655
655
  organizationId: string;
656
656
  email: string;
@@ -666,13 +666,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
666
666
  };
667
667
  } & {
668
668
  organization: {
669
- cancelInvitation: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
669
+ cancelInvitation: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
670
670
  invitationId: string;
671
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
671
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
672
672
  invitationId: string;
673
673
  } & {
674
674
  fetchOptions?: FetchOptions | undefined;
675
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
675
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
676
676
  id: string;
677
677
  organizationId: string;
678
678
  email: string;
@@ -688,13 +688,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
688
688
  };
689
689
  } & {
690
690
  organization: {
691
- acceptInvitation: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
691
+ acceptInvitation: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
692
692
  invitationId: string;
693
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
693
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
694
694
  invitationId: string;
695
695
  } & {
696
696
  fetchOptions?: FetchOptions | undefined;
697
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
697
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
698
698
  invitation: {
699
699
  id: string;
700
700
  organizationId: string;
@@ -719,14 +719,14 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
719
719
  };
720
720
  } & {
721
721
  organization: {
722
- getInvitation: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
722
+ getInvitation: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
723
723
  id: string;
724
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
724
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
725
725
  query: {
726
726
  id: string;
727
727
  };
728
728
  fetchOptions?: FetchOptions | undefined;
729
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<NonNullable<{
729
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<NonNullable<{
730
730
  id: string;
731
731
  organizationId: string;
732
732
  email: string;
@@ -746,13 +746,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
746
746
  };
747
747
  } & {
748
748
  organization: {
749
- rejectInvitation: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
749
+ rejectInvitation: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
750
750
  invitationId: string;
751
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
751
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
752
752
  invitationId: string;
753
753
  } & {
754
754
  fetchOptions?: FetchOptions | undefined;
755
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
755
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
756
756
  invitation: {
757
757
  id: string;
758
758
  organizationId: string;
@@ -771,14 +771,14 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
771
771
  };
772
772
  } & {
773
773
  organization: {
774
- listInvitations: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
774
+ listInvitations: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
775
775
  organizationId?: string | undefined;
776
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
776
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
777
777
  query?: {
778
778
  organizationId?: string | undefined;
779
779
  } | undefined;
780
780
  fetchOptions?: FetchOptions | undefined;
781
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
781
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
782
782
  id: string;
783
783
  organizationId: string;
784
784
  email: string;
@@ -794,10 +794,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
794
794
  };
795
795
  } & {
796
796
  organization: {
797
- getActiveMember: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
797
+ getActiveMember: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
798
798
  query?: Record<string, any> | undefined;
799
799
  fetchOptions?: FetchOptions | undefined;
800
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<Omit<{
800
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<Omit<{
801
801
  id: string;
802
802
  organizationId: string;
803
803
  role: "admin" | "member" | "owner";
@@ -810,7 +810,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
810
810
  image?: string | undefined;
811
811
  };
812
812
  } & {
813
- user: better_auth153.User;
813
+ user: better_auth151.User;
814
814
  }, "user"> & {
815
815
  user: {
816
816
  id: string;
@@ -825,13 +825,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
825
825
  };
826
826
  } & {
827
827
  organization: {
828
- checkSlug: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
828
+ checkSlug: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
829
829
  slug: string;
830
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
830
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
831
831
  slug: string;
832
832
  } & {
833
833
  fetchOptions?: FetchOptions | undefined;
834
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
834
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
835
835
  status: boolean;
836
836
  }, {
837
837
  code?: string | undefined;
@@ -840,15 +840,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
840
840
  };
841
841
  } & {
842
842
  organization: {
843
- removeMember: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
843
+ removeMember: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
844
844
  memberIdOrEmail: string;
845
845
  organizationId?: string | undefined;
846
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
846
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
847
847
  memberIdOrEmail: string;
848
848
  organizationId?: string | undefined;
849
849
  } & {
850
850
  fetchOptions?: FetchOptions | undefined;
851
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
851
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
852
852
  member: {
853
853
  id: string;
854
854
  organizationId: string;
@@ -869,17 +869,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
869
869
  };
870
870
  } & {
871
871
  organization: {
872
- updateMemberRole: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
873
- role: better_auth153.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth153.LiteralString[];
872
+ updateMemberRole: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
873
+ role: better_auth151.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth151.LiteralString[];
874
874
  memberId: string;
875
875
  organizationId?: string | undefined;
876
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
877
- role: better_auth153.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth153.LiteralString[];
876
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
877
+ role: better_auth151.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth151.LiteralString[];
878
878
  memberId: string;
879
879
  organizationId?: string | undefined;
880
880
  } & {
881
881
  fetchOptions?: FetchOptions | undefined;
882
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
882
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
883
883
  id: string;
884
884
  organizationId: string;
885
885
  role: "member" | "admin" | "owner";
@@ -898,13 +898,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
898
898
  };
899
899
  } & {
900
900
  organization: {
901
- leave: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
901
+ leave: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
902
902
  organizationId: string;
903
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
903
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
904
904
  organizationId: string;
905
905
  } & {
906
906
  fetchOptions?: FetchOptions | undefined;
907
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<NonNullable<Omit<{
907
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<NonNullable<Omit<{
908
908
  id: string;
909
909
  organizationId: string;
910
910
  role: "admin" | "member" | "owner";
@@ -917,7 +917,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
917
917
  image?: string | undefined;
918
918
  };
919
919
  } & {
920
- user: better_auth153.User;
920
+ user: better_auth151.User;
921
921
  }, "user"> & {
922
922
  user: {
923
923
  id: string;
@@ -932,14 +932,14 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
932
932
  };
933
933
  } & {
934
934
  organization: {
935
- listUserInvitations: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
935
+ listUserInvitations: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
936
936
  email?: string | undefined;
937
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
937
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
938
938
  query?: {
939
939
  email?: string | undefined;
940
940
  } | undefined;
941
941
  fetchOptions?: FetchOptions | undefined;
942
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<(Omit<{
942
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<(Omit<{
943
943
  id: string;
944
944
  organizationId: string;
945
945
  email: string;
@@ -966,7 +966,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
966
966
  };
967
967
  } & {
968
968
  organization: {
969
- listMembers: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
969
+ listMembers: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
970
970
  limit?: string | number | undefined;
971
971
  offset?: string | number | undefined;
972
972
  sortBy?: string | undefined;
@@ -976,7 +976,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
976
976
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
977
977
  organizationId?: string | undefined;
978
978
  organizationSlug?: string | undefined;
979
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
979
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
980
980
  query?: {
981
981
  limit?: string | number | undefined;
982
982
  offset?: string | number | undefined;
@@ -989,7 +989,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
989
989
  organizationSlug?: string | undefined;
990
990
  } | undefined;
991
991
  fetchOptions?: FetchOptions | undefined;
992
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
992
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
993
993
  members: ({
994
994
  id: string;
995
995
  organizationId: string;
@@ -1018,18 +1018,18 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1018
1018
  };
1019
1019
  } & {
1020
1020
  organization: {
1021
- getActiveMemberRole: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
1021
+ getActiveMemberRole: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
1022
1022
  userId?: string | undefined;
1023
1023
  organizationId?: string | undefined;
1024
1024
  organizationSlug?: string | undefined;
1025
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1025
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1026
1026
  query?: {
1027
1027
  userId?: string | undefined;
1028
1028
  organizationId?: string | undefined;
1029
1029
  organizationSlug?: string | undefined;
1030
1030
  } | undefined;
1031
1031
  fetchOptions?: FetchOptions | undefined;
1032
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1032
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1033
1033
  role: "admin" | "member" | "owner";
1034
1034
  }, {
1035
1035
  code?: string | undefined;
@@ -1038,11 +1038,11 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1038
1038
  };
1039
1039
  } & {
1040
1040
  organization: {
1041
- hasPermission: <FetchOptions extends better_auth153.ClientFetchOption<Partial<({
1041
+ hasPermission: <FetchOptions extends better_auth151.ClientFetchOption<Partial<({
1042
1042
  permission: {
1043
1043
  readonly organization?: ("delete" | "update")[] | undefined;
1044
1044
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1045
- readonly invitation?: ("create" | "cancel")[] | undefined;
1045
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1046
1046
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1047
1047
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1048
1048
  };
@@ -1051,18 +1051,18 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1051
1051
  permissions: {
1052
1052
  readonly organization?: ("delete" | "update")[] | undefined;
1053
1053
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1054
- readonly invitation?: ("create" | "cancel")[] | undefined;
1054
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1055
1055
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1056
1056
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1057
1057
  };
1058
1058
  permission?: never | undefined;
1059
1059
  }) & {
1060
1060
  organizationId?: string | undefined;
1061
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<(({
1061
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<(({
1062
1062
  permission: {
1063
1063
  readonly organization?: ("delete" | "update")[] | undefined;
1064
1064
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1065
- readonly invitation?: ("create" | "cancel")[] | undefined;
1065
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1066
1066
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1067
1067
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1068
1068
  };
@@ -1071,7 +1071,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1071
1071
  permissions: {
1072
1072
  readonly organization?: ("delete" | "update")[] | undefined;
1073
1073
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1074
- readonly invitation?: ("create" | "cancel")[] | undefined;
1074
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1075
1075
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1076
1076
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1077
1077
  };
@@ -1080,7 +1080,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1080
1080
  organizationId?: string | undefined;
1081
1081
  }) & {
1082
1082
  fetchOptions?: FetchOptions | undefined;
1083
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1083
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1084
1084
  error: null;
1085
1085
  success: boolean;
1086
1086
  }, {
@@ -1090,15 +1090,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1090
1090
  };
1091
1091
  } & {
1092
1092
  emailOtp: {
1093
- sendVerificationOtp: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1093
+ sendVerificationOtp: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1094
1094
  email: string;
1095
1095
  type: "sign-in" | "email-verification" | "forget-password";
1096
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1096
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1097
1097
  email: string;
1098
1098
  type: "sign-in" | "email-verification" | "forget-password";
1099
1099
  } & {
1100
1100
  fetchOptions?: FetchOptions | undefined;
1101
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1101
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1102
1102
  success: boolean;
1103
1103
  }, {
1104
1104
  code?: string | undefined;
@@ -1107,17 +1107,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1107
1107
  };
1108
1108
  } & {
1109
1109
  emailOtp: {
1110
- checkVerificationOtp: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1110
+ checkVerificationOtp: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1111
1111
  email: string;
1112
1112
  type: "sign-in" | "email-verification" | "forget-password";
1113
1113
  otp: string;
1114
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1114
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1115
1115
  email: string;
1116
1116
  type: "sign-in" | "email-verification" | "forget-password";
1117
1117
  otp: string;
1118
1118
  } & {
1119
1119
  fetchOptions?: FetchOptions | undefined;
1120
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1120
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1121
1121
  success: boolean;
1122
1122
  }, {
1123
1123
  code?: string | undefined;
@@ -1126,15 +1126,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1126
1126
  };
1127
1127
  } & {
1128
1128
  emailOtp: {
1129
- verifyEmail: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1129
+ verifyEmail: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1130
1130
  email: string;
1131
1131
  otp: string;
1132
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1132
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1133
1133
  email: string;
1134
1134
  otp: string;
1135
1135
  } & {
1136
1136
  fetchOptions?: FetchOptions | undefined;
1137
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<NonNullable<{
1137
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<NonNullable<{
1138
1138
  status: boolean;
1139
1139
  token: string;
1140
1140
  user: {
@@ -1165,15 +1165,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1165
1165
  };
1166
1166
  } & {
1167
1167
  signIn: {
1168
- emailOtp: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1168
+ emailOtp: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1169
1169
  email: string;
1170
1170
  otp: string;
1171
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1171
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1172
1172
  email: string;
1173
1173
  otp: string;
1174
1174
  } & {
1175
1175
  fetchOptions?: FetchOptions | undefined;
1176
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1176
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1177
1177
  token: string;
1178
1178
  user: {
1179
1179
  id: string;
@@ -1191,13 +1191,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1191
1191
  };
1192
1192
  } & {
1193
1193
  forgetPassword: {
1194
- emailOtp: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1194
+ emailOtp: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1195
1195
  email: string;
1196
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1196
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1197
1197
  email: string;
1198
1198
  } & {
1199
1199
  fetchOptions?: FetchOptions | undefined;
1200
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1200
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1201
1201
  success: boolean;
1202
1202
  }, {
1203
1203
  code?: string | undefined;
@@ -1206,17 +1206,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1206
1206
  };
1207
1207
  } & {
1208
1208
  emailOtp: {
1209
- resetPassword: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1209
+ resetPassword: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1210
1210
  email: string;
1211
1211
  otp: string;
1212
1212
  password: string;
1213
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1213
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1214
1214
  email: string;
1215
1215
  otp: string;
1216
1216
  password: string;
1217
1217
  } & {
1218
1218
  fetchOptions?: FetchOptions | undefined;
1219
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1219
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1220
1220
  success: boolean;
1221
1221
  }, {
1222
1222
  code?: string | undefined;
@@ -1225,27 +1225,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1225
1225
  };
1226
1226
  } & {
1227
1227
  signIn: {
1228
- anonymous: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1229
- query?: Record<string, any> | undefined;
1230
- fetchOptions?: FetchOptions | undefined;
1231
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1232
- token: string;
1233
- user: {
1234
- id: string;
1235
- email: string;
1236
- emailVerified: boolean;
1237
- name: string;
1238
- createdAt: Date;
1239
- updatedAt: Date;
1240
- };
1241
- }, {
1242
- code?: string | undefined;
1243
- message?: string | undefined;
1244
- }, FetchOptions["throw"] extends true ? true : false>>;
1245
- };
1246
- } & {
1247
- signIn: {
1248
- social: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1228
+ social: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1249
1229
  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";
1250
1230
  callbackURL?: string | undefined;
1251
1231
  newUserCallbackURL?: string | undefined;
@@ -1262,7 +1242,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1262
1242
  requestSignUp?: boolean | undefined;
1263
1243
  loginHint?: string | undefined;
1264
1244
  additionalData?: Record<string, any> | undefined;
1265
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1245
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1266
1246
  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";
1267
1247
  callbackURL?: string | undefined;
1268
1248
  newUserCallbackURL?: string | undefined;
@@ -1281,7 +1261,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1281
1261
  additionalData?: Record<string, any> | undefined;
1282
1262
  } & {
1283
1263
  fetchOptions?: FetchOptions | undefined;
1284
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<NonNullable<{
1264
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<NonNullable<{
1285
1265
  redirect: boolean;
1286
1266
  url: string;
1287
1267
  } | {
@@ -1303,10 +1283,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1303
1283
  }, FetchOptions["throw"] extends true ? true : false>>;
1304
1284
  };
1305
1285
  } & {
1306
- signOut: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1286
+ signOut: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1307
1287
  query?: Record<string, any> | undefined;
1308
1288
  fetchOptions?: FetchOptions | undefined;
1309
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1289
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1310
1290
  success: boolean;
1311
1291
  }, {
1312
1292
  code?: string | undefined;
@@ -1314,21 +1294,21 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1314
1294
  }, FetchOptions["throw"] extends true ? true : false>>;
1315
1295
  } & {
1316
1296
  signUp: {
1317
- email: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1297
+ email: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1318
1298
  name: string;
1319
1299
  email: string;
1320
1300
  password: string;
1321
1301
  image?: string | undefined;
1322
1302
  callbackURL?: string | undefined;
1323
1303
  rememberMe?: boolean | undefined;
1324
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1304
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1325
1305
  email: string;
1326
1306
  name: string;
1327
1307
  password: string;
1328
1308
  image?: string | undefined;
1329
1309
  callbackURL?: string | undefined;
1330
1310
  fetchOptions?: FetchOptions | undefined;
1331
- } & {} & {} & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<NonNullable<{
1311
+ } & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<NonNullable<{
1332
1312
  token: null;
1333
1313
  user: {
1334
1314
  id: string;
@@ -1357,19 +1337,19 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1357
1337
  };
1358
1338
  } & {
1359
1339
  signIn: {
1360
- email: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1340
+ email: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1361
1341
  email: string;
1362
1342
  password: string;
1363
1343
  callbackURL?: string | undefined;
1364
1344
  rememberMe?: boolean | undefined;
1365
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1345
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1366
1346
  email: string;
1367
1347
  password: string;
1368
1348
  callbackURL?: string | undefined;
1369
1349
  rememberMe?: boolean | undefined;
1370
1350
  } & {
1371
1351
  fetchOptions?: FetchOptions | undefined;
1372
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1352
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1373
1353
  redirect: boolean;
1374
1354
  token: string;
1375
1355
  url?: string | undefined;
@@ -1388,80 +1368,80 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1388
1368
  }, FetchOptions["throw"] extends true ? true : false>>;
1389
1369
  };
1390
1370
  } & {
1391
- resetPassword: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1371
+ resetPassword: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1392
1372
  newPassword: string;
1393
1373
  token?: string | undefined;
1394
1374
  }> & Record<string, any>, Partial<{
1395
1375
  token?: string | undefined;
1396
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1376
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1397
1377
  newPassword: string;
1398
1378
  token?: string | undefined;
1399
1379
  } & {
1400
1380
  fetchOptions?: FetchOptions | undefined;
1401
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1381
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1402
1382
  status: boolean;
1403
1383
  }, {
1404
1384
  code?: string | undefined;
1405
1385
  message?: string | undefined;
1406
1386
  }, FetchOptions["throw"] extends true ? true : false>>;
1407
1387
  } & {
1408
- verifyEmail: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
1388
+ verifyEmail: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
1409
1389
  token: string;
1410
1390
  callbackURL?: string | undefined;
1411
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1391
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1412
1392
  query: {
1413
1393
  token: string;
1414
1394
  callbackURL?: string | undefined;
1415
1395
  };
1416
1396
  fetchOptions?: FetchOptions | undefined;
1417
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<NonNullable<void | {
1397
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<NonNullable<void | {
1418
1398
  status: boolean;
1419
1399
  }>, {
1420
1400
  code?: string | undefined;
1421
1401
  message?: string | undefined;
1422
1402
  }, FetchOptions["throw"] extends true ? true : false>>;
1423
1403
  } & {
1424
- sendVerificationEmail: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1404
+ sendVerificationEmail: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1425
1405
  email: string;
1426
1406
  callbackURL?: string | undefined;
1427
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1407
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1428
1408
  email: string;
1429
1409
  callbackURL?: string | undefined;
1430
1410
  } & {
1431
1411
  fetchOptions?: FetchOptions | undefined;
1432
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1412
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1433
1413
  status: boolean;
1434
1414
  }, {
1435
1415
  code?: string | undefined;
1436
1416
  message?: string | undefined;
1437
1417
  }, FetchOptions["throw"] extends true ? true : false>>;
1438
1418
  } & {
1439
- changeEmail: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1419
+ changeEmail: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1440
1420
  newEmail: string;
1441
1421
  callbackURL?: string | undefined;
1442
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1422
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1443
1423
  newEmail: string;
1444
1424
  callbackURL?: string | undefined;
1445
1425
  } & {
1446
1426
  fetchOptions?: FetchOptions | undefined;
1447
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1427
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1448
1428
  status: boolean;
1449
1429
  }, {
1450
1430
  code?: string | undefined;
1451
1431
  message?: string | undefined;
1452
1432
  }, FetchOptions["throw"] extends true ? true : false>>;
1453
1433
  } & {
1454
- changePassword: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1434
+ changePassword: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1455
1435
  newPassword: string;
1456
1436
  currentPassword: string;
1457
1437
  revokeOtherSessions?: boolean | undefined;
1458
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1438
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1459
1439
  newPassword: string;
1460
1440
  currentPassword: string;
1461
1441
  revokeOtherSessions?: boolean | undefined;
1462
1442
  } & {
1463
1443
  fetchOptions?: FetchOptions | undefined;
1464
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1444
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1465
1445
  token: string | null;
1466
1446
  user: {
1467
1447
  id: string;
@@ -1477,31 +1457,31 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1477
1457
  message?: string | undefined;
1478
1458
  }, FetchOptions["throw"] extends true ? true : false>>;
1479
1459
  } & {
1480
- updateUser: <FetchOptions extends better_auth153.ClientFetchOption<Partial<Partial<{}> & {
1460
+ updateUser: <FetchOptions extends better_auth151.ClientFetchOption<Partial<Partial<{}> & {
1481
1461
  name?: string | undefined;
1482
1462
  image?: string | undefined | null;
1483
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1463
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1484
1464
  image?: (string | null) | undefined;
1485
1465
  name?: string | undefined;
1486
1466
  fetchOptions?: FetchOptions | undefined;
1487
- } & Partial<{} & {} & {} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1467
+ } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1488
1468
  status: boolean;
1489
1469
  }, {
1490
1470
  code?: string | undefined;
1491
1471
  message?: string | undefined;
1492
1472
  }, FetchOptions["throw"] extends true ? true : false>>;
1493
1473
  } & {
1494
- deleteUser: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1474
+ deleteUser: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1495
1475
  callbackURL?: string | undefined;
1496
1476
  password?: string | undefined;
1497
1477
  token?: string | undefined;
1498
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1478
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1499
1479
  callbackURL?: string | undefined;
1500
1480
  password?: string | undefined;
1501
1481
  token?: string | undefined;
1502
1482
  } & {
1503
1483
  fetchOptions?: FetchOptions | undefined;
1504
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1484
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1505
1485
  success: boolean;
1506
1486
  message: string;
1507
1487
  }, {
@@ -1509,15 +1489,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1509
1489
  message?: string | undefined;
1510
1490
  }, FetchOptions["throw"] extends true ? true : false>>;
1511
1491
  } & {
1512
- requestPasswordReset: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1492
+ requestPasswordReset: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1513
1493
  email: string;
1514
1494
  redirectTo?: string | undefined;
1515
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1495
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1516
1496
  email: string;
1517
1497
  redirectTo?: string | undefined;
1518
1498
  } & {
1519
1499
  fetchOptions?: FetchOptions | undefined;
1520
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1500
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1521
1501
  status: boolean;
1522
1502
  message: string;
1523
1503
  }, {
@@ -1526,25 +1506,25 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1526
1506
  }, FetchOptions["throw"] extends true ? true : false>>;
1527
1507
  } & {
1528
1508
  resetPassword: {
1529
- ":token": <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
1509
+ ":token": <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
1530
1510
  callbackURL: string;
1531
1511
  }> & Record<string, any>, {
1532
1512
  token: string;
1533
- }>>(data_0: better_auth153.Prettify<{
1513
+ }>>(data_0: better_auth151.Prettify<{
1534
1514
  query: {
1535
1515
  callbackURL: string;
1536
1516
  };
1537
1517
  fetchOptions?: FetchOptions | undefined;
1538
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<never, {
1518
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<never, {
1539
1519
  code?: string | undefined;
1540
1520
  message?: string | undefined;
1541
1521
  }, FetchOptions["throw"] extends true ? true : false>>;
1542
1522
  };
1543
1523
  } & {
1544
- listSessions: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1524
+ listSessions: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1545
1525
  query?: Record<string, any> | undefined;
1546
1526
  fetchOptions?: FetchOptions | undefined;
1547
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<better_auth153.Prettify<{
1527
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<better_auth151.Prettify<{
1548
1528
  id: string;
1549
1529
  createdAt: Date;
1550
1530
  updatedAt: Date;
@@ -1558,40 +1538,40 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1558
1538
  message?: string | undefined;
1559
1539
  }, FetchOptions["throw"] extends true ? true : false>>;
1560
1540
  } & {
1561
- revokeSession: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1541
+ revokeSession: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1562
1542
  token: string;
1563
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1543
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1564
1544
  token: string;
1565
1545
  } & {
1566
1546
  fetchOptions?: FetchOptions | undefined;
1567
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1547
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1568
1548
  status: boolean;
1569
1549
  }, {
1570
1550
  code?: string | undefined;
1571
1551
  message?: string | undefined;
1572
1552
  }, FetchOptions["throw"] extends true ? true : false>>;
1573
1553
  } & {
1574
- revokeSessions: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1554
+ revokeSessions: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1575
1555
  query?: Record<string, any> | undefined;
1576
1556
  fetchOptions?: FetchOptions | undefined;
1577
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1557
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1578
1558
  status: boolean;
1579
1559
  }, {
1580
1560
  code?: string | undefined;
1581
1561
  message?: string | undefined;
1582
1562
  }, FetchOptions["throw"] extends true ? true : false>>;
1583
1563
  } & {
1584
- revokeOtherSessions: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1564
+ revokeOtherSessions: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1585
1565
  query?: Record<string, any> | undefined;
1586
1566
  fetchOptions?: FetchOptions | undefined;
1587
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1567
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1588
1568
  status: boolean;
1589
1569
  }, {
1590
1570
  code?: string | undefined;
1591
1571
  message?: string | undefined;
1592
1572
  }, FetchOptions["throw"] extends true ? true : false>>;
1593
1573
  } & {
1594
- linkSocial: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1574
+ linkSocial: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1595
1575
  provider: unknown;
1596
1576
  callbackURL?: string | undefined;
1597
1577
  idToken?: {
@@ -1606,7 +1586,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1606
1586
  errorCallbackURL?: string | undefined;
1607
1587
  disableRedirect?: boolean | undefined;
1608
1588
  additionalData?: Record<string, any> | undefined;
1609
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1589
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1610
1590
  provider: unknown;
1611
1591
  callbackURL?: string | undefined;
1612
1592
  idToken?: {
@@ -1623,7 +1603,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1623
1603
  additionalData?: Record<string, any> | undefined;
1624
1604
  } & {
1625
1605
  fetchOptions?: FetchOptions | undefined;
1626
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1606
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1627
1607
  url: string;
1628
1608
  redirect: boolean;
1629
1609
  }, {
@@ -1631,10 +1611,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1631
1611
  message?: string | undefined;
1632
1612
  }, FetchOptions["throw"] extends true ? true : false>>;
1633
1613
  } & {
1634
- listAccounts: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1614
+ listAccounts: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1635
1615
  query?: Record<string, any> | undefined;
1636
1616
  fetchOptions?: FetchOptions | undefined;
1637
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1617
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1638
1618
  id: string;
1639
1619
  providerId: string;
1640
1620
  createdAt: Date;
@@ -1648,16 +1628,16 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1648
1628
  }, FetchOptions["throw"] extends true ? true : false>>;
1649
1629
  } & {
1650
1630
  deleteUser: {
1651
- callback: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
1631
+ callback: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
1652
1632
  token: string;
1653
1633
  callbackURL?: string | undefined;
1654
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1634
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1655
1635
  query: {
1656
1636
  token: string;
1657
1637
  callbackURL?: string | undefined;
1658
1638
  };
1659
1639
  fetchOptions?: FetchOptions | undefined;
1660
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1640
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1661
1641
  success: boolean;
1662
1642
  message: string;
1663
1643
  }, {
@@ -1666,32 +1646,32 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1666
1646
  }, FetchOptions["throw"] extends true ? true : false>>;
1667
1647
  };
1668
1648
  } & {
1669
- unlinkAccount: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1649
+ unlinkAccount: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1670
1650
  providerId: string;
1671
1651
  accountId?: string | undefined;
1672
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1652
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1673
1653
  providerId: string;
1674
1654
  accountId?: string | undefined;
1675
1655
  } & {
1676
1656
  fetchOptions?: FetchOptions | undefined;
1677
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1657
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1678
1658
  status: boolean;
1679
1659
  }, {
1680
1660
  code?: string | undefined;
1681
1661
  message?: string | undefined;
1682
1662
  }, FetchOptions["throw"] extends true ? true : false>>;
1683
1663
  } & {
1684
- refreshToken: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1664
+ refreshToken: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1685
1665
  providerId: string;
1686
1666
  accountId?: string | undefined;
1687
1667
  userId?: string | undefined;
1688
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1668
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1689
1669
  providerId: string;
1690
1670
  accountId?: string | undefined;
1691
1671
  userId?: string | undefined;
1692
1672
  } & {
1693
1673
  fetchOptions?: FetchOptions | undefined;
1694
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1674
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1695
1675
  accessToken: string | undefined;
1696
1676
  refreshToken: string | undefined;
1697
1677
  accessTokenExpiresAt: Date | undefined;
@@ -1705,17 +1685,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1705
1685
  message?: string | undefined;
1706
1686
  }, FetchOptions["throw"] extends true ? true : false>>;
1707
1687
  } & {
1708
- getAccessToken: <FetchOptions extends better_auth153.ClientFetchOption<Partial<{
1688
+ getAccessToken: <FetchOptions extends better_auth151.ClientFetchOption<Partial<{
1709
1689
  providerId: string;
1710
1690
  accountId?: string | undefined;
1711
1691
  userId?: string | undefined;
1712
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth153.Prettify<{
1692
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth151.Prettify<{
1713
1693
  providerId: string;
1714
1694
  accountId?: string | undefined;
1715
1695
  userId?: string | undefined;
1716
1696
  } & {
1717
1697
  fetchOptions?: FetchOptions | undefined;
1718
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1698
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1719
1699
  accessToken: string;
1720
1700
  accessTokenExpiresAt: Date | undefined;
1721
1701
  scopes: string[];
@@ -1725,31 +1705,31 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1725
1705
  message?: string | undefined;
1726
1706
  }, FetchOptions["throw"] extends true ? true : false>>;
1727
1707
  } & {
1728
- accountInfo: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
1708
+ accountInfo: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
1729
1709
  accountId?: string | undefined;
1730
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1710
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1731
1711
  query?: {
1732
1712
  accountId?: string | undefined;
1733
1713
  } | undefined;
1734
1714
  fetchOptions?: FetchOptions | undefined;
1735
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1736
- user: better_auth153.OAuth2UserInfo;
1715
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1716
+ user: better_auth151.OAuth2UserInfo;
1737
1717
  data: Record<string, any>;
1738
1718
  }, {
1739
1719
  code?: string | undefined;
1740
1720
  message?: string | undefined;
1741
1721
  }, FetchOptions["throw"] extends true ? true : false>>;
1742
1722
  } & {
1743
- getSession: <FetchOptions extends better_auth153.ClientFetchOption<never, Partial<{
1723
+ getSession: <FetchOptions extends better_auth151.ClientFetchOption<never, Partial<{
1744
1724
  disableCookieCache?: unknown;
1745
1725
  disableRefresh?: unknown;
1746
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth153.Prettify<{
1726
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth151.Prettify<{
1747
1727
  query?: {
1748
1728
  disableCookieCache?: unknown;
1749
1729
  disableRefresh?: unknown;
1750
1730
  } | undefined;
1751
1731
  fetchOptions?: FetchOptions | undefined;
1752
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch89.BetterFetchResponse<{
1732
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch88.BetterFetchResponse<{
1753
1733
  user: {
1754
1734
  id: string;
1755
1735
  createdAt: Date;
@@ -1762,7 +1742,6 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1762
1742
  role?: string | null | undefined;
1763
1743
  banReason?: string | null | undefined;
1764
1744
  banExpires?: Date | null | undefined;
1765
- isAnonymous: boolean | null | undefined;
1766
1745
  };
1767
1746
  session: {
1768
1747
  id: string;
@@ -1903,7 +1882,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1903
1882
  permission: {
1904
1883
  readonly organization?: ("delete" | "update")[] | undefined;
1905
1884
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1906
- readonly invitation?: ("create" | "cancel")[] | undefined;
1885
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1907
1886
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1908
1887
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1909
1888
  };
@@ -1912,7 +1891,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1912
1891
  permissions: {
1913
1892
  readonly organization?: ("delete" | "update")[] | undefined;
1914
1893
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1915
- readonly invitation?: ("create" | "cancel")[] | undefined;
1894
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1916
1895
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1917
1896
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1918
1897
  };
@@ -1936,7 +1915,6 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1936
1915
  role?: string | null | undefined;
1937
1916
  banReason?: string | null | undefined;
1938
1917
  banExpires?: Date | null | undefined;
1939
- isAnonymous: boolean | null | undefined;
1940
1918
  };
1941
1919
  session: {
1942
1920
  id: string;
@@ -1953,9 +1931,9 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1953
1931
  } | null;
1954
1932
  isPending: boolean;
1955
1933
  isRefetching: boolean;
1956
- error: _better_fetch_fetch89.BetterFetchError | null;
1934
+ error: _better_fetch_fetch88.BetterFetchError | null;
1957
1935
  refetch: (queryParams?: {
1958
- query?: better_auth153.SessionQueryParams;
1936
+ query?: better_auth151.SessionQueryParams;
1959
1937
  } | undefined) => Promise<void>;
1960
1938
  };
1961
1939
  $Infer: {
@@ -1972,7 +1950,6 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1972
1950
  role?: string | null | undefined;
1973
1951
  banReason?: string | null | undefined;
1974
1952
  banExpires?: Date | null | undefined;
1975
- isAnonymous: boolean | null | undefined;
1976
1953
  };
1977
1954
  session: {
1978
1955
  id: string;
@@ -1988,21 +1965,21 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1988
1965
  };
1989
1966
  };
1990
1967
  };
1991
- $fetch: _better_fetch_fetch89.BetterFetch<{
1992
- plugins: (_better_fetch_fetch89.BetterFetchPlugin | {
1968
+ $fetch: _better_fetch_fetch88.BetterFetch<{
1969
+ plugins: (_better_fetch_fetch88.BetterFetchPlugin | {
1993
1970
  id: string;
1994
1971
  name: string;
1995
1972
  hooks: {
1996
- onSuccess(context: _better_fetch_fetch89.SuccessContext<any>): void;
1973
+ onSuccess(context: _better_fetch_fetch88.SuccessContext<any>): void;
1997
1974
  };
1998
1975
  } | {
1999
1976
  id: string;
2000
1977
  name: string;
2001
1978
  hooks: {
2002
- onSuccess: ((context: _better_fetch_fetch89.SuccessContext<any>) => Promise<void> | void) | undefined;
2003
- onError: ((context: _better_fetch_fetch89.ErrorContext) => Promise<void> | void) | undefined;
2004
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch89.RequestContext<T>) => Promise<_better_fetch_fetch89.RequestContext | void> | _better_fetch_fetch89.RequestContext | void) | undefined;
2005
- onResponse: ((context: _better_fetch_fetch89.ResponseContext) => Promise<Response | void | _better_fetch_fetch89.ResponseContext> | Response | _better_fetch_fetch89.ResponseContext | void) | undefined;
1979
+ onSuccess: ((context: _better_fetch_fetch88.SuccessContext<any>) => Promise<void> | void) | undefined;
1980
+ onError: ((context: _better_fetch_fetch88.ErrorContext) => Promise<void> | void) | undefined;
1981
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch88.RequestContext<T>) => Promise<_better_fetch_fetch88.RequestContext | void> | _better_fetch_fetch88.RequestContext | void) | undefined;
1982
+ onResponse: ((context: _better_fetch_fetch88.ResponseContext) => Promise<Response | void | _better_fetch_fetch88.ResponseContext> | Response | _better_fetch_fetch88.ResponseContext | void) | undefined;
2006
1983
  };
2007
1984
  })[];
2008
1985
  cache?: RequestCache | undefined;
@@ -2022,12 +1999,12 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
2022
1999
  referrerPolicy?: ReferrerPolicy | undefined;
2023
2000
  signal?: (AbortSignal | null) | undefined;
2024
2001
  window?: null | undefined;
2025
- onRetry?: ((response: _better_fetch_fetch89.ResponseContext) => Promise<void> | void) | undefined;
2002
+ onRetry?: ((response: _better_fetch_fetch88.ResponseContext) => Promise<void> | void) | undefined;
2026
2003
  hookOptions?: {
2027
2004
  cloneResponse?: boolean;
2028
2005
  } | undefined;
2029
2006
  timeout?: number | undefined;
2030
- customFetchImpl: _better_fetch_fetch89.FetchEsque;
2007
+ customFetchImpl: _better_fetch_fetch88.FetchEsque;
2031
2008
  baseURL: string;
2032
2009
  throw?: boolean | undefined;
2033
2010
  auth?: ({
@@ -2047,10 +2024,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
2047
2024
  params?: any;
2048
2025
  duplex?: "full" | "half" | undefined;
2049
2026
  jsonParser: (text: string) => Promise<any> | any;
2050
- retry?: _better_fetch_fetch89.RetryOptions | undefined;
2027
+ retry?: _better_fetch_fetch88.RetryOptions | undefined;
2051
2028
  retryAttempt?: number | undefined;
2052
- output?: (_better_fetch_fetch89.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2053
- errorSchema?: _better_fetch_fetch89.StandardSchemaV1 | undefined;
2029
+ output?: (_better_fetch_fetch88.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2030
+ errorSchema?: _better_fetch_fetch88.StandardSchemaV1 | undefined;
2054
2031
  disableValidation?: boolean | undefined;
2055
2032
  disableSignal?: boolean | undefined;
2056
2033
  }, unknown, unknown, {}>;
@@ -2139,9 +2116,6 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
2139
2116
  readonly OTP_EXPIRED: "OTP expired";
2140
2117
  readonly INVALID_OTP: "Invalid OTP";
2141
2118
  readonly TOO_MANY_ATTEMPTS: "Too many attempts";
2142
- readonly INVALID_EMAIL_FORMAT: "Email was not generated in a valid format";
2143
- readonly COULD_NOT_CREATE_SESSION: "Could not create session";
2144
- readonly ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY: "Anonymous users cannot sign in again anonymously";
2145
2119
  readonly USER_NOT_FOUND: "User not found";
2146
2120
  readonly FAILED_TO_CREATE_SESSION: "Failed to create session";
2147
2121
  readonly FAILED_TO_UPDATE_USER: "Failed to update user";