better-auth 1.3.5-beta.3 → 1.3.5-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 (150) hide show
  1. package/dist/adapters/drizzle-adapter/index.d.cts +1 -1
  2. package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
  3. package/dist/adapters/drizzle-adapter/index.d.ts +1 -1
  4. package/dist/adapters/index.d.cts +2 -2
  5. package/dist/adapters/index.d.mts +2 -2
  6. package/dist/adapters/index.d.ts +2 -2
  7. package/dist/adapters/kysely-adapter/index.d.cts +1 -1
  8. package/dist/adapters/kysely-adapter/index.d.mts +1 -1
  9. package/dist/adapters/kysely-adapter/index.d.ts +1 -1
  10. package/dist/adapters/memory-adapter/index.d.cts +1 -1
  11. package/dist/adapters/memory-adapter/index.d.mts +1 -1
  12. package/dist/adapters/memory-adapter/index.d.ts +1 -1
  13. package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
  14. package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
  15. package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
  16. package/dist/adapters/prisma-adapter/index.d.cts +1 -1
  17. package/dist/adapters/prisma-adapter/index.d.mts +1 -1
  18. package/dist/adapters/prisma-adapter/index.d.ts +1 -1
  19. package/dist/adapters/test.d.cts +1 -1
  20. package/dist/adapters/test.d.mts +1 -1
  21. package/dist/adapters/test.d.ts +1 -1
  22. package/dist/api/index.d.cts +1 -1
  23. package/dist/api/index.d.mts +1 -1
  24. package/dist/api/index.d.ts +1 -1
  25. package/dist/client/index.d.cts +3 -3
  26. package/dist/client/index.d.mts +3 -3
  27. package/dist/client/index.d.ts +3 -3
  28. package/dist/client/plugins/index.d.cts +3 -3
  29. package/dist/client/plugins/index.d.mts +3 -3
  30. package/dist/client/plugins/index.d.ts +3 -3
  31. package/dist/client/react/index.d.cts +3 -3
  32. package/dist/client/react/index.d.mts +3 -3
  33. package/dist/client/react/index.d.ts +3 -3
  34. package/dist/client/solid/index.d.cts +3 -3
  35. package/dist/client/solid/index.d.mts +3 -3
  36. package/dist/client/solid/index.d.ts +3 -3
  37. package/dist/client/svelte/index.d.cts +9 -9
  38. package/dist/client/svelte/index.d.mts +9 -9
  39. package/dist/client/svelte/index.d.ts +9 -9
  40. package/dist/client/vue/index.d.cts +12 -12
  41. package/dist/client/vue/index.d.mts +12 -12
  42. package/dist/client/vue/index.d.ts +12 -12
  43. package/dist/cookies/index.d.cts +1 -1
  44. package/dist/cookies/index.d.mts +1 -1
  45. package/dist/cookies/index.d.ts +1 -1
  46. package/dist/db/index.d.cts +2 -2
  47. package/dist/db/index.d.mts +2 -2
  48. package/dist/db/index.d.ts +2 -2
  49. package/dist/index.d.cts +3 -3
  50. package/dist/index.d.mts +3 -3
  51. package/dist/index.d.ts +3 -3
  52. package/dist/integrations/next-js.d.cts +1 -1
  53. package/dist/integrations/next-js.d.mts +1 -1
  54. package/dist/integrations/next-js.d.ts +1 -1
  55. package/dist/integrations/node.d.cts +1 -1
  56. package/dist/integrations/node.d.mts +1 -1
  57. package/dist/integrations/node.d.ts +1 -1
  58. package/dist/integrations/react-start.d.cts +1 -1
  59. package/dist/integrations/react-start.d.mts +1 -1
  60. package/dist/integrations/react-start.d.ts +1 -1
  61. package/dist/integrations/svelte-kit.d.cts +1 -1
  62. package/dist/integrations/svelte-kit.d.mts +1 -1
  63. package/dist/integrations/svelte-kit.d.ts +1 -1
  64. package/dist/oauth2/index.d.cts +2 -2
  65. package/dist/oauth2/index.d.mts +2 -2
  66. package/dist/oauth2/index.d.ts +2 -2
  67. package/dist/plugins/admin/index.d.cts +1 -1
  68. package/dist/plugins/admin/index.d.mts +1 -1
  69. package/dist/plugins/admin/index.d.ts +1 -1
  70. package/dist/plugins/anonymous/index.d.cts +1 -1
  71. package/dist/plugins/anonymous/index.d.mts +1 -1
  72. package/dist/plugins/anonymous/index.d.ts +1 -1
  73. package/dist/plugins/bearer/index.d.cts +1 -1
  74. package/dist/plugins/bearer/index.d.mts +1 -1
  75. package/dist/plugins/bearer/index.d.ts +1 -1
  76. package/dist/plugins/captcha/index.d.cts +1 -1
  77. package/dist/plugins/captcha/index.d.mts +1 -1
  78. package/dist/plugins/captcha/index.d.ts +1 -1
  79. package/dist/plugins/custom-session/index.d.cts +1 -1
  80. package/dist/plugins/custom-session/index.d.mts +1 -1
  81. package/dist/plugins/custom-session/index.d.ts +1 -1
  82. package/dist/plugins/email-otp/index.d.cts +1 -1
  83. package/dist/plugins/email-otp/index.d.mts +1 -1
  84. package/dist/plugins/email-otp/index.d.ts +1 -1
  85. package/dist/plugins/generic-oauth/index.cjs +1 -1
  86. package/dist/plugins/generic-oauth/index.d.cts +1 -1
  87. package/dist/plugins/generic-oauth/index.d.mts +1 -1
  88. package/dist/plugins/generic-oauth/index.d.ts +1 -1
  89. package/dist/plugins/generic-oauth/index.mjs +1 -1
  90. package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
  91. package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
  92. package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
  93. package/dist/plugins/index.d.cts +3 -3
  94. package/dist/plugins/index.d.mts +3 -3
  95. package/dist/plugins/index.d.ts +3 -3
  96. package/dist/plugins/jwt/index.d.cts +1 -1
  97. package/dist/plugins/jwt/index.d.mts +1 -1
  98. package/dist/plugins/jwt/index.d.ts +1 -1
  99. package/dist/plugins/multi-session/index.d.cts +1 -1
  100. package/dist/plugins/multi-session/index.d.mts +1 -1
  101. package/dist/plugins/multi-session/index.d.ts +1 -1
  102. package/dist/plugins/oauth-proxy/index.d.cts +1 -1
  103. package/dist/plugins/oauth-proxy/index.d.mts +1 -1
  104. package/dist/plugins/oauth-proxy/index.d.ts +1 -1
  105. package/dist/plugins/oidc-provider/index.d.cts +1 -1
  106. package/dist/plugins/oidc-provider/index.d.mts +1 -1
  107. package/dist/plugins/oidc-provider/index.d.ts +1 -1
  108. package/dist/plugins/one-time-token/index.d.cts +1 -1
  109. package/dist/plugins/one-time-token/index.d.mts +1 -1
  110. package/dist/plugins/one-time-token/index.d.ts +1 -1
  111. package/dist/plugins/open-api/index.d.cts +1 -1
  112. package/dist/plugins/open-api/index.d.mts +1 -1
  113. package/dist/plugins/open-api/index.d.ts +1 -1
  114. package/dist/plugins/organization/index.d.cts +1 -1
  115. package/dist/plugins/organization/index.d.mts +1 -1
  116. package/dist/plugins/organization/index.d.ts +1 -1
  117. package/dist/plugins/passkey/index.d.cts +1 -1
  118. package/dist/plugins/passkey/index.d.mts +1 -1
  119. package/dist/plugins/passkey/index.d.ts +1 -1
  120. package/dist/plugins/phone-number/index.d.cts +1 -1
  121. package/dist/plugins/phone-number/index.d.mts +1 -1
  122. package/dist/plugins/phone-number/index.d.ts +1 -1
  123. package/dist/plugins/sso/index.d.cts +1 -1
  124. package/dist/plugins/sso/index.d.mts +1 -1
  125. package/dist/plugins/sso/index.d.ts +1 -1
  126. package/dist/plugins/two-factor/index.d.cts +1 -1
  127. package/dist/plugins/two-factor/index.d.mts +1 -1
  128. package/dist/plugins/two-factor/index.d.ts +1 -1
  129. package/dist/plugins/username/index.d.cts +1 -1
  130. package/dist/plugins/username/index.d.mts +1 -1
  131. package/dist/plugins/username/index.d.ts +1 -1
  132. package/dist/shared/{better-auth.0hEyouaB.d.ts → better-auth.51I6PyRe.d.ts} +5 -5
  133. package/dist/shared/{better-auth.DXpjwdVc.d.ts → better-auth.7ZqqFe-j.d.ts} +1 -1
  134. package/dist/shared/{better-auth.DbUvEa58.d.cts → better-auth.AivIR4uh.d.cts} +1 -1
  135. package/dist/shared/{better-auth.D3_6O2e6.d.ts → better-auth.BqdN1NPg.d.ts} +1 -1
  136. package/dist/shared/{better-auth.B1T-C3qr.d.mts → better-auth.BrxRYy4n.d.cts} +1 -1
  137. package/dist/shared/{better-auth.C_KrCcsR.d.ts → better-auth.CCpE3e2i.d.ts} +1 -1
  138. package/dist/shared/{better-auth.DssI2nzL.d.cts → better-auth.DHGzyqAx.d.cts} +1 -1
  139. package/dist/shared/{better-auth.Ca-L85O0.d.cts → better-auth.DIg1bHEK.d.cts} +5 -5
  140. package/dist/shared/{better-auth.HlfiPjqB.d.mts → better-auth.DiA0wqiV.d.mts} +1 -1
  141. package/dist/shared/{better-auth.DFOoWEPZ.d.mts → better-auth.DsAm6IlA.d.mts} +5 -5
  142. package/dist/shared/{better-auth.CkY1OsjZ.d.mts → better-auth.DxNoyi6S.d.mts} +1 -1
  143. package/dist/shared/{better-auth.DgMwqu0c.d.cts → better-auth.xbK6ZE-f.d.mts} +1 -1
  144. package/dist/test-utils/index.d.cts +2 -2
  145. package/dist/test-utils/index.d.mts +2 -2
  146. package/dist/test-utils/index.d.ts +2 -2
  147. package/dist/types/index.d.cts +2 -2
  148. package/dist/types/index.d.mts +2 -2
  149. package/dist/types/index.d.ts +2 -2
  150. package/package.json +1 -1
