better-auth 1.2.9 → 1.2.10-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) 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.cjs +2 -0
  17. package/dist/adapters/prisma-adapter/index.d.cts +1 -1
  18. package/dist/adapters/prisma-adapter/index.d.mts +1 -1
  19. package/dist/adapters/prisma-adapter/index.d.ts +1 -1
  20. package/dist/adapters/prisma-adapter/index.mjs +2 -0
  21. package/dist/adapters/test.d.cts +1 -1
  22. package/dist/adapters/test.d.mts +1 -1
  23. package/dist/adapters/test.d.ts +1 -1
  24. package/dist/api/index.d.cts +1 -1
  25. package/dist/api/index.d.mts +1 -1
  26. package/dist/api/index.d.ts +1 -1
  27. package/dist/client/index.d.cts +1 -1
  28. package/dist/client/index.d.mts +1 -1
  29. package/dist/client/index.d.ts +1 -1
  30. package/dist/client/plugins/index.d.cts +6 -6
  31. package/dist/client/plugins/index.d.mts +6 -6
  32. package/dist/client/plugins/index.d.ts +6 -6
  33. package/dist/client/react/index.d.cts +7 -7
  34. package/dist/client/react/index.d.mts +7 -7
  35. package/dist/client/react/index.d.ts +7 -7
  36. package/dist/client/solid/index.d.cts +1 -1
  37. package/dist/client/solid/index.d.mts +1 -1
  38. package/dist/client/solid/index.d.ts +1 -1
  39. package/dist/client/svelte/index.d.cts +7 -7
  40. package/dist/client/svelte/index.d.mts +7 -7
  41. package/dist/client/svelte/index.d.ts +7 -7
  42. package/dist/client/vue/index.d.cts +1 -1
  43. package/dist/client/vue/index.d.mts +1 -1
  44. package/dist/client/vue/index.d.ts +1 -1
  45. package/dist/cookies/index.d.cts +1 -1
  46. package/dist/cookies/index.d.mts +1 -1
  47. package/dist/cookies/index.d.ts +1 -1
  48. package/dist/db/index.d.cts +2 -2
  49. package/dist/db/index.d.mts +2 -2
  50. package/dist/db/index.d.ts +2 -2
  51. package/dist/index.d.cts +2 -2
  52. package/dist/index.d.mts +2 -2
  53. package/dist/index.d.ts +2 -2
  54. package/dist/integrations/next-js.cjs +1 -1
  55. package/dist/integrations/next-js.d.cts +1 -1
  56. package/dist/integrations/next-js.d.mts +1 -1
  57. package/dist/integrations/next-js.d.ts +1 -1
  58. package/dist/integrations/next-js.mjs +1 -1
  59. package/dist/integrations/node.d.cts +1 -1
  60. package/dist/integrations/node.d.mts +1 -1
  61. package/dist/integrations/node.d.ts +1 -1
  62. package/dist/integrations/react-start.cjs +1 -1
  63. package/dist/integrations/react-start.d.cts +1 -1
  64. package/dist/integrations/react-start.d.mts +1 -1
  65. package/dist/integrations/react-start.d.ts +1 -1
  66. package/dist/integrations/react-start.mjs +1 -1
  67. package/dist/integrations/svelte-kit.d.cts +1 -1
  68. package/dist/integrations/svelte-kit.d.mts +1 -1
  69. package/dist/integrations/svelte-kit.d.ts +1 -1
  70. package/dist/oauth2/index.d.cts +2 -2
  71. package/dist/oauth2/index.d.mts +2 -2
  72. package/dist/oauth2/index.d.ts +2 -2
  73. package/dist/plugins/admin/index.d.cts +29 -29
  74. package/dist/plugins/admin/index.d.mts +29 -29
  75. package/dist/plugins/admin/index.d.ts +29 -29
  76. package/dist/plugins/anonymous/index.d.cts +1 -1
  77. package/dist/plugins/anonymous/index.d.mts +1 -1
  78. package/dist/plugins/anonymous/index.d.ts +1 -1
  79. package/dist/plugins/bearer/index.d.cts +1 -1
  80. package/dist/plugins/bearer/index.d.mts +1 -1
  81. package/dist/plugins/bearer/index.d.ts +1 -1
  82. package/dist/plugins/captcha/index.d.cts +1 -1
  83. package/dist/plugins/captcha/index.d.mts +1 -1
  84. package/dist/plugins/captcha/index.d.ts +1 -1
  85. package/dist/plugins/custom-session/index.d.cts +1 -1
  86. package/dist/plugins/custom-session/index.d.mts +1 -1
  87. package/dist/plugins/custom-session/index.d.ts +1 -1
  88. package/dist/plugins/email-otp/index.d.cts +1 -1
  89. package/dist/plugins/email-otp/index.d.mts +1 -1
  90. package/dist/plugins/email-otp/index.d.ts +1 -1
  91. package/dist/plugins/generic-oauth/index.d.cts +1 -1
  92. package/dist/plugins/generic-oauth/index.d.mts +1 -1
  93. package/dist/plugins/generic-oauth/index.d.ts +1 -1
  94. package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
  95. package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
  96. package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
  97. package/dist/plugins/index.cjs +1 -1
  98. package/dist/plugins/index.d.cts +6 -6
  99. package/dist/plugins/index.d.mts +6 -6
  100. package/dist/plugins/index.d.ts +6 -6
  101. package/dist/plugins/index.mjs +1 -1
  102. package/dist/plugins/jwt/index.d.cts +1 -1
  103. package/dist/plugins/jwt/index.d.mts +1 -1
  104. package/dist/plugins/jwt/index.d.ts +1 -1
  105. package/dist/plugins/multi-session/index.d.cts +1 -1
  106. package/dist/plugins/multi-session/index.d.mts +1 -1
  107. package/dist/plugins/multi-session/index.d.ts +1 -1
  108. package/dist/plugins/oauth-proxy/index.cjs +7 -4
  109. package/dist/plugins/oauth-proxy/index.d.cts +1 -1
  110. package/dist/plugins/oauth-proxy/index.d.mts +1 -1
  111. package/dist/plugins/oauth-proxy/index.d.ts +1 -1
  112. package/dist/plugins/oauth-proxy/index.mjs +7 -4
  113. package/dist/plugins/oidc-provider/index.d.cts +6 -6
  114. package/dist/plugins/oidc-provider/index.d.mts +6 -6
  115. package/dist/plugins/oidc-provider/index.d.ts +6 -6
  116. package/dist/plugins/one-time-token/index.cjs +1 -1
  117. package/dist/plugins/one-time-token/index.d.cts +1 -1
  118. package/dist/plugins/one-time-token/index.d.mts +1 -1
  119. package/dist/plugins/one-time-token/index.d.ts +1 -1
  120. package/dist/plugins/one-time-token/index.mjs +1 -1
  121. package/dist/plugins/open-api/index.d.cts +1 -1
  122. package/dist/plugins/open-api/index.d.mts +1 -1
  123. package/dist/plugins/open-api/index.d.ts +1 -1
  124. package/dist/plugins/organization/index.cjs +1 -1
  125. package/dist/plugins/organization/index.d.cts +245 -245
  126. package/dist/plugins/organization/index.d.mts +245 -245
  127. package/dist/plugins/organization/index.d.ts +245 -245
  128. package/dist/plugins/organization/index.mjs +1 -1
  129. package/dist/plugins/passkey/index.d.cts +1 -1
  130. package/dist/plugins/passkey/index.d.mts +1 -1
  131. package/dist/plugins/passkey/index.d.ts +1 -1
  132. package/dist/plugins/phone-number/index.d.cts +1 -1
  133. package/dist/plugins/phone-number/index.d.mts +1 -1
  134. package/dist/plugins/phone-number/index.d.ts +1 -1
  135. package/dist/plugins/sso/index.d.cts +4 -4
  136. package/dist/plugins/sso/index.d.mts +4 -4
  137. package/dist/plugins/sso/index.d.ts +4 -4
  138. package/dist/plugins/two-factor/index.d.cts +4 -4
  139. package/dist/plugins/two-factor/index.d.mts +4 -4
  140. package/dist/plugins/two-factor/index.d.ts +4 -4
  141. package/dist/plugins/username/index.d.cts +3 -3
  142. package/dist/plugins/username/index.d.mts +3 -3
  143. package/dist/plugins/username/index.d.ts +3 -3
  144. package/dist/shared/{better-auth.CLe9TlPM.d.cts → better-auth.BGVh5dCV.d.ts} +27 -27
  145. package/dist/shared/{better-auth.C2KQ-9_J.d.ts → better-auth.BLiVNw53.d.ts} +3 -3
  146. package/dist/shared/{better-auth.BZads9rH.mjs → better-auth.BPCs2cGZ.mjs} +2 -2
  147. package/dist/shared/{better-auth.CFzvB930.d.cts → better-auth.CyquqyNV.d.cts} +3 -3
  148. package/dist/shared/{better-auth.MZ4VOBA0.d.ts → better-auth.D8QAnh5N.d.cts} +27 -27
  149. package/dist/shared/{better-auth.BkxxyEIY.d.mts → better-auth.DdG8dNMj.d.mts} +26 -26
  150. package/dist/shared/{better-auth.CIsYZXbK.d.mts → better-auth.EhB1UPrB.d.mts} +3 -3
  151. package/dist/shared/{better-auth.B6zCUmP6.cjs → better-auth._D1MVF6U.cjs} +2 -2
  152. package/dist/types/index.d.cts +2 -2
  153. package/dist/types/index.d.mts +2 -2
  154. package/dist/types/index.d.ts +2 -2
  155. package/package.json +1 -1
  156. package/dist/shared/{better-auth.SKjGCdIB.d.ts → better-auth.BHEt8_1S.d.ts} +208 -208
  157. package/dist/shared/{better-auth.BYzIQdrU.d.cts → better-auth.D-gNQoXM.d.cts} +208 -208
  158. package/dist/shared/{better-auth.Bs_C2zap.d.mts → better-auth.M87YR-oR.d.mts} +208 -208
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BYzIQdrU.cjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.D-gNQoXM.cjs';
2
2
  import '../../shared/better-auth.Bi8FQwDD.cjs';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.Dz9w_OUB.cjs';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bs_C2zap.mjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.M87YR-oR.mjs';
