better-auth 0.6.1-beta.8 → 0.6.1

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.
Files changed (51) hide show
  1. package/dist/adapters/drizzle.d.cts +1 -1
  2. package/dist/adapters/drizzle.d.ts +1 -1
  3. package/dist/adapters/kysely.d.cts +1 -1
  4. package/dist/adapters/kysely.d.ts +1 -1
  5. package/dist/adapters/mongodb.d.cts +1 -1
  6. package/dist/adapters/mongodb.d.ts +1 -1
  7. package/dist/adapters/prisma.d.cts +1 -1
  8. package/dist/adapters/prisma.d.ts +1 -1
  9. package/dist/api.cjs +1 -1
  10. package/dist/api.d.cts +1 -1
  11. package/dist/api.d.ts +1 -1
  12. package/dist/api.js +1 -1
  13. package/dist/{auth-Cmz6hRKF.d.ts → auth-DGLMv7bU.d.ts} +72 -72
  14. package/dist/{auth--FW2hSpz.d.cts → auth-DmSb3rz9.d.cts} +72 -72
  15. package/dist/{chunk-M3G5PKM4.js → chunk-HBHHT77G.js} +2 -1
  16. package/dist/{chunk-UBYJGW7O.cjs → chunk-HORVA6HL.cjs} +2 -1
  17. package/dist/client/plugins.d.cts +3 -3
  18. package/dist/client/plugins.d.ts +3 -3
  19. package/dist/client.d.cts +1 -1
  20. package/dist/client.d.ts +1 -1
  21. package/dist/cookies.d.cts +1 -1
  22. package/dist/cookies.d.ts +1 -1
  23. package/dist/db.d.cts +2 -2
  24. package/dist/db.d.ts +2 -2
  25. package/dist/{index-CIro16f0.d.cts → index-8r8fwubO.d.cts} +1 -1
  26. package/dist/{index-evIABUAz.d.ts → index-Dd05uxW2.d.ts} +1 -1
  27. package/dist/index.cjs +1 -1
  28. package/dist/index.d.cts +1 -1
  29. package/dist/index.d.ts +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/node.d.cts +1 -1
  32. package/dist/node.d.ts +1 -1
  33. package/dist/plugins.cjs +2 -2
  34. package/dist/plugins.d.cts +3 -3
  35. package/dist/plugins.d.ts +3 -3
  36. package/dist/plugins.js +1 -1
  37. package/dist/react.d.cts +1 -1
  38. package/dist/react.d.ts +1 -1
  39. package/dist/solid-start.d.cts +1 -1
  40. package/dist/solid-start.d.ts +1 -1
  41. package/dist/solid.d.cts +1 -1
  42. package/dist/solid.d.ts +1 -1
  43. package/dist/svelte-kit.d.cts +1 -1
  44. package/dist/svelte-kit.d.ts +1 -1
  45. package/dist/svelte.d.cts +1 -1
  46. package/dist/svelte.d.ts +1 -1
  47. package/dist/types.d.cts +2 -2
  48. package/dist/types.d.ts +2 -2
  49. package/dist/vue.d.cts +1 -1
  50. package/dist/vue.d.ts +1 -1
  51. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { A as Adapter } from '../auth--FW2hSpz.cjs';
1
+ import { A as Adapter } from '../auth-DmSb3rz9.cjs';
2
2
  import 'zod';
3
3
  import 'kysely';
4
4
  import '../types-DGbY_2Am.cjs';
@@ -1,4 +1,4 @@
1
- import { A as Adapter } from '../auth-Cmz6hRKF.js';
1
+ import { A as Adapter } from '../auth-DGLMv7bU.js';
2
2
  import 'zod';
3
3
  import 'kysely';
4
4
  import '../types-BYWAbFsn.js';
@@ -1,5 +1,5 @@
1
1
  import { Kysely } from 'kysely';
2
- import { B as BetterAuthOptions, K as KyselyDatabaseType, F as FieldAttribute, A as Adapter } from '../auth--FW2hSpz.cjs';
2
+ import { B as BetterAuthOptions, K as KyselyDatabaseType, F as FieldAttribute, A as Adapter } from '../auth-DmSb3rz9.cjs';
3
3
  import 'zod';
