better-auth 1.3.6-beta.1 → 1.3.6-beta.2

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 (232) 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.cjs +1 -3
  31. package/dist/client/plugins/index.d.cts +19 -6
  32. package/dist/client/plugins/index.d.mts +19 -6
  33. package/dist/client/plugins/index.d.ts +19 -6
  34. package/dist/client/plugins/index.mjs +1 -3
  35. package/dist/client/react/index.d.cts +4 -4
  36. package/dist/client/react/index.d.mts +4 -4
  37. package/dist/client/react/index.d.ts +4 -4
  38. package/dist/client/solid/index.d.cts +10 -10
  39. package/dist/client/solid/index.d.mts +10 -10
  40. package/dist/client/solid/index.d.ts +10 -10
  41. package/dist/client/svelte/index.d.cts +10 -10
  42. package/dist/client/svelte/index.d.mts +10 -10
  43. package/dist/client/svelte/index.d.ts +10 -10
  44. package/dist/client/vue/index.d.cts +4 -4
  45. package/dist/client/vue/index.d.mts +4 -4
  46. package/dist/client/vue/index.d.ts +4 -4
  47. package/dist/cookies/index.d.cts +2 -2
  48. package/dist/cookies/index.d.mts +2 -2
  49. package/dist/cookies/index.d.ts +2 -2
  50. package/dist/db/index.d.cts +3 -3
  51. package/dist/db/index.d.mts +3 -3
  52. package/dist/db/index.d.ts +3 -3
  53. package/dist/index.cjs +2 -2
  54. package/dist/index.d.cts +10 -10
  55. package/dist/index.d.mts +10 -10
  56. package/dist/index.d.ts +10 -10
  57. package/dist/index.mjs +2 -2
  58. package/dist/integrations/next-js.cjs +2 -2
  59. package/dist/integrations/next-js.d.cts +2 -2
  60. package/dist/integrations/next-js.d.mts +2 -2
  61. package/dist/integrations/next-js.d.ts +2 -2
  62. package/dist/integrations/next-js.mjs +2 -2
  63. package/dist/integrations/node.d.cts +2 -2
  64. package/dist/integrations/node.d.mts +2 -2
  65. package/dist/integrations/node.d.ts +2 -2
  66. package/dist/integrations/react-start.cjs +2 -2
  67. package/dist/integrations/react-start.d.cts +2 -2
  68. package/dist/integrations/react-start.d.mts +2 -2
  69. package/dist/integrations/react-start.d.ts +2 -2
  70. package/dist/integrations/react-start.mjs +2 -2
  71. package/dist/integrations/svelte-kit.cjs +1 -1
  72. package/dist/integrations/svelte-kit.d.cts +2 -2
  73. package/dist/integrations/svelte-kit.d.mts +2 -2
  74. package/dist/integrations/svelte-kit.d.ts +2 -2
  75. package/dist/integrations/svelte-kit.mjs +1 -1
  76. package/dist/oauth2/index.cjs +1 -1
  77. package/dist/oauth2/index.d.cts +4 -4
  78. package/dist/oauth2/index.d.mts +4 -4
  79. package/dist/oauth2/index.d.ts +4 -4
  80. package/dist/oauth2/index.mjs +1 -1
  81. package/dist/plugins/admin/index.cjs +2 -2
  82. package/dist/plugins/admin/index.d.cts +6 -6
  83. package/dist/plugins/admin/index.d.mts +6 -6
  84. package/dist/plugins/admin/index.d.ts +6 -6
  85. package/dist/plugins/admin/index.mjs +2 -2
  86. package/dist/plugins/anonymous/index.cjs +1 -1
  87. package/dist/plugins/anonymous/index.d.cts +2 -2
  88. package/dist/plugins/anonymous/index.d.mts +2 -2
  89. package/dist/plugins/anonymous/index.d.ts +2 -2
  90. package/dist/plugins/anonymous/index.mjs +1 -1
  91. package/dist/plugins/bearer/index.cjs +1 -1
  92. package/dist/plugins/bearer/index.d.cts +2 -2
  93. package/dist/plugins/bearer/index.d.mts +2 -2
  94. package/dist/plugins/bearer/index.d.ts +2 -2
  95. package/dist/plugins/bearer/index.mjs +1 -1
  96. package/dist/plugins/captcha/index.d.cts +2 -2
  97. package/dist/plugins/captcha/index.d.mts +2 -2
  98. package/dist/plugins/captcha/index.d.ts +2 -2
  99. package/dist/plugins/custom-session/index.cjs +1 -1
  100. package/dist/plugins/custom-session/index.d.cts +2 -2
  101. package/dist/plugins/custom-session/index.d.mts +2 -2
  102. package/dist/plugins/custom-session/index.d.ts +2 -2
  103. package/dist/plugins/custom-session/index.mjs +1 -1
  104. package/dist/plugins/email-otp/index.cjs +16 -15
  105. package/dist/plugins/email-otp/index.d.cts +5 -5
  106. package/dist/plugins/email-otp/index.d.mts +5 -5
  107. package/dist/plugins/email-otp/index.d.ts +5 -5
  108. package/dist/plugins/email-otp/index.mjs +16 -15
  109. package/dist/plugins/generic-oauth/index.cjs +1 -1
  110. package/dist/plugins/generic-oauth/index.d.cts +2 -2
  111. package/dist/plugins/generic-oauth/index.d.mts +2 -2
  112. package/dist/plugins/generic-oauth/index.d.ts +2 -2
  113. package/dist/plugins/generic-oauth/index.mjs +1 -1
  114. package/dist/plugins/haveibeenpwned/index.cjs +1 -1
  115. package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
  116. package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
  117. package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
  118. package/dist/plugins/haveibeenpwned/index.mjs +1 -1
  119. package/dist/plugins/index.cjs +6 -6
  120. package/dist/plugins/index.d.cts +6 -6
  121. package/dist/plugins/index.d.mts +6 -6
  122. package/dist/plugins/index.d.ts +6 -6
  123. package/dist/plugins/index.mjs +8 -8
  124. package/dist/plugins/jwt/index.cjs +1 -1
  125. package/dist/plugins/jwt/index.d.cts +2 -2
  126. package/dist/plugins/jwt/index.d.mts +2 -2
  127. package/dist/plugins/jwt/index.d.ts +2 -2
  128. package/dist/plugins/jwt/index.mjs +1 -1
  129. package/dist/plugins/magic-link/index.cjs +1 -1
  130. package/dist/plugins/magic-link/index.mjs +1 -1
  131. package/dist/plugins/multi-session/index.cjs +1 -1
  132. package/dist/plugins/multi-session/index.d.cts +2 -2
  133. package/dist/plugins/multi-session/index.d.mts +2 -2
  134. package/dist/plugins/multi-session/index.d.ts +2 -2
  135. package/dist/plugins/multi-session/index.mjs +1 -1
  136. package/dist/plugins/oauth-proxy/index.cjs +1 -1
  137. package/dist/plugins/oauth-proxy/index.d.cts +2 -2
  138. package/dist/plugins/oauth-proxy/index.d.mts +2 -2
  139. package/dist/plugins/oauth-proxy/index.d.ts +2 -2
  140. package/dist/plugins/oauth-proxy/index.mjs +1 -1
  141. package/dist/plugins/oidc-provider/index.cjs +2 -2
  142. package/dist/plugins/oidc-provider/index.d.cts +2 -2
  143. package/dist/plugins/oidc-provider/index.d.mts +2 -2
  144. package/dist/plugins/oidc-provider/index.d.ts +2 -2
  145. package/dist/plugins/oidc-provider/index.mjs +2 -2
  146. package/dist/plugins/one-tap/index.cjs +1 -1
  147. package/dist/plugins/one-tap/index.mjs +1 -1
  148. package/dist/plugins/one-time-token/index.cjs +3 -3
  149. package/dist/plugins/one-time-token/index.d.cts +2 -2
  150. package/dist/plugins/one-time-token/index.d.mts +2 -2
  151. package/dist/plugins/one-time-token/index.d.ts +2 -2
  152. package/dist/plugins/one-time-token/index.mjs +3 -3
  153. package/dist/plugins/open-api/index.cjs +1 -1
  154. package/dist/plugins/open-api/index.d.cts +2 -2
  155. package/dist/plugins/open-api/index.d.mts +2 -2
  156. package/dist/plugins/open-api/index.d.ts +2 -2
  157. package/dist/plugins/open-api/index.mjs +1 -1
  158. package/dist/plugins/organization/index.cjs +3 -3
  159. package/dist/plugins/organization/index.d.cts +7 -184
  160. package/dist/plugins/organization/index.d.mts +7 -184
  161. package/dist/plugins/organization/index.d.ts +7 -184
  162. package/dist/plugins/organization/index.mjs +3 -3
  163. package/dist/plugins/passkey/index.cjs +1 -1
  164. package/dist/plugins/passkey/index.d.cts +2 -2
  165. package/dist/plugins/passkey/index.d.mts +2 -2
  166. package/dist/plugins/passkey/index.d.ts +2 -2
  167. package/dist/plugins/passkey/index.mjs +1 -1
  168. package/dist/plugins/phone-number/index.cjs +1 -1
  169. package/dist/plugins/phone-number/index.d.cts +2 -2
  170. package/dist/plugins/phone-number/index.d.mts +2 -2
  171. package/dist/plugins/phone-number/index.d.ts +2 -2
  172. package/dist/plugins/phone-number/index.mjs +1 -1
  173. package/dist/plugins/siwe/index.cjs +1 -1
  174. package/dist/plugins/siwe/index.mjs +1 -1
  175. package/dist/plugins/sso/index.cjs +1 -1
  176. package/dist/plugins/sso/index.d.cts +2 -2
  177. package/dist/plugins/sso/index.d.mts +2 -2
  178. package/dist/plugins/sso/index.d.ts +2 -2
  179. package/dist/plugins/sso/index.mjs +1 -1
  180. package/dist/plugins/two-factor/index.cjs +1 -1
  181. package/dist/plugins/two-factor/index.d.cts +2 -2
  182. package/dist/plugins/two-factor/index.d.mts +2 -2
  183. package/dist/plugins/two-factor/index.d.ts +2 -2
  184. package/dist/plugins/two-factor/index.mjs +1 -1
  185. package/dist/plugins/username/index.cjs +1 -1
  186. package/dist/plugins/username/index.d.cts +4 -4
  187. package/dist/plugins/username/index.d.mts +4 -4
  188. package/dist/plugins/username/index.d.ts +4 -4
  189. package/dist/plugins/username/index.mjs +1 -1
  190. package/dist/shared/{better-auth.Bv6xc9eQ.cjs → better-auth.3oHgUdBc.cjs} +1 -1
  191. package/dist/shared/{better-auth.DbvnSV1O.d.ts → better-auth.B-pjewPT.d.ts} +1 -1
  192. package/dist/shared/{better-auth.ACwZgLRi.d.mts → better-auth.BFod4hxi.d.mts} +1 -1
  193. package/dist/shared/{better-auth.Cz37zEtO.mjs → better-auth.BMerxQY0.mjs} +135 -130
  194. package/dist/shared/{better-auth.2KSwrHCN.d.ts → better-auth.BUnyEQuc.d.ts} +5 -5
  195. package/dist/shared/{better-auth.PQZTlAeQ.mjs → better-auth.BY1-gjw3.mjs} +48 -35
  196. package/dist/shared/{better-auth.CNt3rwDj.d.cts → better-auth.Ba48cL0L.d.mts} +1 -1
  197. package/dist/shared/{better-auth.Bx3RgYZf.cjs → better-auth.Bl-It_5c.cjs} +1 -1
  198. package/dist/shared/{better-auth.kvWPdS5e.cjs → better-auth.BlWIxee_.cjs} +135 -130
  199. package/dist/shared/{better-auth.Cz61ZSR7.d.ts → better-auth.Bo7h6YI5.d.ts} +5 -5
  200. package/dist/shared/{better-auth.BTWrbrma.cjs → better-auth.BtekRHFA.cjs} +48 -35
  201. package/dist/shared/{better-auth.CAmMIfb2.d.cts → better-auth.CAz9Cd5z.d.cts} +5 -5
  202. package/dist/shared/{better-auth.CX5ucYKP.cjs → better-auth.CKa-q341.cjs} +1 -1
  203. package/dist/shared/{better-auth.DRTWwCRy.d.ts → better-auth.CRHB8IT6.d.ts} +1 -1
  204. package/dist/shared/{better-auth.DxjcKCFH.d.mts → better-auth.CcY3k9r5.d.cts} +1 -1
  205. package/dist/shared/{better-auth.DBscO_L1.cjs → better-auth.CdFBGG9K.cjs} +2 -2
  206. package/dist/shared/{better-auth.BNbnQqTc.d.ts → better-auth.Cm-DsNnM.d.ts} +1 -1
  207. package/dist/shared/{better-auth.DKORdAr4.cjs → better-auth.D317Sdx8.cjs} +1 -1
  208. package/dist/shared/{better-auth.dA0rT0C-.mjs → better-auth.D7DBFMfx.mjs} +1 -1
  209. package/dist/shared/{better-auth.C9DAFPr9.d.cts → better-auth.DCaLQCEk.d.cts} +1 -1
  210. package/dist/shared/{better-auth.CCxr11mp.mjs → better-auth.DKBKIpqZ.mjs} +2 -2
  211. package/dist/shared/{better-auth.DeahYwp5.d.cts → better-auth.DSvLrleU.d.cts} +1 -1
  212. package/dist/shared/{better-auth.CW0oMVtF.mjs → better-auth.Da95z4LY.mjs} +1 -1
  213. package/dist/shared/{better-auth.CjVHzDH-.d.cts → better-auth.De59HW-u.d.cts} +5 -5
  214. package/dist/shared/{better-auth.CdiRF5e1.d.mts → better-auth.Df4VL-14.d.mts} +1 -1
  215. package/dist/shared/{better-auth.CStDZlxp.mjs → better-auth.DkJw4zNh.mjs} +1 -1
  216. package/dist/shared/{better-auth.XM7lsWMa.d.mts → better-auth.JJG-4rPJ.d.mts} +5 -5
  217. package/dist/shared/{better-auth.C3R00PmH.mjs → better-auth.fDN2zET_.mjs} +2 -2
  218. package/dist/shared/{better-auth.CGufObXt.d.mts → better-auth.fHc4138q.d.mts} +5 -5
  219. package/dist/social-providers/index.cjs +1 -1
  220. package/dist/social-providers/index.d.cts +1 -1
  221. package/dist/social-providers/index.d.mts +1 -1
  222. package/dist/social-providers/index.d.ts +1 -1
  223. package/dist/social-providers/index.mjs +1 -1
  224. package/dist/test-utils/index.cjs +3 -3
  225. package/dist/test-utils/index.d.cts +3 -3
  226. package/dist/test-utils/index.d.mts +3 -3
  227. package/dist/test-utils/index.d.ts +3 -3
  228. package/dist/test-utils/index.mjs +3 -3
  229. package/dist/types/index.d.cts +3 -3
  230. package/dist/types/index.d.mts +3 -3
  231. package/dist/types/index.d.ts +3 -3
  232. package/package.json +1 -1
