better-auth 1.3.0-beta.6 → 1.3.0-beta.7
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.
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +2 -2
- package/dist/adapters/mongodb-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/test.d.cts +2 -2
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +5 -9
- package/dist/client/index.d.mts +5 -9
- package/dist/client/index.d.ts +5 -9
- package/dist/client/plugins/index.d.cts +8 -8
- package/dist/client/plugins/index.d.mts +8 -8
- package/dist/client/plugins/index.d.ts +8 -8
- package/dist/client/react/index.d.cts +10 -10
- package/dist/client/react/index.d.mts +10 -10
- package/dist/client/react/index.d.ts +10 -10
- package/dist/client/solid/index.d.cts +10 -10
- package/dist/client/solid/index.d.mts +10 -10
- package/dist/client/solid/index.d.ts +10 -10
- package/dist/client/svelte/index.d.cts +4 -4
- package/dist/client/svelte/index.d.mts +4 -4
- package/dist/client/svelte/index.d.ts +4 -4
- package/dist/client/vue/index.d.cts +4 -4
- package/dist/client/vue/index.d.mts +4 -4
- package/dist/client/vue/index.d.ts +4 -4
- package/dist/cookies/index.d.cts +2 -2
- package/dist/cookies/index.d.mts +2 -2
- package/dist/cookies/index.d.ts +2 -2
- package/dist/db/index.d.cts +3 -3
- package/dist/db/index.d.mts +3 -3
- package/dist/db/index.d.ts +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +2 -2
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +2 -2
- package/dist/integrations/react-start.d.mts +2 -2
- package/dist/integrations/react-start.d.ts +2 -2
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +2 -2
- package/dist/integrations/svelte-kit.d.mts +2 -2
- package/dist/integrations/svelte-kit.d.ts +2 -2
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +8 -8
- package/dist/oauth2/index.d.mts +8 -8
- package/dist/oauth2/index.d.ts +8 -8
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +24 -24
- package/dist/plugins/admin/index.d.mts +24 -24
- package/dist/plugins/admin/index.d.ts +24 -24
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.d.ts +2 -2
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/bearer/index.d.ts +2 -2
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +2 -2
- package/dist/plugins/captcha/index.d.mts +2 -2
- package/dist/plugins/captcha/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +2 -2
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +2 -2
- package/dist/plugins/email-otp/index.d.mts +2 -2
- package/dist/plugins/email-otp/index.d.ts +2 -2
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +1 -1
- package/dist/plugins/generic-oauth/index.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +5 -5
- package/dist/plugins/index.d.cts +7 -7
- package/dist/plugins/index.d.mts +7 -7
- package/dist/plugins/index.d.ts +7 -7
- package/dist/plugins/index.mjs +7 -7
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +2 -2
- package/dist/plugins/jwt/index.d.mts +2 -2
- package/dist/plugins/jwt/index.d.ts +2 -2
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +2 -2
- package/dist/plugins/multi-session/index.d.mts +2 -2
- package/dist/plugins/multi-session/index.d.ts +2 -2
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +2 -2
- package/dist/plugins/oauth-proxy/index.d.mts +2 -2
- package/dist/plugins/oauth-proxy/index.d.ts +2 -2
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +7 -7
- package/dist/plugins/oidc-provider/index.d.mts +7 -7
- package/dist/plugins/oidc-provider/index.d.ts +7 -7
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +3 -3
- package/dist/plugins/one-time-token/index.d.cts +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +3 -3
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +2 -2
- package/dist/plugins/open-api/index.d.mts +2 -2
- package/dist/plugins/open-api/index.d.ts +2 -2
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +2 -2
- package/dist/plugins/organization/index.d.cts +248 -248
- package/dist/plugins/organization/index.d.mts +248 -248
- package/dist/plugins/organization/index.d.ts +248 -248
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.ts +2 -2
- package/dist/plugins/passkey/index.mjs +1 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.ts +2 -2
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +5 -5
- package/dist/plugins/sso/index.d.mts +5 -5
- package/dist/plugins/sso/index.d.ts +5 -5
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +1 -1
- package/dist/plugins/two-factor/index.d.cts +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +3 -3
- package/dist/plugins/username/index.d.mts +3 -3
- package/dist/plugins/username/index.d.ts +3 -3
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.RyjLlbTY.d.cts → better-auth.1M3xAdJC.d.cts} +227 -220
- package/dist/shared/{better-auth.kEak9XF1.cjs → better-auth.B2zZl7qP.cjs} +1 -1
- package/dist/shared/{better-auth.D0Rqcoza.d.cts → better-auth.BJa1oqpN.d.cts} +3 -3
- package/dist/shared/{better-auth.C3tsP_2i.d.mts → better-auth.BYIMqSU0.d.mts} +26 -26
- package/dist/shared/{better-auth.5rq4Z090.d.ts → better-auth.Bc-1Su7g.d.ts} +227 -220
- package/dist/shared/{better-auth.DV2ji6Tv.cjs → better-auth.BjBe8STm.cjs} +1 -1
- package/dist/shared/{better-auth.CBHHglxq.mjs → better-auth.BtyWISFt.mjs} +17 -15
- package/dist/shared/{better-auth.9r8N-CPq.d.mts → better-auth.C1otFVHS.d.mts} +3 -3
- package/dist/shared/{better-auth.C23Pdha8.mjs → better-auth.C6VyAxGz.mjs} +2 -2
- package/dist/shared/{better-auth.CJa14fZY.d.mts → better-auth.CJ2ZGyoL.d.mts} +7 -3
- package/dist/shared/{better-auth.DkrXfAnl.d.ts → better-auth.CJb2R19P.d.ts} +26 -26
- package/dist/shared/{better-auth.DdJAAuXg.mjs → better-auth.CQPOI-_E.mjs} +1 -1
- package/dist/shared/{better-auth.xx57KUhH.d.cts → better-auth.CpSq0H3M.d.cts} +26 -26
- package/dist/shared/{better-auth.D7VD1-xZ.mjs → better-auth.D7Si_1a9.mjs} +1 -1
- package/dist/shared/{better-auth.T6XXJMSu.d.ts → better-auth.D9z1x8va.d.ts} +1 -1
- package/dist/shared/{better-auth.C2ZDA_HL.d.mts → better-auth.DWRzwPcP.d.mts} +227 -220
- package/dist/shared/{better-auth.DynhAjNY.cjs → better-auth.DZBS14g0.cjs} +2 -2
- package/dist/shared/{better-auth.BpOf3rhD.d.cts → better-auth.DcwXW4BB.d.cts} +7 -3
- package/dist/shared/{better-auth.BGtxjozt.d.ts → better-auth.Dde0tveQ.d.ts} +3 -3
- package/dist/shared/{better-auth.Da38ipiH.mjs → better-auth.Dh9fsfY2.mjs} +1 -1
- package/dist/shared/{better-auth.DsLFXx54.cjs → better-auth.HT3cSIq4.cjs} +17 -15
- package/dist/shared/{better-auth.BIHMmId5.cjs → better-auth.I7OjQ-oc.cjs} +1 -1
- package/dist/shared/{better-auth.DCPRfRzB.d.cts → better-auth.VwFr4owi.d.cts} +1 -1
- package/dist/shared/{better-auth.CFH54Uvw.cjs → better-auth.Y_QHVJcB.cjs} +1 -1
- package/dist/shared/{better-auth.BqMegUw9.d.ts → better-auth.bHQlVztX.d.ts} +7 -3
- package/dist/shared/{better-auth.BcotGrcl.d.mts → better-auth.kvIPfj9F.d.mts} +1 -1
- package/dist/shared/{better-auth.ddM9pKyt.mjs → better-auth.tST9Caqi.mjs} +1 -1
- package/dist/social-providers/index.cjs +1 -1
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.d.ts +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/test-utils/index.cjs +3 -3
- package/dist/test-utils/index.d.cts +20 -20
- package/dist/test-utils/index.d.mts +20 -20
- package/dist/test-utils/index.d.ts +20 -20
- package/dist/test-utils/index.mjs +3 -3
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bc-1Su7g.js';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.Bc-1Su7g.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.Bc-1Su7g.js';
|
|
3
3
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
3
3
|
import '../../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
3
3
|
import '../../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.Bc-1Su7g.js';
|
|
3
3
|
import '../../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'bun:sqlite';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bc-1Su7g.js';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import '../../shared/better-auth.9XhOL8gb.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import '../../shared/better-auth.9XhOL8gb.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bc-1Su7g.js';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import '../../shared/better-auth.9XhOL8gb.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.1M3xAdJC.cjs';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.DWRzwPcP.mjs';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.Bc-1Su7g.js';
|
|
2
2
|
import '../../shared/better-auth.9XhOL8gb.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
package/dist/adapters/test.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.1M3xAdJC.cjs';
|
|
2
2
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
package/dist/adapters/test.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.DWRzwPcP.mjs';
|
|
2
2
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
package/dist/adapters/test.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.Bc-1Su7g.js';
|
|
2
2
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import 'better-call';
|
|
7
7
|
import 'better-sqlite3';
|
package/dist/api/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const socialProviders_index = require('../shared/better-auth.
|
|
4
|
+
const socialProviders_index = require('../shared/better-auth.HT3cSIq4.cjs');
|
|
5
5
|
const zod = require('zod');
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
7
|
const schema = require('../shared/better-auth.DcWKCjjf.cjs');
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
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.
|
|
1
|
+
import '../shared/better-auth.VwFr4owi.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.1M3xAdJC.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.cjs';
|
|
5
5
|
import 'zod';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
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.
|
|
1
|
+
import '../shared/better-auth.kvIPfj9F.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.DWRzwPcP.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.mjs';
|
|
5
5
|
import 'zod';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
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.
|
|
1
|
+
import '../shared/better-auth.D9z1x8va.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.Bc-1Su7g.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.9XhOL8gb.js';
|
|
5
5
|
import 'zod';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIError, toResponse, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { i as createAuthEndpoint, B as BASE_ERROR_CODES, t as createEmailVerificationToken, w as wildcardMatch, u as listSessions, x as updateUser, k as getSession, y as originCheckMiddleware, z as error, A as ok, C as accountInfo, D as getAccessToken, E as refreshToken, F as unlinkAccount, G as deleteUserCallback, I as listUserAccounts, J as linkSocialAccount, K as revokeOtherSessions, L as revokeSessions, M as revokeSession, N as requestPasswordResetCallback, O as requestPasswordReset, P as forgetPasswordCallback, Q as deleteUser, R as setPassword, S as changePassword, T as changeEmail, U as sendVerificationEmail, V as verifyEmail, W as resetPassword, X as forgetPassword, Y as signInEmail, Z as signOut, _ as callbackOAuth, $ as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { f as createAuthMiddleware, l as freshSessionMiddleware, j as getSessionFromCtx, m as optionsMiddleware, o as originCheck, a0 as requestOnlySessionMiddleware, q as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { i as createAuthEndpoint, B as BASE_ERROR_CODES, t as createEmailVerificationToken, w as wildcardMatch, u as listSessions, x as updateUser, k as getSession, y as originCheckMiddleware, z as error, A as ok, C as accountInfo, D as getAccessToken, E as refreshToken, F as unlinkAccount, G as deleteUserCallback, I as listUserAccounts, J as linkSocialAccount, K as revokeOtherSessions, L as revokeSessions, M as revokeSession, N as requestPasswordResetCallback, O as requestPasswordReset, P as forgetPasswordCallback, Q as deleteUser, R as setPassword, S as changePassword, T as changeEmail, U as sendVerificationEmail, V as verifyEmail, W as resetPassword, X as forgetPassword, Y as signInEmail, Z as signOut, _ as callbackOAuth, $ as signInSocial } from '../shared/better-auth.BtyWISFt.mjs';
|
|
4
|
+
export { f as createAuthMiddleware, l as freshSessionMiddleware, j as getSessionFromCtx, m as optionsMiddleware, o as originCheck, a0 as requestOnlySessionMiddleware, q as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.BtyWISFt.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { setSessionCookie } from '../cookies/index.mjs';
|
|
7
7
|
import { f as parseUserInput } from '../shared/better-auth.Cc72UxUH.mjs';
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.1M3xAdJC.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';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes
|
|
6
|
-
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.DcwXW4BB.cjs';
|
|
6
|
+
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.DcwXW4BB.cjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
10
10
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.9XhOL8gb.cjs';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.VwFr4owi.cjs';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-call';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -117,11 +117,7 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
117
117
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
118
118
|
};
|
|
119
119
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|
|
120
|
-
}
|
|
121
|
-
plugins: infer Plugins;
|
|
122
|
-
} ? Plugins extends Array<infer Plugin> ? Plugin extends {
|
|
123
|
-
endpoints: infer Endpoints;
|
|
124
|
-
} ? Endpoints : {} : {} : {}, Option>;
|
|
120
|
+
};
|
|
125
121
|
|
|
126
122
|
declare const useAuthQuery: <T>(initializedAtom: PreinitializedWritableAtom<any> | PreinitializedWritableAtom<any>[], path: string, $fetch: BetterFetch, options?: ((value: {
|
|
127
123
|
data: null | T;
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.DWRzwPcP.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';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes
|
|
6
|
-
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.CJ2ZGyoL.mjs';
|
|
6
|
+
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.CJ2ZGyoL.mjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
10
10
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.9XhOL8gb.mjs';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.kvIPfj9F.mjs';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-call';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -117,11 +117,7 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
117
117
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
118
118
|
};
|
|
119
119
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|
|
120
|
-
}
|
|
121
|
-
plugins: infer Plugins;
|
|
122
|
-
} ? Plugins extends Array<infer Plugin> ? Plugin extends {
|
|
123
|
-
endpoints: infer Endpoints;
|
|
124
|
-
} ? Endpoints : {} : {} : {}, Option>;
|
|
120
|
+
};
|
|
125
121
|
|
|
126
122
|
declare const useAuthQuery: <T>(initializedAtom: PreinitializedWritableAtom<any> | PreinitializedWritableAtom<any>[], path: string, $fetch: BetterFetch, options?: ((value: {
|
|
127
123
|
data: null | T;
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.Bc-1Su7g.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';
|
|
5
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes
|
|
6
|
-
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
5
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../shared/better-auth.bHQlVztX.js';
|
|
6
|
+
export { A as AtomListener, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.bHQlVztX.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
10
10
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.9XhOL8gb.js';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.D9z1x8va.js';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-call';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -117,11 +117,7 @@ declare function createAuthClient<Option extends ClientOptions>(options?: Option
|
|
|
117
117
|
} ? S : Res extends Record<string, any> ? Res : never : never>;
|
|
118
118
|
};
|
|
119
119
|
$ERROR_CODES: PrettifyDeep<InferErrorCodes<Option> & typeof BASE_ERROR_CODES>;
|
|
120
|
-
}
|
|
121
|
-
plugins: infer Plugins;
|
|
122
|
-
} ? Plugins extends Array<infer Plugin> ? Plugin extends {
|
|
123
|
-
endpoints: infer Endpoints;
|
|
124
|
-
} ? Endpoints : {} : {} : {}, Option>;
|
|
120
|
+
};
|
|
125
121
|
|
|
126
122
|
declare const useAuthQuery: <T>(initializedAtom: PreinitializedWritableAtom<any> | PreinitializedWritableAtom<any>[], path: string, $fetch: BetterFetch, options?: ((value: {
|
|
127
123
|
data: null | T;
|
|
@@ -11,23 +11,23 @@ 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 { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.1M3xAdJC.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';
|
|
18
18
|
import { multiSession } from '../../plugins/multi-session/index.cjs';
|
|
19
19
|
import { emailOTP } from '../../plugins/email-otp/index.cjs';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
20
|
+
import { S as Store } from '../../shared/better-auth.DcwXW4BB.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.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.CpSq0H3M.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';
|
|
27
27
|
import 'zod';
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.cjs';
|
|
30
|
-
import '../../shared/better-auth.
|
|
30
|
+
import '../../shared/better-auth.VwFr4owi.cjs';
|
|
31
31
|
import 'kysely';
|
|
32
32
|
import 'better-sqlite3';
|
|
33
33
|
import 'bun:sqlite';
|
|
@@ -71,8 +71,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
71
71
|
teams: Team[];
|
|
72
72
|
} & {
|
|
73
73
|
id: string;
|
|
74
|
-
createdAt: Date;
|
|
75
74
|
name: string;
|
|
75
|
+
createdAt: Date;
|
|
76
76
|
slug: string;
|
|
77
77
|
metadata?: any;
|
|
78
78
|
logo?: string | null | undefined;
|
|
@@ -81,8 +81,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
81
81
|
invitations: InferInvitation<O>[];
|
|
82
82
|
} & {
|
|
83
83
|
id: string;
|
|
84
|
-
createdAt: Date;
|
|
85
84
|
name: string;
|
|
85
|
+
createdAt: Date;
|
|
86
86
|
slug: string;
|
|
87
87
|
metadata?: any;
|
|
88
88
|
logo?: string | null | undefined;
|
|
@@ -146,8 +146,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
146
146
|
activeOrganization: nanostores.PreinitializedWritableAtom<{
|
|
147
147
|
data: Prettify<{
|
|
148
148
|
id: string;
|
|
149
|
-
createdAt: Date;
|
|
150
149
|
name: string;
|
|
150
|
+
createdAt: Date;
|
|
151
151
|
slug: string;
|
|
152
152
|
metadata?: any;
|
|
153
153
|
logo?: string | null | undefined;
|
|
@@ -170,8 +170,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
170
170
|
listOrganizations: nanostores.PreinitializedWritableAtom<{
|
|
171
171
|
data: {
|
|
172
172
|
id: string;
|
|
173
|
-
createdAt: Date;
|
|
174
173
|
name: string;
|
|
174
|
+
createdAt: Date;
|
|
175
175
|
slug: string;
|
|
176
176
|
metadata?: any;
|
|
177
177
|
logo?: string | null | undefined;
|
|
@@ -11,23 +11,23 @@ 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 { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.DWRzwPcP.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';
|
|
18
18
|
import { multiSession } from '../../plugins/multi-session/index.mjs';
|
|
19
19
|
import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
20
|
+
import { S as Store } from '../../shared/better-auth.CJ2ZGyoL.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.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.BYIMqSU0.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';
|
|
27
27
|
import 'zod';
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.mjs';
|
|
30
|
-
import '../../shared/better-auth.
|
|
30
|
+
import '../../shared/better-auth.kvIPfj9F.mjs';
|
|
31
31
|
import 'kysely';
|
|
32
32
|
import 'better-sqlite3';
|
|
33
33
|
import 'bun:sqlite';
|
|
@@ -71,8 +71,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
71
71
|
teams: Team[];
|
|
72
72
|
} & {
|
|
73
73
|
id: string;
|
|
74
|
-
createdAt: Date;
|
|
75
74
|
name: string;
|
|
75
|
+
createdAt: Date;
|
|
76
76
|
slug: string;
|
|
77
77
|
metadata?: any;
|
|
78
78
|
logo?: string | null | undefined;
|
|
@@ -81,8 +81,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
81
81
|
invitations: InferInvitation<O>[];
|
|
82
82
|
} & {
|
|
83
83
|
id: string;
|
|
84
|
-
createdAt: Date;
|
|
85
84
|
name: string;
|
|
85
|
+
createdAt: Date;
|
|
86
86
|
slug: string;
|
|
87
87
|
metadata?: any;
|
|
88
88
|
logo?: string | null | undefined;
|
|
@@ -146,8 +146,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
146
146
|
activeOrganization: nanostores.PreinitializedWritableAtom<{
|
|
147
147
|
data: Prettify<{
|
|
148
148
|
id: string;
|
|
149
|
-
createdAt: Date;
|
|
150
149
|
name: string;
|
|
150
|
+
createdAt: Date;
|
|
151
151
|
slug: string;
|
|
152
152
|
metadata?: any;
|
|
153
153
|
logo?: string | null | undefined;
|
|
@@ -170,8 +170,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
170
170
|
listOrganizations: nanostores.PreinitializedWritableAtom<{
|
|
171
171
|
data: {
|
|
172
172
|
id: string;
|
|
173
|
-
createdAt: Date;
|
|
174
173
|
name: string;
|
|
174
|
+
createdAt: Date;
|
|
175
175
|
slug: string;
|
|
176
176
|
metadata?: any;
|
|
177
177
|
logo?: string | null | undefined;
|
|
@@ -11,23 +11,23 @@ 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 { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { a4 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.Bc-1Su7g.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';
|
|
18
18
|
import { multiSession } from '../../plugins/multi-session/index.js';
|
|
19
19
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
20
|
-
import { S as Store } from '../../shared/better-auth.
|
|
20
|
+
import { S as Store } from '../../shared/better-auth.bHQlVztX.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.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.CJb2R19P.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';
|
|
27
27
|
import 'zod';
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.js';
|
|
30
|
-
import '../../shared/better-auth.
|
|
30
|
+
import '../../shared/better-auth.D9z1x8va.js';
|
|
31
31
|
import 'kysely';
|
|
32
32
|
import 'better-sqlite3';
|
|
33
33
|
import 'bun:sqlite';
|
|
@@ -71,8 +71,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
71
71
|
teams: Team[];
|
|
72
72
|
} & {
|
|
73
73
|
id: string;
|
|
74
|
-
createdAt: Date;
|
|
75
74
|
name: string;
|
|
75
|
+
createdAt: Date;
|
|
76
76
|
slug: string;
|
|
77
77
|
metadata?: any;
|
|
78
78
|
logo?: string | null | undefined;
|
|
@@ -81,8 +81,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
81
81
|
invitations: InferInvitation<O>[];
|
|
82
82
|
} & {
|
|
83
83
|
id: string;
|
|
84
|
-
createdAt: Date;
|
|
85
84
|
name: string;
|
|
85
|
+
createdAt: Date;
|
|
86
86
|
slug: string;
|
|
87
87
|
metadata?: any;
|
|
88
88
|
logo?: string | null | undefined;
|
|
@@ -146,8 +146,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
146
146
|
activeOrganization: nanostores.PreinitializedWritableAtom<{
|
|
147
147
|
data: Prettify<{
|
|
148
148
|
id: string;
|
|
149
|
-
createdAt: Date;
|
|
150
149
|
name: string;
|
|
150
|
+
createdAt: Date;
|
|
151
151
|
slug: string;
|
|
152
152
|
metadata?: any;
|
|
153
153
|
logo?: string | null | undefined;
|
|
@@ -170,8 +170,8 @@ declare const organizationClient: <O extends OrganizationClientOptions>(options?
|
|
|
170
170
|
listOrganizations: nanostores.PreinitializedWritableAtom<{
|
|
171
171
|
data: {
|
|
172
172
|
id: string;
|
|
173
|
-
createdAt: Date;
|
|
174
173
|
name: string;
|
|
174
|
+
createdAt: Date;
|
|
175
175
|
slug: string;
|
|
176
176
|
metadata?: any;
|
|
177
177
|
logo?: string | null | undefined;
|