@@ -4,9 +4,9 @@ export * from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  export * from '@better-fetch/fetch';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CkY1OsjZ.mjs';
7
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DxNoyi6S.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.mjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DFOoWEPZ.mjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DsAm6IlA.mjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
25
25
  data: InferClientAPI<Option> extends {
26
26
  getSession: () => Promise<infer Res>;
27
27
  } ? Res extends {
28
+ data: infer S;
29
+ error: null;
30
+ } | {
28
31
  data: null;
29
32
  error: {
30
33
  message?: string | undefined;
31
34
  status: number;
32
35
  statusText: string;
33
36
  };
34
- } | {
35
- data: infer S;
36
- error: null;
37
37
  } ? S : Res extends Record<string, any> ? Res : never : never;
38
38
  error: BetterFetchError | null;
39
39
  isPending: boolean;
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
56
56
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
57
57
  };
58
58
  })[];
59
- redirect?: RequestRedirect | undefined;
60
59
  method: string;
61
60
  headers?: (HeadersInit & (HeadersInit | {
62
61
  accept: "application/json" | "text/plain" | "application/octet-stream";
63
62
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
64
63
  authorization: "Bearer" | "Basic";
65
64
  })) | undefined;
65
+ redirect?: RequestRedirect | undefined;
66
66
  cache?: RequestCache | undefined;