@@ -151,9 +151,7 @@ const getPasskeyActions = ($fetch, {
151
151
  ...options,
152
152
  method: "POST"
153
153
  });
154
- if (!verified.data) {
155
- return verified;
156
- }
154
+ return verified;
157
155
  } catch (e) {
158
156
  return {
159
157
  data: null,
@@ -4,14 +4,14 @@ 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.C9DAFPr9.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.DCaLQCEk.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAmMIfb2.cjs';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
11
11
  import 'better-call';
12
12
  import 'kysely';
13
13
  import 'zod/v4';
14
- import '../../shared/better-auth.DeahYwp5.cjs';
14
+ import '../../shared/better-auth.DSvLrleU.cjs';
15
15
  import 'jose';
16
16
  import 'zod/v4/core';
17
17
  import 'zod';
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
114
114
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
115
115
  };
116
116
  })[];
117
+ redirect?: RequestRedirect | undefined;
117
118
  method: string;
118
119
  headers?: (HeadersInit & (HeadersInit | {
119
120
  accept: "application/json" | "text/plain" | "application/octet-stream";
120
121
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
121
122
  authorization: "Bearer" | "Basic";
122
123
  })) | undefined;
123
- redirect?: RequestRedirect | undefined;
124
124
  cache?: RequestCache | undefined;
