better-auth 1.3.0-beta.5 → 1.3.0-beta.7

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 (231) hide show
  1. package/dist/adapters/drizzle-adapter/index.d.cts +2 -2
  2. package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
  3. package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
  4. package/dist/adapters/index.d.cts +3 -3
  5. package/dist/adapters/index.d.mts +3 -3
  6. package/dist/adapters/index.d.ts +3 -3
  7. package/dist/adapters/kysely-adapter/index.d.cts +2 -2
  8. package/dist/adapters/kysely-adapter/index.d.mts +2 -2
  9. package/dist/adapters/kysely-adapter/index.d.ts +2 -2
  10. package/dist/adapters/memory-adapter/index.d.cts +2 -2
  11. package/dist/adapters/memory-adapter/index.d.mts +2 -2
  12. package/dist/adapters/memory-adapter/index.d.ts +2 -2
  13. package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
  14. package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
  15. package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
  16. package/dist/adapters/prisma-adapter/index.d.cts +2 -2
  17. package/dist/adapters/prisma-adapter/index.d.mts +2 -2
  18. package/dist/adapters/prisma-adapter/index.d.ts +2 -2
  19. package/dist/adapters/test.d.cts +2 -2
  20. package/dist/adapters/test.d.mts +2 -2
  21. package/dist/adapters/test.d.ts +2 -2
  22. package/dist/api/index.cjs +1 -1
  23. package/dist/api/index.d.cts +2 -2
  24. package/dist/api/index.d.mts +2 -2
  25. package/dist/api/index.d.ts +2 -2
  26. package/dist/api/index.mjs +2 -2
  27. package/dist/chunks/index.cjs +905 -0
  28. package/dist/chunks/index.mjs +895 -0
  29. package/dist/client/index.d.cts +5 -9
  30. package/dist/client/index.d.mts +5 -9
  31. package/dist/client/index.d.ts +5 -9
  32. package/dist/client/plugins/index.d.cts +4 -4
  33. package/dist/client/plugins/index.d.mts +4 -4
  34. package/dist/client/plugins/index.d.ts +4 -4
  35. package/dist/client/react/index.d.cts +9 -9
  36. package/dist/client/react/index.d.mts +9 -9
  37. package/dist/client/react/index.d.ts +9 -9
  38. package/dist/client/solid/index.d.cts +9 -9
  39. package/dist/client/solid/index.d.mts +9 -9
  40. package/dist/client/solid/index.d.ts +9 -9
  41. package/dist/client/svelte/index.d.cts +3 -3
  42. package/dist/client/svelte/index.d.mts +3 -3
  43. package/dist/client/svelte/index.d.ts +3 -3
  44. package/dist/client/vue/index.d.cts +3 -3
  45. package/dist/client/vue/index.d.mts +3 -3
  46. package/dist/client/vue/index.d.ts +3 -3
  47. package/dist/cookies/index.d.cts +2 -2
  48. package/dist/cookies/index.d.mts +2 -2
  49. package/dist/cookies/index.d.ts +2 -2
  50. package/dist/db/index.d.cts +3 -3
  51. package/dist/db/index.d.mts +3 -3
  52. package/dist/db/index.d.ts +3 -3
  53. package/dist/index.cjs +2 -2
  54. package/dist/index.d.cts +4 -4
  55. package/dist/index.d.mts +4 -4
  56. package/dist/index.d.ts +4 -4
  57. package/dist/index.mjs +2 -2
  58. package/dist/integrations/next-js.cjs +2 -2
  59. package/dist/integrations/next-js.d.cts +2 -2
  60. package/dist/integrations/next-js.d.mts +2 -2
  61. package/dist/integrations/next-js.d.ts +2 -2
  62. package/dist/integrations/next-js.mjs +2 -2
  63. package/dist/integrations/node.d.cts +2 -2
  64. package/dist/integrations/node.d.mts +2 -2
  65. package/dist/integrations/node.d.ts +2 -2
  66. package/dist/integrations/react-start.cjs +3 -3
  67. package/dist/integrations/react-start.d.cts +2 -2
  68. package/dist/integrations/react-start.d.mts +2 -2
  69. package/dist/integrations/react-start.d.ts +2 -2
  70. package/dist/integrations/react-start.mjs +3 -3
  71. package/dist/integrations/svelte-kit.cjs +1 -1
  72. package/dist/integrations/svelte-kit.d.cts +2 -2
  73. package/dist/integrations/svelte-kit.d.mts +2 -2
  74. package/dist/integrations/svelte-kit.d.ts +2 -2
  75. package/dist/integrations/svelte-kit.mjs +1 -1
  76. package/dist/oauth2/index.cjs +1 -1
  77. package/dist/oauth2/index.d.cts +4 -4
  78. package/dist/oauth2/index.d.mts +4 -4
  79. package/dist/oauth2/index.d.ts +4 -4
  80. package/dist/oauth2/index.mjs +1 -1
  81. package/dist/plugins/admin/index.cjs +2 -2
  82. package/dist/plugins/admin/index.d.cts +6 -5
  83. package/dist/plugins/admin/index.d.mts +6 -5
  84. package/dist/plugins/admin/index.d.ts +6 -5
  85. package/dist/plugins/admin/index.mjs +2 -2
  86. package/dist/plugins/anonymous/index.cjs +1 -1
  87. package/dist/plugins/anonymous/index.d.cts +2 -2
  88. package/dist/plugins/anonymous/index.d.mts +2 -2
  89. package/dist/plugins/anonymous/index.d.ts +2 -2
  90. package/dist/plugins/anonymous/index.mjs +1 -1
  91. package/dist/plugins/bearer/index.cjs +1 -1
  92. package/dist/plugins/bearer/index.d.cts +2 -2
  93. package/dist/plugins/bearer/index.d.mts +2 -2
  94. package/dist/plugins/bearer/index.d.ts +2 -2
  95. package/dist/plugins/bearer/index.mjs +1 -1
  96. package/dist/plugins/captcha/index.d.cts +2 -2
  97. package/dist/plugins/captcha/index.d.mts +2 -2
  98. package/dist/plugins/captcha/index.d.ts +2 -2
  99. package/dist/plugins/custom-session/index.cjs +1 -1
  100. package/dist/plugins/custom-session/index.d.cts +2 -2
  101. package/dist/plugins/custom-session/index.d.mts +2 -2
  102. package/dist/plugins/custom-session/index.d.ts +2 -2
  103. package/dist/plugins/custom-session/index.mjs +1 -1
  104. package/dist/plugins/email-otp/index.cjs +213 -101
  105. package/dist/plugins/email-otp/index.d.cts +101 -72
  106. package/dist/plugins/email-otp/index.d.mts +101 -72
  107. package/dist/plugins/email-otp/index.d.ts +101 -72
  108. package/dist/plugins/email-otp/index.mjs +213 -101
  109. package/dist/plugins/generic-oauth/index.cjs +1 -1
  110. package/dist/plugins/generic-oauth/index.d.cts +2 -2
  111. package/dist/plugins/generic-oauth/index.d.mts +2 -2
  112. package/dist/plugins/generic-oauth/index.d.ts +2 -2
  113. package/dist/plugins/generic-oauth/index.mjs +1 -1
  114. package/dist/plugins/haveibeenpwned/index.cjs +1 -1
  115. package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
  116. package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
  117. package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
  118. package/dist/plugins/haveibeenpwned/index.mjs +1 -1
  119. package/dist/plugins/index.cjs +23 -1895
  120. package/dist/plugins/index.d.cts +4 -4
  121. package/dist/plugins/index.d.mts +4 -4
  122. package/dist/plugins/index.d.ts +4 -4
  123. package/dist/plugins/index.mjs +22 -1894
  124. package/dist/plugins/jwt/index.cjs +1 -1
  125. package/dist/plugins/jwt/index.d.cts +2 -2
  126. package/dist/plugins/jwt/index.d.mts +2 -2
  127. package/dist/plugins/jwt/index.d.ts +2 -2
  128. package/dist/plugins/jwt/index.mjs +1 -1
  129. package/dist/plugins/magic-link/index.cjs +39 -12
  130. package/dist/plugins/magic-link/index.d.cts +12 -2
  131. package/dist/plugins/magic-link/index.d.mts +12 -2
  132. package/dist/plugins/magic-link/index.d.ts +12 -2
  133. package/dist/plugins/magic-link/index.mjs +39 -12
  134. package/dist/plugins/multi-session/index.cjs +1 -1
  135. package/dist/plugins/multi-session/index.d.cts +2 -2
  136. package/dist/plugins/multi-session/index.d.mts +2 -2
  137. package/dist/plugins/multi-session/index.d.ts +2 -2
  138. package/dist/plugins/multi-session/index.mjs +1 -1
  139. package/dist/plugins/oauth-proxy/index.cjs +1 -1
  140. package/dist/plugins/oauth-proxy/index.d.cts +2 -2
  141. package/dist/plugins/oauth-proxy/index.d.mts +2 -2
  142. package/dist/plugins/oauth-proxy/index.d.ts +2 -2
  143. package/dist/plugins/oauth-proxy/index.mjs +1 -1
  144. package/dist/plugins/oidc-provider/index.cjs +2 -2
  145. package/dist/plugins/oidc-provider/index.d.cts +7 -7
  146. package/dist/plugins/oidc-provider/index.d.mts +7 -7
  147. package/dist/plugins/oidc-provider/index.d.ts +7 -7
  148. package/dist/plugins/oidc-provider/index.mjs +2 -2
  149. package/dist/plugins/one-tap/index.cjs +1 -1
  150. package/dist/plugins/one-tap/index.mjs +1 -1
  151. package/dist/plugins/one-time-token/index.cjs +8 -77
  152. package/dist/plugins/one-time-token/index.d.cts +14 -4
  153. package/dist/plugins/one-time-token/index.d.mts +14 -4
  154. package/dist/plugins/one-time-token/index.d.ts +14 -4
  155. package/dist/plugins/one-time-token/index.mjs +6 -79
  156. package/dist/plugins/open-api/index.cjs +1 -1
  157. package/dist/plugins/open-api/index.d.cts +2 -2
  158. package/dist/plugins/open-api/index.d.mts +2 -2
  159. package/dist/plugins/open-api/index.d.ts +2 -2
  160. package/dist/plugins/open-api/index.mjs +1 -1
  161. package/dist/plugins/organization/index.cjs +2 -2
  162. package/dist/plugins/organization/index.d.cts +3 -2
  163. package/dist/plugins/organization/index.d.mts +3 -2
  164. package/dist/plugins/organization/index.d.ts +3 -2
  165. package/dist/plugins/organization/index.mjs +2 -2
  166. package/dist/plugins/passkey/index.cjs +1 -1
  167. package/dist/plugins/passkey/index.d.cts +2 -2
  168. package/dist/plugins/passkey/index.d.mts +2 -2
  169. package/dist/plugins/passkey/index.d.ts +2 -2
  170. package/dist/plugins/passkey/index.mjs +1 -1
  171. package/dist/plugins/phone-number/index.cjs +1 -1
  172. package/dist/plugins/phone-number/index.d.cts +2 -2
  173. package/dist/plugins/phone-number/index.d.mts +2 -2
  174. package/dist/plugins/phone-number/index.d.ts +2 -2
  175. package/dist/plugins/phone-number/index.mjs +1 -1
  176. package/dist/plugins/sso/index.cjs +1 -1
  177. package/dist/plugins/sso/index.d.cts +5 -5
  178. package/dist/plugins/sso/index.d.mts +5 -5
  179. package/dist/plugins/sso/index.d.ts +5 -5
  180. package/dist/plugins/sso/index.mjs +1 -1
  181. package/dist/plugins/two-factor/index.cjs +103 -18
  182. package/dist/plugins/two-factor/index.d.cts +23 -7
  183. package/dist/plugins/two-factor/index.d.mts +23 -7
  184. package/dist/plugins/two-factor/index.d.ts +23 -7
  185. package/dist/plugins/two-factor/index.mjs +103 -18
  186. package/dist/plugins/username/index.cjs +4 -2
  187. package/dist/plugins/username/index.d.cts +2 -2
  188. package/dist/plugins/username/index.d.mts +2 -2
  189. package/dist/plugins/username/index.d.ts +2 -2
  190. package/dist/plugins/username/index.mjs +4 -2
  191. package/dist/shared/{better-auth.CqTBLifU.d.cts → better-auth.1M3xAdJC.d.cts} +45 -38
  192. package/dist/shared/{better-auth.RTMLk2Ya.cjs → better-auth.B2zZl7qP.cjs} +1 -1
  193. package/dist/shared/{better-auth.C0cDbHJn.d.mts → better-auth.BJa1oqpN.d.cts} +1 -1
  194. package/dist/shared/{better-auth.GYpUAWrY.d.mts → better-auth.BYIMqSU0.d.mts} +2 -2
  195. package/dist/shared/{better-auth.BGfHbXlu.d.ts → better-auth.Bc-1Su7g.d.ts} +45 -38
  196. package/dist/shared/{better-auth.B7Dt9CoJ.cjs → better-auth.BjBe8STm.cjs} +11 -2
  197. package/dist/shared/{better-auth.ClyLnOjY.mjs → better-auth.BtyWISFt.mjs} +152 -75
  198. package/dist/shared/{better-auth.GAghsvQp.d.cts → better-auth.C1otFVHS.d.mts} +1 -1
  199. package/dist/shared/better-auth.C6VyAxGz.mjs +2001 -0
  200. package/dist/shared/{better-auth.CP_AmXSW.d.mts → better-auth.CJ2ZGyoL.d.mts} +7 -3
  201. package/dist/shared/{better-auth.CZ3qe2fL.d.ts → better-auth.CJb2R19P.d.ts} +2 -2
  202. package/dist/shared/{better-auth.CRISE-Is.mjs → better-auth.CQPOI-_E.mjs} +1 -1
  203. package/dist/shared/{better-auth.CJDmUUCz.d.cts → better-auth.CpSq0H3M.d.cts} +2 -2
  204. package/dist/shared/{better-auth.DBODKok7.mjs → better-auth.D7Si_1a9.mjs} +11 -2
  205. package/dist/shared/{better-auth.DFU4LGhu.d.ts → better-auth.D9z1x8va.d.ts} +99 -2
  206. package/dist/shared/{better-auth.B8vM3gli.d.mts → better-auth.DWRzwPcP.d.mts} +45 -38
  207. package/dist/shared/better-auth.DZBS14g0.cjs +2007 -0
  208. package/dist/shared/{better-auth.B9cT0y97.d.cts → better-auth.DcwXW4BB.d.cts} +7 -3
  209. package/dist/shared/{better-auth.69-aSQxn.d.ts → better-auth.Dde0tveQ.d.ts} +1 -1
  210. package/dist/shared/{better-auth.CBQcGOAy.mjs → better-auth.Dh9fsfY2.mjs} +3 -2
  211. package/dist/shared/{better-auth.Ds-w2spb.cjs → better-auth.HT3cSIq4.cjs} +152 -74
  212. package/dist/shared/{better-auth.D0zUlh1z.cjs → better-auth.I7OjQ-oc.cjs} +3 -2
  213. package/dist/shared/{better-auth.BnAeoMet.d.cts → better-auth.VwFr4owi.d.cts} +99 -2
  214. package/dist/shared/{better-auth.BK4bljal.cjs → better-auth.Y_QHVJcB.cjs} +1 -1
  215. package/dist/shared/{better-auth.BzWvuaI6.d.ts → better-auth.bHQlVztX.d.ts} +7 -3
  216. package/dist/shared/{better-auth.CpQAMo-G.d.mts → better-auth.kvIPfj9F.d.mts} +99 -2
  217. package/dist/shared/{better-auth.ZAqiQx_W.mjs → better-auth.tST9Caqi.mjs} +1 -1
  218. package/dist/social-providers/index.cjs +2 -1
  219. package/dist/social-providers/index.d.cts +1 -1
  220. package/dist/social-providers/index.d.mts +1 -1
  221. package/dist/social-providers/index.d.ts +1 -1
  222. package/dist/social-providers/index.mjs +1 -1
  223. package/dist/test-utils/index.cjs +3 -3
  224. package/dist/test-utils/index.d.cts +76 -76
  225. package/dist/test-utils/index.d.mts +76 -76
  226. package/dist/test-utils/index.d.ts +76 -76
  227. package/dist/test-utils/index.mjs +3 -3
  228. package/dist/types/index.d.cts +3 -3
  229. package/dist/types/index.d.mts +3 -3
  230. package/dist/types/index.d.ts +3 -3
  231. package/package.json +2 -2
