better-auth 1.3.6-beta.2 → 1.3.6

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 (148) hide show
  1. package/dist/adapters/drizzle-adapter/index.d.cts +1 -1
  2. package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
  3. package/dist/adapters/drizzle-adapter/index.d.ts +1 -1
  4. package/dist/adapters/index.d.cts +2 -2
  5. package/dist/adapters/index.d.mts +2 -2
  6. package/dist/adapters/index.d.ts +2 -2
  7. package/dist/adapters/kysely-adapter/index.d.cts +1 -1
  8. package/dist/adapters/kysely-adapter/index.d.mts +1 -1
  9. package/dist/adapters/kysely-adapter/index.d.ts +1 -1
  10. package/dist/adapters/memory-adapter/index.d.cts +1 -1
  11. package/dist/adapters/memory-adapter/index.d.mts +1 -1
  12. package/dist/adapters/memory-adapter/index.d.ts +1 -1
  13. package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
  14. package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
  15. package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
  16. package/dist/adapters/prisma-adapter/index.d.cts +1 -1
  17. package/dist/adapters/prisma-adapter/index.d.mts +1 -1
  18. package/dist/adapters/prisma-adapter/index.d.ts +1 -1
  19. package/dist/adapters/test.d.cts +1 -1
  20. package/dist/adapters/test.d.mts +1 -1
  21. package/dist/adapters/test.d.ts +1 -1
  22. package/dist/api/index.d.cts +1 -1
  23. package/dist/api/index.d.mts +1 -1
  24. package/dist/api/index.d.ts +1 -1
  25. package/dist/client/index.d.cts +3 -3
  26. package/dist/client/index.d.mts +3 -3
  27. package/dist/client/index.d.ts +3 -3
  28. package/dist/client/plugins/index.d.cts +3 -3
  29. package/dist/client/plugins/index.d.mts +3 -3
  30. package/dist/client/plugins/index.d.ts +3 -3
  31. package/dist/client/react/index.d.cts +9 -9
  32. package/dist/client/react/index.d.mts +9 -9
  33. package/dist/client/react/index.d.ts +9 -9
  34. package/dist/client/solid/index.d.cts +9 -9
  35. package/dist/client/solid/index.d.mts +9 -9
  36. package/dist/client/solid/index.d.ts +9 -9
  37. package/dist/client/svelte/index.d.cts +3 -3
  38. package/dist/client/svelte/index.d.mts +3 -3
  39. package/dist/client/svelte/index.d.ts +3 -3
  40. package/dist/client/vue/index.d.cts +3 -3
  41. package/dist/client/vue/index.d.mts +3 -3
  42. package/dist/client/vue/index.d.ts +3 -3
  43. package/dist/cookies/index.d.cts +1 -1
  44. package/dist/cookies/index.d.mts +1 -1
  45. package/dist/cookies/index.d.ts +1 -1
  46. package/dist/db/index.d.cts +2 -2
  47. package/dist/db/index.d.mts +2 -2
  48. package/dist/db/index.d.ts +2 -2
  49. package/dist/index.d.cts +9 -9
  50. package/dist/index.d.mts +9 -9
  51. package/dist/index.d.ts +9 -9
  52. package/dist/integrations/next-js.d.cts +1 -1
  53. package/dist/integrations/next-js.d.mts +1 -1
  54. package/dist/integrations/next-js.d.ts +1 -1
  55. package/dist/integrations/node.d.cts +1 -1
  56. package/dist/integrations/node.d.mts +1 -1
  57. package/dist/integrations/node.d.ts +1 -1
  58. package/dist/integrations/react-start.d.cts +1 -1
  59. package/dist/integrations/react-start.d.mts +1 -1
  60. package/dist/integrations/react-start.d.ts +1 -1
  61. package/dist/integrations/svelte-kit.d.cts +1 -1
  62. package/dist/integrations/svelte-kit.d.mts +1 -1
  63. package/dist/integrations/svelte-kit.d.ts +1 -1
  64. package/dist/oauth2/index.d.cts +2 -2
  65. package/dist/oauth2/index.d.mts +2 -2
  66. package/dist/oauth2/index.d.ts +2 -2
  67. package/dist/plugins/admin/index.d.cts +3 -3
  68. package/dist/plugins/admin/index.d.mts +3 -3
  69. package/dist/plugins/admin/index.d.ts +3 -3
  70. package/dist/plugins/anonymous/index.d.cts +1 -1
  71. package/dist/plugins/anonymous/index.d.mts +1 -1
  72. package/dist/plugins/anonymous/index.d.ts +1 -1
  73. package/dist/plugins/bearer/index.d.cts +1 -1
  74. package/dist/plugins/bearer/index.d.mts +1 -1
  75. package/dist/plugins/bearer/index.d.ts +1 -1
  76. package/dist/plugins/captcha/index.d.cts +1 -1
  77. package/dist/plugins/captcha/index.d.mts +1 -1
  78. package/dist/plugins/captcha/index.d.ts +1 -1
  79. package/dist/plugins/custom-session/index.d.cts +1 -1
  80. package/dist/plugins/custom-session/index.d.mts +1 -1
  81. package/dist/plugins/custom-session/index.d.ts +1 -1
  82. package/dist/plugins/email-otp/index.d.cts +1 -1
  83. package/dist/plugins/email-otp/index.d.mts +1 -1
  84. package/dist/plugins/email-otp/index.d.ts +1 -1
  85. package/dist/plugins/generic-oauth/index.d.cts +1 -1
  86. package/dist/plugins/generic-oauth/index.d.mts +1 -1
  87. package/dist/plugins/generic-oauth/index.d.ts +1 -1
  88. package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
  89. package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
  90. package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
  91. package/dist/plugins/index.d.cts +5 -5
  92. package/dist/plugins/index.d.mts +5 -5
  93. package/dist/plugins/index.d.ts +5 -5
  94. package/dist/plugins/jwt/index.d.cts +1 -1
  95. package/dist/plugins/jwt/index.d.mts +1 -1
  96. package/dist/plugins/jwt/index.d.ts +1 -1
  97. package/dist/plugins/multi-session/index.d.cts +1 -1
  98. package/dist/plugins/multi-session/index.d.mts +1 -1
  99. package/dist/plugins/multi-session/index.d.ts +1 -1
  100. package/dist/plugins/oauth-proxy/index.d.cts +1 -1
  101. package/dist/plugins/oauth-proxy/index.d.mts +1 -1
  102. package/dist/plugins/oauth-proxy/index.d.ts +1 -1
  103. package/dist/plugins/oidc-provider/index.d.cts +1 -1
  104. package/dist/plugins/oidc-provider/index.d.mts +1 -1
  105. package/dist/plugins/oidc-provider/index.d.ts +1 -1
  106. package/dist/plugins/one-time-token/index.d.cts +1 -1
  107. package/dist/plugins/one-time-token/index.d.mts +1 -1
  108. package/dist/plugins/one-time-token/index.d.ts +1 -1
  109. package/dist/plugins/open-api/index.d.cts +1 -1
  110. package/dist/plugins/open-api/index.d.mts +1 -1
  111. package/dist/plugins/open-api/index.d.ts +1 -1
  112. package/dist/plugins/organization/index.d.cts +1 -1
  113. package/dist/plugins/organization/index.d.mts +1 -1
  114. package/dist/plugins/organization/index.d.ts +1 -1
  115. package/dist/plugins/passkey/index.d.cts +1 -1
  116. package/dist/plugins/passkey/index.d.mts +1 -1
  117. package/dist/plugins/passkey/index.d.ts +1 -1
  118. package/dist/plugins/phone-number/index.d.cts +1 -1
  119. package/dist/plugins/phone-number/index.d.mts +1 -1
  120. package/dist/plugins/phone-number/index.d.ts +1 -1
  121. package/dist/plugins/sso/index.d.cts +1 -1
  122. package/dist/plugins/sso/index.d.mts +1 -1
  123. package/dist/plugins/sso/index.d.ts +1 -1
  124. package/dist/plugins/two-factor/index.d.cts +1 -1
  125. package/dist/plugins/two-factor/index.d.mts +1 -1
  126. package/dist/plugins/two-factor/index.d.ts +1 -1
  127. package/dist/plugins/username/index.d.cts +3 -3
  128. package/dist/plugins/username/index.d.mts +3 -3
  129. package/dist/plugins/username/index.d.ts +3 -3
  130. package/dist/shared/{better-auth.De59HW-u.d.cts → better-auth.B4Jj3q3a.d.ts} +6 -6
  131. package/dist/shared/{better-auth.CAz9Cd5z.d.cts → better-auth.BA5VIuwi.d.cts} +4 -4
  132. package/dist/shared/{better-auth.Bo7h6YI5.d.ts → better-auth.BGW0dEjq.d.cts} +6 -6
  133. package/dist/shared/{better-auth.fHc4138q.d.mts → better-auth.BiJrzSAH.d.mts} +5 -5
  134. package/dist/shared/{better-auth.Ba48cL0L.d.mts → better-auth.DFiKdfK6.d.cts} +1 -1
  135. package/dist/shared/{better-auth.CcY3k9r5.d.cts → better-auth.DLJasRtl.d.mts} +1 -1
  136. package/dist/shared/{better-auth.DCaLQCEk.d.cts → better-auth.Flh6HfYx.d.cts} +1 -1
  137. package/dist/shared/{better-auth.JJG-4rPJ.d.mts → better-auth.QwiX43wb.d.mts} +4 -4
  138. package/dist/shared/{better-auth.Cm-DsNnM.d.ts → better-auth.V3OT3rVi.d.ts} +1 -1
  139. package/dist/shared/{better-auth.CRHB8IT6.d.ts → better-auth.fgQSO8Wg.d.ts} +1 -1
  140. package/dist/shared/{better-auth.BUnyEQuc.d.ts → better-auth.nHRig-F9.d.ts} +4 -4
  141. package/dist/shared/{better-auth.Df4VL-14.d.mts → better-auth.xbhp_NfZ.d.mts} +1 -1
  142. package/dist/test-utils/index.d.cts +2 -2
  143. package/dist/test-utils/index.d.mts +2 -2
  144. package/dist/test-utils/index.d.ts +2 -2
  145. package/dist/types/index.d.cts +2 -2
  146. package/dist/types/index.d.mts +2 -2
  147. package/dist/types/index.d.ts +2 -2
  148. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CAz9Cd5z.cjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BA5VIuwi.cjs';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.JJG-4rPJ.mjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.QwiX43wb.mjs';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BUnyEQuc.js';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.nHRig-F9.js';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,5 +1,5 @@