125
125
  credentials?: RequestCredentials;
126
126
  integrity?: string | undefined;
@@ -4,14 +4,14 @@ 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.CdiRF5e1.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.Df4VL-14.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.XM7lsWMa.mjs';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
11
11
  import 'better-call';
12
12
  import 'kysely';
13
13
  import 'zod/v4';
14
- import '../../shared/better-auth.ACwZgLRi.mjs';
14
+ import '../../shared/better-auth.BFod4hxi.mjs';
15
15
  import 'jose';
16
16
  import 'zod/v4/core';
17
17
  import 'zod';
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
114
114
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
115
115
  };
116
116
  })[];
117
+ redirect?: RequestRedirect | undefined;
117
118
  method: string;
118
119
  headers?: (HeadersInit & (HeadersInit | {
119
120
  accept: "application/json" | "text/plain" | "application/octet-stream";
120
121
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
121
122
  authorization: "Bearer" | "Basic";
122
123
  })) | undefined;
123
- redirect?: RequestRedirect | undefined;
124
124
  cache?: RequestCache | undefined;
125
125
  credentials?: RequestCredentials;
126
126
  integrity?: string | undefined;
@@ -4,14 +4,14 @@ 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.BNbnQqTc.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.Cm-DsNnM.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.2KSwrHCN.js';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
11
11
  import 'better-call';
