better-auth 1.3.6-beta.2 → 1.3.7-beta.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 (224) 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.cjs +1 -1
  23. package/dist/api/index.d.cts +1 -1
  24. package/dist/api/index.d.mts +1 -1
  25. package/dist/api/index.d.ts +1 -1
  26. package/dist/api/index.mjs +2 -2
  27. package/dist/client/index.d.cts +3 -3
  28. package/dist/client/index.d.mts +3 -3
  29. package/dist/client/index.d.ts +3 -3
  30. package/dist/client/plugins/index.d.cts +3 -3
  31. package/dist/client/plugins/index.d.mts +3 -3
  32. package/dist/client/plugins/index.d.ts +3 -3
  33. package/dist/client/react/index.d.cts +3 -3
  34. package/dist/client/react/index.d.mts +3 -3
  35. package/dist/client/react/index.d.ts +3 -3
  36. package/dist/client/solid/index.d.cts +9 -9
  37. package/dist/client/solid/index.d.mts +9 -9
  38. package/dist/client/solid/index.d.ts +9 -9
  39. package/dist/client/svelte/index.d.cts +3 -3
  40. package/dist/client/svelte/index.d.mts +3 -3
  41. package/dist/client/svelte/index.d.ts +3 -3
  42. package/dist/client/vue/index.d.cts +12 -12
  43. package/dist/client/vue/index.d.mts +12 -12
  44. package/dist/client/vue/index.d.ts +12 -12
  45. package/dist/cookies/index.d.cts +1 -1
  46. package/dist/cookies/index.d.mts +1 -1
  47. package/dist/cookies/index.d.ts +1 -1
  48. package/dist/db/index.d.cts +2 -2
  49. package/dist/db/index.d.mts +2 -2
  50. package/dist/db/index.d.ts +2 -2
  51. package/dist/index.cjs +2 -2
  52. package/dist/index.d.cts +4 -4
  53. package/dist/index.d.mts +4 -4
  54. package/dist/index.d.ts +4 -4
  55. package/dist/index.mjs +2 -2
  56. package/dist/integrations/next-js.cjs +2 -2
  57. package/dist/integrations/next-js.d.cts +1 -1
  58. package/dist/integrations/next-js.d.mts +1 -1
  59. package/dist/integrations/next-js.d.ts +1 -1
  60. package/dist/integrations/next-js.mjs +2 -2
  61. package/dist/integrations/node.d.cts +1 -1
  62. package/dist/integrations/node.d.mts +1 -1
  63. package/dist/integrations/node.d.ts +1 -1
  64. package/dist/integrations/react-start.cjs +2 -2
  65. package/dist/integrations/react-start.d.cts +1 -1
  66. package/dist/integrations/react-start.d.mts +1 -1
  67. package/dist/integrations/react-start.d.ts +1 -1
  68. package/dist/integrations/react-start.mjs +2 -2
  69. package/dist/integrations/svelte-kit.cjs +1 -1
  70. package/dist/integrations/svelte-kit.d.cts +1 -1
  71. package/dist/integrations/svelte-kit.d.mts +1 -1
  72. package/dist/integrations/svelte-kit.d.ts +1 -1
  73. package/dist/integrations/svelte-kit.mjs +1 -1
  74. package/dist/oauth2/index.cjs +1 -1
  75. package/dist/oauth2/index.d.cts +2 -2
  76. package/dist/oauth2/index.d.mts +2 -2
  77. package/dist/oauth2/index.d.ts +2 -2
  78. package/dist/oauth2/index.mjs +1 -1
  79. package/dist/plugins/admin/index.cjs +2 -2
  80. package/dist/plugins/admin/index.d.cts +2 -2
  81. package/dist/plugins/admin/index.d.mts +2 -2
  82. package/dist/plugins/admin/index.d.ts +2 -2
  83. package/dist/plugins/admin/index.mjs +2 -2
  84. package/dist/plugins/anonymous/index.cjs +1 -1
  85. package/dist/plugins/anonymous/index.d.cts +1 -1
  86. package/dist/plugins/anonymous/index.d.mts +1 -1
  87. package/dist/plugins/anonymous/index.d.ts +1 -1
  88. package/dist/plugins/anonymous/index.mjs +1 -1
  89. package/dist/plugins/bearer/index.cjs +1 -1
  90. package/dist/plugins/bearer/index.d.cts +1 -1
  91. package/dist/plugins/bearer/index.d.mts +1 -1
  92. package/dist/plugins/bearer/index.d.ts +1 -1
  93. package/dist/plugins/bearer/index.mjs +1 -1
  94. package/dist/plugins/captcha/index.d.cts +1 -1
  95. package/dist/plugins/captcha/index.d.mts +1 -1
  96. package/dist/plugins/captcha/index.d.ts +1 -1
  97. package/dist/plugins/custom-session/index.cjs +1 -1
  98. package/dist/plugins/custom-session/index.d.cts +1 -1
  99. package/dist/plugins/custom-session/index.d.mts +1 -1
  100. package/dist/plugins/custom-session/index.d.ts +1 -1
  101. package/dist/plugins/custom-session/index.mjs +1 -1
  102. package/dist/plugins/email-otp/index.cjs +124 -8
  103. package/dist/plugins/email-otp/index.d.cts +88 -1
  104. package/dist/plugins/email-otp/index.d.mts +88 -1
  105. package/dist/plugins/email-otp/index.d.ts +88 -1
  106. package/dist/plugins/email-otp/index.mjs +124 -8
  107. package/dist/plugins/generic-oauth/index.cjs +1 -1
  108. package/dist/plugins/generic-oauth/index.d.cts +1 -1
  109. package/dist/plugins/generic-oauth/index.d.mts +1 -1
  110. package/dist/plugins/generic-oauth/index.d.ts +1 -1
  111. package/dist/plugins/generic-oauth/index.mjs +1 -1
  112. package/dist/plugins/haveibeenpwned/index.cjs +1 -1
  113. package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
  114. package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
  115. package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
  116. package/dist/plugins/haveibeenpwned/index.mjs +1 -1
  117. package/dist/plugins/index.cjs +6 -6
  118. package/dist/plugins/index.d.cts +3 -3
  119. package/dist/plugins/index.d.mts +3 -3
  120. package/dist/plugins/index.d.ts +3 -3
  121. package/dist/plugins/index.mjs +8 -8
  122. package/dist/plugins/jwt/index.cjs +1 -1
  123. package/dist/plugins/jwt/index.d.cts +1 -1
  124. package/dist/plugins/jwt/index.d.mts +1 -1
  125. package/dist/plugins/jwt/index.d.ts +1 -1
  126. package/dist/plugins/jwt/index.mjs +1 -1
  127. package/dist/plugins/magic-link/index.cjs +1 -1
  128. package/dist/plugins/magic-link/index.mjs +1 -1
  129. package/dist/plugins/multi-session/index.cjs +1 -1
  130. package/dist/plugins/multi-session/index.d.cts +1 -1
  131. package/dist/plugins/multi-session/index.d.mts +1 -1
  132. package/dist/plugins/multi-session/index.d.ts +1 -1
  133. package/dist/plugins/multi-session/index.mjs +1 -1
  134. package/dist/plugins/oauth-proxy/index.cjs +1 -1
  135. package/dist/plugins/oauth-proxy/index.d.cts +1 -1
  136. package/dist/plugins/oauth-proxy/index.d.mts +1 -1
  137. package/dist/plugins/oauth-proxy/index.d.ts +1 -1
  138. package/dist/plugins/oauth-proxy/index.mjs +1 -1
  139. package/dist/plugins/oidc-provider/index.cjs +2 -2
  140. package/dist/plugins/oidc-provider/index.d.cts +5 -5
  141. package/dist/plugins/oidc-provider/index.d.mts +5 -5
  142. package/dist/plugins/oidc-provider/index.d.ts +5 -5
  143. package/dist/plugins/oidc-provider/index.mjs +2 -2
  144. package/dist/plugins/one-tap/index.cjs +1 -1
  145. package/dist/plugins/one-tap/index.mjs +1 -1
  146. package/dist/plugins/one-time-token/index.cjs +3 -3
  147. package/dist/plugins/one-time-token/index.d.cts +1 -1
  148. package/dist/plugins/one-time-token/index.d.mts +1 -1
  149. package/dist/plugins/one-time-token/index.d.ts +1 -1
  150. package/dist/plugins/one-time-token/index.mjs +3 -3
  151. package/dist/plugins/open-api/index.cjs +1 -1
  152. package/dist/plugins/open-api/index.d.cts +1 -1
  153. package/dist/plugins/open-api/index.d.mts +1 -1
  154. package/dist/plugins/open-api/index.d.ts +1 -1
  155. package/dist/plugins/open-api/index.mjs +1 -1
  156. package/dist/plugins/organization/index.cjs +3 -3
  157. package/dist/plugins/organization/index.d.cts +1 -1
  158. package/dist/plugins/organization/index.d.mts +1 -1
  159. package/dist/plugins/organization/index.d.ts +1 -1
  160. package/dist/plugins/organization/index.mjs +3 -3
  161. package/dist/plugins/passkey/index.cjs +1 -1
  162. package/dist/plugins/passkey/index.d.cts +1 -1
  163. package/dist/plugins/passkey/index.d.mts +1 -1
  164. package/dist/plugins/passkey/index.d.ts +1 -1
  165. package/dist/plugins/passkey/index.mjs +1 -1
  166. package/dist/plugins/phone-number/index.cjs +1 -1
  167. package/dist/plugins/phone-number/index.d.cts +1 -1
  168. package/dist/plugins/phone-number/index.d.mts +1 -1
  169. package/dist/plugins/phone-number/index.d.ts +1 -1
  170. package/dist/plugins/phone-number/index.mjs +1 -1
  171. package/dist/plugins/siwe/index.cjs +1 -1
  172. package/dist/plugins/siwe/index.mjs +1 -1
  173. package/dist/plugins/sso/index.cjs +1 -1
  174. package/dist/plugins/sso/index.d.cts +3 -3
  175. package/dist/plugins/sso/index.d.mts +3 -3
  176. package/dist/plugins/sso/index.d.ts +3 -3
  177. package/dist/plugins/sso/index.mjs +1 -1
  178. package/dist/plugins/two-factor/index.cjs +1 -1
  179. package/dist/plugins/two-factor/index.d.cts +1 -1
  180. package/dist/plugins/two-factor/index.d.mts +1 -1
  181. package/dist/plugins/two-factor/index.d.ts +1 -1
  182. package/dist/plugins/two-factor/index.mjs +1 -1
  183. package/dist/plugins/username/index.cjs +9 -9
  184. package/dist/plugins/username/index.d.cts +1 -1
  185. package/dist/plugins/username/index.d.mts +1 -1
  186. package/dist/plugins/username/index.d.ts +1 -1
  187. package/dist/plugins/username/index.mjs +9 -9
  188. package/dist/shared/{better-auth.Bo7h6YI5.d.ts → better-auth.20-VDNhc.d.cts} +2 -2
  189. package/dist/shared/{better-auth.CAz9Cd5z.d.cts → better-auth.BA5VIuwi.d.cts} +4 -4
  190. package/dist/shared/{better-auth.De59HW-u.d.cts → better-auth.BZCIev3z.d.ts} +2 -2
  191. package/dist/shared/{better-auth.BtekRHFA.cjs → better-auth.BfrrzKqK.cjs} +26 -10
  192. package/dist/shared/{better-auth.CKa-q341.cjs → better-auth.BjdU6KcM.cjs} +1 -1
  193. package/dist/shared/{better-auth.D7DBFMfx.mjs → better-auth.Blf9suYs.mjs} +1 -1
  194. package/dist/shared/{better-auth.Bl-It_5c.cjs → better-auth.BmvbW_9e.cjs} +2 -1
  195. package/dist/shared/{better-auth.BlWIxee_.cjs → better-auth.CJMpoiLX.cjs} +2 -2
  196. package/dist/shared/{better-auth.BMerxQY0.mjs → better-auth.CaG_EZI6.mjs} +2 -2
  197. package/dist/shared/{better-auth.DKBKIpqZ.mjs → better-auth.Cnw8a5Vf.mjs} +2 -2
  198. package/dist/shared/{better-auth.3oHgUdBc.cjs → better-auth.CpIqcmvR.cjs} +2 -2
  199. package/dist/shared/{better-auth.fHc4138q.d.mts → better-auth.CqQYJ6k0.d.mts} +1 -1
  200. package/dist/shared/{better-auth.D317Sdx8.cjs → better-auth.D3o8uSQJ.cjs} +1 -1
  201. package/dist/shared/{better-auth.Ba48cL0L.d.mts → better-auth.DFiKdfK6.d.cts} +1 -1
  202. package/dist/shared/{better-auth.CcY3k9r5.d.cts → better-auth.DLJasRtl.d.mts} +1 -1
  203. package/dist/shared/{better-auth.CdFBGG9K.cjs → better-auth.DLq75-D6.cjs} +2 -2
  204. package/dist/shared/{better-auth.Da95z4LY.mjs → better-auth.DQVsWzlJ.mjs} +1 -1
  205. package/dist/shared/{better-auth.fDN2zET_.mjs → better-auth.DXxLjRIn.mjs} +2 -1
  206. package/dist/shared/{better-auth.DCaLQCEk.d.cts → better-auth.Flh6HfYx.d.cts} +1 -1
  207. package/dist/shared/{better-auth.BY1-gjw3.mjs → better-auth.I6rKDlAU.mjs} +26 -10
  208. package/dist/shared/{better-auth.JJG-4rPJ.d.mts → better-auth.QwiX43wb.d.mts} +4 -4
  209. package/dist/shared/{better-auth.Cm-DsNnM.d.ts → better-auth.V3OT3rVi.d.ts} +1 -1
  210. package/dist/shared/{better-auth.DkJw4zNh.mjs → better-auth.djzHi0X3.mjs} +2 -2
  211. package/dist/shared/{better-auth.CRHB8IT6.d.ts → better-auth.fgQSO8Wg.d.ts} +1 -1
  212. package/dist/shared/{better-auth.BUnyEQuc.d.ts → better-auth.nHRig-F9.d.ts} +4 -4
  213. package/dist/shared/{better-auth.Df4VL-14.d.mts → better-auth.xbhp_NfZ.d.mts} +1 -1
  214. package/dist/social-providers/index.cjs +1 -1
  215. package/dist/social-providers/index.mjs +1 -1
  216. package/dist/test-utils/index.cjs +3 -3
  217. package/dist/test-utils/index.d.cts +2 -2
  218. package/dist/test-utils/index.d.mts +2 -2
  219. package/dist/test-utils/index.d.ts +2 -2
  220. package/dist/test-utils/index.mjs +3 -3
  221. package/dist/types/index.d.cts +2 -2
  222. package/dist/types/index.d.mts +2 -2
  223. package/dist/types/index.d.ts +2 -2
  224. package/package.json +1 -1
