better-auth 1.3.21 → 1.3.23

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 (236) hide show
  1. package/dist/adapters/drizzle-adapter/index.d.cts +2 -2
  2. package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
  3. package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
  4. package/dist/adapters/index.d.cts +3 -3
  5. package/dist/adapters/index.d.mts +3 -3
  6. package/dist/adapters/index.d.ts +3 -3
  7. package/dist/adapters/kysely-adapter/index.d.cts +2 -2
  8. package/dist/adapters/kysely-adapter/index.d.mts +2 -2
  9. package/dist/adapters/kysely-adapter/index.d.ts +2 -2
  10. package/dist/adapters/memory-adapter/index.d.cts +2 -2
  11. package/dist/adapters/memory-adapter/index.d.mts +2 -2
  12. package/dist/adapters/memory-adapter/index.d.ts +2 -2
  13. package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
  14. package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
  15. package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
  16. package/dist/adapters/prisma-adapter/index.d.cts +2 -2
  17. package/dist/adapters/prisma-adapter/index.d.mts +2 -2
  18. package/dist/adapters/prisma-adapter/index.d.ts +2 -2
  19. package/dist/adapters/test.d.cts +2 -2
  20. package/dist/adapters/test.d.mts +2 -2
  21. package/dist/adapters/test.d.ts +2 -2
  22. package/dist/api/index.cjs +1 -1
  23. package/dist/api/index.d.cts +2 -2
  24. package/dist/api/index.d.mts +2 -2
  25. package/dist/api/index.d.ts +2 -2
  26. package/dist/api/index.mjs +2 -2
  27. package/dist/client/index.d.cts +4 -4
  28. package/dist/client/index.d.mts +4 -4
  29. package/dist/client/index.d.ts +4 -4
  30. package/dist/client/plugins/index.d.cts +4 -4
  31. package/dist/client/plugins/index.d.mts +4 -4
  32. package/dist/client/plugins/index.d.ts +4 -4
  33. package/dist/client/react/index.d.cts +10 -10
  34. package/dist/client/react/index.d.mts +10 -10
  35. package/dist/client/react/index.d.ts +10 -10
  36. package/dist/client/solid/index.d.cts +4 -4
  37. package/dist/client/solid/index.d.mts +4 -4
  38. package/dist/client/solid/index.d.ts +4 -4
  39. package/dist/client/svelte/index.d.cts +10 -10
  40. package/dist/client/svelte/index.d.mts +10 -10
  41. package/dist/client/svelte/index.d.ts +10 -10
  42. package/dist/client/vue/index.d.cts +4 -4
  43. package/dist/client/vue/index.d.mts +4 -4
  44. package/dist/client/vue/index.d.ts +4 -4
  45. package/dist/cookies/index.d.cts +2 -2
  46. package/dist/cookies/index.d.mts +2 -2
  47. package/dist/cookies/index.d.ts +2 -2
  48. package/dist/db/index.d.cts +3 -3
  49. package/dist/db/index.d.mts +3 -3
  50. package/dist/db/index.d.ts +3 -3
  51. package/dist/index.cjs +2 -2
  52. package/dist/index.d.cts +5 -5
  53. package/dist/index.d.mts +5 -5
  54. package/dist/index.d.ts +5 -5
  55. package/dist/index.mjs +2 -2
  56. package/dist/integrations/next-js.cjs +2 -2
  57. package/dist/integrations/next-js.d.cts +2 -2
  58. package/dist/integrations/next-js.d.mts +2 -2
  59. package/dist/integrations/next-js.d.ts +2 -2
  60. package/dist/integrations/next-js.mjs +2 -2
  61. package/dist/integrations/node.d.cts +2 -2
  62. package/dist/integrations/node.d.mts +2 -2
  63. package/dist/integrations/node.d.ts +2 -2
  64. package/dist/integrations/react-start.cjs +2 -2
  65. package/dist/integrations/react-start.d.cts +2 -2
  66. package/dist/integrations/react-start.d.mts +2 -2
  67. package/dist/integrations/react-start.d.ts +2 -2
  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 +2 -2
  71. package/dist/integrations/svelte-kit.d.mts +2 -2
  72. package/dist/integrations/svelte-kit.d.ts +2 -2
  73. package/dist/integrations/svelte-kit.mjs +1 -1
  74. package/dist/oauth2/index.cjs +1 -1
  75. package/dist/oauth2/index.d.cts +4 -4
  76. package/dist/oauth2/index.d.mts +4 -4
  77. package/dist/oauth2/index.d.ts +4 -4
  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 +4 -4
  81. package/dist/plugins/admin/index.d.mts +4 -4
  82. package/dist/plugins/admin/index.d.ts +4 -4
  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 +2 -2
  86. package/dist/plugins/anonymous/index.d.mts +2 -2
  87. package/dist/plugins/anonymous/index.d.ts +2 -2
  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 +2 -2
  91. package/dist/plugins/bearer/index.d.mts +2 -2
  92. package/dist/plugins/bearer/index.d.ts +2 -2
  93. package/dist/plugins/bearer/index.mjs +1 -1
  94. package/dist/plugins/captcha/index.d.cts +2 -2
  95. package/dist/plugins/captcha/index.d.mts +2 -2
  96. package/dist/plugins/captcha/index.d.ts +2 -2
  97. package/dist/plugins/custom-session/index.cjs +1 -1
  98. package/dist/plugins/custom-session/index.d.cts +2 -2
  99. package/dist/plugins/custom-session/index.d.mts +2 -2
  100. package/dist/plugins/custom-session/index.d.ts +2 -2
  101. package/dist/plugins/custom-session/index.mjs +1 -1
  102. package/dist/plugins/device-authorization/index.d.cts +2 -2
  103. package/dist/plugins/device-authorization/index.d.mts +2 -2
  104. package/dist/plugins/device-authorization/index.d.ts +2 -2
  105. package/dist/plugins/email-otp/index.cjs +1 -1
  106. package/dist/plugins/email-otp/index.d.cts +2 -2
  107. package/dist/plugins/email-otp/index.d.mts +2 -2
  108. package/dist/plugins/email-otp/index.d.ts +2 -2
  109. package/dist/plugins/email-otp/index.mjs +1 -1
  110. package/dist/plugins/generic-oauth/index.cjs +1 -1
  111. package/dist/plugins/generic-oauth/index.d.cts +2 -2
  112. package/dist/plugins/generic-oauth/index.d.mts +2 -2
  113. package/dist/plugins/generic-oauth/index.d.ts +2 -2
  114. package/dist/plugins/generic-oauth/index.mjs +1 -1
  115. package/dist/plugins/haveibeenpwned/index.cjs +1 -1
  116. package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
  117. package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
  118. package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
  119. package/dist/plugins/haveibeenpwned/index.mjs +1 -1
  120. package/dist/plugins/index.cjs +6 -6
  121. package/dist/plugins/index.d.cts +4 -4
  122. package/dist/plugins/index.d.mts +4 -4
  123. package/dist/plugins/index.d.ts +4 -4
  124. package/dist/plugins/index.mjs +7 -7
  125. package/dist/plugins/jwt/index.cjs +1 -1
  126. package/dist/plugins/jwt/index.d.cts +2 -2
  127. package/dist/plugins/jwt/index.d.mts +2 -2
  128. package/dist/plugins/jwt/index.d.ts +2 -2
  129. package/dist/plugins/jwt/index.mjs +1 -1
  130. package/dist/plugins/magic-link/index.cjs +1 -1
  131. package/dist/plugins/magic-link/index.mjs +1 -1
  132. package/dist/plugins/multi-session/index.cjs +1 -1
  133. package/dist/plugins/multi-session/index.d.cts +2 -2
  134. package/dist/plugins/multi-session/index.d.mts +2 -2
  135. package/dist/plugins/multi-session/index.d.ts +2 -2
  136. package/dist/plugins/multi-session/index.mjs +1 -1
  137. package/dist/plugins/oauth-proxy/index.cjs +1 -1
  138. package/dist/plugins/oauth-proxy/index.d.cts +2 -2
  139. package/dist/plugins/oauth-proxy/index.d.mts +2 -2
  140. package/dist/plugins/oauth-proxy/index.d.ts +2 -2
  141. package/dist/plugins/oauth-proxy/index.mjs +1 -1
  142. package/dist/plugins/oidc-provider/index.cjs +2 -2
  143. package/dist/plugins/oidc-provider/index.d.cts +6 -6
  144. package/dist/plugins/oidc-provider/index.d.mts +6 -6
  145. package/dist/plugins/oidc-provider/index.d.ts +6 -6
  146. package/dist/plugins/oidc-provider/index.mjs +2 -2
  147. package/dist/plugins/one-tap/index.cjs +1 -1
  148. package/dist/plugins/one-tap/index.mjs +1 -1
  149. package/dist/plugins/one-time-token/index.cjs +3 -3
  150. package/dist/plugins/one-time-token/index.d.cts +2 -2
  151. package/dist/plugins/one-time-token/index.d.mts +2 -2
  152. package/dist/plugins/one-time-token/index.d.ts +2 -2
  153. package/dist/plugins/one-time-token/index.mjs +3 -3
  154. package/dist/plugins/open-api/index.cjs +1 -1
  155. package/dist/plugins/open-api/index.d.cts +2 -2
  156. package/dist/plugins/open-api/index.d.mts +2 -2
  157. package/dist/plugins/open-api/index.d.ts +2 -2
  158. package/dist/plugins/open-api/index.mjs +1 -1
  159. package/dist/plugins/organization/index.cjs +3 -3
  160. package/dist/plugins/organization/index.d.cts +10 -10
  161. package/dist/plugins/organization/index.d.mts +10 -10
  162. package/dist/plugins/organization/index.d.ts +10 -10
  163. package/dist/plugins/organization/index.mjs +3 -3
  164. package/dist/plugins/passkey/index.cjs +1 -1
  165. package/dist/plugins/passkey/index.d.cts +2 -2
  166. package/dist/plugins/passkey/index.d.mts +2 -2
  167. package/dist/plugins/passkey/index.d.ts +2 -2
  168. package/dist/plugins/passkey/index.mjs +1 -1
  169. package/dist/plugins/phone-number/index.cjs +1 -1
  170. package/dist/plugins/phone-number/index.d.cts +2 -2
  171. package/dist/plugins/phone-number/index.d.mts +2 -2
  172. package/dist/plugins/phone-number/index.d.ts +2 -2
  173. package/dist/plugins/phone-number/index.mjs +1 -1
  174. package/dist/plugins/siwe/index.cjs +1 -1
  175. package/dist/plugins/siwe/index.d.cts +2 -2
  176. package/dist/plugins/siwe/index.d.mts +2 -2
  177. package/dist/plugins/siwe/index.d.ts +2 -2
  178. package/dist/plugins/siwe/index.mjs +1 -1
  179. package/dist/plugins/sso/index.cjs +1 -1
  180. package/dist/plugins/sso/index.d.cts +4 -4
  181. package/dist/plugins/sso/index.d.mts +4 -4
  182. package/dist/plugins/sso/index.d.ts +4 -4
  183. package/dist/plugins/sso/index.mjs +1 -1
  184. package/dist/plugins/two-factor/index.cjs +1 -1
  185. package/dist/plugins/two-factor/index.d.cts +2 -2
  186. package/dist/plugins/two-factor/index.d.mts +2 -2
  187. package/dist/plugins/two-factor/index.d.ts +2 -2
  188. package/dist/plugins/two-factor/index.mjs +1 -1
  189. package/dist/plugins/username/index.cjs +1 -1
  190. package/dist/plugins/username/index.d.cts +2 -2
  191. package/dist/plugins/username/index.d.mts +2 -2
  192. package/dist/plugins/username/index.d.ts +2 -2
  193. package/dist/plugins/username/index.mjs +1 -1
  194. package/dist/shared/{better-auth.C6qXK08w.d.ts → better-auth.4SXCyo06.d.ts} +2 -2
  195. package/dist/shared/{better-auth.BCkf9FZU.d.cts → better-auth.7ixzXnnQ.d.cts} +1 -1
  196. package/dist/shared/{better-auth.B7HelsAr.d.mts → better-auth.B8Yk6B-c.d.mts} +1 -1
  197. package/dist/shared/{better-auth.CbhDVqJv.d.ts → better-auth.BNc3SDTX.d.ts} +1 -1
  198. package/dist/shared/{better-auth.CEyNnJh7.cjs → better-auth.BQvT5jPC.cjs} +1 -1
  199. package/dist/shared/{better-auth.nTGSkBy-.d.ts → better-auth.BYvWEjMc.d.ts} +9 -9
  200. package/dist/shared/{better-auth.v8jPhtpB.mjs → better-auth.BdecEc2O.mjs} +1 -1
  201. package/dist/shared/{better-auth.BkVhzNer.d.cts → better-auth.Boih1e_N.d.cts} +1 -1
  202. package/dist/shared/{better-auth.DkTnb5Io.mjs → better-auth.BtbGT670.mjs} +2 -2
  203. package/dist/shared/{better-auth.AFdKV9lT.d.ts → better-auth.BzWKH_Lm.d.mts} +2 -2
  204. package/dist/shared/{better-auth.DHp6DNTP.mjs → better-auth.C84XtErM.mjs} +1 -1
  205. package/dist/shared/{better-auth.BWSNYlLl.mjs → better-auth.CAJUiXTA.mjs} +1 -1
  206. package/dist/shared/{better-auth.Br4Wfx0Y.cjs → better-auth.CB248hqi.cjs} +1 -1
  207. package/dist/shared/{better-auth.BFegHNjn.d.mts → better-auth.CFtgxZkB.d.mts} +9 -9
  208. package/dist/shared/{better-auth.DWgVanF-.d.mts → better-auth.CHtMWaN8.d.ts} +2 -2
  209. package/dist/shared/{better-auth.CKHG0ATr.cjs → better-auth.CXBPmam_.cjs} +1 -1
  210. package/dist/shared/{better-auth.p1cIDE6Y.d.ts → better-auth.CYEJMfBK.d.ts} +1 -1
  211. package/dist/shared/{better-auth.CCPxTWHv.mjs → better-auth.Cppf38DI.mjs} +2 -2
  212. package/dist/shared/{better-auth.DAXvGuBK.mjs → better-auth.DGV8LtRu.mjs} +10 -2
  213. package/dist/shared/{better-auth.DdoZ2a-L.cjs → better-auth.DHAY0xdm.cjs} +2 -2
  214. package/dist/shared/{better-auth._WE9Fhqj.d.cts → better-auth.DImZeRKY.d.cts} +9 -9
  215. package/dist/shared/{better-auth.BiEbNlTO.cjs → better-auth.DfaynrsJ.cjs} +2 -2
  216. package/dist/shared/{better-auth.BsV61G-v.cjs → better-auth.Fn0ZCxWT.cjs} +1 -1
  217. package/dist/shared/{better-auth.BGDp9pBQ.d.cts → better-auth.N3ys23iz.d.cts} +1 -1
  218. package/dist/shared/{better-auth.BA4t8YCt.cjs → better-auth.RAAuA8D-.cjs} +10 -2
  219. package/dist/shared/{better-auth.BHPr8J54.d.mts → better-auth.XefKa8DI.d.mts} +2 -2
  220. package/dist/shared/{better-auth.HsL9NWdo.d.mts → better-auth.bvByA6N5.d.mts} +1 -1
  221. package/dist/shared/{better-auth.D2NikySY.mjs → better-auth.dKMb7G3x.mjs} +1 -1
  222. package/dist/shared/{better-auth.7zTmTxT4.d.cts → better-auth.v_lf-jeY.d.cts} +2 -2
  223. package/dist/social-providers/index.cjs +1 -1
  224. package/dist/social-providers/index.d.cts +1 -1
  225. package/dist/social-providers/index.d.mts +1 -1
  226. package/dist/social-providers/index.d.ts +1 -1
  227. package/dist/social-providers/index.mjs +1 -1
  228. package/dist/test-utils/index.cjs +3 -3
  229. package/dist/test-utils/index.d.cts +3 -3
  230. package/dist/test-utils/index.d.mts +3 -3
  231. package/dist/test-utils/index.d.ts +3 -3
  232. package/dist/test-utils/index.mjs +3 -3
  233. package/dist/types/index.d.cts +3 -3
  234. package/dist/types/index.d.mts +3 -3
  235. package/dist/types/index.d.ts +3 -3
  236. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { n as BetterAuthPlugin, B as BetterAuthOptions, ah as InferFieldsInputClient, af as InferFieldsOutput, U as User, S as Session, c as Auth } from './better-auth._WE9Fhqj.cjs';