12
12
  import 'kysely';
13
13
  import 'zod/v4';
14
- import '../../shared/better-auth.DbvnSV1O.js';
14
+ import '../../shared/better-auth.B-pjewPT.js';
15
15
  import 'jose';
16
16
  import 'zod/v4/core';
17
17
  import 'zod';
@@ -114,13 +114,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
114
114
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
115
115
  };
116
116
  })[];
117
+ redirect?: RequestRedirect | undefined;
117
118
  method: string;
118
119
  headers?: (HeadersInit & (HeadersInit | {
119
120
  accept: "application/json" | "text/plain" | "application/octet-stream";
120
121
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
121
122
  authorization: "Bearer" | "Basic";
122
123
  })) | undefined;
123
- redirect?: RequestRedirect | undefined;
124
124
  cache?: RequestCache | undefined;
125
125
  credentials?: RequestCredentials;
126
126
  integrity?: string | undefined;
@@ -1,15 +1,15 @@
1
1
  import * as _better_fetch_fetch from '@better-fetch/fetch';
2
2
  import { BetterFetchError } from '@better-fetch/fetch';
3
3
  export * from '@better-fetch/fetch';
4
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.C9DAFPr9.cjs';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DCaLQCEk.cjs';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAmMIfb2.cjs';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'kysely';
11
11
  import 'zod/v4';