67
67
  credentials?: RequestCredentials;
68
68
  integrity?: string | undefined;
@@ -113,15 +113,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
113
113
  Session: NonNullable<InferClientAPI<Option> extends {
114
114
  getSession: () => Promise<infer Res>;
115
115
  } ? Res extends {
116
+ data: infer S;
117
+ error: null;
118
+ } | {
116
119
  data: null;
117
120
  error: {
118
121
  message?: string | undefined;
119
122
  status: number;
120
123
  statusText: string;
121
124
  };
122
- } | {
123
- data: infer S;
124
- error: null;
125
125
  } ? S : Res extends Record<string, any> ? Res : never : never>;
126
126
  };
127
127
  $ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
@@ -4,9 +4,9 @@ export * from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  export * from '@better-fetch/fetch';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.C_KrCcsR.js';
7
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CCpE3e2i.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.js';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.0hEyouaB.js';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.51I6PyRe.js';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -25,15 +25,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
25
25
  data: InferClientAPI<Option> extends {
26
26
  getSession: () => Promise<infer Res>;
27
27
  } ? Res extends {
28
+ data: infer S;
29
+ error: null;
30
+ } | {
28
31
  data: null;
29
32
  error: {
30
33
  message?: string | undefined;
31
34
  status: number;
32
35
  statusText: string;
33
36
  };
34
- } | {
35
- data: infer S;
36
- error: null;
37
37
  } ? S : Res extends Record<string, any> ? Res : never : never;