@@ -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.Cm-DsNnM.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.V3OT3rVi.js';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.nHRig-F9.js';
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;
@@ -4,9 +4,9 @@ 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
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BA5VIuwi.cjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
56
56
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
57
57
  };
58
58
  })[];
59
- redirect?: RequestRedirect | undefined;
60
59
  method: string;
61
60
  headers?: (HeadersInit & (HeadersInit | {
62
61
  accept: "application/json" | "text/plain" | "application/octet-stream";
63
62
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
64
63
  authorization: "Bearer" | "Basic";
65
64
  })) | undefined;
65
+ redirect?: RequestRedirect | undefined;
66
66
  cache?: RequestCache | undefined;
67
67
  credentials?: RequestCredentials;
68
68
  integrity?: string | undefined;
@@ -4,9 +4,9 @@ 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
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.QwiX43wb.mjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
56
56
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
57
57
  };
58
58
  })[];
59
- redirect?: RequestRedirect | undefined;
60
59
  method: string;
61
60
  headers?: (HeadersInit & (HeadersInit | {
62
61
  accept: "application/json" | "text/plain" | "application/octet-stream";
63
62
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
64
63
  authorization: "Bearer" | "Basic";
65
64
  })) | undefined;
65
+ redirect?: RequestRedirect | undefined;
66
66
  cache?: RequestCache | undefined;