12
- import '../../shared/better-auth.DeahYwp5.cjs';
12
+ import '../../shared/better-auth.DSvLrleU.cjs';
13
13
  import 'jose';
14
14
  import 'zod/v4/core';
15
15
  import 'zod';
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
24
24
  data: InferClientAPI<Option> extends {
25
25
  getSession: () => Promise<infer Res>;
26
26
  } ? Res extends {
27
+ data: infer S;
28
+ error: null;
29
+ } | {
27
30
  data: null;
28
31
  error: {
29
32
  message?: string | undefined;
30
33
  status: number;
31
34
  statusText: string;
32
35
  };
33
- } | {
34
- data: infer S;
35
- error: null;
36
36
  } ? S : Res extends Record<string, any> ? Res : never : never;
37
37
  isPending: boolean;
38
38
  isRefetching: boolean;
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
42
42
  Session: NonNullable<InferClientAPI<Option> extends {
43
43
  getSession: () => Promise<infer Res>;
44
44
  } ? Res extends {
45
+ data: infer S;
46
+ error: null;
47
+ } | {
45
48
  data: null;
46
49
  error: {
47
50
  message?: string | undefined;
48
51
  status: number;
49
52
  statusText: string;
50
53
  };
51
- } | {
52
- data: infer S;
53
- error: null;
54
54
  } ? S : Res extends Record<string, any> ? Res : never : never>;