1
- import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CAz9Cd5z.cjs';
2
- export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CAz9Cd5z.cjs';
1
+ import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BA5VIuwi.cjs';
2
+ export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BA5VIuwi.cjs';
3
3
  import 'kysely';
4
4
  import 'better-call';
5
5
  import 'zod/v4';
@@ -1,5 +1,5 @@
1
- import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.JJG-4rPJ.mjs';
2
- export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.JJG-4rPJ.mjs';
1
+ import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.QwiX43wb.mjs';
2
+ export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.QwiX43wb.mjs';
3
3
  import 'kysely';
4
4
  import 'better-call';
5
5
  import 'zod/v4';
@@ -1,5 +1,5 @@
1
- import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BUnyEQuc.js';
2
- export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BUnyEQuc.js';
1
+ import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.nHRig-F9.js';
2
+ export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.nHRig-F9.js';
3
3
  import 'kysely';
4
4
  import 'better-call';
5
5
  import 'zod/v4';
@@ -1,5 +1,5 @@
1
1
  import { Kysely } from 'kysely';
2
- import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.CAz9Cd5z.cjs';
2
+ import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BA5VIuwi.cjs';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
5
5
  import '../../shared/better-auth.BDR52Rf2.cjs';
@@ -1,5 +1,5 @@
1
1
  import { Kysely } from 'kysely';
