better-auth 1.4.0-beta.3 → 1.4.0-beta.4

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 (262) 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 +7 -6
  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 +9 -8
  27. package/dist/client/index.cjs +3 -3
  28. package/dist/client/index.d.cts +3 -3
  29. package/dist/client/index.d.mts +3 -3
  30. package/dist/client/index.d.ts +3 -3
  31. package/dist/client/index.mjs +3 -3
  32. package/dist/client/plugins/index.d.cts +3 -3
  33. package/dist/client/plugins/index.d.mts +3 -3
  34. package/dist/client/plugins/index.d.ts +3 -3
  35. package/dist/client/react/index.cjs +2 -2
  36. package/dist/client/react/index.d.cts +9 -9
  37. package/dist/client/react/index.d.mts +9 -9
  38. package/dist/client/react/index.d.ts +9 -9
  39. package/dist/client/react/index.mjs +2 -2
  40. package/dist/client/solid/index.cjs +2 -2
  41. package/dist/client/solid/index.d.cts +9 -9
  42. package/dist/client/solid/index.d.mts +9 -9
  43. package/dist/client/solid/index.d.ts +9 -9
  44. package/dist/client/solid/index.mjs +2 -2
  45. package/dist/client/svelte/index.cjs +2 -2
  46. package/dist/client/svelte/index.d.cts +3 -3
  47. package/dist/client/svelte/index.d.mts +3 -3
  48. package/dist/client/svelte/index.d.ts +3 -3
  49. package/dist/client/svelte/index.mjs +2 -2
  50. package/dist/client/vue/index.cjs +3 -3
  51. package/dist/client/vue/index.d.cts +3 -3
  52. package/dist/client/vue/index.d.mts +3 -3
  53. package/dist/client/vue/index.d.ts +3 -3
  54. package/dist/client/vue/index.mjs +3 -3
  55. package/dist/cookies/index.cjs +2 -2
  56. package/dist/cookies/index.d.cts +1 -1
  57. package/dist/cookies/index.d.mts +1 -1
  58. package/dist/cookies/index.d.ts +1 -1
  59. package/dist/cookies/index.mjs +2 -2
  60. package/dist/db/index.cjs +1 -1
  61. package/dist/db/index.d.cts +2 -2
  62. package/dist/db/index.d.mts +2 -2
  63. package/dist/db/index.d.ts +2 -2
  64. package/dist/db/index.mjs +1 -1
  65. package/dist/index.cjs +7 -6
  66. package/dist/index.d.cts +9 -9
  67. package/dist/index.d.mts +9 -9
  68. package/dist/index.d.ts +9 -9
  69. package/dist/index.mjs +7 -6
  70. package/dist/integrations/next-js.cjs +6 -5
  71. package/dist/integrations/next-js.d.cts +1 -1
  72. package/dist/integrations/next-js.d.mts +1 -1
  73. package/dist/integrations/next-js.d.ts +1 -1
  74. package/dist/integrations/next-js.mjs +6 -5
  75. package/dist/integrations/node.d.cts +1 -1
  76. package/dist/integrations/node.d.mts +1 -1
  77. package/dist/integrations/node.d.ts +1 -1
  78. package/dist/integrations/react-start.cjs +6 -5
  79. package/dist/integrations/react-start.d.cts +1 -1
  80. package/dist/integrations/react-start.d.mts +1 -1
  81. package/dist/integrations/react-start.d.ts +1 -1
  82. package/dist/integrations/react-start.mjs +6 -5
  83. package/dist/integrations/svelte-kit.cjs +5 -4
  84. package/dist/integrations/svelte-kit.d.cts +1 -1
  85. package/dist/integrations/svelte-kit.d.mts +1 -1
  86. package/dist/integrations/svelte-kit.d.ts +1 -1
  87. package/dist/integrations/svelte-kit.mjs +5 -4
  88. package/dist/oauth2/index.cjs +5 -4
  89. package/dist/oauth2/index.d.cts +2 -2
  90. package/dist/oauth2/index.d.mts +2 -2
  91. package/dist/oauth2/index.d.ts +2 -2
  92. package/dist/oauth2/index.mjs +5 -4
  93. package/dist/plugins/admin/index.cjs +6 -5
  94. package/dist/plugins/admin/index.d.cts +7 -6
  95. package/dist/plugins/admin/index.d.mts +7 -6
  96. package/dist/plugins/admin/index.d.ts +7 -6
  97. package/dist/plugins/admin/index.mjs +6 -5
  98. package/dist/plugins/anonymous/index.cjs +5 -4
  99. package/dist/plugins/anonymous/index.d.cts +1 -1
  100. package/dist/plugins/anonymous/index.d.mts +1 -1
  101. package/dist/plugins/anonymous/index.d.ts +1 -1
  102. package/dist/plugins/anonymous/index.mjs +5 -4
  103. package/dist/plugins/bearer/index.cjs +5 -4
  104. package/dist/plugins/bearer/index.d.cts +1 -1
  105. package/dist/plugins/bearer/index.d.mts +1 -1
  106. package/dist/plugins/bearer/index.d.ts +1 -1
  107. package/dist/plugins/bearer/index.mjs +5 -4
  108. package/dist/plugins/captcha/index.cjs +5 -4
  109. package/dist/plugins/captcha/index.d.cts +1 -1
  110. package/dist/plugins/captcha/index.d.mts +1 -1
  111. package/dist/plugins/captcha/index.d.ts +1 -1
  112. package/dist/plugins/captcha/index.mjs +5 -4
  113. package/dist/plugins/custom-session/index.cjs +11 -8
  114. package/dist/plugins/custom-session/index.d.cts +1 -1
  115. package/dist/plugins/custom-session/index.d.mts +1 -1
  116. package/dist/plugins/custom-session/index.d.ts +1 -1
  117. package/dist/plugins/custom-session/index.mjs +11 -8
  118. package/dist/plugins/device-authorization/index.cjs +52 -19
  119. package/dist/plugins/device-authorization/index.d.cts +1 -1
  120. package/dist/plugins/device-authorization/index.d.mts +1 -1
  121. package/dist/plugins/device-authorization/index.d.ts +1 -1
  122. package/dist/plugins/device-authorization/index.mjs +52 -19
  123. package/dist/plugins/email-otp/index.cjs +62 -21
  124. package/dist/plugins/email-otp/index.d.cts +1 -1
  125. package/dist/plugins/email-otp/index.d.mts +1 -1
  126. package/dist/plugins/email-otp/index.d.ts +1 -1
  127. package/dist/plugins/email-otp/index.mjs +62 -21
  128. package/dist/plugins/generic-oauth/index.cjs +44 -25
  129. package/dist/plugins/generic-oauth/index.d.cts +1 -1
  130. package/dist/plugins/generic-oauth/index.d.mts +1 -1
  131. package/dist/plugins/generic-oauth/index.d.ts +1 -1
  132. package/dist/plugins/generic-oauth/index.mjs +44 -25
  133. package/dist/plugins/haveibeenpwned/index.cjs +5 -4
  134. package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
  135. package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
  136. package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
  137. package/dist/plugins/haveibeenpwned/index.mjs +5 -4
  138. package/dist/plugins/index.cjs +11 -10
  139. package/dist/plugins/index.d.cts +6 -6
  140. package/dist/plugins/index.d.mts +6 -6
  141. package/dist/plugins/index.d.ts +6 -6
  142. package/dist/plugins/index.mjs +13 -12
  143. package/dist/plugins/jwt/index.cjs +5 -4
  144. package/dist/plugins/jwt/index.d.cts +1 -1
  145. package/dist/plugins/jwt/index.d.mts +1 -1
  146. package/dist/plugins/jwt/index.d.ts +1 -1
  147. package/dist/plugins/jwt/index.mjs +5 -4
  148. package/dist/plugins/magic-link/index.cjs +32 -21
  149. package/dist/plugins/magic-link/index.mjs +32 -21
  150. package/dist/plugins/multi-session/index.cjs +11 -6
  151. package/dist/plugins/multi-session/index.d.cts +1 -1
  152. package/dist/plugins/multi-session/index.d.mts +1 -1
  153. package/dist/plugins/multi-session/index.d.ts +1 -1
  154. package/dist/plugins/multi-session/index.mjs +11 -6
  155. package/dist/plugins/oauth-proxy/index.cjs +11 -6
  156. package/dist/plugins/oauth-proxy/index.d.cts +1 -1
  157. package/dist/plugins/oauth-proxy/index.d.mts +1 -1
  158. package/dist/plugins/oauth-proxy/index.d.ts +1 -1
  159. package/dist/plugins/oauth-proxy/index.mjs +11 -6
  160. package/dist/plugins/oidc-provider/index.cjs +6 -5
  161. package/dist/plugins/oidc-provider/index.d.cts +5 -5
  162. package/dist/plugins/oidc-provider/index.d.mts +5 -5
  163. package/dist/plugins/oidc-provider/index.d.ts +5 -5
  164. package/dist/plugins/oidc-provider/index.mjs +6 -5
  165. package/dist/plugins/one-tap/index.cjs +8 -7
  166. package/dist/plugins/one-tap/index.mjs +8 -7
  167. package/dist/plugins/one-time-token/index.cjs +7 -6
  168. package/dist/plugins/one-time-token/index.d.cts +1 -1
  169. package/dist/plugins/one-time-token/index.d.mts +1 -1
  170. package/dist/plugins/one-time-token/index.d.ts +1 -1
  171. package/dist/plugins/one-time-token/index.mjs +7 -6
  172. package/dist/plugins/open-api/index.cjs +5 -4
  173. package/dist/plugins/open-api/index.d.cts +1 -1
  174. package/dist/plugins/open-api/index.d.mts +1 -1
  175. package/dist/plugins/open-api/index.d.ts +1 -1
  176. package/dist/plugins/open-api/index.mjs +5 -4
  177. package/dist/plugins/organization/index.cjs +7 -6
  178. package/dist/plugins/organization/index.d.cts +9 -9
  179. package/dist/plugins/organization/index.d.mts +9 -9
  180. package/dist/plugins/organization/index.d.ts +9 -9
  181. package/dist/plugins/organization/index.mjs +7 -6
  182. package/dist/plugins/passkey/index.cjs +17 -12
  183. package/dist/plugins/passkey/index.d.cts +1 -1
  184. package/dist/plugins/passkey/index.d.mts +1 -1
  185. package/dist/plugins/passkey/index.d.ts +1 -1
  186. package/dist/plugins/passkey/index.mjs +17 -12
  187. package/dist/plugins/phone-number/index.cjs +41 -24
  188. package/dist/plugins/phone-number/index.d.cts +1 -1
  189. package/dist/plugins/phone-number/index.d.mts +1 -1
  190. package/dist/plugins/phone-number/index.d.ts +1 -1
  191. package/dist/plugins/phone-number/index.mjs +41 -24
  192. package/dist/plugins/siwe/index.cjs +5 -4
  193. package/dist/plugins/siwe/index.d.cts +1 -1
  194. package/dist/plugins/siwe/index.d.mts +1 -1
  195. package/dist/plugins/siwe/index.d.ts +1 -1
  196. package/dist/plugins/siwe/index.mjs +5 -4
  197. package/dist/plugins/sso/index.cjs +89 -62
  198. package/dist/plugins/sso/index.d.cts +3 -3
  199. package/dist/plugins/sso/index.d.mts +3 -3
  200. package/dist/plugins/sso/index.d.ts +3 -3
  201. package/dist/plugins/sso/index.mjs +89 -62
  202. package/dist/plugins/two-factor/index.cjs +50 -19
  203. package/dist/plugins/two-factor/index.d.cts +1 -1
  204. package/dist/plugins/two-factor/index.d.mts +1 -1
  205. package/dist/plugins/two-factor/index.d.ts +1 -1
  206. package/dist/plugins/two-factor/index.mjs +50 -19
  207. package/dist/plugins/username/index.cjs +18 -11
  208. package/dist/plugins/username/index.d.cts +19 -19
  209. package/dist/plugins/username/index.d.mts +19 -19
  210. package/dist/plugins/username/index.d.ts +19 -19
  211. package/dist/plugins/username/index.mjs +18 -11
  212. package/dist/shared/{better-auth.CuyhlHls.cjs → better-auth.1iHKsGdY.cjs} +2 -2
  213. package/dist/shared/{better-auth.DyZUF2_t.d.ts → better-auth.3es9ZU_K.d.ts} +36 -37
  214. package/dist/shared/{better-auth.COdnr6eY.cjs → better-auth.B2Bmtu6f.cjs} +83 -47
  215. package/dist/shared/{better-auth.T3Ux10v9.mjs → better-auth.BAPVOPl3.mjs} +3 -3
  216. package/dist/shared/{better-auth.DxV4YGX3.mjs → better-auth.BAQSo96z.mjs} +6 -4
  217. package/dist/shared/{better-auth.cXemjp2M.mjs → better-auth.BHwIy11H.mjs} +83 -47
  218. package/dist/shared/{better-auth.B1Za4fb4.d.cts → better-auth.BLDIAFp8.d.cts} +5 -5
  219. package/dist/shared/{better-auth.DHiuXI9L.d.cts → better-auth.BOKSn3AP.d.cts} +36 -37
  220. package/dist/shared/{better-auth.ZC_QEMLv.d.cts → better-auth.BW0VS3vZ.d.cts} +1 -1
  221. package/dist/shared/{better-auth.DXd8qaHd.mjs → better-auth.Bc2H_kPB.mjs} +54 -28
  222. package/dist/shared/{better-auth.DhQzyejE.mjs → better-auth.BoY6Vo7c.mjs} +1 -1
  223. package/dist/shared/{better-auth.D1jaLDAW.mjs → better-auth.C-9OPnjJ.mjs} +151 -71
  224. package/dist/shared/{better-auth.A_lT_4ey.cjs → better-auth.C0WkvM-b.cjs} +151 -71
  225. package/dist/shared/{better-auth.iE8wqp5_.cjs → better-auth.C2xLgiCv.cjs} +1 -1
  226. package/dist/shared/{better-auth.Cdkx1UlR.cjs → better-auth.C4gSFtQb.cjs} +54 -28
  227. package/dist/shared/{better-auth.D3u5pPGf.d.ts → better-auth.CAc8m5ps.d.ts} +1 -1
  228. package/dist/shared/{better-auth.BUqsHDoX.d.ts → better-auth.CBpfh9gd.d.ts} +1 -1
  229. package/dist/shared/{better-auth.BUmFH1YH.d.mts → better-auth.CHakYG_s.d.mts} +5 -5
  230. package/dist/shared/{better-auth.Co88PbP3.mjs → better-auth.CIqzVuC5.mjs} +15 -9
  231. package/dist/shared/{better-auth.DL28hkwE.mjs → better-auth.CJk6lu9H.mjs} +5 -5
  232. package/dist/shared/{better-auth.wBgaxGEw.cjs → better-auth.CWoe8tep.cjs} +15 -9
  233. package/dist/shared/{better-auth.TQtfFmwt.mjs → better-auth.Cs4ObP2J.mjs} +246 -139
  234. package/dist/shared/{better-auth.BftmE2f4.mjs → better-auth.Cw2Wb5xl.mjs} +2 -2
  235. package/dist/shared/{better-auth.BTmQo2-r.mjs → better-auth.CyhdLtgz.mjs} +122 -54
  236. package/dist/shared/{better-auth.Cn3gHKIq.d.ts → better-auth.D1mfnXw8.d.ts} +5 -5
  237. package/dist/shared/better-auth.D2xndZ2p.mjs +5 -0
  238. package/dist/shared/{better-auth.LBYUF6qL.d.mts → better-auth.D63GoHoT.d.mts} +1 -1
  239. package/dist/shared/{better-auth.DrO1u8u7.cjs → better-auth.DVpUemsq.cjs} +49 -10
  240. package/dist/shared/{better-auth.CYRK2rir.cjs → better-auth.DcLnIy5M.cjs} +122 -54
  241. package/dist/shared/{better-auth.B-RhOtHf.cjs → better-auth.Df7v65t4.cjs} +3 -3
  242. package/dist/shared/{better-auth.g25nv4YL.mjs → better-auth.DpE8ZxDZ.mjs} +49 -10
  243. package/dist/shared/{better-auth.8am3GyvS.d.cts → better-auth.DqouI_5s.d.cts} +1 -1
  244. package/dist/shared/{better-auth.DRmln2Nr.cjs → better-auth.DxBcELEX.cjs} +6 -4
  245. package/dist/shared/{better-auth.BSU7i7gN.cjs → better-auth.Fhb5xDFB.cjs} +5 -5
  246. package/dist/shared/{better-auth.CNhgW39t.cjs → better-auth.W6wY8Xk1.cjs} +246 -139
  247. package/dist/shared/{better-auth.DIfV2UBl.cjs → better-auth.oHfRlmfe.cjs} +1 -1
  248. package/dist/shared/{better-auth.C3bLnul-.mjs → better-auth.pyHheoY8.mjs} +1 -1
  249. package/dist/shared/better-auth.uykCWCYS.cjs +7 -0
  250. package/dist/shared/{better-auth.DQBMcFsm.d.mts → better-auth.vNMd9aBC.d.mts} +36 -37
  251. package/dist/shared/{better-auth.BC_XVl81.d.mts → better-auth.x83uJ-Ru.d.mts} +1 -1
  252. package/dist/social-providers/index.cjs +5 -4
  253. package/dist/social-providers/index.mjs +5 -4
  254. package/dist/test-utils/index.cjs +10 -9
  255. package/dist/test-utils/index.d.cts +59 -57
  256. package/dist/test-utils/index.d.mts +59 -57
  257. package/dist/test-utils/index.d.ts +59 -57
  258. package/dist/test-utils/index.mjs +10 -9
  259. package/dist/types/index.d.cts +2 -2
  260. package/dist/types/index.d.mts +2 -2
  261. package/dist/types/index.d.ts +2 -2
  262. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