2
2
  import '../../shared/better-auth.Bi8FQwDD.mjs';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.DNEJbRnE.mjs';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.SKjGCdIB.js';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BHEt8_1S.js';
2
2
  import '../../shared/better-auth.Bi8FQwDD.js';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.BTuiucL9.js';
@@ -1,5 +1,5 @@
1
- import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BYzIQdrU.cjs';
2
- export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BYzIQdrU.cjs';
1
+ import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.D-gNQoXM.cjs';
2
+ export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.D-gNQoXM.cjs';
3
3
  import '../shared/better-auth.Bi8FQwDD.cjs';
4
4
  import 'zod';
5
5
  import '../shared/better-auth.Dz9w_OUB.cjs';
@@ -1,5 +1,5 @@
1
- import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.Bs_C2zap.mjs';
2
- export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.Bs_C2zap.mjs';
1
+ import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.M87YR-oR.mjs';
2
+ export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.M87YR-oR.mjs';
3
3
  import '../shared/better-auth.Bi8FQwDD.mjs';
4
4
  import 'zod';
5
5
  import '../shared/better-auth.DNEJbRnE.mjs';
@@ -1,5 +1,5 @@
1
- import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.SKjGCdIB.js';
2
- export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.SKjGCdIB.js';
1
+ import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BHEt8_1S.js';
2
+ export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BHEt8_1S.js';
3
3
  import '../shared/better-auth.Bi8FQwDD.js';
