better-auth 1.2.6-beta.5 → 1.2.6-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/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 +3 -3
- 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 +4 -4
- package/dist/chunks/server.cjs +905 -0
- package/dist/chunks/server.mjs +895 -0
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/plugins/index.cjs +20 -12
- package/dist/client/plugins/index.d.cts +3 -3
- package/dist/client/plugins/index.d.mts +3 -3
- package/dist/client/plugins/index.d.ts +3 -3
- package/dist/client/plugins/index.mjs +20 -12
- package/dist/client/react/index.cjs +4 -4
- package/dist/client/react/index.d.cts +2 -2
- package/dist/client/react/index.d.mts +2 -2
- package/dist/client/react/index.d.ts +2 -2
- package/dist/client/solid/index.d.cts +2 -2
- package/dist/client/solid/index.d.mts +2 -2
- package/dist/client/solid/index.d.ts +2 -2
- package/dist/client/svelte/index.d.cts +2 -2
- package/dist/client/svelte/index.d.mts +2 -2
- package/dist/client/svelte/index.d.ts +2 -2
- package/dist/client/vue/index.d.cts +2 -2
- package/dist/client/vue/index.d.mts +2 -2
- package/dist/client/vue/index.d.ts +2 -2
- 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.cjs +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/db/index.mjs +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +5 -5
- package/dist/integrations/next-js.cjs +5 -4
- 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 +5 -4
- 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 +90 -0
- package/dist/integrations/react-start.d.cts +20 -0
- package/dist/integrations/react-start.d.mts +20 -0
- package/dist/integrations/react-start.d.ts +20 -0
- package/dist/integrations/react-start.mjs +88 -0
- 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/oauth2/index.cjs +2 -2
- package/dist/oauth2/index.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/oauth2/index.mjs +2 -2
- package/dist/plugins/admin/index.cjs +4 -3
- package/dist/plugins/admin/index.d.cts +285 -643
- package/dist/plugins/admin/index.d.mts +285 -643
- package/dist/plugins/admin/index.d.ts +285 -643
- package/dist/plugins/admin/index.mjs +4 -3
- package/dist/plugins/anonymous/index.cjs +2 -2
- package/dist/plugins/anonymous/index.d.cts +22 -35
- package/dist/plugins/anonymous/index.d.mts +22 -35
- package/dist/plugins/anonymous/index.d.ts +22 -35
- package/dist/plugins/anonymous/index.mjs +2 -2
- package/dist/plugins/bearer/index.cjs +2 -2
- 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 +2 -2
- package/dist/plugins/custom-session/index.cjs +3 -3
- package/dist/plugins/custom-session/index.d.cts +23 -26
- package/dist/plugins/custom-session/index.d.mts +23 -26
- package/dist/plugins/custom-session/index.d.ts +23 -26
- package/dist/plugins/custom-session/index.mjs +3 -3
- package/dist/plugins/email-otp/index.cjs +2 -2
- package/dist/plugins/email-otp/index.d.cts +142 -261
- package/dist/plugins/email-otp/index.d.mts +142 -261
- package/dist/plugins/email-otp/index.d.ts +142 -261
- package/dist/plugins/email-otp/index.mjs +2 -2
- package/dist/plugins/generic-oauth/index.cjs +11 -9
- package/dist/plugins/generic-oauth/index.d.cts +65 -132
- package/dist/plugins/generic-oauth/index.d.mts +65 -132
- package/dist/plugins/generic-oauth/index.d.ts +65 -132
- package/dist/plugins/generic-oauth/index.mjs +11 -9
- package/dist/plugins/index.cjs +46 -13
- package/dist/plugins/index.d.cts +3 -3
- package/dist/plugins/index.d.mts +3 -3
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.mjs +47 -14
- package/dist/plugins/jwt/index.cjs +2 -2
- package/dist/plugins/jwt/index.d.cts +42 -109
- package/dist/plugins/jwt/index.d.mts +42 -109
- package/dist/plugins/jwt/index.d.ts +42 -109
- package/dist/plugins/jwt/index.mjs +2 -2
- package/dist/plugins/magic-link/index.cjs +2 -2
- package/dist/plugins/magic-link/index.d.cts +40 -82
- package/dist/plugins/magic-link/index.d.mts +40 -82
- package/dist/plugins/magic-link/index.d.ts +40 -82
- package/dist/plugins/magic-link/index.mjs +2 -2
- package/dist/plugins/multi-session/index.cjs +2 -2
- package/dist/plugins/multi-session/index.d.cts +62 -129
- package/dist/plugins/multi-session/index.d.mts +62 -129
- package/dist/plugins/multi-session/index.d.ts +62 -129
- package/dist/plugins/multi-session/index.mjs +2 -2
- package/dist/plugins/oauth-proxy/index.cjs +2 -2
- package/dist/plugins/oauth-proxy/index.d.cts +22 -42
- package/dist/plugins/oauth-proxy/index.d.mts +22 -42
- package/dist/plugins/oauth-proxy/index.d.ts +22 -42
- package/dist/plugins/oauth-proxy/index.mjs +2 -2
- package/dist/plugins/oidc-provider/index.cjs +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +146 -159
- package/dist/plugins/oidc-provider/index.d.mts +146 -159
- package/dist/plugins/oidc-provider/index.d.ts +146 -159
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.cjs +2 -2
- package/dist/plugins/one-tap/index.d.cts +20 -42
- package/dist/plugins/one-tap/index.d.mts +20 -42
- package/dist/plugins/one-tap/index.d.ts +20 -42
- package/dist/plugins/one-tap/index.mjs +2 -2
- package/dist/plugins/open-api/index.cjs +5 -3
- package/dist/plugins/open-api/index.d.cts +42 -21
- package/dist/plugins/open-api/index.d.mts +42 -21
- package/dist/plugins/open-api/index.d.ts +42 -21
- package/dist/plugins/open-api/index.mjs +5 -3
- package/dist/plugins/organization/index.cjs +4 -3
- package/dist/plugins/organization/index.d.cts +1375 -2917
- package/dist/plugins/organization/index.d.mts +1375 -2917
- package/dist/plugins/organization/index.d.ts +1375 -2917
- package/dist/plugins/organization/index.mjs +4 -3
- package/dist/plugins/passkey/index.cjs +2 -2
- package/dist/plugins/passkey/index.d.cts +147 -465
- package/dist/plugins/passkey/index.d.mts +147 -465
- package/dist/plugins/passkey/index.d.ts +147 -465
- package/dist/plugins/passkey/index.mjs +2 -2
- package/dist/plugins/phone-number/index.cjs +2 -2
- package/dist/plugins/phone-number/index.d.cts +104 -179
- package/dist/plugins/phone-number/index.d.mts +104 -179
- package/dist/plugins/phone-number/index.d.ts +104 -179
- package/dist/plugins/phone-number/index.mjs +2 -2
- package/dist/plugins/sso/index.cjs +3 -3
- package/dist/plugins/sso/index.d.cts +64 -207
- package/dist/plugins/sso/index.d.mts +64 -207
- package/dist/plugins/sso/index.d.ts +64 -207
- package/dist/plugins/sso/index.mjs +3 -3
- package/dist/plugins/two-factor/index.cjs +4 -4
- package/dist/plugins/two-factor/index.d.cts +222 -726
- package/dist/plugins/two-factor/index.d.mts +222 -726
- package/dist/plugins/two-factor/index.d.ts +222 -726
- package/dist/plugins/two-factor/index.mjs +4 -4
- package/dist/plugins/username/index.cjs +4 -4
- package/dist/plugins/username/index.d.cts +22 -45
- package/dist/plugins/username/index.d.mts +22 -45
- package/dist/plugins/username/index.d.ts +22 -45
- package/dist/plugins/username/index.mjs +4 -4
- package/dist/shared/{better-auth.Dmtp4RCi.mjs → better-auth.A3TjrU8G.mjs} +1 -1
- package/dist/shared/{better-auth.DpnaS1Ry.d.cts → better-auth.B2Fw1vhH.d.cts} +2 -4
- package/dist/shared/{better-auth.Cr5ixZZK.d.ts → better-auth.BANAxdkL.d.ts} +2 -4
- package/dist/shared/{better-auth.Dy3T8VFf.cjs → better-auth.BDYXUcLv.cjs} +1 -1
- package/dist/shared/{better-auth.BGUZBbM4.cjs → better-auth.BIjcZ_vt.cjs} +1 -1
- package/dist/shared/{better-auth.-X_5SIE9.d.ts → better-auth.BRf6Iynu.d.ts} +3 -3
- package/dist/shared/{better-auth.i9-25Ul9.cjs → better-auth.BSsp73pg.cjs} +1 -1
- package/dist/shared/{better-auth.ulRwlmfz.d.ts → better-auth.BWp5dztg.d.ts} +146 -205
- package/dist/shared/{better-auth.BsbUy_em.d.cts → better-auth.BiQsvaIP.d.cts} +5356 -7956
- package/dist/shared/{better-auth.DZGc_87_.mjs → better-auth.BrOpzmqo.mjs} +1 -1
- package/dist/shared/better-auth.CApEjVDP.cjs +21 -0
- package/dist/shared/{better-auth.D5DEHFvt.cjs → better-auth.CV1L7TPV.cjs} +26 -44
- package/dist/shared/{better-auth.Bu8n0vlp.mjs → better-auth.ClTSOgiD.mjs} +1 -1
- package/dist/shared/{better-auth.BzKq70UC.cjs → better-auth.Cm29ZKNJ.cjs} +5 -9
- package/dist/shared/{better-auth.CXagCPAv.cjs → better-auth.CsSpq0zL.cjs} +17 -33
- package/dist/shared/{better-auth.B5Z63CQV.d.mts → better-auth.D-oLmHIj.d.mts} +5356 -7956
- package/dist/shared/{better-auth.CX0ifPU-.mjs → better-auth.D4jH-sJA.mjs} +1 -1
- package/dist/shared/{better-auth.BSbTjuSH.mjs → better-auth.D9VnBkRI.mjs} +5 -21
- package/dist/shared/{better-auth.DjMtlb7e.mjs → better-auth.DCVeP5-W.mjs} +5 -9
- package/dist/shared/better-auth.DLTzKoOS.cjs +18 -0
- package/dist/shared/{better-auth.CY_Hrfhe.mjs → better-auth.DPBQN9Fs.mjs} +17 -35
- package/dist/shared/{better-auth.i71gRg2g.d.ts → better-auth.DU2QNVc_.d.ts} +5356 -7956
- package/dist/shared/{better-auth.BLFZHn6S.d.cts → better-auth.DWRligF8.d.cts} +146 -205
- package/dist/shared/better-auth.DiG4KL2x.mjs +16 -0
- package/dist/shared/{better-auth.DkJ_Tcxu.d.cts → better-auth.Dmhe30iW.d.mts} +3 -3
- package/dist/shared/{better-auth.BGAbPcLi.d.mts → better-auth.DtC8i3pf.d.cts} +3 -3
- package/dist/shared/{better-auth.-kZ-JqcP.d.mts → better-auth.bKwabe3I.d.mts} +2 -4
- package/dist/shared/better-auth.cOCrlspr.mjs +19 -0
- package/dist/shared/{better-auth.USxghgYQ.cjs → better-auth.m575EIBC.cjs} +1 -1
- package/dist/shared/{better-auth.CjhKonVM.d.mts → better-auth.wcdMj2cT.d.mts} +146 -205
- package/dist/social-providers/index.cjs +14 -5
- 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 +14 -5
- package/dist/types/index.d.cts +3 -4
- package/dist/types/index.d.mts +3 -4
- package/dist/types/index.d.ts +3 -4
- package/package.json +16 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.BiQsvaIP.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.B2Fw1vhH.cjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.D-oLmHIj.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth
|
|
4
|
+
import '../../shared/better-auth.bKwabe3I.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.DU2QNVc_.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.BANAxdkL.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.BiQsvaIP.cjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.B2Fw1vhH.cjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.D-oLmHIj.mjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth
|
|
5
|
+
import '../../shared/better-auth.bKwabe3I.mjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.DU2QNVc_.js';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.BANAxdkL.js';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.BiQsvaIP.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.B2Fw1vhH.cjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.D-oLmHIj.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth
|
|
4
|
+
import '../../shared/better-auth.bKwabe3I.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.DU2QNVc_.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.BANAxdkL.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Db } from 'mongodb';
|
|
2
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.BiQsvaIP.cjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.B2Fw1vhH.cjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Db } from 'mongodb';
|
|
2
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.D-oLmHIj.mjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth
|
|
5
|
+
import '../../shared/better-auth.bKwabe3I.mjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Db } from 'mongodb';
|
|
2
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.DU2QNVc_.js';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.BANAxdkL.js';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.BiQsvaIP.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.B2Fw1vhH.cjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.D-oLmHIj.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth
|
|
4
|
+
import '../../shared/better-auth.bKwabe3I.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.DU2QNVc_.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.BANAxdkL.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
package/dist/adapters/test.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.BiQsvaIP.cjs';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.B2Fw1vhH.cjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
package/dist/adapters/test.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.D-oLmHIj.mjs';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth
|
|
4
|
+
import '../shared/better-auth.bKwabe3I.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
package/dist/adapters/test.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.DU2QNVc_.js';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.BANAxdkL.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
package/dist/api/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const refreshToken = require('../shared/better-auth.
|
|
4
|
+
const refreshToken = require('../shared/better-auth.BDYXUcLv.cjs');
|
|
5
5
|
const zod = require('zod');
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
7
|
const schema = require('../shared/better-auth.C5H9XEzZ.cjs');
|
|
8
8
|
const env = require('../shared/better-auth.DiSjtgs9.cjs');
|
|
9
9
|
const logger = require('../shared/better-auth.GpOOav9x.cjs');
|
|
10
|
-
const getRequestIp = require('../shared/better-auth.
|
|
10
|
+
const getRequestIp = require('../shared/better-auth.BSsp73pg.cjs');
|
|
11
11
|
const defu = require('defu');
|
|
12
12
|
require('../social-providers/index.cjs');
|
|
13
13
|
require('@better-fetch/fetch');
|
|
14
14
|
require('jose');
|
|
15
|
-
require('../shared/better-auth.
|
|
15
|
+
require('../shared/better-auth.Cm29ZKNJ.cjs');
|
|
16
16
|
require('../shared/better-auth.C1hdVENX.cjs');
|
|
17
17
|
require('@better-auth/utils/hash');
|
|
18
18
|
require('@better-auth/utils/base64');
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
2
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.BsbUy_em.cjs';
|
|
3
2
|
export { APIError } from 'better-call';
|
|
3
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.BiQsvaIP.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.B2Fw1vhH.cjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'jose';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
2
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.B5Z63CQV.mjs';
|
|
3
2
|
export { APIError } from 'better-call';
|
|
3
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.D-oLmHIj.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth
|
|
5
|
+
import '../shared/better-auth.bKwabe3I.mjs';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'jose';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
2
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.i71gRg2g.js';
|
|
3
2
|
export { APIError } from 'better-call';
|
|
3
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b8 as originCheck, b7 as originCheckMiddleware, b6 as refreshToken, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.DU2QNVc_.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.BANAxdkL.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'jose';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { APIError, toResponse, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, e as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, b as getSession, i as originCheckMiddleware, j as error, k as ok, r as refreshToken, m as unlinkAccount, n as deleteUserCallback, p as listUserAccounts, q as linkSocialAccount, t as revokeOtherSessions, v as revokeSessions, x as revokeSession, y as forgetPasswordCallback, z as deleteUser, A as setPassword, C as changePassword, D as changeEmail, E as sendVerificationEmail, F as verifyEmail, G as resetPassword, I as forgetPassword, J as signInEmail, K as signOut, L as callbackOAuth, M as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, O as optionsMiddleware, o as originCheck, N as requestOnlySessionMiddleware, d as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, e as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, b as getSession, i as originCheckMiddleware, j as error, k as ok, r as refreshToken, m as unlinkAccount, n as deleteUserCallback, p as listUserAccounts, q as linkSocialAccount, t as revokeOtherSessions, v as revokeSessions, x as revokeSession, y as forgetPasswordCallback, z as deleteUser, A as setPassword, C as changePassword, D as changeEmail, E as sendVerificationEmail, F as verifyEmail, G as resetPassword, I as forgetPassword, J as signInEmail, K as signOut, L as callbackOAuth, M as signInSocial } from '../shared/better-auth.D4jH-sJA.mjs';
|
|
4
|
+
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, O as optionsMiddleware, o as originCheck, N as requestOnlySessionMiddleware, d as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.D4jH-sJA.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.CepcSj5H.mjs';
|
|
8
8
|
import { b as isDevelopment } from '../shared/better-auth.8zoxzg-F.mjs';
|
|
9
9
|
import { a as logger } from '../shared/better-auth.DH3YjMQH.mjs';
|
|
10
|
-
import { g as getIp } from '../shared/better-auth.
|
|
10
|
+
import { g as getIp } from '../shared/better-auth.BrOpzmqo.mjs';
|
|
11
11
|
import defu from 'defu';
|
|
12
12
|
import '../social-providers/index.mjs';
|
|
13
13
|
import '@better-fetch/fetch';
|
|
14
14
|
import 'jose';
|
|
15
|
-
import '../shared/better-auth.
|
|
15
|
+
import '../shared/better-auth.DCVeP5-W.mjs';
|
|
16
16
|
import '../shared/better-auth.CW6D9eSx.mjs';
|
|
17
17
|
import '@better-auth/utils/hash';
|
|
18
18
|
import '@better-auth/utils/base64';
|