55
55
  };
56
56
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
70
70
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
71
71
  };
72
72
  })[];
73
+ redirect?: RequestRedirect | undefined;
73
74
  method: string;
74
75
  headers?: (HeadersInit & (HeadersInit | {
75
76
  accept: "application/json" | "text/plain" | "application/octet-stream";
76
77
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
77
78
  authorization: "Bearer" | "Basic";
78
79
  })) | undefined;
79
- redirect?: RequestRedirect | undefined;
80
80
  cache?: RequestCache | undefined;
81
81
  credentials?: RequestCredentials;
82
82
  integrity?: string | undefined;
@@ -1,15 +1,15 @@
1
1
  import * as _better_fetch_fetch from '@better-fetch/fetch';
2
2
  import { BetterFetchError } from '@better-fetch/fetch';
3
3
  export * from '@better-fetch/fetch';
4
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CdiRF5e1.mjs';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Df4VL-14.mjs';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.XM7lsWMa.mjs';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'kysely';
11
11
  import 'zod/v4';
12
- import '../../shared/better-auth.ACwZgLRi.mjs';
12
+ import '../../shared/better-auth.BFod4hxi.mjs';
13
13
  import 'jose';
14
14
  import 'zod/v4/core';
15
15
  import 'zod';
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
24
24
  data: InferClientAPI<Option> extends {
25
25
  getSession: () => Promise<infer Res>;
26
26
  } ? Res extends {
27
+ data: infer S;
28
+ error: null;
29
+ } | {
27
30
  data: null;
28
31
  error: {
29
32
  message?: string | undefined;
30
33
  status: number;
31
34
  statusText: string;
32
35
  };
33
- } | {
34
- data: infer S;
35
- error: null;
36
36
  } ? S : Res extends Record<string, any> ? Res : never : never;
37
37
  isPending: boolean;
38
38
  isRefetching: boolean;
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
42
42
  Session: NonNullable<InferClientAPI<Option> extends {
43
43
  getSession: () => Promise<infer Res>;
44
44
  } ? Res extends {
45
+ data: infer S;
46
+ error: null;
47
+ } | {
45
48
  data: null;
46
49
  error: {
47
50
  message?: string | undefined;
48
51
  status: number;
49
52
  statusText: string;
50
53
  };
51
- } | {
52
- data: infer S;
53
- error: null;
54
54
  } ? S : Res extends Record<string, any> ? Res : never : never>;
55
55
  };
56
56
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
70
70
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
71
71
  };
72
72
  })[];
73
+ redirect?: RequestRedirect | undefined;
73
74
  method: string;
74
75
  headers?: (HeadersInit & (HeadersInit | {
75
76
  accept: "application/json" | "text/plain" | "application/octet-stream";
76
77
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
77
78
  authorization: "Bearer" | "Basic";
78
79
  })) | undefined;
79
- redirect?: RequestRedirect | undefined;
80
80
  cache?: RequestCache | undefined;
81
81
  credentials?: RequestCredentials;
82
82
  integrity?: string | undefined;
@@ -1,15 +1,15 @@
1
1
  import * as _better_fetch_fetch from '@better-fetch/fetch';
2
2
  import { BetterFetchError } from '@better-fetch/fetch';
3
3
  export * from '@better-fetch/fetch';
4
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BNbnQqTc.js';
4
+ import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Cm-DsNnM.js';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.2KSwrHCN.js';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'kysely';
11
11
  import 'zod/v4';
12
- import '../../shared/better-auth.DbvnSV1O.js';
12
+ import '../../shared/better-auth.B-pjewPT.js';
13
13
  import 'jose';
14
14
  import 'zod/v4/core';
15
15
  import 'zod';
@@ -24,15 +24,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
24
24
  data: InferClientAPI<Option> extends {
25
25
  getSession: () => Promise<infer Res>;
26
26
  } ? Res extends {
27
+ data: infer S;
28
+ error: null;
29
+ } | {
27
30
  data: null;
28
31
  error: {
29
32
  message?: string | undefined;
30
33
  status: number;
31
34
  statusText: string;
32
35
  };
33
- } | {
34
- data: infer S;
35
- error: null;
36
36
  } ? S : Res extends Record<string, any> ? Res : never : never;