@@ -1,15 +1,15 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.CqTBLifU.cjs';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.1M3xAdJC.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, i as InferRoutes } from '../shared/better-auth.B9cT0y97.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.B9cT0y97.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.DcwXW4BB.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.DcwXW4BB.cjs';
7
7
  import * as nanostores from 'nanostores';
8
8
  import { Atom, PreinitializedWritableAtom } from 'nanostores';
9
9
  export * from 'nanostores';
10
10
  import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.9XhOL8gb.cjs';
11
11
  import 'zod';
12
- import '../shared/better-auth.BnAeoMet.cjs';
12
+ import '../shared/better-auth.VwFr4owi.cjs';
13
13
  import 'kysely';
14
14
  import 'better-call';
15
15
  import 'better-sqlite3';
@@ -117,11 +117,7 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
117
117
  } ? S : Res extends Record<string, any> ? Res : never : never>;
118
118
  };
119
119
  $ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
120
- } & InferRoutes<Option["$InferAuth"] extends {
121
- plugins: infer Plugins;
122
- } ? Plugins extends Array<infer Plugin> ? Plugin extends {
123
- endpoints: infer Endpoints;
124
- } ? Endpoints : {} : {} : {}, Option>;
120
+ };
125
121
 
126
122
  declare const useAuthQuery: <T>(initializedAtom: PreinitializedWritableAtom<any> | PreinitializedWritableAtom<any>[], path: string, $fetch: BetterFetch, options?: ((value: {
127
123
  data: null | T;
@@ -1,15 +1,15 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.B8vM3gli.mjs';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.DWRzwPcP.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, i as InferRoutes } from '../shared/better-auth.CP_AmXSW.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.CP_AmXSW.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.CJ2ZGyoL.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.CJ2ZGyoL.mjs';
7
7
  import * as nanostores from 'nanostores';
8
8
  import { Atom, PreinitializedWritableAtom } from 'nanostores';
9
9
  export * from 'nanostores';
10
10
  import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.9XhOL8gb.mjs';
11
11
  import 'zod';
12
- import '../shared/better-auth.CpQAMo-G.mjs';
12
+ import '../shared/better-auth.kvIPfj9F.mjs';
13
13
  import 'kysely';
14
14
  import 'better-call';
15
15
  import 'better-sqlite3';
@@ -117,11 +117,7 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
117
117
  } ? S : Res extends Record<string, any> ? Res : never : never>;
118
118
  };
119
119
  $ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
120
- } & InferRoutes<Option["$InferAuth"] extends {
121
- plugins: infer Plugins;
122
- } ? Plugins extends Array<infer Plugin> ? Plugin extends {
123
- endpoints: infer Endpoints;
124
- } ? Endpoints : {} : {} : {}, Option>;
120
+ };
125
121
 