2
- import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.JJG-4rPJ.mjs';
2
+ import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.QwiX43wb.mjs';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
5
5
  import '../../shared/better-auth.BDR52Rf2.mjs';
@@ -1,5 +1,5 @@
1
1
  import { Kysely } from 'kysely';
2
- import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BUnyEQuc.js';
2
+ import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.nHRig-F9.js';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
5
5
  import '../../shared/better-auth.BDR52Rf2.js';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CAz9Cd5z.cjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BA5VIuwi.cjs';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.JJG-4rPJ.mjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.QwiX43wb.mjs';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BUnyEQuc.js';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.nHRig-F9.js';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CAz9Cd5z.cjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BA5VIuwi.cjs';
2
2
  import { Db } from 'mongodb';
3
3
  import 'kysely';
4
4
  import 'better-call';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.JJG-4rPJ.mjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.QwiX43wb.mjs';
2
2
  import { Db } from 'mongodb';
3
3
  import 'kysely';
4
4
  import 'better-call';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BUnyEQuc.js';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.nHRig-F9.js';
2
2
  import { Db } from 'mongodb';
3
3
  import 'kysely';
4
4
  import 'better-call';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CAz9Cd5z.cjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BA5VIuwi.cjs';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.JJG-4rPJ.mjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.QwiX43wb.mjs';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BUnyEQuc.js';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.nHRig-F9.js';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CAz9Cd5z.cjs';