4
4
  import 'zod';
5
5
  import '../shared/better-auth.BTuiucL9.js';
@@ -1,5 +1,5 @@
1
1
  import { Kysely } from 'kysely';
2
- import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BYzIQdrU.cjs';
2
+ import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.D-gNQoXM.cjs';
3
3
  import '../../shared/better-auth.Bi8FQwDD.cjs';
4
4
  import 'zod';
5
5
  import '../../shared/better-auth.Dz9w_OUB.cjs';
@@ -1,5 +1,5 @@
1
1
  import { Kysely } from 'kysely';
2
- import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.Bs_C2zap.mjs';
2
+ import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.M87YR-oR.mjs';
3
3
  import '../../shared/better-auth.Bi8FQwDD.mjs';
4
4
  import 'zod';
5
5
  import '../../shared/better-auth.DNEJbRnE.mjs';
@@ -1,5 +1,5 @@
1
1
  import { Kysely } from 'kysely';
2
- import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.SKjGCdIB.js';
2
+ import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BHEt8_1S.js';
3
3
  import '../../shared/better-auth.Bi8FQwDD.js';
4
4
  import 'zod';
5
5
  import '../../shared/better-auth.BTuiucL9.js';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BYzIQdrU.cjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.D-gNQoXM.cjs';
2
2
  import '../../shared/better-auth.Bi8FQwDD.cjs';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.Dz9w_OUB.cjs';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bs_C2zap.mjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.M87YR-oR.mjs';