126
122
  declare const useAuthQuery: <T>(initializedAtom: PreinitializedWritableAtom<any> | PreinitializedWritableAtom<any>[], path: string, $fetch: BetterFetch, options?: ((value: {
127
123
  data: null | T;
@@ -1,15 +1,15 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.BGfHbXlu.js';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.Bc-1Su7g.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, i as InferRoutes } from '../shared/better-auth.BzWvuaI6.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.BzWvuaI6.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.bHQlVztX.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.bHQlVztX.js';
7
7
  import * as nanostores from 'nanostores';
8
8
  import { Atom, PreinitializedWritableAtom } from 'nanostores';
9
9
  export * from 'nanostores';
10
10
  import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.9XhOL8gb.js';
11
11
  import 'zod';
12
- import '../shared/better-auth.DFU4LGhu.js';
12
+ import '../shared/better-auth.D9z1x8va.js';
13
13
  import 'kysely';
14
14
  import 'better-call';
15
15
  import 'better-sqlite3';
@@ -117,11 +117,7 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
117
117
  } ? S : Res extends Record<string, any> ? Res : never : never>;
118
118
  };
119
119
  $ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
120
- } & InferRoutes<Option["$InferAuth"] extends {
121
- plugins: infer Plugins;
122
- } ? Plugins extends Array<infer Plugin> ? Plugin extends {
123
- endpoints: infer Endpoints;
124
- } ? Endpoints : {} : {} : {}, Option>;
120
+ };
125
121
 