1
+ import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BA5VIuwi.cjs';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.JJG-4rPJ.mjs';
1
+ import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.QwiX43wb.mjs';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BUnyEQuc.js';
1
+ import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.nHRig-F9.js';
2
2
  import 'kysely';
3
3
  import 'better-call';
4
4
  import 'zod/v4';
@@ -1,5 +1,5 @@
1
1
  import '../shared/better-auth.DSvLrleU.cjs';
2
- export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.CAz9Cd5z.cjs';
2
+ export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.BA5VIuwi.cjs';
3
3
  export { APIError } from 'better-call';
4
4
  import '../shared/better-auth.BDR52Rf2.cjs';
5
5
  import 'zod/v4/core';
@@ -1,5 +1,5 @@
1
1
  import '../shared/better-auth.BFod4hxi.mjs';
2
- export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.JJG-4rPJ.mjs';
2
+ export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.QwiX43wb.mjs';
3
3
  export { APIError } from 'better-call';
4
4
  import '../shared/better-auth.BDR52Rf2.mjs';
5
5
  import 'zod/v4/core';
@@ -1,5 +1,5 @@
1
1
  import '../shared/better-auth.B-pjewPT.js';
2
- export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.BUnyEQuc.js';
2
+ export { l as AuthEndpoint, m as AuthMiddleware, bm as accountInfo, aQ as callbackOAuth, bd as changeEmail, b9 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, b4 as createEmailVerificationToken, bb as deleteUser, bc as deleteUserCallback, be as error, b0 as forgetPassword, b2 as forgetPasswordCallback, aV as freshSessionMiddleware, bk as getAccessToken, aM as getEndpoints, aR as getSession, aS as getSessionFromCtx, bi as linkSocialAccount, aW as listSessions, bh as listUserAccounts, bf as ok, o as optionsMiddleware, bo as originCheck, bn as originCheckMiddleware, bl as refreshToken, aU as requestOnlySessionMiddleware, a$ as requestPasswordReset, b1 as requestPasswordResetCallback, b3 as resetPassword, aZ as revokeOtherSessions, aX as revokeSession, aY as revokeSessions, aN as router, b6 as sendVerificationEmail, b5 as sendVerificationEmailFn, aT as sessionMiddleware, ba as setPassword, aP as signInEmail, aO as signInSocial, a_ as signOut, bg as signUpEmail, bj as unlinkAccount, b8 as updateUser, b7 as verifyEmail } from '../shared/better-auth.nHRig-F9.js';
3
3
  export { APIError } from 'better-call';
4
4
  import '../shared/better-auth.BDR52Rf2.js';
5
5
  import 'zod/v4/core';
@@ -1,9 +1,9 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.CAz9Cd5z.cjs';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.BA5VIuwi.cjs';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
4
4
  export * from '@better-fetch/fetch';
5
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.DCaLQCEk.cjs';
6
- export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.DCaLQCEk.cjs';
5
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.Flh6HfYx.cjs';
6
+ export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.Flh6HfYx.cjs';
7
7
  import * as nanostores from 'nanostores';
8
8
  import { Atom, PreinitializedWritableAtom } from 'nanostores';
9
9
  export * from 'nanostores';
@@ -1,9 +1,9 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.JJG-4rPJ.mjs';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.QwiX43wb.mjs';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
4
4
  export * from '@better-fetch/fetch';
5
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.Df4VL-14.mjs';
6
- export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.Df4VL-14.mjs';
5
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.xbhp_NfZ.mjs';
6
+ export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.xbhp_NfZ.mjs';
7
7
  import * as nanostores from 'nanostores';
8
8
  import { Atom, PreinitializedWritableAtom } from 'nanostores';
9
9
  export * from 'nanostores';
@@ -1,9 +1,9 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.BUnyEQuc.js';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.nHRig-F9.js';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
4
4
  export * from '@better-fetch/fetch';