2
2
  import '../../shared/better-auth.Bi8FQwDD.mjs';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.DNEJbRnE.mjs';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.SKjGCdIB.js';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BHEt8_1S.js';
2
2
  import '../../shared/better-auth.Bi8FQwDD.js';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.BTuiucL9.js';
@@ -1,5 +1,5 @@
1
1
  import { Db } from 'mongodb';
2
- import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.BYzIQdrU.cjs';
2
+ import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.D-gNQoXM.cjs';
3
3
  import '../../shared/better-auth.Bi8FQwDD.cjs';
4
4
  import 'zod';
5
5
  import '../../shared/better-auth.Dz9w_OUB.cjs';
@@ -1,5 +1,5 @@
1
1
  import { Db } from 'mongodb';
2
- import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.Bs_C2zap.mjs';
2
+ import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.M87YR-oR.mjs';
3
3
  import '../../shared/better-auth.Bi8FQwDD.mjs';
4
4
  import 'zod';
5
5
  import '../../shared/better-auth.DNEJbRnE.mjs';
@@ -1,5 +1,5 @@
1
1
  import { Db } from 'mongodb';
2
- import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.SKjGCdIB.js';
2
+ import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.BHEt8_1S.js';
3
3
  import '../../shared/better-auth.Bi8FQwDD.js';
4
4
  import 'zod';
5
5
  import '../../shared/better-auth.BTuiucL9.js';