126
122
  declare const useAuthQuery: <T>(initializedAtom: PreinitializedWritableAtom<any> | PreinitializedWritableAtom<any>[], path: string, $fetch: BetterFetch, options?: ((value: {
127
123
  data: null | T;
@@ -11,23 +11,23 @@ export { twoFactorClient } from '../../plugins/two-factor/index.cjs';
11
11
  import { magicLink } from '../../plugins/magic-link/index.cjs';
12
12
  import { phoneNumber } from '../../plugins/phone-number/index.cjs';
13
13
  import { anonymous } from '../../plugins/anonymous/index.cjs';
14
- import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.CqTBLifU.cjs';
14
+ import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.1M3xAdJC.cjs';
15
15
  import { admin } from '../../plugins/admin/index.cjs';
16
16
  import { genericOAuth } from '../../plugins/generic-oauth/index.cjs';
17
17
  import { jwt } from '../../plugins/jwt/index.cjs';
18
18
  import { multiSession } from '../../plugins/multi-session/index.cjs';
19
19
  import { emailOTP } from '../../plugins/email-otp/index.cjs';
20
- import { S as Store } from '../../shared/better-auth.B9cT0y97.cjs';
20
+ import { S as Store } from '../../shared/better-auth.DcwXW4BB.cjs';
21
21
  import { sso } from '../../plugins/sso/index.cjs';
22
22
  import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
23
- import { a as apiKey } from '../../shared/better-auth.CJDmUUCz.cjs';
23
+ import { a as apiKey } from '../../shared/better-auth.CpSq0H3M.cjs';
24
24
  import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
25
25
  export * from '@simplewebauthn/server';
26
26
  export { global } from '@simplewebauthn/server';
27
27
  import 'zod';
28
28
  import 'better-call';
29
29
  import '../../plugins/organization/access/index.cjs';
30
- import '../../shared/better-auth.BnAeoMet.cjs';
30
+ import '../../shared/better-auth.VwFr4owi.cjs';
31
31
  import 'kysely';
32
32
  import 'better-sqlite3';
33
33
  import 'bun:sqlite';
@@ -11,23 +11,23 @@ export { twoFactorClient } from '../../plugins/two-factor/index.mjs';
11
11
  import { magicLink } from '../../plugins/magic-link/index.mjs';
12
12
  import { phoneNumber } from '../../plugins/phone-number/index.mjs';
13
13
  import { anonymous } from '../../plugins/anonymous/index.mjs';
14
- import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.B8vM3gli.mjs';
14
+ import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.DWRzwPcP.mjs';
15
15
  import { admin } from '../../plugins/admin/index.mjs';
16
16
  import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
17
17
  import { jwt } from '../../plugins/jwt/index.mjs';
18
18
  import { multiSession } from '../../plugins/multi-session/index.mjs';
19
19
  import { emailOTP } from '../../plugins/email-otp/index.mjs';
20
- import { S as Store } from '../../shared/better-auth.CP_AmXSW.mjs';
20
+ import { S as Store } from '../../shared/better-auth.CJ2ZGyoL.mjs';
21
21
  import { sso } from '../../plugins/sso/index.mjs';
22
22
  import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
23
- import { a as apiKey } from '../../shared/better-auth.GYpUAWrY.mjs';
23
+ import { a as apiKey } from '../../shared/better-auth.BYIMqSU0.mjs';
24
24
  import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
25
25
  export * from '@simplewebauthn/server';
26
26
  export { global } from '@simplewebauthn/server';
27
27
  import 'zod';
28
28
  import 'better-call';
29
29
  import '../../plugins/organization/access/index.mjs';
30
- import '../../shared/better-auth.CpQAMo-G.mjs';
30
+ import '../../shared/better-auth.kvIPfj9F.mjs';
31
31
  import 'kysely';
32
32
  import 'better-sqlite3';
33
33
  import 'bun:sqlite';
@@ -11,23 +11,23 @@ export { twoFactorClient } from '../../plugins/two-factor/index.js';
11
11
  import { magicLink } from '../../plugins/magic-link/index.js';
12
12
  import { phoneNumber } from '../../plugins/phone-number/index.js';
13
13
  import { anonymous } from '../../plugins/anonymous/index.js';
14
- import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.BGfHbXlu.js';
14
+ import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.Bc-1Su7g.js';
15
15
  import { admin } from '../../plugins/admin/index.js';
16
16
  import { genericOAuth } from '../../plugins/generic-oauth/index.js';
17
17
  import { jwt } from '../../plugins/jwt/index.js';
18
18
  import { multiSession } from '../../plugins/multi-session/index.js';
19
19
  import { emailOTP } from '../../plugins/email-otp/index.js';
20
- import { S as Store } from '../../shared/better-auth.BzWvuaI6.js';
20
+ import { S as Store } from '../../shared/better-auth.bHQlVztX.js';
21
21
  import { sso } from '../../plugins/sso/index.js';
22
22
  import { oidcProvider } from '../../plugins/oidc-provider/index.js';
23
- import { a as apiKey } from '../../shared/better-auth.CZ3qe2fL.js';
23
+ import { a as apiKey } from '../../shared/better-auth.CJb2R19P.js';
24
24
  import { oneTimeToken } from '../../plugins/one-time-token/index.js';
25
25
  export * from '@simplewebauthn/server';
26
26
  export { global } from '@simplewebauthn/server';
27
27
  import 'zod';
28
28
  import 'better-call';
29
29
  import '../../plugins/organization/access/index.js';
30
- import '../../shared/better-auth.DFU4LGhu.js';
30
+ import '../../shared/better-auth.D9z1x8va.js';
31
31
  import 'kysely';
32
32
  import 'better-sqlite3';
33
33
  import 'bun:sqlite';
@@ -4,13 +4,13 @@ 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.B9cT0y97.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.DcwXW4BB.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CqTBLifU.cjs';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.1M3xAdJC.cjs';
11
11
  import 'better-call';
12
12
  import 'zod';
13
- import '../../shared/better-auth.BnAeoMet.cjs';
13
+ import '../../shared/better-auth.VwFr4owi.cjs';
14
14
  import 'kysely';
15
15
  import 'better-sqlite3';
16
16
  import 'bun:sqlite';
@@ -65,15 +65,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
65
65
  data: InferClientAPI<Option> extends {
66
66
  getSession: () => Promise<infer Res>;
67
67
  } ? Res extends {
68
+ data: infer S;
69
+ error: null;
70
+ } | {
68
71
  data: null;
69
72
  error: {
70
73
  message?: string | undefined;
71
74
  status: number;
72
75
  statusText: string;
73
76
  };
74
- } | {
75
- data: infer S;
76
- error: null;
77
77
  } ? S : Res : never;
78
78
  isPending: boolean;
79
79
  error: BetterFetchError | null;
@@ -83,15 +83,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
83
83
  Session: NonNullable<InferClientAPI<Option> extends {
84
84
  getSession: () => Promise<infer Res>;
85
85
  } ? Res extends {
86
+ data: infer S;
87
+ error: null;
88
+ } | {
86
89
  data: null;
87
90
  error: {
88
91
  message?: string | undefined;
89
92
  status: number;
90
93
  statusText: string;
91
94
  };
92
- } | {
93
- data: infer S;
94
- error: null;
95
95
  } ? S : Res : never>;
96
96
  };
97
97
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -4,13 +4,13 @@ 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.CP_AmXSW.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.CJ2ZGyoL.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.B8vM3gli.mjs';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DWRzwPcP.mjs';
11
11
  import 'better-call';
12
12
  import 'zod';
13
- import '../../shared/better-auth.CpQAMo-G.mjs';
13
+ import '../../shared/better-auth.kvIPfj9F.mjs';
14
14
  import 'kysely';
15
15
  import 'better-sqlite3';
16
16
  import 'bun:sqlite';
@@ -65,15 +65,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
65
65
  data: InferClientAPI<Option> extends {
66
66
  getSession: () => Promise<infer Res>;
67
67
  } ? Res extends {
68
+ data: infer S;
69
+ error: null;
70
+ } | {
68
71
  data: null;
69
72
  error: {
70
73
  message?: string | undefined;
71
74
  status: number;
72
75
  statusText: string;
73
76
  };
74
- } | {
75
- data: infer S;
76
- error: null;
77
77
  } ? S : Res : never;
78
78
  isPending: boolean;
79
79
  error: BetterFetchError | null;
@@ -83,15 +83,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
83
83
  Session: NonNullable<InferClientAPI<Option> extends {
84
84
  getSession: () => Promise<infer Res>;
85
85
  } ? Res extends {
86
+ data: infer S;
87
+ error: null;
88
+ } | {
86
89
  data: null;
87
90
  error: {
88
91
  message?: string | undefined;
89
92
  status: number;
90
93
  statusText: string;
91
94
  };
92
- } | {
93
- data: infer S;
94
- error: null;
95
95
  } ? S : Res : never>;
96
96
  };
97
97
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -4,13 +4,13 @@ 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.BzWvuaI6.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.bHQlVztX.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BGfHbXlu.js';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bc-1Su7g.js';
11
11
  import 'better-call';
12
12
  import 'zod';
13
- import '../../shared/better-auth.DFU4LGhu.js';
13
+ import '../../shared/better-auth.D9z1x8va.js';
14
14
  import 'kysely';
15
15
  import 'better-sqlite3';
16
16
  import 'bun:sqlite';
@@ -65,15 +65,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
65
65
  data: InferClientAPI<Option> extends {
66
66
  getSession: () => Promise<infer Res>;
67
67
  } ? Res extends {
68
+ data: infer S;
69
+ error: null;
70
+ } | {
68
71
  data: null;
69
72
  error: {
70
73
  message?: string | undefined;
71
74
  status: number;
72
75
  statusText: string;
73
76
  };
74
- } | {
75
- data: infer S;
76
- error: null;
77
77
  } ? S : Res : never;
78
78
  isPending: boolean;
79
79
  error: BetterFetchError | null;
@@ -83,15 +83,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
83
83
  Session: NonNullable<InferClientAPI<Option> extends {
84
84
  getSession: () => Promise<infer Res>;
85
85
  } ? Res extends {
86
+ data: infer S;
87
+ error: null;
88
+ } | {
86
89
  data: null;
87
90
  error: {
88
91
  message?: string | undefined;
89
92
  status: number;
90
93
  statusText: string;
91
94
  };
92
- } | {
93
- data: infer S;
94
- error: null;
95
95
  } ? S : Res : never>;
96
96
  };
97
97
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -1,14 +1,14 @@
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.B9cT0y97.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.DcwXW4BB.cjs';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CqTBLifU.cjs';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.1M3xAdJC.cjs';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'zod';
11
- import '../../shared/better-auth.BnAeoMet.cjs';
11
+ import '../../shared/better-auth.VwFr4owi.cjs';
12
12
  import 'kysely';
13
13
  import 'better-sqlite3';
14
14
  import 'bun:sqlite';
@@ -21,15 +21,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
21
21
  data: InferClientAPI<Option> extends {
22
22
  getSession: () => Promise<infer Res>;
23
23
  } ? Res extends {
24
- data: infer S;
25
- error: null;
26
- } | {
27
24
  data: null;
28
25
  error: {
29
26
  message?: string | undefined;
30
27
  status: number;
31
28
  statusText: string;
32
29
  };
30
+ } | {
31
+ data: infer S;
32
+ error: null;
33
33
  } ? S : Res extends Record<string, any> ? Res : never : never;
34
34
  isPending: boolean;
35
35
  isRefetching: boolean;
@@ -39,15 +39,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
39
39
  Session: NonNullable<InferClientAPI<Option> extends {
40
40
  getSession: () => Promise<infer Res>;
41
41
  } ? Res extends {
42
- data: infer S;
43
- error: null;
44
- } | {
45
42
  data: null;
46
43
  error: {
47
44
  message?: string | undefined;
48
45
  status: number;
49
46
  statusText: string;
50
47
  };
48
+ } | {
49
+ data: infer S;
50
+ error: null;
51
51
  } ? S : Res extends Record<string, any> ? Res : never : never>;
52
52
  };