37
37
  isPending: boolean;
38
38
  isRefetching: boolean;
@@ -42,15 +42,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
42
42
  Session: NonNullable<InferClientAPI<Option> extends {
43
43
  getSession: () => Promise<infer Res>;
44
44
  } ? Res extends {
45
+ data: infer S;
46
+ error: null;
47
+ } | {
45
48
  data: null;
46
49
  error: {
47
50
  message?: string | undefined;
48
51
  status: number;
49
52
  statusText: string;
50
53
  };
51
- } | {
52
- data: infer S;
53
- error: null;
54
54
  } ? S : Res extends Record<string, any> ? Res : never : never>;
55
55
  };
56
56
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -70,13 +70,13 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
70
70
  onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
71
71
  };
72
72
  })[];
73
+ redirect?: RequestRedirect | undefined;
73
74
  method: string;
74
75
  headers?: (HeadersInit & (HeadersInit | {
75
76
  accept: "application/json" | "text/plain" | "application/octet-stream";
76
77
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
77
78
  authorization: "Bearer" | "Basic";
78
79
  })) | undefined;
79
- redirect?: RequestRedirect | undefined;
80
80
  cache?: RequestCache | undefined;
81
81
  credentials?: RequestCredentials;
82
82
  integrity?: string | undefined;
@@ -4,13 +4,13 @@ export * from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  export * from '@better-fetch/fetch';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.C9DAFPr9.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.DCaLQCEk.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAmMIfb2.cjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
13
- import '../../shared/better-auth.DeahYwp5.cjs';
13
+ import '../../shared/better-auth.DSvLrleU.cjs';
14
14
  import 'jose';
15
15
  import 'zod/v4/core';
16
16
  import 'zod';