38
38
  error: BetterFetchError | null;
39
39
  isPending: boolean;
@@ -56,13 +56,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
56
56
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
57
57
  };
58
58
  })[];
59
- redirect?: RequestRedirect | undefined;
60
59
  method: string;
61
60
  headers?: (HeadersInit & (HeadersInit | {
62
61
  accept: "application/json" | "text/plain" | "application/octet-stream";
63
62
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
64
63
  authorization: "Bearer" | "Basic";
65
64
  })) | undefined;
65
+ redirect?: RequestRedirect | undefined;
66
66
  cache?: RequestCache | undefined;
67
67
  credentials?: RequestCredentials;
68
68
  integrity?: string | undefined;
@@ -113,15 +113,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
113
113
  Session: NonNullable<InferClientAPI<Option> extends {
114
114
  getSession: () => Promise<infer Res>;
115
115
  } ? Res extends {
116
+ data: infer S;
117
+ error: null;
118
+ } | {
116
119
  data: null;
117
120
  error: {
118
121
  message?: string | undefined;
119
122
  status: number;
120
123
  statusText: string;
121
124
  };
122
- } | {
123
- data: infer S;
124
- error: null;
125
125
  } ? S : Res extends Record<string, any> ? Res : never : never>;
126
126
  };
127
127
  $ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
@@ -4,9 +4,9 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchError } from '@better-fetch/fetch';
5
5
  export * from '@better-fetch/fetch';
6
6
  import { DeepReadonly, Ref } from 'vue';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DssI2nzL.cjs';
7
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DHGzyqAx.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.cjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Ca-L85O0.cjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DIg1bHEK.cjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
26
26
  data: InferClientAPI<Option> extends {
27
27
  getSession: () => Promise<infer Res>;
28
28
  } ? Res extends {
29
- data: infer S;
30
- error: null;
31
- } | {
32
29
  data: null;
33
30
  error: {
34
31
  message?: string | undefined;
35
32
  status: number;
36
33
  statusText: string;
37
34
  };
35
+ } | {
36
+ data: infer S;
37
+ error: null;
38
38
  } ? S : Res extends Record<string, any> ? Res : never : never;
39
39
  isPending: boolean;
40
40
  isRefetching: boolean;
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
44
44
  data: Ref<InferClientAPI<Option> extends {
45
45
  getSession: () => Promise<infer Res>;
46
46
  } ? Res extends {
47
- data: infer S;
48
- error: null;
49
- } | {
50
47
  data: null;
51
48
  error: {
52
49
  message?: string | undefined;
53
50
  status: number;
54
51
  statusText: string;
55
52
  };
53
+ } | {
54
+ data: infer S;
55
+ error: null;
56
56
  } ? S : Res extends Record<string, any> ? Res : never : never>;
57
57
  isPending: false;
58
58
  error: Ref<{
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  Session: NonNullable<InferClientAPI<Option> extends {
67
67
  getSession: () => Promise<infer Res>;
68
68
  } ? Res extends {
69
- data: infer S;
70
- error: null;
71
- } | {
72
69
  data: null;
73
70
  error: {
74
71
  message?: string | undefined;
75
72
  status: number;
76
73
  statusText: string;
77
74
  };
75
+ } | {
76
+ data: infer S;
77
+ error: null;
78
78
  } ? S : Res extends Record<string, any> ? Res : never : never>;
79
79
  };
80
80
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
94
94
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
95
95
  };
96
96
  })[];
97
- redirect?: RequestRedirect | undefined;
98
97
  method: string;