1
+ import { n as BetterAuthPlugin, B as BetterAuthOptions, ah as InferFieldsInputClient, af as InferFieldsOutput, U as User, S as Session, c as Auth } from './better-auth.DImZeRKY.cjs';
2
2
  import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
3
3
  import { WritableAtom, Atom } from 'nanostores';
4
4
  import { U as UnionToIntersection, H as HasRequiredKeys, a as Prettify, L as LiteralString, S as StripEmptyObjects } from './better-auth.DTtXpZYr.cjs';
@@ -683,7 +683,12 @@ async function generateState(c, link) {
683
683
  maxAge: 5 * 60 * 1e3
684
684
  // 5 minutes
685
685
  });
686
- c.setCookie(stateCookie.name, state, stateCookie.attributes);
686
+ await c.setSignedCookie(
687
+ stateCookie.name,
688
+ state,
689
+ c.context.secret,
690
+ stateCookie.attributes
691
+ );
687
692
  const data = JSON.stringify({
688
693
  callbackURL,
689
694
  codeVerifier,
@@ -745,7 +750,10 @@ async function parseState(c) {
745
750
  parsedData.errorURL = `${c.context.baseURL}/error`;
746
751
  }
747
752
  const stateCookie = c.context.createAuthCookie("state");
748
- const stateCookieValue = c.getCookie(stateCookie.name);
753
+ const stateCookieValue = await c.getSignedCookie(
754
+ stateCookie.name,
755
+ c.context.secret
756
+ );
749
757
  if (!stateCookieValue || stateCookieValue !== state) {
750
758
  const errorURL = c.context.options.onAPIError?.errorURL || `${c.context.baseURL}/error`;
751
759
  throw c.redirect(`${errorURL}?error=state_mismatch`);
@@ -2611,7 +2611,7 @@ declare const cognito: (options: CognitoOptions) => {
2611
2611
  } | null>;
2612
2612
  options: CognitoOptions;
2613
2613
  };
2614
- declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<CryptoKey | Uint8Array<ArrayBufferLike>>;
2614
+ declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
2615
2615
 
2616
2616
  interface AtlassianProfile {
2617
2617
  account_type?: string;
@@ -2775,7 +2775,7 @@ declare const apple: (options: AppleOptions) => {
2775
2775
  } | null>;
2776
2776
  options: AppleOptions;
2777
2777
  };
2778
- declare const getApplePublicKey: (kid: string) => Promise<CryptoKey | Uint8Array<ArrayBufferLike>>;
2778
+ declare const getApplePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
2779
2779
 
2780
2780
  declare const socialProviders: {
2781
2781
  apple: (options: AppleOptions) => {
@@ -1,4 +1,4 @@
1
- import { n as BetterAuthPlugin, B as BetterAuthOptions, ah as InferFieldsInputClient, af as InferFieldsOutput, U as User, S as Session, c as Auth } from './better-auth.BFegHNjn.mjs';
1
+ import { n as BetterAuthPlugin, B as BetterAuthOptions, ah as InferFieldsInputClient, af as InferFieldsOutput, U as User, S as Session, c as Auth } from './better-auth.CFtgxZkB.mjs';
2
2
  import { BetterFetchOption, BetterFetchResponse, BetterFetch, BetterFetchPlugin } from '@better-fetch/fetch';
3
3
  import { WritableAtom, Atom } from 'nanostores';
4
4
  import { U as UnionToIntersection, H as HasRequiredKeys, a as Prettify, L as LiteralString, S as StripEmptyObjects } from './better-auth.DTtXpZYr.mjs';
@@ -1,7 +1,7 @@
1
1
  import * as z from 'zod';
2
2
  import { SignJWT } from 'jose';
3
3
  import { APIError } from 'better-call';
4
- import './better-auth.DAXvGuBK.mjs';
4
+ import './better-auth.DGV8LtRu.mjs';
5
5
  import { g as getSessionFromCtx, a as createAuthEndpoint, c as createAuthMiddleware, s as sessionMiddleware } from './better-auth.CIqzVuC5.mjs';
6
6
  import './better-auth.CiuwFiHM.mjs';
7
7
  import { base64Url, base64 } from '@better-auth/utils/base64';
@@ -2611,7 +2611,7 @@ declare const cognito: (options: CognitoOptions) => {
2611
2611
  } | null>;
2612
2612
  options: CognitoOptions;
2613
2613
  };
2614
- declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<CryptoKey | Uint8Array<ArrayBufferLike>>;
2614
+ declare const getCognitoPublicKey: (kid: string, region: string, userPoolId: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
2615
2615
 
2616
2616
  interface AtlassianProfile {
2617
2617
  account_type?: string;
@@ -2775,7 +2775,7 @@ declare const apple: (options: AppleOptions) => {
2775
2775
  } | null>;
2776
2776
  options: AppleOptions;
2777
2777
  };
2778
- declare const getApplePublicKey: (kid: string) => Promise<CryptoKey | Uint8Array<ArrayBufferLike>>;
2778
+ declare const getApplePublicKey: (kid: string) => Promise<Uint8Array<ArrayBufferLike> | CryptoKey>;
2779
2779
 
2780
2780
  declare const socialProviders: {
2781
2781
  apple: (options: AppleOptions) => {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('zod');
4
- const socialProviders_index = require('../shared/better-auth.BA4t8YCt.cjs');
4
+ const socialProviders_index = require('../shared/better-auth.RAAuA8D-.cjs');
5
5
  require('../shared/better-auth.CWoe8tep.cjs');
6
6
  require('better-call');
7
7
  require('../shared/better-auth.C1hdVENX.cjs');
@@ -1,3 +1,3 @@
1
- export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.7zTmTxT4.cjs';
1
+ export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.v_lf-jeY.cjs';
2
2
  import 'zod';
3
3
  import '../shared/better-auth.DTtXpZYr.cjs';
@@ -1,3 +1,3 @@
1
- export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.BHPr8J54.mjs';
1
+ export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.XefKa8DI.mjs';
2
2
  import 'zod';
3
3
  import '../shared/better-auth.DTtXpZYr.mjs';
@@ -1,3 +1,3 @@
1
- export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.C6qXK08w.js';
1
+ export { at as AccountStatus, g as AppleNonConformUser, h as AppleOptions, A as AppleProfile, l as AtlassianOptions, k as AtlassianProfile, n as CognitoOptions, C as CognitoProfile, q as DiscordOptions, D as DiscordProfile, u as DropboxOptions, t as DropboxProfile, w as FacebookOptions, F as FacebookProfile, z as FigmaOptions, y as FigmaProfile, E as GithubOptions, G as GithubProfile, R as GitlabOptions, Q as GitlabProfile, V as GoogleOptions, U as GoogleProfile, aA as HuggingFaceOptions, az as HuggingFaceProfile, aG as KakaoOptions, aF as KakaoProfile, Y as KickOptions, X as KickProfile, aL as LineIdTokenPayload, aN as LineOptions, aM as LineUserInfo, I as LinearOptions, L as LinearProfile, M as LinkedInOptions, K as LinkedInProfile, as as LoginType, _ as MicrosoftEntraIDProfile, $ as MicrosoftOptions, aJ as NaverOptions, aI as NaverProfile, a2 as NotionOptions, a1 as NotionProfile, aR as PayPalOptions, aP as PayPalProfile, aQ as PayPalTokenResponse, av as PhoneNumber, au as PronounOption, a5 as RedditOptions, a4 as RedditProfile, a8 as RobloxOptions, a7 as RobloxProfile, ab as SalesforceOptions, aa as SalesforceProfile, aD as SlackOptions, aC as SlackProfile, f as SocialProvider, c as SocialProviderList, e as SocialProviderListEnum, S as SocialProviders, ae as SpotifyOptions, ad as SpotifyProfile, ah as TiktokOptions, ag as TiktokProfile, ak as TwitchOptions, aj as TwitchProfile, an as TwitterOption, am as TwitterProfile, aq as VkOption, ap as VkProfile, ax as ZoomOptions, aw as ZoomProfile, i as apple, m as atlassian, o as cognito, r as discord, v as dropbox, x as facebook, B as figma, j as getApplePublicKey, p as getCognitoPublicKey, H as github, T as gitlab, W as google, aB as huggingface, aH as kakao, Z as kick, aO as line, J as linear, N as linkedin, a0 as microsoft, aK as naver, a3 as notion, aS as paypal, a6 as reddit, a9 as roblox, ac as salesforce, aE as slack, d as socialProviderList, s as socialProviders, af as spotify, ai as tiktok, al as twitch, ao as twitter, ar as vk, ay as zoom } from '../shared/better-auth.4SXCyo06.js';
2
2
  import 'zod';
3
3
  import '../shared/better-auth.DTtXpZYr.js';
@@ -1,5 +1,5 @@
1
1
  import 'zod';
2
- export { W as SocialProviderListEnum, X as apple, Z as atlassian, _ as cognito, a0 as discord, a1 as dropbox, a2 as facebook, a3 as figma, Y as getApplePublicKey, $ as getCognitoPublicKey, a4 as github, a7 as gitlab, a8 as google, al as huggingface, an as kakao, a9 as kick, ap as line, a5 as linear, a6 as linkedin, aa as microsoft, ao as naver, ab as notion, aq as paypal, ac as reddit, ad as roblox, ae as salesforce, am as slack, V as socialProviderList, U as socialProviders, af as spotify, ag as tiktok, ah as twitch, ai as twitter, aj as vk, ak as zoom } from '../shared/better-auth.DAXvGuBK.mjs';
2
+ export { W as SocialProviderListEnum, X as apple, Z as atlassian, _ as cognito, a0 as discord, a1 as dropbox, a2 as facebook, a3 as figma, Y as getApplePublicKey, $ as getCognitoPublicKey, a4 as github, a7 as gitlab, a8 as google, al as huggingface, an as kakao, a9 as kick, ap as line, a5 as linear, a6 as linkedin, aa as microsoft, ao as naver, ab as notion, aq as paypal, ac as reddit, ad as roblox, ae as salesforce, am as slack, V as socialProviderList, U as socialProviders, af as spotify, ag as tiktok, ah as twitch, ai as twitter, aj as vk, ak as zoom } from '../shared/better-auth.DGV8LtRu.mjs';
3
3
  import '../shared/better-auth.CIqzVuC5.mjs';
4
4
  import 'better-call';
5
5
  import '../shared/better-auth.CW6D9eSx.mjs';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const vitest = require('vitest');
4
- const auth = require('../shared/better-auth.CKHG0ATr.cjs');
4
+ const auth = require('../shared/better-auth.CXBPmam_.cjs');
5
5
  const vanilla = require('../shared/better-auth.C2xLgiCv.cjs');
6
6
  const getMigration = require('../shared/better-auth.ZUJMxXV3.cjs');
7
7
  require('../shared/better-auth.B6fIklBU.cjs');
@@ -32,9 +32,9 @@ const require$$0$a = require('url');
32
32
  require('better-call');
33
33
  require('zod');
34
34
  require('../shared/better-auth.CWoe8tep.cjs');
35
- require('../shared/better-auth.BA4t8YCt.cjs');
35
+ require('../shared/better-auth.RAAuA8D-.cjs');
36
36
  require('../shared/better-auth.C0qxpMUS.cjs');
37
- require('../shared/better-auth.BsV61G-v.cjs');
37
+ require('../shared/better-auth.Fn0ZCxWT.cjs');
38
38
  require('../plugins/organization/access/index.cjs');
39
39
  require('@better-auth/utils/random');
40
40
  require('@better-auth/utils/hash');
@@ -1,13 +1,13 @@
1
1
  import * as nanostores from 'nanostores';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { SuccessContext } from '@better-fetch/fetch';
4
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.BGDp9pBQ.cjs';
5
- import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth._WE9Fhqj.cjs';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.N3ys23iz.cjs';
5
+ import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.DImZeRKY.cjs';
6
6
  import * as z from 'zod';
7
7
  import * as better_call from 'better-call';
8
8
  import { U as UnionToIntersection, S as StripEmptyObjects, a as Prettify } from '../shared/better-auth.DTtXpZYr.cjs';
9
9
  import * as zod_v4_core from 'zod/v4/core';
10
- import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.7zTmTxT4.cjs';
10
+ import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.v_lf-jeY.cjs';
11
11
  import { Kysely } from 'kysely';
12
12
  import 'better-sqlite3';
13
13
  import 'bun:sqlite';
@@ -1,13 +1,13 @@
1
1
  import * as nanostores from 'nanostores';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { SuccessContext } from '@better-fetch/fetch';
4
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.HsL9NWdo.mjs';
5
- import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.BFegHNjn.mjs';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.bvByA6N5.mjs';
5
+ import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.CFtgxZkB.mjs';
6
6
  import * as z from 'zod';
7
7
  import * as better_call from 'better-call';
8
8
  import { U as UnionToIntersection, S as StripEmptyObjects, a as Prettify } from '../shared/better-auth.DTtXpZYr.mjs';
9
9
  import * as zod_v4_core from 'zod/v4/core';
10
- import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.BHPr8J54.mjs';
10
+ import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.XefKa8DI.mjs';
11
11
  import { Kysely } from 'kysely';
12
12
  import 'better-sqlite3';
13
13
  import 'bun:sqlite';
@@ -1,13 +1,13 @@
1
1
  import * as nanostores from 'nanostores';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { SuccessContext } from '@better-fetch/fetch';
4
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.p1cIDE6Y.js';
5
- import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.nTGSkBy-.js';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, d as InferRoute, c as InferErrorCodes } from '../shared/better-auth.CYEJMfBK.js';
5
+ import { B as BetterAuthOptions, U as User, h as InferAPI, a as Adapter, i as AdditionalSessionFieldsOutput, c as Auth, j as AdditionalUserFieldsOutput, k as InferFieldsFromPlugins, l as InferFieldsFromOptions, m as AdditionalUserFieldsInput, n as BetterAuthPlugin, d as AuthContext, o as InferPluginTypes, p as InferPluginErrorCodes, F as FilterActions, S as Session, s as setCookieToHeader } from '../shared/better-auth.BYvWEjMc.js';
6
6
  import * as z from 'zod';
7
7
  import * as better_call from 'better-call';
8
8
  import { U as UnionToIntersection, S as StripEmptyObjects, a as Prettify } from '../shared/better-auth.DTtXpZYr.js';
9
9
  import * as zod_v4_core from 'zod/v4/core';
10
- import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.C6qXK08w.js';
10
+ import { O as OAuth2Tokens, a as OAuth2UserInfo } from '../shared/better-auth.4SXCyo06.js';
11
11
  import { Kysely } from 'kysely';
12
12
  import 'better-sqlite3';
13
13
  import 'bun:sqlite';
@@ -1,5 +1,5 @@
1
1
  import { afterAll } from 'vitest';
2
- import { b as betterAuth } from '../shared/better-auth.DHp6DNTP.mjs';
2
+ import { b as betterAuth } from '../shared/better-auth.C84XtErM.mjs';
3
3
  import { c as createAuthClient } from '../shared/better-auth.BoY6Vo7c.mjs';
4
4
  import { e as getMigrations, a as getAdapter } from '../shared/better-auth.Bb80Qhal.mjs';
5
5
  import '../shared/better-auth.CiuwFiHM.mjs';
@@ -30,9 +30,9 @@ import require$$0$a from 'url';
30
30
  import 'better-call';
31
31
  import 'zod';
32
32
  import '../shared/better-auth.CIqzVuC5.mjs';
33
- import '../shared/better-auth.DAXvGuBK.mjs';
33
+ import '../shared/better-auth.DGV8LtRu.mjs';
34
34
  import '../shared/better-auth.Dlx1jCB2.mjs';
35
- import '../shared/better-auth.BWSNYlLl.mjs';
35
+ import '../shared/better-auth.CAJUiXTA.mjs';
36
36
  import '../plugins/organization/access/index.mjs';
37
37
  import '@better-auth/utils/random';
38
38
  import '@better-auth/utils/hash';
@@ -1,10 +1,10 @@
1
- export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth._WE9Fhqj.cjs';
2
- 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.BGDp9pBQ.cjs';
1
+ export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.DImZeRKY.cjs';
2
+ 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.N3ys23iz.cjs';
3
3
  import 'zod';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import '../shared/better-auth.DTtXpZYr.cjs';
7
- import '../shared/better-auth.7zTmTxT4.cjs';
7
+ import '../shared/better-auth.v_lf-jeY.cjs';
8
8
  import 'zod/v4/core';
9
9
  import 'better-sqlite3';
10
10
  import 'bun:sqlite';
@@ -1,10 +1,10 @@
1
- export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.BFegHNjn.mjs';
2
- 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.HsL9NWdo.mjs';
1
+ export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.CFtgxZkB.mjs';
2
+ 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.bvByA6N5.mjs';
3
3
  import 'zod';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import '../shared/better-auth.DTtXpZYr.mjs';
7
- import '../shared/better-auth.BHPr8J54.mjs';
7
+ import '../shared/better-auth.XefKa8DI.mjs';
8
8
  import 'zod/v4/core';
9
9
  import 'better-sqlite3';
10
10
  import 'bun:sqlite';
@@ -1,10 +1,10 @@
1
- export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.nTGSkBy-.js';
2
- 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.p1cIDE6Y.js';
1
+ export { Q as Account, a as Adapter, $ as AdapterInstance, _ as AdapterSchemaCreation, P as AdditionalSessionFieldsInput, i as AdditionalSessionFieldsOutput, m as AdditionalUserFieldsInput, j as AdditionalUserFieldsOutput, d as AuthContext, v as AuthPluginSchema, B as BetterAuthOptions, n as BetterAuthPlugin, F as FilterActions, a1 as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, h as InferAPI, I as InferOptionSchema, p as InferPluginErrorCodes, o as InferPluginTypes, f as InferSession, a2 as InferSessionAPI, e as InferUser, N as Models, R as RateLimit, a0 as SecondaryStorage, S as Session, Z as TransactionAdapter, U as User, V as Verification, Y as Where, X as init } from '../shared/better-auth.BYvWEjMc.js';
2
+ 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.CYEJMfBK.js';
3
3
  import 'zod';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import '../shared/better-auth.DTtXpZYr.js';
7
- import '../shared/better-auth.C6qXK08w.js';
7
+ import '../shared/better-auth.4SXCyo06.js';
8
8
  import 'zod/v4/core';
9
9
  import 'better-sqlite3';
10
10
  import 'bun:sqlite';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-auth",
3
- "version": "1.3.21",
3
+ "version": "1.3.23",
4
4
  "description": "The most comprehensive authentication library for TypeScript.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -697,9 +697,9 @@
697
697
  "kysely": "^0.28.5",
698
698
  "nanostores": "^1.0.1",
699
699
  "zod": "^4.1.5",
700
- "@better-auth/core": "1.3.18"
700
+ "@better-auth/core": "1.3.23"
701
701
  },
702
- "peerDependencies": {
702
+ "peerDependenciesOptional": {
703
703
  "@lynx-js/react": "*",
704
704
  "@sveltejs/kit": "^2.0.0",
705
705
  "next": "^14.0.0 || ^15.0.0",