53
53
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -1,14 +1,14 @@
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.CP_AmXSW.mjs';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CJ2ZGyoL.mjs';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.B8vM3gli.mjs';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DWRzwPcP.mjs';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'zod';
11
- import '../../shared/better-auth.CpQAMo-G.mjs';
11
+ import '../../shared/better-auth.kvIPfj9F.mjs';
12
12
  import 'kysely';
13
13
  import 'better-sqlite3';
14
14
  import 'bun:sqlite';
@@ -21,15 +21,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
21
21
  data: InferClientAPI<Option> extends {
22
22
  getSession: () => Promise<infer Res>;
23
23
  } ? Res extends {
24
- data: infer S;
25
- error: null;
26
- } | {
27
24
  data: null;
28
25
  error: {
29
26
  message?: string | undefined;
30
27
  status: number;
31
28
  statusText: string;
32
29
  };
30
+ } | {
31
+ data: infer S;
32
+ error: null;
33
33
  } ? S : Res extends Record<string, any> ? Res : never : never;
34
34
  isPending: boolean;
35
35
  isRefetching: boolean;
@@ -39,15 +39,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
39
39
  Session: NonNullable<InferClientAPI<Option> extends {
40
40
  getSession: () => Promise<infer Res>;
41
41
  } ? Res extends {
42
- data: infer S;
43
- error: null;
44
- } | {
45
42
  data: null;
46
43
  error: {
47
44
  message?: string | undefined;
48
45
  status: number;
49
46
  statusText: string;
50
47
  };
48
+ } | {
49
+ data: infer S;
50
+ error: null;
51
51
  } ? S : Res extends Record<string, any> ? Res : never : never>;