99
98
  headers?: (HeadersInit & (HeadersInit | {
100
99
  accept: "application/json" | "text/plain" | "application/octet-stream";
101
100
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
102
101
  authorization: "Bearer" | "Basic";
103
102
  })) | undefined;
103
+ redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -4,9 +4,9 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchError } from '@better-fetch/fetch';
5
5
  export * from '@better-fetch/fetch';
6
6
  import { DeepReadonly, Ref } from 'vue';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CkY1OsjZ.mjs';
7
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DxNoyi6S.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.mjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DFOoWEPZ.mjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.DsAm6IlA.mjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
26
26
  data: InferClientAPI<Option> extends {
27
27
  getSession: () => Promise<infer Res>;
28
28
  } ? Res extends {
29
- data: infer S;
30
- error: null;
31
- } | {
32
29
  data: null;
33
30
  error: {
34
31
  message?: string | undefined;
35
32
  status: number;
36
33
  statusText: string;
37
34
  };
35
+ } | {
36
+ data: infer S;
37
+ error: null;
38
38
  } ? S : Res extends Record<string, any> ? Res : never : never;
39
39
  isPending: boolean;
40
40
  isRefetching: boolean;
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
44
44
  data: Ref<InferClientAPI<Option> extends {
45
45
  getSession: () => Promise<infer Res>;
46
46
  } ? Res extends {
47
- data: infer S;
48
- error: null;
49
- } | {
50
47
  data: null;
51
48
  error: {
52
49
  message?: string | undefined;
53
50
  status: number;
54
51
  statusText: string;
55
52
  };
53
+ } | {
54
+ data: infer S;
55
+ error: null;
56
56
  } ? S : Res extends Record<string, any> ? Res : never : never>;
57
57
  isPending: false;
58
58
  error: Ref<{
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  Session: NonNullable<InferClientAPI<Option> extends {
67
67
  getSession: () => Promise<infer Res>;
68
68
  } ? Res extends {
69
- data: infer S;
70
- error: null;
71
- } | {
72
69
  data: null;
73
70
  error: {
74
71
  message?: string | undefined;
75
72
  status: number;
76
73
  statusText: string;
77
74
  };
75
+ } | {
76
+ data: infer S;
77
+ error: null;
78
78
  } ? S : Res extends Record<string, any> ? Res : never : never>;
79
79
  };
80
80
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
94
94
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
95
95
  };
96
96
  })[];
97
- redirect?: RequestRedirect | undefined;
98
97
  method: string;
99
98
  headers?: (HeadersInit & (HeadersInit | {
100
99
  accept: "application/json" | "text/plain" | "application/octet-stream";
101
100
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
102
101
  authorization: "Bearer" | "Basic";
103
102
  })) | undefined;
103
+ redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -4,9 +4,9 @@ import * as _better_fetch_fetch from '@better-fetch/fetch';
4
4
  import { BetterFetchError } from '@better-fetch/fetch';
5
5
  export * from '@better-fetch/fetch';
6
6
  import { DeepReadonly, Ref } from 'vue';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.C_KrCcsR.js';
7
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CCpE3e2i.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.ZSfSbnQT.js';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.0hEyouaB.js';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.51I6PyRe.js';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
@@ -26,15 +26,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
26
26
  data: InferClientAPI<Option> extends {
27
27
  getSession: () => Promise<infer Res>;
28
28
  } ? Res extends {
29
- data: infer S;
30
- error: null;
31
- } | {
32
29
  data: null;
33
30
  error: {
34
31
  message?: string | undefined;
35
32
  status: number;
36
33
  statusText: string;
37
34
  };
35
+ } | {
36
+ data: infer S;
37
+ error: null;
38
38
  } ? S : Res extends Record<string, any> ? Res : never : never;
39
39
  isPending: boolean;
40
40
  isRefetching: boolean;
@@ -44,15 +44,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
44
44
  data: Ref<InferClientAPI<Option> extends {
45
45
  getSession: () => Promise<infer Res>;
46
46
  } ? Res extends {
47
- data: infer S;
48
- error: null;
49
- } | {
50
47
  data: null;
51
48
  error: {
52
49
  message?: string | undefined;
53
50
  status: number;
54
51
  statusText: string;
55
52
  };
53
+ } | {
54
+ data: infer S;
55
+ error: null;
56
56
  } ? S : Res extends Record<string, any> ? Res : never : never>;