@@ -46,6 +46,8 @@ const prismaAdapter = (prisma, config) => index.createAdapter({
46
46
  return "startsWith";
47
47
  case "ends_with":
48
48
  return "endsWith";
49
+ case "ne":
50
+ return "not";
49
51
  default:
50
52
  return operator;
51
53
  }
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BYzIQdrU.cjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.D-gNQoXM.cjs';
2
2
  import '../../shared/better-auth.Bi8FQwDD.cjs';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.Dz9w_OUB.cjs';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bs_C2zap.mjs';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.M87YR-oR.mjs';
2
2
  import '../../shared/better-auth.Bi8FQwDD.mjs';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.DNEJbRnE.mjs';
@@ -1,4 +1,4 @@
1
- import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.SKjGCdIB.js';
1
+ import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.BHEt8_1S.js';
2
2
  import '../../shared/better-auth.Bi8FQwDD.js';
3
3
  import 'zod';
4
4
  import '../../shared/better-auth.BTuiucL9.js';
@@ -44,6 +44,8 @@ const prismaAdapter = (prisma, config) => createAdapter({
44
44
  return "startsWith";
45
45
  case "ends_with":
46
46
  return "endsWith";
47
+ case "ne":
48
+ return "not";
47
49
  default:
48
50
  return operator;
49
51
  }
@@ -1,4 +1,4 @@
1
- import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BYzIQdrU.cjs';
1
+ import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.D-gNQoXM.cjs';
2
2
  import '../shared/better-auth.Bi8FQwDD.cjs';
3
3
  import 'zod';
4
4
  import '../shared/better-auth.Dz9w_OUB.cjs';
@@ -1,4 +1,4 @@
1
- import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.Bs_C2zap.mjs';
1
+ import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.M87YR-oR.mjs';
2
2
  import '../shared/better-auth.Bi8FQwDD.mjs';
3
3
  import 'zod';
4
4
  import '../shared/better-auth.DNEJbRnE.mjs';
@@ -1,4 +1,4 @@
1
- import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.SKjGCdIB.js';
1
+ import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.BHEt8_1S.js';
2
2
  import '../shared/better-auth.Bi8FQwDD.js';
3
3
  import 'zod';
4
4
  import '../shared/better-auth.BTuiucL9.js';
@@ -1,5 +1,5 @@
1
1
  import '../shared/better-auth.Dz9w_OUB.cjs';
2
- export { l as AuthEndpoint, m as AuthMiddleware, bh as accountInfo, aL as callbackOAuth, b8 as changeEmail, b4 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, a$ as createEmailVerificationToken, b6 as deleteUser, b7 as deleteUserCallback, b9 as error, aX as forgetPassword, aZ as forgetPasswordCallback, aQ as freshSessionMiddleware, bf as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bd as linkSocialAccount, aR as listSessions, bc as listUserAccounts, ba as ok, o as optionsMiddleware, bj as originCheck, bi as originCheckMiddleware, bg as refreshToken, aP as requestOnlySessionMiddleware, aW as requestPasswordReset, aY as requestPasswordResetCallback, a_ as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, b1 as sendVerificationEmail, b0 as sendVerificationEmailFn, aO as sessionMiddleware, b5 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, bb as signUpEmail, be as unlinkAccount, b3 as updateUser, b2 as verifyEmail } from '../shared/better-auth.BYzIQdrU.cjs';
2
+ export { l as AuthEndpoint, m as AuthMiddleware, bh as accountInfo, aL as callbackOAuth, b8 as changeEmail, b4 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, a$ as createEmailVerificationToken, b6 as deleteUser, b7 as deleteUserCallback, b9 as error, aX as forgetPassword, aZ as forgetPasswordCallback, aQ as freshSessionMiddleware, bf as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bd as linkSocialAccount, aR as listSessions, bc as listUserAccounts, ba as ok, o as optionsMiddleware, bj as originCheck, bi as originCheckMiddleware, bg as refreshToken, aP as requestOnlySessionMiddleware, aW as requestPasswordReset, aY as requestPasswordResetCallback, a_ as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, b1 as sendVerificationEmail, b0 as sendVerificationEmailFn, aO as sessionMiddleware, b5 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, bb as signUpEmail, be as unlinkAccount, b3 as updateUser, b2 as verifyEmail } from '../shared/better-auth.D-gNQoXM.cjs';
3
3
  export { APIError } from 'better-call';
4
4
  import '../shared/better-auth.Bi8FQwDD.cjs';
5
5
  import 'zod';
@@ -1,5 +1,5 @@
1
1
  import '../shared/better-auth.DNEJbRnE.mjs';
2
- export { l as AuthEndpoint, m as AuthMiddleware, bh as accountInfo, aL as callbackOAuth, b8 as changeEmail, b4 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, a$ as createEmailVerificationToken, b6 as deleteUser, b7 as deleteUserCallback, b9 as error, aX as forgetPassword, aZ as forgetPasswordCallback, aQ as freshSessionMiddleware, bf as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bd as linkSocialAccount, aR as listSessions, bc as listUserAccounts, ba as ok, o as optionsMiddleware, bj as originCheck, bi as originCheckMiddleware, bg as refreshToken, aP as requestOnlySessionMiddleware, aW as requestPasswordReset, aY as requestPasswordResetCallback, a_ as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, b1 as sendVerificationEmail, b0 as sendVerificationEmailFn, aO as sessionMiddleware, b5 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, bb as signUpEmail, be as unlinkAccount, b3 as updateUser, b2 as verifyEmail } from '../shared/better-auth.Bs_C2zap.mjs';
2
+ export { l as AuthEndpoint, m as AuthMiddleware, bh as accountInfo, aL as callbackOAuth, b8 as changeEmail, b4 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, a$ as createEmailVerificationToken, b6 as deleteUser, b7 as deleteUserCallback, b9 as error, aX as forgetPassword, aZ as forgetPasswordCallback, aQ as freshSessionMiddleware, bf as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bd as linkSocialAccount, aR as listSessions, bc as listUserAccounts, ba as ok, o as optionsMiddleware, bj as originCheck, bi as originCheckMiddleware, bg as refreshToken, aP as requestOnlySessionMiddleware, aW as requestPasswordReset, aY as requestPasswordResetCallback, a_ as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, b1 as sendVerificationEmail, b0 as sendVerificationEmailFn, aO as sessionMiddleware, b5 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, bb as signUpEmail, be as unlinkAccount, b3 as updateUser, b2 as verifyEmail } from '../shared/better-auth.M87YR-oR.mjs';
3
3
  export { APIError } from 'better-call';
4
4
  import '../shared/better-auth.Bi8FQwDD.mjs';
5
5
  import 'zod';
@@ -1,5 +1,5 @@
1
1
  import '../shared/better-auth.BTuiucL9.js';
2
- export { l as AuthEndpoint, m as AuthMiddleware, bh as accountInfo, aL as callbackOAuth, b8 as changeEmail, b4 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, a$ as createEmailVerificationToken, b6 as deleteUser, b7 as deleteUserCallback, b9 as error, aX as forgetPassword, aZ as forgetPasswordCallback, aQ as freshSessionMiddleware, bf as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bd as linkSocialAccount, aR as listSessions, bc as listUserAccounts, ba as ok, o as optionsMiddleware, bj as originCheck, bi as originCheckMiddleware, bg as refreshToken, aP as requestOnlySessionMiddleware, aW as requestPasswordReset, aY as requestPasswordResetCallback, a_ as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, b1 as sendVerificationEmail, b0 as sendVerificationEmailFn, aO as sessionMiddleware, b5 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, bb as signUpEmail, be as unlinkAccount, b3 as updateUser, b2 as verifyEmail } from '../shared/better-auth.SKjGCdIB.js';
2
+ export { l as AuthEndpoint, m as AuthMiddleware, bh as accountInfo, aL as callbackOAuth, b8 as changeEmail, b4 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, a$ as createEmailVerificationToken, b6 as deleteUser, b7 as deleteUserCallback, b9 as error, aX as forgetPassword, aZ as forgetPasswordCallback, aQ as freshSessionMiddleware, bf as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bd as linkSocialAccount, aR as listSessions, bc as listUserAccounts, ba as ok, o as optionsMiddleware, bj as originCheck, bi as originCheckMiddleware, bg as refreshToken, aP as requestOnlySessionMiddleware, aW as requestPasswordReset, aY as requestPasswordResetCallback, a_ as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, b1 as sendVerificationEmail, b0 as sendVerificationEmailFn, aO as sessionMiddleware, b5 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, bb as signUpEmail, be as unlinkAccount, b3 as updateUser, b2 as verifyEmail } from '../shared/better-auth.BHEt8_1S.js';
3
3
  export { APIError } from 'better-call';
4
4
  import '../shared/better-auth.Bi8FQwDD.js';
5
5
  import 'zod';
@@ -1,4 +1,4 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.BYzIQdrU.cjs';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.D-gNQoXM.cjs';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
4
4
  export * from '@better-fetch/fetch';
@@ -1,4 +1,4 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.Bs_C2zap.mjs';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.M87YR-oR.mjs';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
4
4
  export * from '@better-fetch/fetch';
@@ -1,4 +1,4 @@
1
- import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.SKjGCdIB.js';
1
+ import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.BHEt8_1S.js';
2
2
  import * as _better_fetch_fetch from '@better-fetch/fetch';
3
3
  import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
4
4
  export * from '@better-fetch/fetch';
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.cjs';
11
11
  import { magicLink } from '../../plugins/magic-link/index.cjs';
12
12
  import { phoneNumber } from '../../plugins/phone-number/index.cjs';
13
13
  import { anonymous } from '../../plugins/anonymous/index.cjs';
14
- import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.BYzIQdrU.cjs';
14
+ import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.D-gNQoXM.cjs';
15
15
  import { admin } from '../../plugins/admin/index.cjs';
16
16
  import { genericOAuth } from '../../plugins/generic-oauth/index.cjs';
17
17
  import { jwt } from '../../plugins/jwt/index.cjs';
@@ -20,7 +20,7 @@ import { emailOTP } from '../../plugins/email-otp/index.cjs';
20
20
  import { Store } from '../../types/index.cjs';
21
21
  import { sso } from '../../plugins/sso/index.cjs';
22
22
  import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
23
- import { a as apiKey } from '../../shared/better-auth.CLe9TlPM.cjs';
23
+ import { a as apiKey } from '../../shared/better-auth.D8QAnh5N.cjs';
24
24
  import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
25
25
  export * from '@simplewebauthn/server';
26
26
  export { global } from '@simplewebauthn/server';
@@ -72,8 +72,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
72
72
  teams: Team[];
73
73
  } & {
74
74
  id: string;
75
- name: string;
76
75
  createdAt: Date;
76
+ name: string;
77
77
  slug: string;
78
78
  metadata?: any;
79
79
  logo?: string | null | undefined;
@@ -82,8 +82,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
82
82
  invitations: InferInvitation<O>[];
83
83
  } & {
84
84
  id: string;
85
- name: string;
86
85
  createdAt: Date;
86
+ name: string;
87
87
  slug: string;
88
88
  metadata?: any;
89
89
  logo?: string | null | undefined;
@@ -147,8 +147,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
147
147
  activeOrganization: nanostores.PreinitializedWritableAtom<{
148
148
  data: Prettify<{
149
149
  id: string;
150
- name: string;
151
150
  createdAt: Date;
151
+ name: string;
152
152
  slug: string;
153
153
  metadata?: any;
154
154
  logo?: string | null | undefined;
@@ -171,8 +171,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
171
171
  listOrganizations: nanostores.PreinitializedWritableAtom<{
172
172
  data: {
173
173
  id: string;
174
- name: string;
175
174
  createdAt: Date;
175
+ name: string;
176
176
  slug: string;
177
177
  metadata?: any;
178
178
  logo?: string | null | undefined;
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.mjs';
11
11
  import { magicLink } from '../../plugins/magic-link/index.mjs';
12
12
  import { phoneNumber } from '../../plugins/phone-number/index.mjs';
13
13
  import { anonymous } from '../../plugins/anonymous/index.mjs';
14
- import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.Bs_C2zap.mjs';
14
+ import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.M87YR-oR.mjs';
15
15
  import { admin } from '../../plugins/admin/index.mjs';
16
16
  import { genericOAuth } from '../../plugins/generic-oauth/index.mjs';
17
17
  import { jwt } from '../../plugins/jwt/index.mjs';
@@ -20,7 +20,7 @@ import { emailOTP } from '../../plugins/email-otp/index.mjs';
20
20
  import { Store } from '../../types/index.mjs';
21
21
  import { sso } from '../../plugins/sso/index.mjs';
22
22
  import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
23
- import { a as apiKey } from '../../shared/better-auth.BkxxyEIY.mjs';
23
+ import { a as apiKey } from '../../shared/better-auth.DdG8dNMj.mjs';
24
24
  import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
25
25
  export * from '@simplewebauthn/server';
26
26
  export { global } from '@simplewebauthn/server';
@@ -72,8 +72,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
72
72
  teams: Team[];
73
73
  } & {
74
74
  id: string;
75
- name: string;
76
75
  createdAt: Date;
76
+ name: string;
77
77
  slug: string;
78
78
  metadata?: any;
79
79
  logo?: string | null | undefined;
@@ -82,8 +82,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
82
82
  invitations: InferInvitation<O>[];
83
83
  } & {
84
84
  id: string;
85
- name: string;
86
85
  createdAt: Date;
86
+ name: string;
87
87
  slug: string;
88
88
  metadata?: any;
89
89
  logo?: string | null | undefined;
@@ -147,8 +147,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
147
147
  activeOrganization: nanostores.PreinitializedWritableAtom<{
148
148
  data: Prettify<{
149
149
  id: string;
150
- name: string;
151
150
  createdAt: Date;
151
+ name: string;
152
152
  slug: string;
153
153
  metadata?: any;
154
154
  logo?: string | null | undefined;
@@ -171,8 +171,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
171
171
  listOrganizations: nanostores.PreinitializedWritableAtom<{
172
172
  data: {
173
173
  id: string;
174
- name: string;
175
174
  createdAt: Date;
175
+ name: string;
176
176
  slug: string;
177
177
  metadata?: any;
178
178
  logo?: string | null | undefined;
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.js';
11
11
  import { magicLink } from '../../plugins/magic-link/index.js';
12
12
  import { phoneNumber } from '../../plugins/phone-number/index.js';
13
13
  import { anonymous } from '../../plugins/anonymous/index.js';
14
- import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.SKjGCdIB.js';
14
+ import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.BHEt8_1S.js';
15
15
  import { admin } from '../../plugins/admin/index.js';
16
16
  import { genericOAuth } from '../../plugins/generic-oauth/index.js';
17
17
  import { jwt } from '../../plugins/jwt/index.js';
@@ -20,7 +20,7 @@ import { emailOTP } from '../../plugins/email-otp/index.js';
20
20
  import { Store } from '../../types/index.js';
21
21
  import { sso } from '../../plugins/sso/index.js';
22
22
  import { oidcProvider } from '../../plugins/oidc-provider/index.js';
23
- import { a as apiKey } from '../../shared/better-auth.MZ4VOBA0.js';
23
+ import { a as apiKey } from '../../shared/better-auth.BGVh5dCV.js';
24
24
  import { oneTimeToken } from '../../plugins/one-time-token/index.js';
25
25
  export * from '@simplewebauthn/server';
26
26
  export { global } from '@simplewebauthn/server';
@@ -72,8 +72,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
72
72
  teams: Team[];
73
73
  } & {
74
74
  id: string;
75
- name: string;
76
75
  createdAt: Date;
76
+ name: string;
77
77
  slug: string;
78
78
  metadata?: any;
79
79
  logo?: string | null | undefined;
@@ -82,8 +82,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
82
82
  invitations: InferInvitation<O>[];
83
83
  } & {
84
84
  id: string;
85
- name: string;
86
85
  createdAt: Date;
86
+ name: string;
87
87
  slug: string;
88
88
  metadata?: any;
89
89
  logo?: string | null | undefined;
@@ -147,8 +147,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
147
147
  activeOrganization: nanostores.PreinitializedWritableAtom<{
148
148
  data: Prettify<{
149
149
  id: string;
150
- name: string;
151
150
  createdAt: Date;
151
+ name: string;
152
152
  slug: string;
153
153
  metadata?: any;
154
154
  logo?: string | null | undefined;
@@ -171,8 +171,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
171
171
  listOrganizations: nanostores.PreinitializedWritableAtom<{
172
172
  data: {
173
173
  id: string;
174
- name: string;
175
174
  createdAt: Date;
175
+ name: string;
176
176
  slug: string;
177
177
  metadata?: any;
178
178
  logo?: string | null | undefined;
@@ -7,7 +7,7 @@ export * from '@better-fetch/fetch';
7
7
  import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BYzIQdrU.cjs';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D-gNQoXM.cjs';
11
11
  import 'better-call';
12
12
  import 'zod';
13
13
  import '../../shared/better-auth.Dz9w_OUB.cjs';
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  data: 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 : never;
79
79
  isPending: boolean;
80
80
  error: BetterFetchError | null;
@@ -84,15 +84,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
84
84
  Session: NonNullable<InferClientAPI<Option> extends {
85
85
  getSession: () => Promise<infer Res>;
86
86
  } ? Res extends {
87
- data: infer S;
88
- error: null;
89
- } | {
90
87
  data: null;
91
88
  error: {
92
89
  message?: string | undefined;
93
90
  status: number;
94
91
  statusText: string;
95
92
  };
93
+ } | {
94
+ data: infer S;
95
+ error: null;
96
96
  } ? S : Res : never>;
97
97
  };
98
98
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -7,7 +7,7 @@ export * from '@better-fetch/fetch';
7
7
  import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bs_C2zap.mjs';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.M87YR-oR.mjs';
11
11
  import 'better-call';
12
12
  import 'zod';
13
13
  import '../../shared/better-auth.DNEJbRnE.mjs';
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  data: 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 : never;
79
79
  isPending: boolean;
80
80
  error: BetterFetchError | null;
@@ -84,15 +84,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
84
84
  Session: NonNullable<InferClientAPI<Option> extends {
85
85
  getSession: () => Promise<infer Res>;
86
86
  } ? Res extends {
87
- data: infer S;
88
- error: null;
89
- } | {
90
87
  data: null;
91
88
  error: {
92
89
  message?: string | undefined;
93
90
  status: number;
94
91
  statusText: string;
95
92
  };
93
+ } | {
94
+ data: infer S;
95
+ error: null;
96
96
  } ? S : Res : never>;
97
97
  };
98
98
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -7,7 +7,7 @@ export * from '@better-fetch/fetch';
7
7
  import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
8
8
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
9
9
  import { DependencyList } from 'react';
10
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.SKjGCdIB.js';
10
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BHEt8_1S.js';
11
11
  import 'better-call';
12
12
  import 'zod';
13
13
  import '../../shared/better-auth.BTuiucL9.js';
@@ -66,15 +66,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
66
66
  data: 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 : never;
79
79
  isPending: boolean;
80
80
  error: BetterFetchError | null;
@@ -84,15 +84,15 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
84
84
  Session: NonNullable<InferClientAPI<Option> extends {
85
85
  getSession: () => Promise<infer Res>;
86
86
  } ? Res extends {
87
- data: infer S;
88
- error: null;
89
- } | {
90
87
  data: null;
91
88
  error: {
92
89
  message?: string | undefined;
93
90
  status: number;
94
91
  statusText: string;
95
92
  };
93
+ } | {
94
+ data: infer S;
95
+ error: null;
96
96
  } ? S : Res : never>;
97
97
  };
98
98
  $fetch: _better_fetch_fetch.BetterFetch<{
@@ -4,7 +4,7 @@ export * from '@better-fetch/fetch';
4
4
  import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BYzIQdrU.cjs';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.D-gNQoXM.cjs';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'zod';
@@ -4,7 +4,7 @@ export * from '@better-fetch/fetch';
4
4
  import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.Bs_C2zap.mjs';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.M87YR-oR.mjs';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'zod';
@@ -4,7 +4,7 @@ export * from '@better-fetch/fetch';
4
4
  import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
5
5
  import { Accessor } from 'solid-js';
6
6
  import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
7
- import { f as BASE_ERROR_CODES } from '../../shared/better-auth.SKjGCdIB.js';
7
+ import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BHEt8_1S.js';
8
8
  export * from 'nanostores';
9
9
  import 'better-call';
10
10
  import 'zod';