67
67
  credentials?: RequestCredentials;
68
68
  integrity?: string | undefined;
@@ -4,9 +4,9 @@ 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
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.nHRig-F9.js';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
56
56
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
57
57
  };
58
58
  })[];
59
- redirect?: RequestRedirect | undefined;
60
59
  method: string;
61
60
  headers?: (HeadersInit & (HeadersInit | {
62
61
  accept: "application/json" | "text/plain" | "application/octet-stream";
63
62
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
64
63
  authorization: "Bearer" | "Basic";
65
64
  })) | undefined;
65
+ redirect?: RequestRedirect | undefined;
66
66
  cache?: RequestCache | undefined;
67
67
  credentials?: RequestCredentials;
68
68
  integrity?: string | undefined;
@@ -4,9 +4,9 @@ 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.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
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BA5VIuwi.cjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
26
26
  data: InferClientAPI<Option> extends {
27
27
  getSession: () => Promise<infer Res>;
28
28
  } ? Res extends {
29
+ data: infer S;
30
+ error: null;
31
+ } | {
29
32
  data: null;
30
33
  error: {
31
34
  message?: string | undefined;
32
35
  status: number;
33
36
  statusText: string;
34
37
  };
35
- } | {
36
- data: infer S;
37
- error: null;
38
38
  } ? S : Res extends Record<string, any> ? Res : never : never;