5
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.Cm-DsNnM.js';
6
- export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.Cm-DsNnM.js';
5
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.V3OT3rVi.js';
6
+ export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.V3OT3rVi.js';
7
7
  import * as nanostores from 'nanostores';
8
8
  import { Atom, PreinitializedWritableAtom } from 'nanostores';
9
9
  export * from 'nanostores';
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
5
5
  import * as _better_fetch_fetch from '@better-fetch/fetch';
6
6
  import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
7
7
  import { a as Prettify } from '../../shared/better-auth.BDR52Rf2.cjs';
8
- import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.CAz9Cd5z.cjs';
8
+ import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.BA5VIuwi.cjs';
9
9
  import { username } from '../../plugins/username/index.cjs';
10
10
  import { Session } from 'inspector';
11
11
  import { Passkey, passkey } from '../../plugins/passkey/index.cjs';
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.cjs';
18
18
  import { jwt } from '../../plugins/jwt/index.cjs';
19
19
  import { multiSession } from '../../plugins/multi-session/index.cjs';
20
20
  import { emailOTP } from '../../plugins/email-otp/index.cjs';
21
- import { S as Store } from '../../shared/better-auth.DCaLQCEk.cjs';
21
+ import { S as Store } from '../../shared/better-auth.Flh6HfYx.cjs';
22
22
  import { sso } from '../../plugins/sso/index.cjs';
23
23
  import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
24
- import { a as apiKey } from '../../shared/better-auth.De59HW-u.cjs';
24
+ import { a as apiKey } from '../../shared/better-auth.BGW0dEjq.cjs';
25
25
  import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
26
26
  import { siwe } from '../../plugins/siwe/index.cjs';
27
27
  export * from '@simplewebauthn/server';
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
5
5
  import * as _better_fetch_fetch from '@better-fetch/fetch';
6
6
  import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
7
7
  import { a as Prettify } from '../../shared/better-auth.BDR52Rf2.mjs';
8
- import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.JJG-4rPJ.mjs';
8
+ import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.QwiX43wb.mjs';
9
9
  import { username } from '../../plugins/username/index.mjs';
10
10
  import { Session } from 'inspector';
11
11
  import { Passkey, passkey } from '../../plugins/passkey/index.mjs';
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
18
18
  import { jwt } from '../../plugins/jwt/index.mjs';
19
19
  import { multiSession } from '../../plugins/multi-session/index.mjs';
20
20
  import { emailOTP } from '../../plugins/email-otp/index.mjs';
21
- import { S as Store } from '../../shared/better-auth.Df4VL-14.mjs';
21
+ import { S as Store } from '../../shared/better-auth.xbhp_NfZ.mjs';
22
22
  import { sso } from '../../plugins/sso/index.mjs';
23
23
  import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
24
- import { a as apiKey } from '../../shared/better-auth.fHc4138q.mjs';
24
+ import { a as apiKey } from '../../shared/better-auth.BiJrzSAH.mjs';
25
25
  import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
26
26
  import { siwe } from '../../plugins/siwe/index.mjs';
27
27
  export * from '@simplewebauthn/server';
@@ -5,7 +5,7 @@ import { atom } from 'nanostores';
5
5
  import * as _better_fetch_fetch from '@better-fetch/fetch';
6
6
  import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
7
7
  import { a as Prettify } from '../../shared/better-auth.BDR52Rf2.js';
8
- import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.BUnyEQuc.js';
8
+ import { J as FieldAttribute, B as BetterAuthOptions, U as User, h as BetterAuthPlugin } from '../../shared/better-auth.nHRig-F9.js';
9
9
  import { username } from '../../plugins/username/index.js';
10
10
  import { Session } from 'inspector';
11
11
  import { Passkey, passkey } from '../../plugins/passkey/index.js';
@@ -18,10 +18,10 @@ import { genericOAuth } from '../../plugins/generic-oauth/index.js';
18
18
  import { jwt } from '../../plugins/jwt/index.js';
19
19
  import { multiSession } from '../../plugins/multi-session/index.js';
20
20
  import { emailOTP } from '../../plugins/email-otp/index.js';
21
- import { S as Store } from '../../shared/better-auth.Cm-DsNnM.js';
21
+ import { S as Store } from '../../shared/better-auth.V3OT3rVi.js';
22
22
  import { sso } from '../../plugins/sso/index.js';