@@ -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
- } | {
31
28
  data: null;
32
29
  error: {
33
30
  message?: string | undefined;
34
31
  status: number;
35
32
  statusText: string;
36
33
  };
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;
59
60
  method: string;
60
61
  headers?: (HeadersInit & (HeadersInit | {
61
62
  accept: "application/json" | "text/plain" | "application/octet-stream";
62
63
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
63
64
  authorization: "Bearer" | "Basic";
64
65
  })) | 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
- } | {
119
116
  data: null;
120
117
  error: {
121
118
  message?: string | undefined;
122
119
  status: number;
123
120
  statusText: string;
124
121
  };
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,13 +4,13 @@ export * from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  export * from '@better-fetch/fetch';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.CdiRF5e1.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.Df4VL-14.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.XM7lsWMa.mjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
13
- import '../../shared/better-auth.ACwZgLRi.mjs';
13
+ import '../../shared/better-auth.BFod4hxi.mjs';
14
14
  import 'jose';
15
15
  import 'zod/v4/core';
16
16
  import 'zod';
@@ -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
- } | {
31
28
  data: null;
32
29
  error: {
33
30
  message?: string | undefined;
34
31
  status: number;
35
32
  statusText: string;
36
33
  };
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;
59
60
  method: string;
60
61
  headers?: (HeadersInit & (HeadersInit | {
61
62
  accept: "application/json" | "text/plain" | "application/octet-stream";
62
63
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
63
64
  authorization: "Bearer" | "Basic";
64
65
  })) | 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
- } | {
119
116
  data: null;
120
117
  error: {
121
118
  message?: string | undefined;
122
119
  status: number;
123
120
  statusText: string;
124
121
  };
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,13 +4,13 @@ export * from 'nanostores';
4
4
  import * as _better_fetch_fetch from '@better-fetch/fetch';
5
5
  import { BetterFetchError } from '@better-fetch/fetch';
6
6
  export * from '@better-fetch/fetch';
7
- import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.BNbnQqTc.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.Cm-DsNnM.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.2KSwrHCN.js';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
13
- import '../../shared/better-auth.DbvnSV1O.js';
13
+ import '../../shared/better-auth.B-pjewPT.js';
14
14
  import 'jose';
15
15
  import 'zod/v4/core';
16
16
  import 'zod';
@@ -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
- } | {
31
28
  data: null;
32
29
  error: {
33
30
  message?: string | undefined;
34
31
  status: number;
35
32
  statusText: string;
36
33
  };
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;
59
60
  method: string;
60
61
  headers?: (HeadersInit & (HeadersInit | {
61
62
  accept: "application/json" | "text/plain" | "application/octet-stream";
62
63
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
63
64
  authorization: "Bearer" | "Basic";
64
65
  })) | 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
- } | {
119
116
  data: null;
120
117
  error: {
121
118
  message?: string | undefined;
122
119
  status: number;
123
120
  statusText: string;
124
121
  };
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,13 +4,13 @@ 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.C9DAFPr9.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.DCaLQCEk.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.cjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAmMIfb2.cjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.CAz9Cd5z.cjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
13
- import '../../shared/better-auth.DeahYwp5.cjs';
13
+ import '../../shared/better-auth.DSvLrleU.cjs';
14
14
  import 'jose';
15
15
  import 'zod/v4/core';
16
16
  import 'zod';
@@ -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;
97
98
  method: string;
98
99
  headers?: (HeadersInit & (HeadersInit | {
99
100
  accept: "application/json" | "text/plain" | "application/octet-stream";
100
101
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
101
102
  authorization: "Bearer" | "Basic";
102
103
  })) | undefined;
103
- redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -4,13 +4,13 @@ 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.CdiRF5e1.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.Df4VL-14.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.mjs';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.XM7lsWMa.mjs';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.JJG-4rPJ.mjs';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
13
- import '../../shared/better-auth.ACwZgLRi.mjs';
13
+ import '../../shared/better-auth.BFod4hxi.mjs';
14
14
  import 'jose';
15
15
  import 'zod/v4/core';
16
16
  import 'zod';
@@ -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;
97
98
  method: string;
98
99
  headers?: (HeadersInit & (HeadersInit | {
99
100
  accept: "application/json" | "text/plain" | "application/octet-stream";
100
101
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
101
102
  authorization: "Bearer" | "Basic";
102
103
  })) | undefined;
103
- redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -4,13 +4,13 @@ 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.BNbnQqTc.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.Cm-DsNnM.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.BDR52Rf2.js';
9
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.2KSwrHCN.js';
9
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BUnyEQuc.js';
10
10
  import 'better-call';
11
11
  import 'kysely';
12
12
  import 'zod/v4';
13
- import '../../shared/better-auth.DbvnSV1O.js';
13
+ import '../../shared/better-auth.B-pjewPT.js';
14
14
  import 'jose';
15
15
  import 'zod/v4/core';
16
16
  import 'zod';
@@ -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;
97
98
  method: string;
98
99
  headers?: (HeadersInit & (HeadersInit | {
99
100
  accept: "application/json" | "text/plain" | "application/octet-stream";
100
101
  "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
101
102
  authorization: "Bearer" | "Basic";
102
103
  })) | undefined;
103
- redirect?: RequestRedirect | undefined;
104
104
  cache?: RequestCache | undefined;
105
105
  credentials?: RequestCredentials;
106
106
  integrity?: string | undefined;
@@ -1,9 +1,9 @@
1
1
  import 'better-call';
2
- export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.CAmMIfb2.cjs';
2
+ export { aD as BetterAuthCookies, aI as EligibleCookies, aB as createCookieGetter, aG as deleteSessionCookie, aK as getCookieCache, aC as getCookies, aJ as getSessionCookie, aH as parseCookies, aL as parseSetCookieHeader, aE as setCookieCache, D as setCookieToHeader, aF as setSessionCookie } from '../shared/better-auth.CAz9Cd5z.cjs';
3
3
  import 'kysely';
4
4
  import 'zod/v4';
5
5
  import '../shared/better-auth.BDR52Rf2.cjs';
6
- import '../shared/better-auth.DeahYwp5.cjs';
6
+ import '../shared/better-auth.DSvLrleU.cjs';
7
7
  import 'jose';
8
8
  import 'zod/v4/core';
9
9
  import 'zod';