4
4
  import '../types-DGbY_2Am.cjs';
5
5
  import '../helper-DPDj8Nix.cjs';
@@ -1,5 +1,5 @@
1
1
  import { Kysely } from 'kysely';
2
- import { B as BetterAuthOptions, K as KyselyDatabaseType, F as FieldAttribute, A as Adapter } from '../auth-Cmz6hRKF.js';
2
+ import { B as BetterAuthOptions, K as KyselyDatabaseType, F as FieldAttribute, A as Adapter } from '../auth-DGLMv7bU.js';
3
3
  import 'zod';
4
4
  import '../types-BYWAbFsn.js';
5
5
  import '../helper-DPDj8Nix.js';
@@ -1,5 +1,5 @@
1
1
  import { Db } from 'mongodb';
2
- import { W as Where } from '../auth--FW2hSpz.cjs';
2
+ import { W as Where } from '../auth-DmSb3rz9.cjs';
3
3
  import 'zod';
4
4
  import 'kysely';
5
5
  import '../types-DGbY_2Am.cjs';
@@ -1,5 +1,5 @@
1
1
  import { Db } from 'mongodb';
2
- import { W as Where } from '../auth-Cmz6hRKF.js';
2
+ import { W as Where } from '../auth-DGLMv7bU.js';
3
3
  import 'zod';
4
4
  import 'kysely';
5
5
  import '../types-BYWAbFsn.js';
@@ -1,4 +1,4 @@
1
- import { A as Adapter } from '../auth--FW2hSpz.cjs';
1
+ import { A as Adapter } from '../auth-DmSb3rz9.cjs';
2
2
  import 'zod';
3
3
  import 'kysely';
4
4
  import '../types-DGbY_2Am.cjs';
@@ -1,4 +1,4 @@
1
- import { A as Adapter } from '../auth-Cmz6hRKF.js';
1
+ import { A as Adapter } from '../auth-DGLMv7bU.js';
2
2
  import 'zod';
3
3
  import 'kysely';
4
4
  import '../types-BYWAbFsn.js';