39
39
  isPending: boolean;
40
40
  isRefetching: boolean;
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
44
44
  data: Ref<InferClientAPI<Option> extends {
45
45
  getSession: () => Promise<infer Res>;
46
46
  } ? Res extends {
47
+ data: infer S;
48
+ error: null;
49
+ } | {
47
50
  data: null;
48
51
  error: {
49
52
  message?: string | undefined;
50
53
  status: number;
51
54
  statusText: string;
52
55
  };
53
- } | {
54
- data: infer S;
55
- error: null;
56
56
  } ? S : Res extends Record<string, any> ? Res : never : never>;
57
57
  isPending: false;
58
58
  error: Ref<{
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  Session: NonNullable<InferClientAPI<Option> extends {
67
67
  getSession: () => Promise<infer Res>;
68
68
  } ? Res extends {
69
+ data: infer S;
70
+ error: null;
71
+ } | {
69
72
  data: null;
70
73
  error: {
71
74
  message?: string | undefined;
72
75
  status: number;
73
76
  statusText: string;
74
77
  };
75
- } | {
76
- data: infer S;
77
- error: null;
78
78
  } ? S : Res extends Record<string, any> ? Res : never : never>;
79
79
  };
80
80
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
94
94
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
95
95
  };
96
96
  })[];