52
52
  };
53
53
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -1,14 +1,14 @@
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.BzWvuaI6.js';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.bHQlVztX.js';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BGfHbXlu.js';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bc-1Su7g.js';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'zod';
11
- import '../../shared/better-auth.DFU4LGhu.js';
11
+ import '../../shared/better-auth.D9z1x8va.js';
12
12
  import 'kysely';
13
13
  import 'better-sqlite3';
14
14
  import 'bun:sqlite';
@@ -21,15 +21,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
21
21
  data: InferClientAPI<Option> extends {
22
22
  getSession: () => Promise<infer Res>;
23
23
  } ? Res extends {
24
- data: infer S;
25
- error: null;
26
- } | {
27
24
  data: null;
28
25
  error: {
29
26
  message?: string | undefined;
30
27
  status: number;
31
28
  statusText: string;
32
29
  };
30
+ } | {
31
+ data: infer S;
32
+ error: null;
33
33
  } ? S : Res extends Record<string, any> ? Res : never : never;
34
34
  isPending: boolean;
35
35
  isRefetching: boolean;
@@ -39,15 +39,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
39
39
  Session: NonNullable<InferClientAPI<Option> extends {
40
40
  getSession: () => Promise<infer Res>;
41
41
  } ? Res extends {
42
- data: infer S;
43
- error: null;
44
- } | {
45
42
  data: null;
46
43
  error: {
47
44
  message?: string | undefined;
48
45
  status: number;
49
46
  statusText: string;
50
47
  };
48
+ } | {
49
+ data: infer S;
50
+ error: null;
51
51
  } ? S : Res extends Record<string, any> ? Res : never : never>;