package/dist/api.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUBYJGW7Ocjs = require('./chunk-UBYJGW7O.cjs');require('./chunk-TLIY4SK7.cjs');require('./chunk-OBDVOCW6.cjs');require('./chunk-PKQJ6LDT.cjs');require('./chunk-QMT4JKBV.cjs');require('./chunk-OYEZMIJE.cjs');require('./chunk-2FTT4NBS.cjs');require('./chunk-6SMS6TX3.cjs');require('./chunk-V7Z635RZ.cjs');require('./chunk-B6SFM4XY.cjs');require('./chunk-J6NPEQIV.cjs');require('./chunk-4VDLQK6F.cjs');exports.APIError = _chunkUBYJGW7Ocjs.J; exports.callbackOAuth = _chunkUBYJGW7Ocjs.r; exports.changeEmail = _chunkUBYJGW7Ocjs.A; exports.changePassword = _chunkUBYJGW7Ocjs.x; exports.createAuthEndpoint = _chunkUBYJGW7Ocjs.c; exports.createAuthMiddleware = _chunkUBYJGW7Ocjs.b; exports.createEmailVerificationToken = _chunkUBYJGW7Ocjs.l; exports.csrfMiddleware = _chunkUBYJGW7Ocjs.d; exports.deleteUser = _chunkUBYJGW7Ocjs.z; exports.error = _chunkUBYJGW7Ocjs.C; exports.forgetPassword = _chunkUBYJGW7Ocjs.t; exports.forgetPasswordCallback = _chunkUBYJGW7Ocjs.u; exports.getCSRFToken = _chunkUBYJGW7Ocjs.B; exports.getEndpoints = _chunkUBYJGW7Ocjs.H; exports.getSession = _chunkUBYJGW7Ocjs.f; exports.getSessionFromCtx = _chunkUBYJGW7Ocjs.g; exports.linkSocialAccount = _chunkUBYJGW7Ocjs.G; exports.listSessions = _chunkUBYJGW7Ocjs.i; exports.listUserAccounts = _chunkUBYJGW7Ocjs.F; exports.ok = _chunkUBYJGW7Ocjs.D; exports.optionsMiddleware = _chunkUBYJGW7Ocjs.a; exports.resetPassword = _chunkUBYJGW7Ocjs.v; exports.revokeSession = _chunkUBYJGW7Ocjs.j; exports.revokeSessions = _chunkUBYJGW7Ocjs.k; exports.router = _chunkUBYJGW7Ocjs.I; exports.sendVerificationEmail = _chunkUBYJGW7Ocjs.m; exports.sessionMiddleware = _chunkUBYJGW7Ocjs.h; exports.setPassword = _chunkUBYJGW7Ocjs.y; exports.signInEmail = _chunkUBYJGW7Ocjs.p; exports.signInOAuth = _chunkUBYJGW7Ocjs.o; exports.signOut = _chunkUBYJGW7Ocjs.s; exports.signUpEmail = _chunkUBYJGW7Ocjs.E; exports.updateUser = _chunkUBYJGW7Ocjs.w; exports.verifyEmail = _chunkUBYJGW7Ocjs.n;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHORVA6HLcjs = require('./chunk-HORVA6HL.cjs');require('./chunk-TLIY4SK7.cjs');require('./chunk-OBDVOCW6.cjs');require('./chunk-PKQJ6LDT.cjs');require('./chunk-QMT4JKBV.cjs');require('./chunk-OYEZMIJE.cjs');require('./chunk-2FTT4NBS.cjs');require('./chunk-6SMS6TX3.cjs');require('./chunk-V7Z635RZ.cjs');require('./chunk-B6SFM4XY.cjs');require('./chunk-J6NPEQIV.cjs');require('./chunk-4VDLQK6F.cjs');exports.APIError = _chunkHORVA6HLcjs.J; exports.callbackOAuth = _chunkHORVA6HLcjs.r; exports.changeEmail = _chunkHORVA6HLcjs.A; exports.changePassword = _chunkHORVA6HLcjs.x; exports.createAuthEndpoint = _chunkHORVA6HLcjs.c; exports.createAuthMiddleware = _chunkHORVA6HLcjs.b; exports.createEmailVerificationToken = _chunkHORVA6HLcjs.l; exports.csrfMiddleware = _chunkHORVA6HLcjs.d; exports.deleteUser = _chunkHORVA6HLcjs.z; exports.error = _chunkHORVA6HLcjs.C; exports.forgetPassword = _chunkHORVA6HLcjs.t; exports.forgetPasswordCallback = _chunkHORVA6HLcjs.u; exports.getCSRFToken = _chunkHORVA6HLcjs.B; exports.getEndpoints = _chunkHORVA6HLcjs.H; exports.getSession = _chunkHORVA6HLcjs.f; exports.getSessionFromCtx = _chunkHORVA6HLcjs.g; exports.linkSocialAccount = _chunkHORVA6HLcjs.G; exports.listSessions = _chunkHORVA6HLcjs.i; exports.listUserAccounts = _chunkHORVA6HLcjs.F; exports.ok = _chunkHORVA6HLcjs.D; exports.optionsMiddleware = _chunkHORVA6HLcjs.a; exports.resetPassword = _chunkHORVA6HLcjs.v; exports.revokeSession = _chunkHORVA6HLcjs.j; exports.revokeSessions = _chunkHORVA6HLcjs.k; exports.router = _chunkHORVA6HLcjs.I; exports.sendVerificationEmail = _chunkHORVA6HLcjs.m; exports.sessionMiddleware = _chunkHORVA6HLcjs.h; exports.setPassword = _chunkHORVA6HLcjs.y; exports.signInEmail = _chunkHORVA6HLcjs.p; exports.signInOAuth = _chunkHORVA6HLcjs.o; exports.signOut = _chunkHORVA6HLcjs.s; exports.signUpEmail = _chunkHORVA6HLcjs.E; exports.updateUser = _chunkHORVA6HLcjs.w; exports.verifyEmail = _chunkHORVA6HLcjs.n;
package/dist/api.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { e as AuthEndpoint, f as AuthMiddleware, a1 as callbackOAuth, aj as changeEmail, ag as changePassword, d as createAuthEndpoint, c as createAuthMiddleware, ac as createEmailVerificationToken, aq as csrfMiddleware, ai as deleteUser, al as error, a9 as forgetPassword, aa as forgetPasswordCallback, ak as getCSRFToken, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ap as linkSocialAccount, a5 as listSessions, ao as listUserAccounts, am as ok, o as optionsMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInOAuth, a8 as signOut, an as signUpEmail, af as updateUser, ae as verifyEmail } from './auth--FW2hSpz.cjs';
1
+ export { e as AuthEndpoint, f as AuthMiddleware, a1 as callbackOAuth, aj as changeEmail, ag as changePassword, d as createAuthEndpoint, c as createAuthMiddleware, ac as createEmailVerificationToken, aq as csrfMiddleware, ai as deleteUser, al as error, a9 as forgetPassword, aa as forgetPasswordCallback, ak as getCSRFToken, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ap as linkSocialAccount, a5 as listSessions, ao as listUserAccounts, am as ok, o as optionsMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInOAuth, a8 as signOut, an as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-DmSb3rz9.cjs';
2
2
  import './helper-DPDj8Nix.cjs';
3
3
  export { APIError } from 'better-call';
4
4
  import 'zod';
package/dist/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { e as AuthEndpoint, f as AuthMiddleware, a1 as callbackOAuth, aj as changeEmail, ag as changePassword, d as createAuthEndpoint, c as createAuthMiddleware, ac as createEmailVerificationToken, aq as csrfMiddleware, ai as deleteUser, al as error, a9 as forgetPassword, aa as forgetPasswordCallback, ak as getCSRFToken, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ap as linkSocialAccount, a5 as listSessions, ao as listUserAccounts, am as ok, o as optionsMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInOAuth, a8 as signOut, an as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-Cmz6hRKF.js';
1
+ export { e as AuthEndpoint, f as AuthMiddleware, a1 as callbackOAuth, aj as changeEmail, ag as changePassword, d as createAuthEndpoint, c as createAuthMiddleware, ac as createEmailVerificationToken, aq as csrfMiddleware, ai as deleteUser, al as error, a9 as forgetPassword, aa as forgetPasswordCallback, ak as getCSRFToken, Z as getEndpoints, a2 as getSession, a3 as getSessionFromCtx, ap as linkSocialAccount, a5 as listSessions, ao as listUserAccounts, am as ok, o as optionsMiddleware, ab as resetPassword, a6 as revokeSession, a7 as revokeSessions, _ as router, ad as sendVerificationEmail, a4 as sessionMiddleware, ah as setPassword, a0 as signInEmail, $ as signInOAuth, a8 as signOut, an as signUpEmail, af as updateUser, ae as verifyEmail } from './auth-DGLMv7bU.js';
2
2
  import './helper-DPDj8Nix.js';
3
3
  export { APIError } from 'better-call';
4
4
  import 'zod';
package/dist/api.js CHANGED
@@ -1 +1 @@
1
- import{A as y,B as z,C as A,D as B,E as C,F as D,G as E,H as F,I as G,J as H,a,b,c,d,f as e,g as f,h as g,i as h,j as i,k as j,l as k,m as l,n as m,o as n,p as o,r as p,s as q,t as r,u as s,v as t,w as u,x as v,y as w,z as x}from"./chunk-M3G5PKM4.js";import"./chunk-NCRSY4BM.js";import"./chunk-Q2P2HXYZ.js";import"./chunk-ASMXGQJE.js";import"./chunk-MIF2W335.js";import"./chunk-333I4LG2.js";import"./chunk-J744ED5S.js";import"./chunk-RM4AH2KQ.js";import"./chunk-HZVOBC5R.js";import"./chunk-77SRGBR2.js";import"./chunk-72JSMFWS.js";import"./chunk-WOT6VMZA.js";export{H as APIError,p as callbackOAuth,y as changeEmail,v as changePassword,c as createAuthEndpoint,b as createAuthMiddleware,k as createEmailVerificationToken,d as csrfMiddleware,x as deleteUser,A as error,r as forgetPassword,s as forgetPasswordCallback,z as getCSRFToken,F as getEndpoints,e as getSession,f as getSessionFromCtx,E as linkSocialAccount,h as listSessions,D as listUserAccounts,B as ok,a as optionsMiddleware,t as resetPassword,i as revokeSession,j as revokeSessions,G as router,l as sendVerificationEmail,g as sessionMiddleware,w as setPassword,o as signInEmail,n as signInOAuth,q as signOut,C as signUpEmail,u as updateUser,m as verifyEmail};
1
+ import{A as y,B as z,C as A,D as B,E as C,F as D,G as E,H as F,I as G,J as H,a,b,c,d,f as e,g as f,h as g,i as h,j as i,k as j,l as k,m as l,n as m,o as n,p as o,r as p,s as q,t as r,u as s,v as t,w as u,x as v,y as w,z as x}from"./chunk-HBHHT77G.js";import"./chunk-NCRSY4BM.js";import"./chunk-Q2P2HXYZ.js";import"./chunk-ASMXGQJE.js";import"./chunk-MIF2W335.js";import"./chunk-333I4LG2.js";import"./chunk-J744ED5S.js";import"./chunk-RM4AH2KQ.js";import"./chunk-HZVOBC5R.js";import"./chunk-77SRGBR2.js";import"./chunk-72JSMFWS.js";import"./chunk-WOT6VMZA.js";export{H as APIError,p as callbackOAuth,y as changeEmail,v as changePassword,c as createAuthEndpoint,b as createAuthMiddleware,k as createEmailVerificationToken,d as csrfMiddleware,x as deleteUser,A as error,r as forgetPassword,s as forgetPasswordCallback,z as getCSRFToken,F as getEndpoints,e as getSession,f as getSessionFromCtx,E as linkSocialAccount,h as listSessions,D as listUserAccounts,B as ok,a as optionsMiddleware,t as resetPassword,i as revokeSession,j as revokeSessions,G as router,l as sendVerificationEmail,g as sessionMiddleware,w as setPassword,o as signInEmail,n as signInOAuth,q as signOut,C as signUpEmail,u as updateUser,m as verifyEmail};
@@ -1303,12 +1303,12 @@ declare const signInOAuth: {
1303
1303
  /**
1304
1304
  * OAuth2 provider to use`
1305
1305
  */
1306
- provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
1306
+ provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
1307
1307
  }, "strip", z.ZodTypeAny, {
1308
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
1308
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
1309
1309
  callbackURL?: string | undefined;
1310
1310
  }, {
1311
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
1311
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
1312
1312
  callbackURL?: string | undefined;
1313
1313
  }>;
1314
1314
  use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
@@ -1346,12 +1346,12 @@ declare const signInOAuth: {
1346
1346
  /**
1347
1347
  * OAuth2 provider to use`
1348
1348
  */
1349
- provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
1349
+ provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
1350
1350
  }, "strip", z.ZodTypeAny, {
1351
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
1351
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
1352
1352
  callbackURL?: string | undefined;
1353
1353
  }, {
1354
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
1354
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
1355
1355
  callbackURL?: string | undefined;
1356
1356
  }>;
1357
1357
  use: better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
@@ -1488,11 +1488,11 @@ declare const getSession: <Option extends BetterAuthOptions>() => {
1488
1488
  * If cookie cache is enabled, it will disable the cache
1489
1489
  * and fetch the session from the database
1490
1490
  */
1491
- disableCookieCache: z.ZodBoolean;
1491
+ disableCookieCache: z.ZodOptional<z.ZodBoolean>;
1492
1492
  }, "strip", z.ZodTypeAny, {
1493
- disableCookieCache: boolean;
1493
+ disableCookieCache?: boolean | undefined;
1494
1494
  }, {
1495
- disableCookieCache: boolean;
1495
+ disableCookieCache?: boolean | undefined;
1496
1496
  }>>;
1497
1497
  requireHeaders: true;
1498
1498
  }>]>(...ctx: C): Promise<C extends [{
@@ -1509,11 +1509,11 @@ declare const getSession: <Option extends BetterAuthOptions>() => {
1509
1509
  * If cookie cache is enabled, it will disable the cache
1510
1510
  * and fetch the session from the database
1511
1511
  */
1512
- disableCookieCache: z.ZodBoolean;
1512
+ disableCookieCache: z.ZodOptional<z.ZodBoolean>;
1513
1513
  }, "strip", z.ZodTypeAny, {
1514
- disableCookieCache: boolean;
1514
+ disableCookieCache?: boolean | undefined;
1515
1515
  }, {
1516
- disableCookieCache: boolean;
1516
+ disableCookieCache?: boolean | undefined;
1517
1517
  }>>;
1518
1518
  requireHeaders: true;
1519
1519
  };
@@ -2699,12 +2699,12 @@ declare const linkSocialAccount: {
2699
2699
  /**
2700
2700
  * OAuth2 provider to use`
2701
2701
  */
2702
- provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
2702
+ provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
2703
2703
  }, "strip", z.ZodTypeAny, {
2704
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2704
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2705
2705
  callbackURL?: string | undefined;
2706
2706
  }, {
2707
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2707
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2708
2708
  callbackURL?: string | undefined;
2709
2709
  }>;
2710
2710
  use: (better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
@@ -2761,12 +2761,12 @@ declare const linkSocialAccount: {
2761
2761
  /**
2762
2762
  * OAuth2 provider to use`
2763
2763
  */
2764
- provider: z.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
2764
+ provider: z.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
2765
2765
  }, "strip", z.ZodTypeAny, {
2766
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2766
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2767
2767
  callbackURL?: string | undefined;
2768
2768
  }, {
2769
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2769
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2770
2770
  callbackURL?: string | undefined;
2771
2771
  }>;
2772
2772
  use: (better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | better_call.Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
@@ -2871,12 +2871,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
2871
2871
  }>>;
2872
2872
  body: zod.ZodObject<{
2873
2873
  callbackURL: zod.ZodOptional<zod.ZodString>;
2874
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
2874
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
2875
2875
  }, "strip", zod.ZodTypeAny, {
2876
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2876
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2877
2877
  callbackURL?: string | undefined;
2878
2878
  }, {
2879
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2879
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2880
2880
  callbackURL?: string | undefined;
2881
2881
  }>;
2882
2882
  use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
@@ -2904,12 +2904,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
2904
2904
  }>>;
2905
2905
  body: zod.ZodObject<{
2906
2906
  callbackURL: zod.ZodOptional<zod.ZodString>;
2907
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
2907
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
2908
2908
  }, "strip", zod.ZodTypeAny, {
2909
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2909
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2910
2910
  callbackURL?: string | undefined;
2911
2911
  }, {
2912
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2912
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
2913
2913
  callbackURL?: string | undefined;
2914
2914
  }>;
2915
2915
  use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
@@ -2987,11 +2987,11 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
2987
2987
  <C_1 extends [better_call.Context<"/get-session", {
2988
2988
  method: "GET";
2989
2989
  query: zod.ZodOptional<zod.ZodObject<{
2990
- disableCookieCache: zod.ZodBoolean;
2990
+ disableCookieCache: zod.ZodOptional<zod.ZodBoolean>;
2991
2991
  }, "strip", zod.ZodTypeAny, {
2992
- disableCookieCache: boolean;
2992
+ disableCookieCache?: boolean | undefined;
2993
2993
  }, {
2994
- disableCookieCache: boolean;
2994
+ disableCookieCache?: boolean | undefined;
2995
2995
  }>>;
2996
2996
  requireHeaders: true;
2997
2997
  }>]>(...ctx: C_1): Promise<C_1 extends [{
@@ -3018,11 +3018,11 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
3018
3018
  options: {
3019
3019
  method: "GET";
3020
3020
  query: zod.ZodOptional<zod.ZodObject<{
3021
- disableCookieCache: zod.ZodBoolean;
3021
+ disableCookieCache: zod.ZodOptional<zod.ZodBoolean>;
3022
3022
  }, "strip", zod.ZodTypeAny, {
3023
- disableCookieCache: boolean;
3023
+ disableCookieCache?: boolean | undefined;
3024
3024
  }, {
3025
- disableCookieCache: boolean;
3025
+ disableCookieCache?: boolean | undefined;
3026
3026
  }>>;
3027
3027
  requireHeaders: true;
3028
3028
  };
@@ -4121,12 +4121,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
4121
4121
  }>>;
4122
4122
  body: zod.ZodObject<{
4123
4123
  callbackURL: zod.ZodOptional<zod.ZodString>;
4124
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
4124
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
4125
4125
  }, "strip", zod.ZodTypeAny, {
4126
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4126
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4127
4127
  callbackURL?: string | undefined;
4128
4128
  }, {
4129
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4129
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4130
4130
  callbackURL?: string | undefined;
4131
4131
  }>;
4132
4132
  use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
@@ -4173,12 +4173,12 @@ declare function getEndpoints<C extends AuthContext, Option extends BetterAuthOp
4173
4173
  }>>;
4174
4174
  body: zod.ZodObject<{
4175
4175
  callbackURL: zod.ZodOptional<zod.ZodString>;
4176
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
4176
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
4177
4177
  }, "strip", zod.ZodTypeAny, {
4178
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4178
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4179
4179
  callbackURL?: string | undefined;
4180
4180
  }, {
4181
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4181
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4182
4182
  callbackURL?: string | undefined;
4183
4183
  }>;
4184
4184
  use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
@@ -4332,12 +4332,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
4332
4332
  }>>;