97
- redirect?: RequestRedirect | undefined;
98
97
  method: string;
99
98
  headers?: (HeadersInit & (HeadersInit | {
100
99
  accept: "application/json" | "text/plain" | "application/octet-stream";
101
100
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
102
101
  authorization: "Bearer" | "Basic";
103
102
  })) | undefined;
103
+ redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -4,9 +4,9 @@ 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.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
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.QwiX43wb.mjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
26
26
  data: InferClientAPI<Option> extends {
27
27
  getSession: () => Promise<infer Res>;
28
28
  } ? Res extends {
29
+ data: infer S;
30
+ error: null;
31
+ } | {
29
32
  data: null;
30
33
  error: {
31
34
  message?: string | undefined;
32
35
  status: number;
33
36
  statusText: string;
34
37
  };
35
- } | {
36
- data: infer S;
37
- error: null;
38
38
  } ? S : Res extends Record<string, any> ? Res : never : never;
39
39
  isPending: boolean;
40
40
  isRefetching: boolean;
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
44
44
  data: Ref<InferClientAPI<Option> extends {
45
45
  getSession: () => Promise<infer Res>;
46
46
  } ? Res extends {
47
+ data: infer S;
48
+ error: null;
49
+ } | {
47
50
  data: null;
48
51
  error: {
49
52
  message?: string | undefined;
50
53
  status: number;
51
54
  statusText: string;
52
55
  };
53
- } | {
54
- data: infer S;
55
- error: null;
56
56
  } ? S : Res extends Record<string, any> ? Res : never : never>;