- import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, W as Where, L as FieldAttribute, E as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.DyZUF2_t.js';
2
- export { Z as BetterAuthDbSchema, J as FieldAttributeConfig, V as FieldAttributeToObject, X as InferAdditionalFieldsFromPluginOptions, l as InferFieldsFromOptions, k as InferFieldsFromPlugins, R as InferFieldsInput, T as InferFieldsInputClient, Q as InferFieldsOutput, P as InferValueType, N as InternalAdapter, Y as PluginFieldAttribute, a0 as accountSchema, $ as coreSchema, O as createFieldAttribute, M as createInternalAdapter, a5 as getAllFields, _ as getAuthTables, ae as mergeSchema, ac as parseAccountInput, a7 as parseAccountOutput, ab as parseAdditionalUserInput, a9 as parseInputData, a4 as parseOutputData, ad as parseSessionInput, a8 as parseSessionOutput, aa as parseUserInput, a6 as parseUserOutput, a2 as sessionSchema, a1 as userSchema, a3 as verificationSchema } from '../shared/better-auth.DyZUF2_t.js';
1
+ import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, W as Where, L as FieldAttribute, E as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.3es9ZU_K.js';
2
+ export { Z as BetterAuthDbSchema, J as FieldAttributeConfig, V as FieldAttributeToObject, X as InferAdditionalFieldsFromPluginOptions, l as InferFieldsFromOptions, k as InferFieldsFromPlugins, R as InferFieldsInput, T as InferFieldsInputClient, Q as InferFieldsOutput, P as InferValueType, N as InternalAdapter, Y as PluginFieldAttribute, a0 as accountSchema, $ as coreSchema, O as createFieldAttribute, M as createInternalAdapter, a5 as getAllFields, _ as getAuthTables, ae as mergeSchema, ac as parseAccountInput, a7 as parseAccountOutput, ab as parseAdditionalUserInput, a9 as parseInputData, a4 as parseOutputData, ad as parseSessionInput, a8 as parseSessionOutput, aa as parseUserInput, a6 as parseUserOutput, a2 as sessionSchema, a1 as userSchema, a3 as verificationSchema } from '../shared/better-auth.3es9ZU_K.js';
3
3
  import * as z from 'zod';