4333
4333
  body: zod.ZodObject<{
4334
4334
  callbackURL: zod.ZodOptional<zod.ZodString>;
4335
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
4335
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
4336
4336
  }, "strip", zod.ZodTypeAny, {
4337
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4337
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4338
4338
  callbackURL?: string | undefined;
4339
4339
  }, {
4340
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4340
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4341
4341
  callbackURL?: string | undefined;
4342
4342
  }>;
4343
4343
  use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
@@ -4365,12 +4365,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
4365
4365
  }>>;
4366
4366
  body: zod.ZodObject<{
4367
4367
  callbackURL: zod.ZodOptional<zod.ZodString>;
4368
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
4368
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
4369
4369
  }, "strip", zod.ZodTypeAny, {
4370
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4370
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4371
4371
  callbackURL?: string | undefined;
4372
4372
  }, {
4373
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4373
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
4374
4374
  callbackURL?: string | undefined;
4375
4375
  }>;
4376
4376
  use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
@@ -4448,11 +4448,11 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
4448
4448
  <C_1 extends [better_call.Context<"/get-session", {
4449
4449
  method: "GET";
4450
4450
  query: zod.ZodOptional<zod.ZodObject<{
4451
- disableCookieCache: zod.ZodBoolean;
4451
+ disableCookieCache: zod.ZodOptional<zod.ZodBoolean>;
4452
4452
  }, "strip", zod.ZodTypeAny, {
4453
- disableCookieCache: boolean;
4453
+ disableCookieCache?: boolean | undefined;
4454
4454
  }, {
4455
- disableCookieCache: boolean;
4455
+ disableCookieCache?: boolean | undefined;
4456
4456
  }>>;
4457
4457
  requireHeaders: true;
4458
4458
  }>]>(...ctx: C_1): Promise<C_1 extends [{
@@ -4479,11 +4479,11 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
4479
4479
  options: {
4480
4480
  method: "GET";
4481
4481
  query: zod.ZodOptional<zod.ZodObject<{
4482
- disableCookieCache: zod.ZodBoolean;
4482
+ disableCookieCache: zod.ZodOptional<zod.ZodBoolean>;
4483
4483
  }, "strip", zod.ZodTypeAny, {
4484
- disableCookieCache: boolean;
4484
+ disableCookieCache?: boolean | undefined;
4485
4485
  }, {
4486
- disableCookieCache: boolean;
4486
+ disableCookieCache?: boolean | undefined;
4487
4487
  }>>;
4488
4488
  requireHeaders: true;
4489
4489
  };
@@ -5582,12 +5582,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
5582
5582
  }>>;
5583
5583
  body: zod.ZodObject<{
5584
5584
  callbackURL: zod.ZodOptional<zod.ZodString>;
5585
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
5585
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
5586
5586
  }, "strip", zod.ZodTypeAny, {
5587
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5587
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5588
5588
  callbackURL?: string | undefined;
5589
5589
  }, {
5590
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5590
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5591
5591
  callbackURL?: string | undefined;
5592
5592
  }>;
5593
5593
  use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
@@ -5634,12 +5634,12 @@ declare const router: <C extends AuthContext, Option extends BetterAuthOptions>(
5634
5634
  }>>;
5635
5635
  body: zod.ZodObject<{
5636
5636
  callbackURL: zod.ZodOptional<zod.ZodString>;
5637
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
5637
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
5638
5638
  }, "strip", zod.ZodTypeAny, {
5639
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5639
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5640
5640
  callbackURL?: string | undefined;
5641
5641
  }, {
5642
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5642
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5643
5643
  callbackURL?: string | undefined;
5644
5644
  }>;
5645
5645
  use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
@@ -5795,12 +5795,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
5795
5795
  }>>;