57
57
  isPending: false;
58
58
  error: Ref<{
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  Session: NonNullable<InferClientAPI<Option> extends {
67
67
  getSession: () => Promise<infer Res>;
68
68
  } ? Res extends {
69
+ data: infer S;
70
+ error: null;
71
+ } | {
69
72
  data: null;
70
73
  error: {
71
74
  message?: string | undefined;
72
75
  status: number;
73
76
  statusText: string;
74
77
  };
75
- } | {
76
- data: infer S;
77
- error: null;
78
78
  } ? S : Res extends Record<string, any> ? Res : never : never>;
79
79
  };
80
80
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
94
94
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
95
95
  };
96
96
  })[];
97
- redirect?: RequestRedirect | undefined;
98
97
  method: string;
99
98
  headers?: (HeadersInit & (HeadersInit | {
100
99
  accept: "application/json" | "text/plain" | "application/octet-stream";
101
100
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
102
101
  authorization: "Bearer" | "Basic";
103
102
  })) | undefined;
103
+ redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -4,9 +4,9 @@ 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.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
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.nHRig-F9.js';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
26
26
  data: InferClientAPI<Option> extends {
27
27
  getSession: () => Promise<infer Res>;
28
28
  } ? Res extends {
29
+ data: infer S;
30
+ error: null;
31
+ } | {
29
32
  data: null;
30
33
  error: {
31
34
  message?: string | undefined;
32
35
  status: number;
33
36
  statusText: string;
34
37
  };
35
- } | {
36
- data: infer S;
37
- error: null;
38
38
  } ? S : Res extends Record<string, any> ? Res : never : never;
39
39
  isPending: boolean;
40
40
  isRefetching: boolean;
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
44
44
  data: Ref<InferClientAPI<Option> extends {
45
45
  getSession: () => Promise<infer Res>;
46
46
  } ? Res extends {
47
+ data: infer S;
48
+ error: null;
49
+ } | {
47
50
  data: null;
48
51
  error: {
49
52
  message?: string | undefined;
50
53
  status: number;
51
54
  statusText: string;
52
55
  };
53
- } | {
54
- data: infer S;
55
- error: null;
56
56
  } ? S : Res extends Record<string, any> ? Res : never : never>;
57
57
  isPending: false;
58
58
  error: Ref<{
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  Session: NonNullable<InferClientAPI<Option> extends {
67
67
  getSession: () => Promise<infer Res>;
68
68
  } ? Res extends {
69
+ data: infer S;
70
+ error: null;
71
+ } | {
69
72
  data: null;
70
73
  error: {
71
74
  message?: string | undefined;
72
75
  status: number;
73
76
  statusText: string;
74
77
  };
75
- } | {
76
- data: infer S;
77
- error: null;
78
78
  } ? S : Res extends Record<string, any> ? Res : never : never>;
79
79
  };
80
80
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
94
94
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
95
95
  };
96
96
  })[];
97
- redirect?: RequestRedirect | undefined;
98
97
  method: string;
99
98
  headers?: (HeadersInit & (HeadersInit | {
100
99
  accept: "application/json" | "text/plain" | "application/octet-stream";
101
100
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
102
101
  authorization: "Bearer" | "Basic";
103
102
  })) | undefined;
103
+ redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import 'better-call';
2
- export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.CAz9Cd5z.cjs';
2
+ export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.BA5VIuwi.cjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.BDR52Rf2.cjs';
@@ -1,5 +1,5 @@
1
1
  import 'better-call';
2
- export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.JJG-4rPJ.mjs';
2
+ export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.QwiX43wb.mjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.BDR52Rf2.mjs';
@@ -1,5 +1,5 @@
1
1
  import 'better-call';
2
- export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.BUnyEQuc.js';
2
+ export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.nHRig-F9.js';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.BDR52Rf2.js';
@@ -1,5 +1,5 @@
1
- import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.CAz9Cd5z.cjs';
2
- export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.CAz9Cd5z.cjs';
1
+ import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.BA5VIuwi.cjs';
2
+ export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.BA5VIuwi.cjs';
3
3
  import * as z from 'zod/v4';