4
4
  import 'kysely';
5
5
  import 'better-call';
package/dist/db/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { d as convertFromDB, b as convertToDB, c as createInternalAdapter, a as getAdapter, e as getMigrations, f as getSchema, g as getWithHooks, m as matchType } from '../shared/better-auth.g25nv4YL.mjs';
1
+ export { d as convertFromDB, b as convertToDB, c as createInternalAdapter, a as getAdapter, e as getMigrations, f as getSchema, g as getWithHooks, m as matchType } from '../shared/better-auth.DpE8ZxDZ.mjs';
2
2
  export { g as getAuthTables } from '../shared/better-auth.Cjw1GDsh.mjs';
3
3
  export { t as toZodSchema } from '../shared/better-auth.BxexnJiR.mjs';
4
4
  export { a as accountSchema, c as coreSchema, b as getAllFields, m as mergeSchema, k as parseAccountInput, e as parseAccountOutput, j as parseAdditionalUserInput, h as parseInputData, p as parseOutputData, l as parseSessionInput, f as parseSessionOutput, i as parseUserInput, d as parseUserOutput, s as sessionSchema, u as userSchema, v as verificationSchema } from '../shared/better-auth.CJ2rnsDV.mjs';
package/dist/index.cjs CHANGED
@@ -1,24 +1,24 @@
1
1
  'use strict';
2
2
 
3
3
  const schema = require('./shared/better-auth.DcYLM7Us.cjs');