23
23
  import { oidcProvider } from '../../plugins/oidc-provider/index.js';
24
- import { a as apiKey } from '../../shared/better-auth.Bo7h6YI5.js';
24
+ import { a as apiKey } from '../../shared/better-auth.B4Jj3q3a.js';
25
25
  import { oneTimeToken } from '../../plugins/one-time-token/index.js';
26
26
  import { siwe } from '../../plugins/siwe/index.js';
27
27
  export * from '@simplewebauthn/server';
@@ -4,10 +4,10 @@ export * from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  export * from '@better-fetch/fetch';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DCaLQCEk.cjs';
7
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Flh6HfYx.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BA5VIuwi.cjs';
11
11
  import 'better-call';
12
12
  import 'kysely';
13
13
  import 'zod/v4';
@@ -68,15 +68,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
68
68
  data: InferClientAPI<Option> extends {
69
69
  getSession: () => Promise<infer Res>;
70
70
  } ? Res extends {
71
+ data: infer S;
72
+ error: null;
73
+ } | {
71
74
  data: null;
72
75
  error: {
73
76
  message?: string | undefined;
74
77
  status: number;
75
78
  statusText: string;
76
79
  };
77
- } | {
78
- data: infer S;
79
- error: null;
80
80
  } ? S : Res : never;
81
81
  isPending: boolean;
82
82
  error: BetterFetchError | null;
@@ -86,15 +86,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
86
86
  Session: NonNullable<InferClientAPI<Option> extends {
87
87
  getSession: () => Promise<infer Res>;
88
88
  } ? Res extends {
89
+ data: infer S;
90
+ error: null;
91
+ } | {
89
92
  data: null;
90
93
  error: {
91
94
  message?: string | undefined;
92
95
  status: number;
93
96
  statusText: string;
94
97
  };
95
- } | {
96
- data: infer S;
97
- error: null;
98
98
  } ? S : Res : never>;
99
99
  };
100
100
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
114
114
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
115
115
  };
116
116
  })[];
117
- redirect?: RequestRedirect | undefined;
118
117
  method: string;
119
118
  headers?: (HeadersInit & (HeadersInit | {
120
119
  accept: "application/json" | "text/plain" | "application/octet-stream";
121
120
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
122
121
  authorization: "Bearer" | "Basic";
123
122
  })) | undefined;
123
+ redirect?: RequestRedirect | undefined;
124
124
  cache?: RequestCache | undefined;
125
125
  credentials?: RequestCredentials;
126
126
  integrity?: string | undefined;
@@ -4,10 +4,10 @@ export * from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  export * from '@better-fetch/fetch';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Df4VL-14.mjs';
7
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.xbhp_NfZ.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.QwiX43wb.mjs';
11
11
  import 'better-call';
12
12
  import 'kysely';
13
13
  import 'zod/v4';
@@ -68,15 +68,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
68
68
  data: InferClientAPI<Option> extends {
69
69
  getSession: () => Promise<infer Res>;
70
70
  } ? Res extends {
71
+ data: infer S;
72
+ error: null;
73
+ } | {
71
74
  data: null;
72
75
  error: {
73
76
  message?: string | undefined;
74
77
  status: number;
75
78
  statusText: string;
76
79
  };
77
- } | {
78
- data: infer S;
79
- error: null;
80
80
  } ? S : Res : never;
81
81
  isPending: boolean;
82
82
  error: BetterFetchError | null;
@@ -86,15 +86,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
86
86
  Session: NonNullable<InferClientAPI<Option> extends {
87
87
  getSession: () => Promise<infer Res>;
88
88
  } ? Res extends {
89
+ data: infer S;
90
+ error: null;
91
+ } | {
89
92
  data: null;
90
93
  error: {
91
94
  message?: string | undefined;
92
95
  status: number;
93
96
  statusText: string;
94
97
  };
95
- } | {
96
- data: infer S;
97
- error: null;
98
98
  } ? S : Res : never>;
99
99
  };
100
100
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
114
114
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
115
115
  };
116
116
  })[];
117
- redirect?: RequestRedirect | undefined;
118
117
  method: string;
119
118
  headers?: (HeadersInit & (HeadersInit | {
120
119
  accept: "application/json" | "text/plain" | "application/octet-stream";
121
120
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
122
121
  authorization: "Bearer" | "Basic";
123
122
  })) | undefined;