52
52
  };
53
53
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -4,12 +4,12 @@ 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.B9cT0y97.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.DcwXW4BB.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CqTBLifU.cjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.1M3xAdJC.cjs';
10
10
  import 'better-call';
11
11
  import 'zod';
12
- import '../../shared/better-auth.BnAeoMet.cjs';
12
+ import '../../shared/better-auth.VwFr4owi.cjs';
13
13
  import 'kysely';
14
14
  import 'better-sqlite3';
15
15
  import 'bun:sqlite';
@@ -4,12 +4,12 @@ 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.CP_AmXSW.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.CJ2ZGyoL.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.B8vM3gli.mjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DWRzwPcP.mjs';
10
10
  import 'better-call';
11
11
  import 'zod';
12
- import '../../shared/better-auth.CpQAMo-G.mjs';
12
+ import '../../shared/better-auth.kvIPfj9F.mjs';
13
13
  import 'kysely';
14
14
  import 'better-sqlite3';
15
15
  import 'bun:sqlite';
@@ -4,12 +4,12 @@ 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.BzWvuaI6.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.bHQlVztX.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BGfHbXlu.js';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bc-1Su7g.js';
10
10
  import 'better-call';
11
11
  import 'zod';
12
- import '../../shared/better-auth.DFU4LGhu.js';
12
+ import '../../shared/better-auth.D9z1x8va.js';
13
13
  import 'kysely';