4
- const auth = require('./shared/better-auth.BSU7i7gN.cjs');
4
+ const auth = require('./shared/better-auth.Fhb5xDFB.cjs');
5
5
  const index = require('./shared/better-auth.ANpbi45u.cjs');
6
6
  const misc = require('./shared/better-auth.BLDOwz3i.cjs');
7
- const socialProviders_index = require('./shared/better-auth.A_lT_4ey.cjs');
7
+ const socialProviders_index = require('./shared/better-auth.C0WkvM-b.cjs');
8
8
  const id = require('./shared/better-auth.Bg6iw3ig.cjs');
9
9
  const logger = require('./shared/better-auth.DTvRBuq4.cjs');
10
10
  const betterCall = require('better-call');
11
- require('./shared/better-auth.wBgaxGEw.cjs');
11
+ require('./shared/better-auth.CWoe8tep.cjs');
12
12
  require('zod');
13
13
  require('./shared/better-auth.B6fIklBU.cjs');
14
14
  require('@better-auth/utils/base64');
15
15
  require('@better-auth/utils/hmac');
16
16
  require('@better-auth/utils/binary');
17
17
  require('./api/index.cjs');
18
- require('./shared/better-auth.DIfV2UBl.cjs');
18
+ require('./shared/better-auth.oHfRlmfe.cjs');
19
19
  require('./shared/better-auth.C1hdVENX.cjs');
20
20
  require('./shared/better-auth.DgMx7bVs.cjs');
21
- require('./shared/better-auth.DRmln2Nr.cjs');
21
+ require('./shared/better-auth.DxBcELEX.cjs');
22
22
  require('./shared/better-auth.DkbzbiTb.cjs');
23
23
  require('defu');
24
24
  require('./crypto/index.cjs');
@@ -31,7 +31,7 @@ require('@better-auth/utils/hex');
31
31
  require('@noble/hashes/utils.js');
32
32
  require('./shared/better-auth.CYeOI8C-.cjs');
33
33
  require('@better-auth/utils/random');
34
- require('./shared/better-auth.DrO1u8u7.cjs');
34
+ require('./shared/better-auth.DVpUemsq.cjs');
35
35
  require('./shared/better-auth.DF_1VOmo.cjs');
36
36
  require('./shared/better-auth.D2444EHu.cjs');
37
37
  require('kysely');
@@ -40,6 +40,7 @@ require('./shared/better-auth.BBk8MRta.cjs');
40
40
  require('./shared/better-auth.CDXNofOe.cjs');
41
41
  require('@better-fetch/fetch');
42
42
  require('jose/errors');
43
+ require('./shared/better-auth.uykCWCYS.cjs');
43
44
 
44
45
 
45
46
 
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import { a as Adapter, B as BetterAuthOptions, ag as TelemetryContext, ah as TelemetryEvent, L as FieldAttribute, ai as Models } from './shared/better-auth.DHiuXI9L.cjs';
2
- export { af as Account, as as AdapterInstance, ar as AdapterSchemaCreation, an as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, al as BetterAuthAdvancedOptions, n as BetterAuthPlugin, F as FilterActions, au as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, av as InferSessionAPI, e as InferUser, aB as InternalLogger, aA as LogHandlerParams, aw as LogLevel, az as Logger, am as RateLimit, at as SecondaryStorage, S as Session, aq as TransactionAdapter, U as User, ao as Verification, W as Where, aj as WithJsDoc, ak as betterAuth, aC as createLogger, ap as init, ax as levels, aD as logger, ay as shouldPublishLog } from './shared/better-auth.DHiuXI9L.cjs';
3
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.ZC_QEMLv.cjs';
1
+ import { a as Adapter, B as BetterAuthOptions, ag as TelemetryContext, ah as TelemetryEvent, L as FieldAttribute, ai as Models } from './shared/better-auth.BOKSn3AP.cjs';
2
+ export { af as Account, as as AdapterInstance, ar as AdapterSchemaCreation, an as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, al as BetterAuthAdvancedOptions, n as BetterAuthPlugin, F as FilterActions, au as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, av as InferSessionAPI, e as InferUser, aB as InternalLogger, aA as LogHandlerParams, aw as LogLevel, az as Logger, am as RateLimit, at as SecondaryStorage, S as Session, aq as TransactionAdapter, U as User, ao as Verification, W as Where, aj as WithJsDoc, ak as betterAuth, aC as createLogger, ap as init, ax as levels, aD as logger, ay as shouldPublishLog } from './shared/better-auth.BOKSn3AP.cjs';
3
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.BW0VS3vZ.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.8am3GyvS.cjs';
5
+ export { g as generateState, p as parseState } from './shared/better-auth.DqouI_5s.cjs';
6
6
  export * from 'better-call';
7
7
  export { APIError } from 'better-call';
8
8
  export * from 'zod/v4';
@@ -85,7 +85,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
85
85
  disableSignUp: boolean | undefined;
86
86
  getUserInfo: boolean;
87
87
  overrideUserInfoOnSignIn: boolean;
88
- prompt: "none" | "select_account" | "consent" | "login" | "select_account consent" | undefined;
88
+ prompt: "select_account" | "consent" | "login" | "none" | "select_account consent" | undefined;
89
89
  verifyIdToken: boolean;
90
90
  scope: string[] | undefined;
91
91
  refreshAccessToken: boolean;
@@ -93,7 +93,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
93
93
  plugins: string[] | undefined;
94
94
  user: {
95
95
  modelName: string | undefined;
96
- fields: Partial<Record<"createdAt" | "updatedAt" | "email" | "emailVerified" | "name" | "image", string>> | undefined;
96
+ fields: Partial<Record<"name" | "emailVerified" | "email" | "image" | "createdAt" | "updatedAt", string>> | undefined;
97
97
  additionalFields: {
98
98
  [key: string]: FieldAttribute;
99
99
  } | undefined;
@@ -118,7 +118,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
118
118
  };
119
119
  disableSessionRefresh: boolean | undefined;
120
120
  expiresIn: number | undefined;
121
- fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "expiresAt" | "token" | "ipAddress" | "userAgent", string>> | undefined;
121
+ fields: Partial<Record<"token" | "createdAt" | "updatedAt" | "userId" | "expiresAt" | "ipAddress" | "userAgent", string>> | undefined;
122
122
  freshAge: number | undefined;
123
123
  preserveSessionInDatabase: boolean | undefined;
124
124
  storeSessionInDatabase: boolean | undefined;
@@ -126,7 +126,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
126
126
  };