123
+ redirect?: RequestRedirect | undefined;
124
124
  cache?: RequestCache | undefined;
125
125
  credentials?: RequestCredentials;
126
126
  integrity?: string | undefined;
@@ -4,10 +4,10 @@ export * from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  export * from '@better-fetch/fetch';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Cm-DsNnM.js';
7
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.V3OT3rVi.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.nHRig-F9.js';
11
11
  import 'better-call';
12
12
  import 'kysely';
13
13
  import 'zod/v4';
@@ -68,15 +68,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
68
68
  data: InferClientAPI<Option> extends {
69
69
  getSession: () => Promise<infer Res>;
70
70
  } ? Res extends {
71
+ data: infer S;
72
+ error: null;
73
+ } | {
71
74
  data: null;
72
75
  error: {
73
76
  message?: string | undefined;
74
77
  status: number;
75
78
  statusText: string;
76
79
  };
77
- } | {
78
- data: infer S;
79
- error: null;
80
80
  } ? S : Res : never;
81
81
  isPending: boolean;
82
82
  error: BetterFetchError | null;
@@ -86,15 +86,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
86
86
  Session: NonNullable<InferClientAPI<Option> extends {
87
87
  getSession: () => Promise<infer Res>;
88
88
  } ? Res extends {
89
+ data: infer S;
90
+ error: null;
91
+ } | {
89
92
  data: null;
90
93
  error: {
91
94
  message?: string | undefined;
92
95
  status: number;
93
96
  statusText: string;
94
97
  };
95
- } | {
96
- data: infer S;
97
- error: null;
98
98
  } ? S : Res : never>;
99
99
  };
100
100
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
114
114
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
115
115
  };
116
116
  })[];
117
- redirect?: RequestRedirect | undefined;
118
117
  method: string;
119
118
  headers?: (HeadersInit & (HeadersInit | {
120
119
  accept: "application/json" | "text/plain" | "application/octet-stream";
121
120
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
122
121
  authorization: "Bearer" | "Basic";
123
122
  })) | undefined;
123
+ redirect?: RequestRedirect | undefined;
124
124
  cache?: RequestCache | undefined;
125
125
  credentials?: RequestCredentials;
126
126
  integrity?: string | undefined;
@@ -1,10 +1,10 @@
1
1
  import * as _better_fetch_fetch from '@better-fetch/fetch';
2
2
  import { BetterFetchError } from '@better-fetch/fetch';
3
3
  export * from '@better-fetch/fetch';
4
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DCaLQCEk.cjs';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Flh6HfYx.cjs';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BA5VIuwi.cjs';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'kysely';
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
24
24
  data: InferClientAPI<Option> extends {
25
25
  getSession: () => Promise<infer Res>;
26
26
  } ? Res extends {
27
- data: infer S;
28
- error: null;
29
- } | {
30
27
  data: null;
31
28
  error: {
32
29
  message?: string | undefined;
33
30
  status: number;
34
31
  statusText: string;
35
32
  };
33
+ } | {
34
+ data: infer S;
35
+ error: null;
36
36
  } ? S : Res extends Record<string, any> ? Res : never : never;
37
37
  isPending: boolean;
38
38
  isRefetching: boolean;
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
42
42
  Session: NonNullable<InferClientAPI<Option> extends {
43
43
  getSession: () => Promise<infer Res>;
44
44
  } ? Res extends {
45
- data: infer S;
46
- error: null;
47
- } | {
48
45
  data: null;
49
46
  error: {
50
47
  message?: string | undefined;
51
48
  status: number;
52
49
  statusText: string;
53
50
  };
51
+ } | {
52
+ data: infer S;
53
+ error: null;
54
54
  } ? S : Res extends Record<string, any> ? Res : never : never>;
55
55
  };
56
56
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
70
70
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
71
71
  };
72
72
  })[];
73
- redirect?: RequestRedirect | undefined;
74
73
  method: string;
75
74
  headers?: (HeadersInit & (HeadersInit | {
76
75
  accept: "application/json" | "text/plain" | "application/octet-stream";
77
76
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
78
77
  authorization: "Bearer" | "Basic";
79
78
  })) | undefined;
79
+ redirect?: RequestRedirect | undefined;
80
80
  cache?: RequestCache | undefined;
81
81
  credentials?: RequestCredentials;
82
82
  integrity?: string | undefined;