4
4
  import 'kysely';
5
5
  import 'better-call';
@@ -1,5 +1,5 @@
1
- import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.JJG-4rPJ.mjs';
2
- export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.JJG-4rPJ.mjs';
1
+ import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.QwiX43wb.mjs';
2
+ export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.QwiX43wb.mjs';
3
3
  import * as z from 'zod/v4';
4
4
  import 'kysely';
5
5
  import 'better-call';
@@ -1,5 +1,5 @@
1
- import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.BUnyEQuc.js';
2
- export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.BUnyEQuc.js';
1
+ import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, Q as Where, J as FieldAttribute, a8 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.nHRig-F9.js';
2
+ export { ak as BetterAuthDbSchema, ab as FieldAttributeConfig, ah as FieldAttributeToObject, ai as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, af as InferFieldsInput, ag as InferFieldsInputClient, ae as InferFieldsOutput, ad as InferValueType, aa as InternalAdapter, aj as PluginFieldAttribute, am as accountSchema, ac as createFieldAttribute, a9 as createInternalAdapter, ar as getAllFields, al as getAuthTables, aA as mergeSchema, ay as parseAccountInput, at as parseAccountOutput, ax as parseAdditionalUserInput, av as parseInputData, aq as parseOutputData, az as parseSessionInput, au as parseSessionOutput, aw as parseUserInput, as as parseUserOutput, ao as sessionSchema, an as userSchema, ap as verificationSchema } from '../shared/better-auth.nHRig-F9.js';
3
3
  import * as z from 'zod/v4';
4
4
  import 'kysely';
5
5
  import 'better-call';
package/dist/index.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const auth = require('./shared/better-auth.BtekRHFA.cjs');
3
+ const auth = require('./shared/better-auth.BfrrzKqK.cjs');
4
4
  const index = require('./shared/better-auth.ANpbi45u.cjs');
5
5
  const misc = require('./shared/better-auth.BLDOwz3i.cjs');
6
- const socialProviders_index = require('./shared/better-auth.Bl-It_5c.cjs');
6
+ const socialProviders_index = require('./shared/better-auth.BmvbW_9e.cjs');
7
7
  const logger = require('./shared/better-auth.CXhVNgXP.cjs');
8
8
  require('./api/index.cjs');
9
9
  require('better-call');
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.CAz9Cd5z.cjs';
2
- export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.CAz9Cd5z.cjs';
3
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.DCaLQCEk.cjs';
1
+ import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.BA5VIuwi.cjs';
2
+ export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.BA5VIuwi.cjs';
3
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.Flh6HfYx.cjs';
4
4
  export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.cjs';
5
- export { g as generateState, p as parseState } from './shared/better-auth.CcY3k9r5.cjs';
5
+ export { g as generateState, p as parseState } from './shared/better-auth.DFiKdfK6.cjs';
6
6
  export * from 'better-call';
7
7
  export * from 'zod/v4';
8
8
  export * from 'zod/v4/core';
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.JJG-4rPJ.mjs';
2
- export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.JJG-4rPJ.mjs';
3
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.Df4VL-14.mjs';
1
+ import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.QwiX43wb.mjs';
2
+ export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.QwiX43wb.mjs';
3
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.xbhp_NfZ.mjs';
4
4
  export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.mjs';
5
- export { g as generateState, p as parseState } from './shared/better-auth.Ba48cL0L.mjs';
5
+ export { g as generateState, p as parseState } from './shared/better-auth.DLJasRtl.mjs';
6
6
  export * from 'better-call';
7
7
  export * from 'zod/v4';
8
8
  export * from 'zod/v4/core';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.BUnyEQuc.js';
2
- export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.BUnyEQuc.js';
3
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.Cm-DsNnM.js';
1
+ import { B as BetterAuthOptions, T as TelemetryContext, E as TelemetryEvent, J as FieldAttribute, M as Models } from './shared/better-auth.nHRig-F9.js';
2
+ export { O as Account, a as Adapter, Y as AdapterInstance, X as AdapterSchemaCreation, N as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, h as BetterAuthPlugin, F as FilterActions, _ as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, $ as InferSessionAPI, q as InferUser, a5 as InternalLogger, a4 as LogHandlerParams, a0 as LogLevel, a3 as Logger, R as RateLimit, Z as SecondaryStorage, S as Session, U as User, V as Verification, Q as Where, W as WithJsDoc, L as betterAuth, a6 as createLogger, P as init, a1 as levels, a7 as logger, a2 as shouldPublishLog } from './shared/better-auth.nHRig-F9.js';
3
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.V3OT3rVi.js';
4
4
  export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.js';