5796
5796
  body: zod.ZodObject<{
5797
5797
  callbackURL: zod.ZodOptional<zod.ZodString>;
5798
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
5798
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
5799
5799
  }, "strip", zod.ZodTypeAny, {
5800
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5800
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5801
5801
  callbackURL?: string | undefined;
5802
5802
  }, {
5803
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5803
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5804
5804
  callbackURL?: string | undefined;
5805
5805
  }>;
5806
5806
  use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
@@ -5828,12 +5828,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
5828
5828
  }>>;
5829
5829
  body: zod.ZodObject<{
5830
5830
  callbackURL: zod.ZodOptional<zod.ZodString>;
5831
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
5831
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
5832
5832
  }, "strip", zod.ZodTypeAny, {
5833
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5833
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5834
5834
  callbackURL?: string | undefined;
5835
5835
  }, {
5836
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5836
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
5837
5837
  callbackURL?: string | undefined;
5838
5838
  }>;
5839
5839
  use: Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions>[];
@@ -5911,11 +5911,11 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
5911
5911
  <C extends [better_call.Context<"/get-session", {
5912
5912
  method: "GET";
5913
5913
  query: zod.ZodOptional<zod.ZodObject<{
5914
- disableCookieCache: zod.ZodBoolean;
5914
+ disableCookieCache: zod.ZodOptional<zod.ZodBoolean>;
5915
5915
  }, "strip", zod.ZodTypeAny, {
5916
- disableCookieCache: boolean;
5916
+ disableCookieCache?: boolean | undefined;
5917
5917
  }, {
5918
- disableCookieCache: boolean;
5918
+ disableCookieCache?: boolean | undefined;
5919
5919
  }>>;
5920
5920
  requireHeaders: true;
5921
5921
  }>]>(...ctx: C): Promise<C extends [{
@@ -5942,11 +5942,11 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
5942
5942
  options: {
5943
5943
  method: "GET";
5944
5944
  query: zod.ZodOptional<zod.ZodObject<{
5945
- disableCookieCache: zod.ZodBoolean;
5945
+ disableCookieCache: zod.ZodOptional<zod.ZodBoolean>;
5946
5946
  }, "strip", zod.ZodTypeAny, {
5947
- disableCookieCache: boolean;
5947
+ disableCookieCache?: boolean | undefined;
5948
5948
  }, {
5949
- disableCookieCache: boolean;
5949
+ disableCookieCache?: boolean | undefined;
5950
5950
  }>>;
5951
5951
  requireHeaders: true;
5952
5952
  };
@@ -7045,12 +7045,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
7045
7045
  }>>;
7046
7046
  body: zod.ZodObject<{
7047
7047
  callbackURL: zod.ZodOptional<zod.ZodString>;
7048
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
7048
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
7049
7049
  }, "strip", zod.ZodTypeAny, {
7050
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
7050
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
7051
7051
  callbackURL?: string | undefined;
7052
7052
  }, {
7053
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
7053
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
7054
7054
  callbackURL?: string | undefined;
7055
7055
  }>;
7056
7056
  use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {
@@ -7097,12 +7097,12 @@ declare const betterAuth: <O extends BetterAuthOptions>(options: O) => {
7097
7097
  }>>;
7098
7098
  body: zod.ZodObject<{
7099
7099
  callbackURL: zod.ZodOptional<zod.ZodString>;
7100
- provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
7100
+ provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin")[]]>;
7101
7101
  }, "strip", zod.ZodTypeAny, {
7102
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
7102
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
7103
7103
  callbackURL?: string | undefined;
7104
7104
  }, {
7105
- provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
7105
+ provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin";
7106
7106
  callbackURL?: string | undefined;
7107
7107
  }>;
7108
7108
  use: (Endpoint<better_call.Handler<string, better_call.EndpointOptions, void>, better_call.EndpointOptions> | Endpoint<better_call.Handler<string, better_call.EndpointOptions, {