127
127
  account: {
128
128
  modelName: string | undefined;
129
- fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "providerId" | "accountId" | "password", string>> | undefined;
129
+ fields: Partial<Record<"scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "createdAt" | "updatedAt" | "userId" | "providerId" | "accountId" | "password", string>> | undefined;
130
130
  encryptOAuthTokens: boolean | undefined;
131
131
  updateAccountOnSignIn: boolean | undefined;
132
132
  accountLinking: {
@@ -166,7 +166,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
166
166
  cookieAttributes: {
167
167
  expires: Date | undefined;
168
168
  secure: boolean | undefined;
169
- sameSite: "lax" | "Strict" | "Lax" | "None" | "strict" | "none" | undefined;
169
+ sameSite: "none" | "lax" | "Strict" | "Lax" | "None" | "strict" | undefined;
170
170
  domain: boolean;
171
171
  path: string | undefined;
172
172
  httpOnly: boolean | undefined;
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- import { a as Adapter, B as BetterAuthOptions, ag as TelemetryContext, ah as TelemetryEvent, L as FieldAttribute, ai as Models } from './shared/better-auth.DQBMcFsm.mjs';
2
- export { af as Account, as as AdapterInstance, ar as AdapterSchemaCreation, an as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, al as BetterAuthAdvancedOptions, n as BetterAuthPlugin, F as FilterActions, au as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, av as InferSessionAPI, e as InferUser, aB as InternalLogger, aA as LogHandlerParams, aw as LogLevel, az as Logger, am as RateLimit, at as SecondaryStorage, S as Session, aq as TransactionAdapter, U as User, ao as Verification, W as Where, aj as WithJsDoc, ak as betterAuth, aC as createLogger, ap as init, ax as levels, aD as logger, ay as shouldPublishLog } from './shared/better-auth.DQBMcFsm.mjs';
3
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.LBYUF6qL.mjs';
1
+ import { a as Adapter, B as BetterAuthOptions, ag as TelemetryContext, ah as TelemetryEvent, L as FieldAttribute, ai as Models } from './shared/better-auth.vNMd9aBC.mjs';
2
+ export { af as Account, as as AdapterInstance, ar as AdapterSchemaCreation, an as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, al as BetterAuthAdvancedOptions, n as BetterAuthPlugin, F as FilterActions, au as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, av as InferSessionAPI, e as InferUser, aB as InternalLogger, aA as LogHandlerParams, aw as LogLevel, az as Logger, am as RateLimit, at as SecondaryStorage, S as Session, aq as TransactionAdapter, U as User, ao as Verification, W as Where, aj as WithJsDoc, ak as betterAuth, aC as createLogger, ap as init, ax as levels, aD as logger, ay as shouldPublishLog } from './shared/better-auth.vNMd9aBC.mjs';
3
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.D63GoHoT.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.BC_XVl81.mjs';
5
+ export { g as generateState, p as parseState } from './shared/better-auth.x83uJ-Ru.mjs';
6
6
  export * from 'better-call';
7
7
  export { APIError } from 'better-call';
8
8
  export * from 'zod/v4';
@@ -85,7 +85,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
85
85
  disableSignUp: boolean | undefined;
86
86
  getUserInfo: boolean;
87
87
  overrideUserInfoOnSignIn: boolean;
88
- prompt: "none" | "select_account" | "consent" | "login" | "select_account consent" | undefined;
88
+ prompt: "select_account" | "consent" | "login" | "none" | "select_account consent" | undefined;
89
89
  verifyIdToken: boolean;
90
90
  scope: string[] | undefined;
91
91
  refreshAccessToken: boolean;
@@ -93,7 +93,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
93
93
  plugins: string[] | undefined;
94
94
  user: {
95
95
  modelName: string | undefined;
96
- fields: Partial<Record<"createdAt" | "updatedAt" | "email" | "emailVerified" | "name" | "image", string>> | undefined;
96
+ fields: Partial<Record<"name" | "emailVerified" | "email" | "image" | "createdAt" | "updatedAt", string>> | undefined;
97
97
  additionalFields: {
98
98
  [key: string]: FieldAttribute;
99
99
  } | undefined;
@@ -118,7 +118,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
118
118
  };
119
119
  disableSessionRefresh: boolean | undefined;
120
120
  expiresIn: number | undefined;
121
- fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "expiresAt" | "token" | "ipAddress" | "userAgent", string>> | undefined;
121
+ fields: Partial<Record<"token" | "createdAt" | "updatedAt" | "userId" | "expiresAt" | "ipAddress" | "userAgent", string>> | undefined;
122
122
  freshAge: number | undefined;
123
123
  preserveSessionInDatabase: boolean | undefined;
124
124
  storeSessionInDatabase: boolean | undefined;
@@ -126,7 +126,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
126
126
  };
127
127
  account: {
128
128
  modelName: string | undefined;
129
- fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "providerId" | "accountId" | "password", string>> | undefined;
129
+ fields: Partial<Record<"scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "createdAt" | "updatedAt" | "userId" | "providerId" | "accountId" | "password", string>> | undefined;
130
130
  encryptOAuthTokens: boolean | undefined;
131
131
  updateAccountOnSignIn: boolean | undefined;
132
132
  accountLinking: {
@@ -166,7 +166,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
166
166
  cookieAttributes: {
167
167
  expires: Date | undefined;
168
168
  secure: boolean | undefined;
169
- sameSite: "lax" | "Strict" | "Lax" | "None" | "strict" | "none" | undefined;
169
+ sameSite: "none" | "lax" | "Strict" | "Lax" | "None" | "strict" | undefined;
170
170
  domain: boolean;
171
171
  path: string | undefined;
172
172
  httpOnly: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { a as Adapter, B as BetterAuthOptions, ag as TelemetryContext, ah as TelemetryEvent, L as FieldAttribute, ai as Models } from './shared/better-auth.DyZUF2_t.js';
2
- export { af as Account, as as AdapterInstance, ar as AdapterSchemaCreation, an as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, al as BetterAuthAdvancedOptions, n as BetterAuthPlugin, F as FilterActions, au as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, av as InferSessionAPI, e as InferUser, aB as InternalLogger, aA as LogHandlerParams, aw as LogLevel, az as Logger, am as RateLimit, at as SecondaryStorage, S as Session, aq as TransactionAdapter, U as User, ao as Verification, W as Where, aj as WithJsDoc, ak as betterAuth, aC as createLogger, ap as init, ax as levels, aD as logger, ay as shouldPublishLog } from './shared/better-auth.DyZUF2_t.js';
3
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.D3u5pPGf.js';
1
+ import { a as Adapter, B as BetterAuthOptions, ag as TelemetryContext, ah as TelemetryEvent, L as FieldAttribute, ai as Models } from './shared/better-auth.3es9ZU_K.js';
2
+ export { af as Account, as as AdapterInstance, ar as AdapterSchemaCreation, an as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, c as Auth, d as AuthContext, v as AuthPluginSchema, al as BetterAuthAdvancedOptions, n as BetterAuthPlugin, F as FilterActions, au as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, av as InferSessionAPI, e as InferUser, aB as InternalLogger, aA as LogHandlerParams, aw as LogLevel, az as Logger, am as RateLimit, at as SecondaryStorage, S as Session, aq as TransactionAdapter, U as User, ao as Verification, W as Where, aj as WithJsDoc, ak as betterAuth, aC as createLogger, ap as init, ax as levels, aD as logger, ay as shouldPublishLog } from './shared/better-auth.3es9ZU_K.js';
3
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, i as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, I as IsSignal, S as SessionQueryParams, e as Store } from './shared/better-auth.CAc8m5ps.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.BUqsHDoX.js';
5
+ export { g as generateState, p as parseState } from './shared/better-auth.CBpfh9gd.js';
6
6
  export * from 'better-call';
7
7
  export { APIError } from 'better-call';
8
8
  export * from 'zod/v4';
@@ -85,7 +85,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
85
85
  disableSignUp: boolean | undefined;
86
86
  getUserInfo: boolean;
87
87
  overrideUserInfoOnSignIn: boolean;
88
- prompt: "none" | "select_account" | "consent" | "login" | "select_account consent" | undefined;
88
+ prompt: "select_account" | "consent" | "login" | "none" | "select_account consent" | undefined;
89
89
  verifyIdToken: boolean;
90
90
  scope: string[] | undefined;
91
91
  refreshAccessToken: boolean;
@@ -93,7 +93,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
93
93
  plugins: string[] | undefined;
94
94
  user: {
95
95
  modelName: string | undefined;
96
- fields: Partial<Record<"createdAt" | "updatedAt" | "email" | "emailVerified" | "name" | "image", string>> | undefined;
96
+ fields: Partial<Record<"name" | "emailVerified" | "email" | "image" | "createdAt" | "updatedAt", string>> | undefined;
97
97
  additionalFields: {
98
98
  [key: string]: FieldAttribute;
99
99
  } | undefined;
@@ -118,7 +118,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
118
118
  };
119
119
  disableSessionRefresh: boolean | undefined;
120
120
  expiresIn: number | undefined;
121
- fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "expiresAt" | "token" | "ipAddress" | "userAgent", string>> | undefined;
121
+ fields: Partial<Record<"token" | "createdAt" | "updatedAt" | "userId" | "expiresAt" | "ipAddress" | "userAgent", string>> | undefined;
122
122
  freshAge: number | undefined;
123
123
  preserveSessionInDatabase: boolean | undefined;
124
124
  storeSessionInDatabase: boolean | undefined;
@@ -126,7 +126,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
126
126
  };
127
127
  account: {
128
128
  modelName: string | undefined;
129
- fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "providerId" | "accountId" | "password", string>> | undefined;
129
+ fields: Partial<Record<"scope" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "createdAt" | "updatedAt" | "userId" | "providerId" | "accountId" | "password", string>> | undefined;
130
130
  encryptOAuthTokens: boolean | undefined;
131
131
  updateAccountOnSignIn: boolean | undefined;
132
132
  accountLinking: {
@@ -166,7 +166,7 @@ declare function getTelemetryAuthConfig(options: BetterAuthOptions, context?: Te
166
166
  cookieAttributes: {
167
167
  expires: Date | undefined;
168
168
  secure: boolean | undefined;
169
- sameSite: "lax" | "Strict" | "Lax" | "None" | "strict" | "none" | undefined;
169
+ sameSite: "none" | "lax" | "Strict" | "Lax" | "None" | "strict" | undefined;
170
170
  domain: boolean;
171
171
  path: string | undefined;
172
172
  httpOnly: boolean | undefined;
package/dist/index.mjs CHANGED
@@ -1,22 +1,22 @@
1
1
  export { g as getCurrentAdapter } from './shared/better-auth.CJ2rnsDV.mjs';
2
- export { b as betterAuth, c as createTelemetry, g as getTelemetryAuthConfig } from './shared/better-auth.DL28hkwE.mjs';
2
+ export { b as betterAuth, c as createTelemetry, g as getTelemetryAuthConfig } from './shared/better-auth.CJk6lu9H.mjs';
3
3
  export { B as BetterAuthError, M as MissingDependencyError } from './shared/better-auth.DdzSJf-n.mjs';
4
4
  export { c as capitalizeFirstLetter } from './shared/better-auth.D-2CmEwz.mjs';
5
- export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.D1jaLDAW.mjs';
5
+ export { H as HIDE_METADATA, g as generateState, p as parseState } from './shared/better-auth.C-9OPnjJ.mjs';
6
6
  export { g as generateId } from './shared/better-auth.BUPPRXfK.mjs';
7
7
  export { c as createLogger, l as levels, a as logger, s as shouldPublishLog } from './shared/better-auth.C4g12FAA.mjs';
8
8
  export { APIError } from 'better-call';
9
- import './shared/better-auth.Co88PbP3.mjs';
9
+ import './shared/better-auth.CIqzVuC5.mjs';
10
10
  import 'zod';
11
11
  import './shared/better-auth.CiuwFiHM.mjs';
12
12
  import '@better-auth/utils/base64';
13
13
  import '@better-auth/utils/hmac';
14
14
  import '@better-auth/utils/binary';
15
15
  import './api/index.mjs';
16
- import './shared/better-auth.C3bLnul-.mjs';
16
+ import './shared/better-auth.pyHheoY8.mjs';
17
17
  import './shared/better-auth.CW6D9eSx.mjs';
18
18
  import './shared/better-auth.CvNZNAOW.mjs';
19
- import './shared/better-auth.DxV4YGX3.mjs';
19
+ import './shared/better-auth.BAQSo96z.mjs';
20
20
  import './shared/better-auth.Cwj5CPkV.mjs';
21
21
  import 'defu';
22
22
  import './crypto/index.mjs';
@@ -29,7 +29,7 @@ import '@better-auth/utils/hex';
29
29
  import '@noble/hashes/utils.js';
30
30
  import './shared/better-auth.B4Qoxdgc.mjs';
31
31
  import '@better-auth/utils/random';
32
- import './shared/better-auth.g25nv4YL.mjs';
32
+ import './shared/better-auth.DpE8ZxDZ.mjs';
33
33
  import './shared/better-auth.Cjw1GDsh.mjs';
34
34
  import './shared/better-auth.DUTxy-hg.mjs';
35
35
  import 'kysely';
@@ -38,3 +38,4 @@ import './shared/better-auth.AYS43XM1.mjs';
38
38
  import './shared/better-auth.YwDQhoPc.mjs';
39
39
  import '@better-fetch/fetch';
40
40
  import 'jose/errors';
41
+ import './shared/better-auth.D2xndZ2p.mjs';
@@ -5,13 +5,13 @@ require('@better-auth/utils/base64');
5
5
  require('@better-auth/utils/hmac');
6
6
  require('../shared/better-auth.DTvRBuq4.cjs');
7
7
  require('@better-auth/utils/binary');
8
- const cookies_index = require('../shared/better-auth.DIfV2UBl.cjs');
8
+ const cookies_index = require('../shared/better-auth.oHfRlmfe.cjs');
9
9
  require('better-call');
10
10
  require('zod');
11
- const session = require('../shared/better-auth.wBgaxGEw.cjs');
12
- require('../shared/better-auth.A_lT_4ey.cjs');
11
+ const session = require('../shared/better-auth.CWoe8tep.cjs');
12
+ require('../shared/better-auth.C0WkvM-b.cjs');
13
13
  require('../shared/better-auth.DcYLM7Us.cjs');
14
- require('../shared/better-auth.CuyhlHls.cjs');
14
+ require('../shared/better-auth.1iHKsGdY.cjs');
15
15
  require('../plugins/organization/access/index.cjs');
16
16
  require('@better-auth/utils/random');
17
17
  require('@better-auth/utils/hash');
@@ -33,7 +33,8 @@ require('../plugins/device-authorization/index.cjs');
33
33
  require('../shared/better-auth.ANpbi45u.cjs');
34
34
  require('../shared/better-auth.C1hdVENX.cjs');
35
35
  require('../shared/better-auth.DgMx7bVs.cjs');
36
- require('../shared/better-auth.DRmln2Nr.cjs');
36
+ require('../shared/better-auth.DxBcELEX.cjs');
37
+ require('../shared/better-auth.uykCWCYS.cjs');
37
38
  require('../crypto/index.cjs');
38
39
  require('jose/errors');
39
40
  require('../shared/better-auth.Bg6iw3ig.cjs');
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.DHiuXI9L.cjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.BOKSn3AP.cjs';
3
3
  import 'kysely';
4
4
  import '../shared/better-auth.v_lf-jeY.cjs';
5
5
  import '../shared/better-auth.DTtXpZYr.cjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.DQBMcFsm.mjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.vNMd9aBC.mjs';
3
3
  import 'kysely';
4
4
  import '../shared/better-auth.XefKa8DI.mjs';
5
5
  import '../shared/better-auth.DTtXpZYr.mjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.DyZUF2_t.js';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.3es9ZU_K.js';
3
3
  import 'kysely';
4
4
  import '../shared/better-auth.4SXCyo06.js';
5
5
  import '../shared/better-auth.DTtXpZYr.js';
@@ -3,13 +3,13 @@ import '@better-auth/utils/base64';
3
3
  import '@better-auth/utils/hmac';
4
4
  import '../shared/better-auth.C4g12FAA.mjs';
5
5
  import '@better-auth/utils/binary';
6
- import { p as parseSetCookieHeader } from '../shared/better-auth.C3bLnul-.mjs';
6
+ import { p as parseSetCookieHeader } from '../shared/better-auth.pyHheoY8.mjs';
7
7
  import 'better-call';
8
8
  import 'zod';
9
- import { c as createAuthMiddleware } from '../shared/better-auth.Co88PbP3.mjs';
10
- import '../shared/better-auth.D1jaLDAW.mjs';
9
+ import { c as createAuthMiddleware } from '../shared/better-auth.CIqzVuC5.mjs';
10
+ import '../shared/better-auth.C-9OPnjJ.mjs';
11
11
  import '../shared/better-auth.CJ2rnsDV.mjs';
12
- import '../shared/better-auth.BftmE2f4.mjs';
12
+ import '../shared/better-auth.Cw2Wb5xl.mjs';
13
13
  import '../plugins/organization/access/index.mjs';
14
14
  import '@better-auth/utils/random';
15
15
  import '@better-auth/utils/hash';
@@ -31,7 +31,8 @@ import '../plugins/device-authorization/index.mjs';
31
31
  import '../shared/better-auth.DdzSJf-n.mjs';
32
32
  import '../shared/better-auth.CW6D9eSx.mjs';
33
33
  import '../shared/better-auth.CvNZNAOW.mjs';
34
- import '../shared/better-auth.DxV4YGX3.mjs';
34
+ import '../shared/better-auth.BAQSo96z.mjs';
35
+ import '../shared/better-auth.D2xndZ2p.mjs';
35
36
  import '../crypto/index.mjs';
36
37
  import 'jose/errors';
37
38
  import '../shared/better-auth.BUPPRXfK.mjs';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { c as Auth } from '../shared/better-auth.DHiuXI9L.cjs';
3
+ import { c as Auth } from '../shared/better-auth.BOKSn3AP.cjs';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import '../shared/better-auth.v_lf-jeY.cjs';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { c as Auth } from '../shared/better-auth.DQBMcFsm.mjs';
3
+ import { c as Auth } from '../shared/better-auth.vNMd9aBC.mjs';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import '../shared/better-auth.XefKa8DI.mjs';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { c as Auth } from '../shared/better-auth.DyZUF2_t.js';
3
+ import { c as Auth } from '../shared/better-auth.3es9ZU_K.js';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import '../shared/better-auth.4SXCyo06.js';
@@ -5,13 +5,13 @@ require('@better-auth/utils/base64');
5
5
  require('@better-auth/utils/hmac');
6
6
  require('../shared/better-auth.DTvRBuq4.cjs');
7
7
  require('@better-auth/utils/binary');
8
- const cookies_index = require('../shared/better-auth.DIfV2UBl.cjs');
8
+ const cookies_index = require('../shared/better-auth.oHfRlmfe.cjs');
9
9
  require('better-call');
10
10
  require('zod');
11
- const session = require('../shared/better-auth.wBgaxGEw.cjs');
12
- require('../shared/better-auth.A_lT_4ey.cjs');
11
+ const session = require('../shared/better-auth.CWoe8tep.cjs');
12
+ require('../shared/better-auth.C0WkvM-b.cjs');
13
13
  require('../shared/better-auth.DcYLM7Us.cjs');
14
- require('../shared/better-auth.CuyhlHls.cjs');
14
+ require('../shared/better-auth.1iHKsGdY.cjs');
15
15
  require('../plugins/organization/access/index.cjs');
16
16
  require('@better-auth/utils/random');
17
17
  require('@better-auth/utils/hash');
@@ -33,7 +33,8 @@ require('../plugins/device-authorization/index.cjs');
33
33
  require('../shared/better-auth.ANpbi45u.cjs');
34
34
  require('../shared/better-auth.C1hdVENX.cjs');
35
35
  require('../shared/better-auth.DgMx7bVs.cjs');
36
- require('../shared/better-auth.DRmln2Nr.cjs');
36
+ require('../shared/better-auth.DxBcELEX.cjs');
37
+ require('../shared/better-auth.uykCWCYS.cjs');
37
38
  require('../crypto/index.cjs');
38
39
  require('jose/errors');
39
40
  require('../shared/better-auth.Bg6iw3ig.cjs');
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.DHiuXI9L.cjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.BOKSn3AP.cjs';
3
3
  import 'kysely';
4
4
  import '../shared/better-auth.v_lf-jeY.cjs';
5
5
  import '../shared/better-auth.DTtXpZYr.cjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.DQBMcFsm.mjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.vNMd9aBC.mjs';
3
3
  import 'kysely';
4
4
  import '../shared/better-auth.XefKa8DI.mjs';
5
5
  import '../shared/better-auth.DTtXpZYr.mjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.DyZUF2_t.js';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.3es9ZU_K.js';
3
3
  import 'kysely';
4
4
  import '../shared/better-auth.4SXCyo06.js';
5
5
  import '../shared/better-auth.DTtXpZYr.js';
@@ -3,13 +3,13 @@ import '@better-auth/utils/base64';
3
3
  import '@better-auth/utils/hmac';
4
4
  import '../shared/better-auth.C4g12FAA.mjs';
5
5
  import '@better-auth/utils/binary';
6
- import { p as parseSetCookieHeader } from '../shared/better-auth.C3bLnul-.mjs';
6
+ import { p as parseSetCookieHeader } from '../shared/better-auth.pyHheoY8.mjs';
7
7
  import 'better-call';
8
8
  import 'zod';
9
- import { c as createAuthMiddleware } from '../shared/better-auth.Co88PbP3.mjs';
10
- import '../shared/better-auth.D1jaLDAW.mjs';
9
+ import { c as createAuthMiddleware } from '../shared/better-auth.CIqzVuC5.mjs';
10
+ import '../shared/better-auth.C-9OPnjJ.mjs';
11
11
  import '../shared/better-auth.CJ2rnsDV.mjs';
12
- import '../shared/better-auth.BftmE2f4.mjs';
12
+ import '../shared/better-auth.Cw2Wb5xl.mjs';
13
13
  import '../plugins/organization/access/index.mjs';
14
14
  import '@better-auth/utils/random';
15
15
  import '@better-auth/utils/hash';
@@ -31,7 +31,8 @@ import '../plugins/device-authorization/index.mjs';
31
31
  import '../shared/better-auth.DdzSJf-n.mjs';
32
32
  import '../shared/better-auth.CW6D9eSx.mjs';
33
33
  import '../shared/better-auth.CvNZNAOW.mjs';
34
- import '../shared/better-auth.DxV4YGX3.mjs';
34
+ import '../shared/better-auth.BAQSo96z.mjs';
35
+ import '../shared/better-auth.D2xndZ2p.mjs';
35
36
  import '../crypto/index.mjs';
36
37
  import 'jose/errors';
37
38
  import '../shared/better-auth.BUPPRXfK.mjs';
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  require('better-call');
4
- require('../shared/better-auth.A_lT_4ey.cjs');
5
- const session = require('../shared/better-auth.wBgaxGEw.cjs');
4
+ require('../shared/better-auth.C0WkvM-b.cjs');
5
+ const session = require('../shared/better-auth.CWoe8tep.cjs');
6
6
  require('zod');
7
7
  require('../shared/better-auth.B6fIklBU.cjs');
8
8
  require('@better-auth/utils/base64');
9
9
  require('@better-auth/utils/hmac');
10
10
  require('../shared/better-auth.DTvRBuq4.cjs');
11
11
  require('@better-auth/utils/binary');
12
- const cookies_index = require('../shared/better-auth.DIfV2UBl.cjs');
12
+ const cookies_index = require('../shared/better-auth.oHfRlmfe.cjs');
13
13
  require('../shared/better-auth.DcYLM7Us.cjs');
14
14
  require('../shared/better-auth.C1hdVENX.cjs');
15
15
  require('@better-auth/utils/hash');
@@ -24,11 +24,12 @@ require('../shared/better-auth.ANpbi45u.cjs');
24
24
  require('../shared/better-auth.CYeOI8C-.cjs');
25
25
  require('@better-auth/utils/random');
26
26
  require('@better-fetch/fetch');
27
- require('../shared/better-auth.DRmln2Nr.cjs');
27
+ require('../shared/better-auth.DxBcELEX.cjs');
28
28
  require('jose/errors');
29
29
  require('../shared/better-auth.DgMx7bVs.cjs');
30
30
  require('../shared/better-auth.Bg6iw3ig.cjs');
31
31
  require('defu');
32
+ require('../shared/better-auth.uykCWCYS.cjs');
32
33
 
33
34
  const toSvelteKitHandler = (auth) => {
34
35
  return (event) => auth.handler(event.request);
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { B as BetterAuthOptions } from '../shared/better-auth.DHiuXI9L.cjs';
2
+ import { B as BetterAuthOptions } from '../shared/better-auth.BOKSn3AP.cjs';
3
3
  import { RequestEvent } from '@sveltejs/kit';
4
4
  import 'kysely';
5
5
  import '../shared/better-auth.v_lf-jeY.cjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { B as BetterAuthOptions } from '../shared/better-auth.DQBMcFsm.mjs';
2
+ import { B as BetterAuthOptions } from '../shared/better-auth.vNMd9aBC.mjs';
3
3
  import { RequestEvent } from '@sveltejs/kit';
4
4
  import 'kysely';
5
5
  import '../shared/better-auth.XefKa8DI.mjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { B as BetterAuthOptions } from '../shared/better-auth.DyZUF2_t.js';
2
+ import { B as BetterAuthOptions } from '../shared/better-auth.3es9ZU_K.js';
3
3
  import { RequestEvent } from '@sveltejs/kit';
4
4
  import 'kysely';
5
5
  import '../shared/better-auth.4SXCyo06.js';
@@ -1,13 +1,13 @@
1
1
  import 'better-call';
2
- import '../shared/better-auth.D1jaLDAW.mjs';
3
- import { c as createAuthMiddleware } from '../shared/better-auth.Co88PbP3.mjs';
2
+ import '../shared/better-auth.C-9OPnjJ.mjs';
3
+ import { c as createAuthMiddleware } from '../shared/better-auth.CIqzVuC5.mjs';
4
4
  import 'zod';
5
5
  import '../shared/better-auth.CiuwFiHM.mjs';
6
6
  import '@better-auth/utils/base64';
7
7
  import '@better-auth/utils/hmac';
8
8
  import '../shared/better-auth.C4g12FAA.mjs';
9
9
  import '@better-auth/utils/binary';
10
- import { p as parseSetCookieHeader } from '../shared/better-auth.C3bLnul-.mjs';
10
+ import { p as parseSetCookieHeader } from '../shared/better-auth.pyHheoY8.mjs';
11
11
  import '../shared/better-auth.CJ2rnsDV.mjs';
12
12
  import '../shared/better-auth.CW6D9eSx.mjs';
13
13
  import '@better-auth/utils/hash';
@@ -22,11 +22,12 @@ import '../shared/better-auth.DdzSJf-n.mjs';
22
22
  import '../shared/better-auth.B4Qoxdgc.mjs';
23
23
  import '@better-auth/utils/random';
24
24
  import '@better-fetch/fetch';
25
- import '../shared/better-auth.DxV4YGX3.mjs';
25
+ import '../shared/better-auth.BAQSo96z.mjs';
26
26
  import 'jose/errors';
27
27
  import '../shared/better-auth.CvNZNAOW.mjs';
28
28
  import '../shared/better-auth.BUPPRXfK.mjs';
29
29
  import 'defu';
30
+ import '../shared/better-auth.D2xndZ2p.mjs';
30
31
 
31
32
  const toSvelteKitHandler = (auth) => {
32
33
  return (event) => auth.handler(event.request);
@@ -1,19 +1,20 @@
1
1
  'use strict';
2
2
 
3
- const socialProviders_index = require('../shared/better-auth.A_lT_4ey.cjs');
3
+ const socialProviders_index = require('../shared/better-auth.C0WkvM-b.cjs');
4
4
  require('zod');
5
- require('../shared/better-auth.wBgaxGEw.cjs');
5
+ require('../shared/better-auth.CWoe8tep.cjs');
6
6
  require('better-call');
7
7
  require('../shared/better-auth.C1hdVENX.cjs');
8
- require('../shared/better-auth.DIfV2UBl.cjs');
8
+ require('../shared/better-auth.oHfRlmfe.cjs');
9
9
  require('../shared/better-auth.ANpbi45u.cjs');
10
10
  require('../shared/better-auth.B6fIklBU.cjs');
11
11
  require('@better-auth/utils/base64');
12
12
  require('@better-auth/utils/hmac');
13
13
  require('../shared/better-auth.DgMx7bVs.cjs');
14
14
  require('../shared/better-auth.DTvRBuq4.cjs');
15
- require('../shared/better-auth.DRmln2Nr.cjs');
15
+ require('../shared/better-auth.DxBcELEX.cjs');
16
16
  require('@better-auth/utils/binary');
17
+ require('../shared/better-auth.uykCWCYS.cjs');
17
18
  require('@better-auth/utils/hash');
18
19
  require('../crypto/index.cjs');
19
20
  require('@noble/ciphers/chacha.js');