5
- export { g as generateState, p as parseState } from './shared/better-auth.CRHB8IT6.js';
5
+ export { g as generateState, p as parseState } from './shared/better-auth.fgQSO8Wg.js';
6
6
  export * from 'better-call';
7
7
  export * from 'zod/v4';
8
8
  export * from 'zod/v4/core';
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- export { b as betterAuth, c as createTelemetry, g as getTelemetryAuthConfig } from './shared/better-auth.BY1-gjw3.mjs';
1
+ export { b as betterAuth, c as createTelemetry, g as getTelemetryAuthConfig } from './shared/better-auth.I6rKDlAU.mjs';
2
2
  export { B as BetterAuthError, M as MissingDependencyError } from './shared/better-auth.DdzSJf-n.mjs';
3
3
  export { c as capitalizeFirstLetter } from './shared/better-auth.D-2CmEwz.mjs';
4
- export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.fDN2zET_.mjs';
4
+ export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.DXxLjRIn.mjs';
5
5
  export { c as createLogger, g as generateId, l as levels, a as logger, s as shouldPublishLog } from './shared/better-auth.DBGfIDnh.mjs';
6
6
  import './api/index.mjs';
7
7
  import 'better-call';
@@ -7,9 +7,9 @@ require('@better-auth/utils/binary');
7
7
  const cookies_index = require('../cookies/index.cjs');
8
8
  require('better-call');
9
9
  require('zod/v4');
10
- const socialProviders_index = require('../shared/better-auth.Bl-It_5c.cjs');
10
+ const socialProviders_index = require('../shared/better-auth.BmvbW_9e.cjs');
11
11
  require('../shared/better-auth.BIMq4RPW.cjs');
12
- require('../shared/better-auth.D317Sdx8.cjs');
12
+ require('../shared/better-auth.D3o8uSQJ.cjs');
13
13
  require('../plugins/organization/access/index.cjs');
14
14
  require('@better-auth/utils/random');
15
15
  require('@better-auth/utils/hash');
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.CAz9Cd5z.cjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.BA5VIuwi.cjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.BDR52Rf2.cjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.JJG-4rPJ.mjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.QwiX43wb.mjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.BDR52Rf2.mjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.BUnyEQuc.js';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.nHRig-F9.js';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.BDR52Rf2.js';
@@ -5,9 +5,9 @@ import '@better-auth/utils/binary';
5
5
  import { parseSetCookieHeader } from '../cookies/index.mjs';
6
6
  import 'better-call';
7
7
  import 'zod/v4';
8
- import { i as createAuthMiddleware } from '../shared/better-auth.fDN2zET_.mjs';
8
+ import { i as createAuthMiddleware } from '../shared/better-auth.DXxLjRIn.mjs';
9
9
  import '../shared/better-auth.n2KFGwjY.mjs';
10
- import '../shared/better-auth.D7DBFMfx.mjs';
10
+ import '../shared/better-auth.Blf9suYs.mjs';
11
11
  import '../plugins/organization/access/index.mjs';
12
12
  import '@better-auth/utils/random';
13
13
  import '@better-auth/utils/hash';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { n as Auth } from '../shared/better-auth.CAz9Cd5z.cjs';
3
+ import { n as Auth } from '../shared/better-auth.BA5VIuwi.cjs';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import 'zod/v4';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { n as Auth } from '../shared/better-auth.JJG-4rPJ.mjs';
3
+ import { n as Auth } from '../shared/better-auth.QwiX43wb.mjs';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import 'zod/v4';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { n as Auth } from '../shared/better-auth.BUnyEQuc.js';
3
+ import { n as Auth } from '../shared/better-auth.nHRig-F9.js';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import 'zod/v4';