57
57
  isPending: false;
58
58
  error: Ref<{
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  Session: NonNullable<InferClientAPI<Option> extends {
67
67
  getSession: () => Promise<infer Res>;
68
68
  } ? Res extends {
69
- data: infer S;
70
- error: null;
71
- } | {
72
69
  data: null;
73
70
  error: {
74
71
  message?: string | undefined;
75
72
  status: number;
76
73
  statusText: string;
77
74
  };
75
+ } | {
76
+ data: infer S;
77
+ error: null;
78
78
  } ? S : Res extends Record<string, any> ? Res : never : never>;
79
79
  };
80
80
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -94,13 +94,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
94
94
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
95
95
  };
96
96
  })[];
97
- redirect?: RequestRedirect | undefined;
98
97
  method: string;
99
98
  headers?: (HeadersInit & (HeadersInit | {
100
99
  accept: "application/json" | "text/plain" | "application/octet-stream";
101
100
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
102
101
  authorization: "Bearer" | "Basic";
103
102
  })) | undefined;
103
+ redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import 'better-call';
2
- export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.Ca-L85O0.cjs';
2
+ export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.DIg1bHEK.cjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.cjs';
@@ -1,5 +1,5 @@
1
1
  import 'better-call';
2
- export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.DFOoWEPZ.mjs';
2
+ export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.DsAm6IlA.mjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.mjs';
@@ -1,5 +1,5 @@
1
1
  import 'better-call';
2
- export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.0hEyouaB.js';
2
+ export { aA as BetterAuthCookies, aF as EligibleCookies, ay as createCookieGetter, aD as deleteSessionCookie, aH as getCookieCache, az as getCookies, aG as getSessionCookie, aE as parseCookies, aI as parseSetCookieHeader, aB as setCookieCache, D as setCookieToHeader, aC as setSessionCookie } from '../shared/better-auth.51I6PyRe.js';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.js';
@@ -1,5 +1,5 @@
1
- import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.Ca-L85O0.cjs';
2
- export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.Ca-L85O0.cjs';
1
+ import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.DIg1bHEK.cjs';
2
+ export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.DIg1bHEK.cjs';
3
3
  import * as z from 'zod/v4';
4
4
  import 'kysely';
5
5
  import 'better-call';
@@ -1,5 +1,5 @@
1
- import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.DFOoWEPZ.mjs';
2
- export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.DFOoWEPZ.mjs';
1
+ import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.DsAm6IlA.mjs';
2
+ export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.DsAm6IlA.mjs';
3
3
  import * as z from 'zod/v4';
4
4
  import 'kysely';
5
5
  import 'better-call';
@@ -1,5 +1,5 @@
1
- import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.0hEyouaB.js';
2
- export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.0hEyouaB.js';
1
+ import { a as Adapter, B as BetterAuthOptions, G as GenericEndpointContext, O as Where, a4 as FieldAttribute, a5 as FieldType, K as KyselyDatabaseType } from '../shared/better-auth.51I6PyRe.js';
2
+ export { ah as BetterAuthDbSchema, a8 as FieldAttributeConfig, ae as FieldAttributeToObject, af as InferAdditionalFieldsFromPluginOptions, x as InferFieldsFromOptions, w as InferFieldsFromPlugins, ac as InferFieldsInput, ad as InferFieldsInputClient, ab as InferFieldsOutput, aa as InferValueType, a7 as InternalAdapter, ag as PluginFieldAttribute, aj as accountSchema, a9 as createFieldAttribute, a6 as createInternalAdapter, ao as getAllFields, ai as getAuthTables, ax as mergeSchema, av as parseAccountInput, aq as parseAccountOutput, au as parseAdditionalUserInput, as as parseInputData, an as parseOutputData, aw as parseSessionInput, ar as parseSessionOutput, at as parseUserInput, ap as parseUserOutput, al as sessionSchema, ak as userSchema, am as verificationSchema } from '../shared/better-auth.51I6PyRe.js';
3
3
  import * as z from 'zod/v4';
4
4
  import 'kysely';
5
5
  import 'better-call';
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.Ca-L85O0.cjs';
2
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.DssI2nzL.cjs';
1
+ export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.DIg1bHEK.cjs';
2
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.DHGzyqAx.cjs';
3
3
  export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.cjs';