14
14
  import 'better-sqlite3';
15
15
  import 'bun:sqlite';
@@ -4,12 +4,12 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchError } from '@better-fetch/fetch';
5
5
  export * from '@better-fetch/fetch';
6
6
  import { DeepReadonly, Ref } from 'vue';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.B9cT0y97.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.DcwXW4BB.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.cjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CqTBLifU.cjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.1M3xAdJC.cjs';
10
10
  import 'better-call';
11
11
  import 'zod';
12
- import '../../shared/better-auth.BnAeoMet.cjs';
12
+ import '../../shared/better-auth.VwFr4owi.cjs';
13
13
  import 'kysely';
14
14
  import 'better-sqlite3';
15
15
  import 'bun:sqlite';
@@ -4,12 +4,12 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchError } from '@better-fetch/fetch';
5
5
  export * from '@better-fetch/fetch';
6
6
  import { DeepReadonly, Ref } from 'vue';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CP_AmXSW.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.CJ2ZGyoL.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.mjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.B8vM3gli.mjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DWRzwPcP.mjs';
10
10
  import 'better-call';
11
11
  import 'zod';
12
- import '../../shared/better-auth.CpQAMo-G.mjs';
12
+ import '../../shared/better-auth.kvIPfj9F.mjs';
13
13
  import 'kysely';
14
14
  import 'better-sqlite3';
15
15
  import 'bun:sqlite';
@@ -4,12 +4,12 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchError } from '@better-fetch/fetch';
5
5
  export * from '@better-fetch/fetch';
6
6
  import { DeepReadonly, Ref } from 'vue';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BzWvuaI6.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.bHQlVztX.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.9XhOL8gb.js';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BGfHbXlu.js';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bc-1Su7g.js';
10
10
  import 'better-call';
11
11
  import 'zod';
12
- import '../../shared/better-auth.DFU4LGhu.js';
12
+ import '../../shared/better-auth.D9z1x8va.js';
13
13
  import 'kysely';
14
14
  import 'better-sqlite3';
15
15
  import 'bun:sqlite';