4
- export { g as generateState, p as parseState } from './shared/better-auth.DgMwqu0c.cjs';
4
+ export { g as generateState, p as parseState } from './shared/better-auth.BrxRYy4n.cjs';
5
5
  export * from 'better-call';
6
6
  export * from 'zod/v4';
7
7
  export { D as DeepPartial, E as Expand, H as HasRequiredKeys, c as LiteralNumber, L as LiteralString, e as LiteralUnion, O as OmitId, d as PreserveJSDoc, a as Prettify, P as PrettifyDeep, b as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.ZSfSbnQT.cjs';
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.DFOoWEPZ.mjs';
2
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.CkY1OsjZ.mjs';
1
+ export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.DsAm6IlA.mjs';
2
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.DxNoyi6S.mjs';
3
3
  export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.mjs';
4
- export { g as generateState, p as parseState } from './shared/better-auth.B1T-C3qr.mjs';
4
+ export { g as generateState, p as parseState } from './shared/better-auth.xbK6ZE-f.mjs';
5
5
  export * from 'better-call';
6
6
  export * from 'zod/v4';
7
7
  export { D as DeepPartial, E as Expand, H as HasRequiredKeys, c as LiteralNumber, L as LiteralString, e as LiteralUnion, O as OmitId, d as PreserveJSDoc, a as Prettify, P as PrettifyDeep, b as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.ZSfSbnQT.mjs';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.0hEyouaB.js';
2
- export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.C_KrCcsR.js';
1
+ export { L as Account, a as Adapter, Q as AdapterInstance, P as AdapterSchemaCreation, J as AdditionalSessionFieldsInput, u as AdditionalSessionFieldsOutput, y as AdditionalUserFieldsInput, v as AdditionalUserFieldsOutput, n as Auth, p as AuthContext, g as AuthPluginSchema, B as BetterAuthOptions, h as BetterAuthPlugin, F as FilterActions, X as FilteredAPI, G as GenericEndpointContext, H as HookEndpointContext, t as InferAPI, I as InferOptionSchema, i as InferPluginErrorCodes, z as InferPluginTypes, r as InferSession, Y as InferSessionAPI, q as InferUser, a1 as LogHandlerParams, Z as LogLevel, a0 as Logger, M as Models, R as RateLimit, T as SecondaryStorage, S as Session, U as User, V as Verification, O as Where, W as WithJsDoc, E as betterAuth, a2 as createLogger, N as init, _ as levels, a3 as logger, $ as shouldPublishLog } from './shared/better-auth.51I6PyRe.js';
2
+ export { A as AtomListener, B as BetterAuthClientPlugin, C as ClientOptions, b as InferActions, h as InferAdditionalFromClient, a as InferClientAPI, c as InferErrorCodes, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, I as IsSignal, S as Store } from './shared/better-auth.CCpE3e2i.js';
3
3
  export { H as HIDE_METADATA } from './shared/better-auth.DEHJp1rk.js';
4
- export { g as generateState, p as parseState } from './shared/better-auth.DXpjwdVc.js';
4
+ export { g as generateState, p as parseState } from './shared/better-auth.7ZqqFe-j.js';
5
5
  export * from 'better-call';
6
6
  export * from 'zod/v4';
7
7
  export { D as DeepPartial, E as Expand, H as HasRequiredKeys, c as LiteralNumber, L as LiteralString, e as LiteralUnion, O as OmitId, d as PreserveJSDoc, a as Prettify, P as PrettifyDeep, b as Primitive, R as RequiredKeysOf, S as StripEmptyObjects, U as UnionToIntersection, W as WithoutEmpty } from './shared/better-auth.ZSfSbnQT.js';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.Ca-L85O0.cjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.DIg1bHEK.cjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.cjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.DFOoWEPZ.mjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.DsAm6IlA.mjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.mjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.0hEyouaB.js';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.51I6PyRe.js';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.js';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { n as Auth } from '../shared/better-auth.Ca-L85O0.cjs';
3
+ import { n as Auth } from '../shared/better-auth.DIg1bHEK.cjs';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import 'zod/v4';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { n as Auth } from '../shared/better-auth.DFOoWEPZ.mjs';
3
+ import { n as Auth } from '../shared/better-auth.DsAm6IlA.mjs';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import 'zod/v4';
@@ -1,6 +1,6 @@
1
1
  import * as http from 'http';
2
2
  import { IncomingHttpHeaders } from 'http';
3
- import { n as Auth } from '../shared/better-auth.0hEyouaB.js';
3
+ import { n as Auth } from '../shared/better-auth.51I6PyRe.js';
4
4
  import 'kysely';
5
5
  import 'better-call';
6
6
  import 'zod/v4';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.Ca-L85O0.cjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.DIg1bHEK.cjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.cjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.DFOoWEPZ.mjs';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.DsAm6IlA.mjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.mjs';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { H as HookEndpointContext } from '../shared/better-auth.0hEyouaB.js';
2
+ import { H as HookEndpointContext } from '../shared/better-auth.51I6PyRe.js';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.ZSfSbnQT.js';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { B as BetterAuthOptions } from '../shared/better-auth.Ca-L85O0.cjs';
2
+ import { B as BetterAuthOptions } from '../shared/better-auth.DIg1bHEK.cjs';
3
3
  import { RequestEvent } from '@sveltejs/kit';
4
4
  import 'kysely';
5
5
  import 'zod/v4';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { B as BetterAuthOptions } from '../shared/better-auth.DFOoWEPZ.mjs';
2
+ import { B as BetterAuthOptions } from '../shared/better-auth.DsAm6IlA.mjs';
3
3
  import { RequestEvent } from '@sveltejs/kit';
4
4
  import 'kysely';
5
5
  import 'zod/v4';
@@ -1,5 +1,5 @@
1
1
  import * as better_call from 'better-call';
2
- import { B as BetterAuthOptions } from '../shared/better-auth.0hEyouaB.js';
2
+ import { B as BetterAuthOptions } from '../shared/better-auth.51I6PyRe.js';
3
3
  import { RequestEvent } from '@sveltejs/kit';
4
4
  import 'kysely';
5
5
  import 'zod/v4';
@@ -1,8 +1,8 @@
1
1
  import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.CQcLu79e.cjs';
2
2
  export { a as OAuthProvider } from '../shared/better-auth.CQcLu79e.cjs';
3
3
  import * as jose from 'jose';
4
- import { p as AuthContext, G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.Ca-L85O0.cjs';
5
- export { g as generateState, p as parseState } from '../shared/better-auth.DgMwqu0c.cjs';
4
+ import { p as AuthContext, G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.DIg1bHEK.cjs';
5
+ export { g as generateState, p as parseState } from '../shared/better-auth.BrxRYy4n.cjs';
6
6
  import '../shared/better-auth.ZSfSbnQT.cjs';
7
7
  import 'zod/v4';
8
8
  import 'kysely';
@@ -1,8 +1,8 @@
1
1
  import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.B07KCUM7.mjs';
2
2
  export { a as OAuthProvider } from '../shared/better-auth.B07KCUM7.mjs';
3
3
  import * as jose from 'jose';
4
- import { p as AuthContext, G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.DFOoWEPZ.mjs';
5
- export { g as generateState, p as parseState } from '../shared/better-auth.B1T-C3qr.mjs';
4
+ import { p as AuthContext, G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.DsAm6IlA.mjs';
5
+ export { g as generateState, p as parseState } from '../shared/better-auth.xbK6ZE-f.mjs';
6
6
  import '../shared/better-auth.ZSfSbnQT.mjs';
7
7
  import 'zod/v4';
8
8
  import 'kysely';
@@ -1,8 +1,8 @@
1
1
  import { P as ProviderOptions, O as OAuth2Tokens } from '../shared/better-auth.D0jV1YvN.js';
2
2
  export { a as OAuthProvider } from '../shared/better-auth.D0jV1YvN.js';
3
3
  import * as jose from 'jose';
4
- import { p as AuthContext, G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.0hEyouaB.js';
5
- export { g as generateState, p as parseState } from '../shared/better-auth.DXpjwdVc.js';
4
+ import { p as AuthContext, G as GenericEndpointContext, U as User, L as Account } from '../shared/better-auth.51I6PyRe.js';
5
+ export { g as generateState, p as parseState } from '../shared/better-auth.7ZqqFe-j.js';
6
6
  import '../shared/better-auth.ZSfSbnQT.js';
7
7
  import 'zod/v4';
8
8
  import 'kysely';