better-auth 1.2.6-beta.2 → 1.2.6-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +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 +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/plugins/index.cjs +1 -1
- package/dist/client/plugins/index.d.cts +6 -6
- package/dist/client/plugins/index.d.mts +6 -6
- package/dist/client/plugins/index.d.ts +6 -6
- package/dist/client/plugins/index.mjs +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/index.cjs +2 -2
- 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 +3 -3
- package/dist/integrations/next-js.cjs +3 -3
- 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 +3 -3
- 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/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.d.cts +4 -4
- package/dist/oauth2/index.d.mts +4 -4
- package/dist/oauth2/index.d.ts +4 -4
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +50 -17
- package/dist/plugins/admin/index.d.mts +50 -17
- package/dist/plugins/admin/index.d.ts +50 -17
- 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/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/index.cjs +4 -4
- package/dist/plugins/index.d.cts +5 -5
- package/dist/plugins/index.d.mts +5 -5
- package/dist/plugins/index.d.ts +5 -5
- package/dist/plugins/index.mjs +5 -5
- 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 +7 -3
- package/dist/plugins/oidc-provider/index.d.cts +2 -2
- package/dist/plugins/oidc-provider/index.d.mts +2 -2
- package/dist/plugins/oidc-provider/index.d.ts +2 -2
- package/dist/plugins/oidc-provider/index.mjs +7 -3
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- 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 +29 -29
- package/dist/plugins/organization/index.d.mts +29 -29
- package/dist/plugins/organization/index.d.ts +29 -29
- 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 +2 -2
- package/dist/plugins/sso/index.d.mts +2 -2
- package/dist/plugins/sso/index.d.ts +2 -2
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.cjs +2 -2
- 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 +2 -2
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +2 -2
- package/dist/plugins/username/index.d.mts +2 -2
- package/dist/plugins/username/index.d.ts +2 -2
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.DIOWNBS2.d.ts → better-auth.-X_5SIE9.d.ts} +1 -1
- package/dist/shared/{better-auth.BTnAiI8e.d.mts → better-auth.-kZ-JqcP.d.mts} +1 -1
- package/dist/shared/{better-auth.CTQDLJN7.d.mts → better-auth.B5Z63CQV.d.mts} +2 -2
- package/dist/shared/{better-auth.DAnkIG1r.d.cts → better-auth.BGAbPcLi.d.mts} +1 -1
- package/dist/shared/{better-auth.q7ChvjiM.cjs → better-auth.BGUZBbM4.cjs} +3 -2
- package/dist/shared/{better-auth.CtSY9Kmu.d.cts → better-auth.BLFZHn6S.d.cts} +1 -1
- package/dist/shared/{better-auth.9knM1kR4.mjs → better-auth.BVu0qf-P.mjs} +4 -3
- package/dist/shared/{better-auth.cN4sTcuQ.mjs → better-auth.Bhu3YSmJ.mjs} +35 -10
- package/dist/shared/{better-auth.BDAwKjlL.d.cts → better-auth.BsbUy_em.d.cts} +2 -2
- package/dist/shared/{better-auth.DqGx7Ip8.cjs → better-auth.CXagCPAv.cjs} +35 -10
- package/dist/shared/{better-auth.BBG0jAhH.d.mts → better-auth.CjhKonVM.d.mts} +1 -1
- package/dist/shared/{better-auth.BAfIsot3.d.ts → better-auth.Cr5ixZZK.d.ts} +1 -1
- package/dist/shared/{better-auth.2rfXmCNS.mjs → better-auth.CsqL1BAE.mjs} +1 -1
- package/dist/shared/{better-auth.B7irTavj.cjs → better-auth.D5DEHFvt.cjs} +4 -3
- package/dist/shared/{better-auth.DZPJQ81N.d.mts → better-auth.DkJ_Tcxu.d.cts} +1 -1
- package/dist/shared/{better-auth.BK4Kh5QZ.mjs → better-auth.Dmtp4RCi.mjs} +3 -2
- package/dist/shared/{better-auth.CH6fRG6d.d.cts → better-auth.DpnaS1Ry.d.cts} +1 -1
- package/dist/shared/{better-auth.b0MLzqQX.cjs → better-auth.Dy3T8VFf.cjs} +5 -3
- package/dist/shared/{better-auth.TNTVT6jt.cjs → better-auth.USxghgYQ.cjs} +1 -1
- package/dist/shared/{better-auth.DQ-pFMwp.mjs → better-auth.XIJlJT9f.mjs} +5 -3
- package/dist/shared/{better-auth.tpz8D0AA.d.ts → better-auth.i71gRg2g.d.ts} +2 -2
- package/dist/shared/{better-auth.DCxEy-As.d.ts → better-auth.ulRwlmfz.d.ts} +1 -1
- package/dist/social-providers/index.cjs +11 -12
- 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 +11 -12
- 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 +1 -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.BsbUy_em.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DpnaS1Ry.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.B5Z63CQV.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.-kZ-JqcP.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.i71gRg2g.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.Cr5ixZZK.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.BsbUy_em.cjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DpnaS1Ry.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.B5Z63CQV.mjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.-kZ-JqcP.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.i71gRg2g.js';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.Cr5ixZZK.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.BsbUy_em.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DpnaS1Ry.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.B5Z63CQV.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.-kZ-JqcP.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.i71gRg2g.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.Cr5ixZZK.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.BsbUy_em.cjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DpnaS1Ry.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.B5Z63CQV.mjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.-kZ-JqcP.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.i71gRg2g.js';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.Cr5ixZZK.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.BsbUy_em.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DpnaS1Ry.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.B5Z63CQV.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.-kZ-JqcP.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.i71gRg2g.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.Cr5ixZZK.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.BsbUy_em.cjs';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.DpnaS1Ry.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.B5Z63CQV.mjs';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.-kZ-JqcP.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.i71gRg2g.js';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.Cr5ixZZK.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
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 refreshToken = require('../shared/better-auth.
|
|
4
|
+
const refreshToken = require('../shared/better-auth.Dy3T8VFf.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');
|
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.
|
|
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
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.DpnaS1Ry.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.
|
|
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
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.-kZ-JqcP.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.
|
|
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
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.Cr5ixZZK.js';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-sqlite3';
|
|
8
8
|
import 'jose';
|
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 { a as createAuthEndpoint, B as BASE_ERROR_CODES, d as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, e 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, b as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, d as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, e 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.XIJlJT9f.mjs';
|
|
4
|
+
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, O as optionsMiddleware, o as originCheck, N as requestOnlySessionMiddleware, b as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.XIJlJT9f.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';
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.BsbUy_em.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';
|
|
@@ -9,7 +9,7 @@ import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
|
9
9
|
export * from 'nanostores';
|
|
10
10
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.Bi8FQwDD.cjs';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.DpnaS1Ry.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-call';
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.B5Z63CQV.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';
|
|
@@ -9,7 +9,7 @@ import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
|
9
9
|
export * from 'nanostores';
|
|
10
10
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.Bi8FQwDD.mjs';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.-kZ-JqcP.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-call';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.i71gRg2g.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';
|
|
@@ -9,7 +9,7 @@ import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
|
9
9
|
export * from 'nanostores';
|
|
10
10
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.Bi8FQwDD.js';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../shared/better-auth.
|
|
12
|
+
import '../shared/better-auth.Cr5ixZZK.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-call';
|
|
@@ -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 { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.BsbUy_em.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,12 +20,12 @@ 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.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.BLFZHn6S.cjs';
|
|
24
24
|
export * from '@simplewebauthn/server';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import 'better-call';
|
|
27
27
|
import '../../plugins/organization/access/index.cjs';
|
|
28
|
-
import '../../shared/better-auth.
|
|
28
|
+
import '../../shared/better-auth.DpnaS1Ry.cjs';
|
|
29
29
|
import 'jose';
|
|
30
30
|
import 'kysely';
|
|
31
31
|
import 'better-sqlite3';
|
|
@@ -432,13 +432,13 @@ declare const inferAdditionalFields: <T, S extends {
|
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
interface AdminClientOptions {
|
|
435
|
-
ac
|
|
436
|
-
roles
|
|
435
|
+
ac?: AccessControl;
|
|
436
|
+
roles?: {
|
|
437
437
|
[key in string]: Role;
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
440
|
declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
441
|
-
id: "
|
|
441
|
+
id: "admin-client";
|
|
442
442
|
$InferServerPlugin: ReturnType<typeof admin<{
|
|
443
443
|
ac: O["ac"] extends AccessControl ? O["ac"] : AccessControl<{
|
|
444
444
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password"];
|
|
@@ -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 { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.B5Z63CQV.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,12 +20,12 @@ 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.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.CjhKonVM.mjs';
|
|
24
24
|
export * from '@simplewebauthn/server';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import 'better-call';
|
|
27
27
|
import '../../plugins/organization/access/index.mjs';
|
|
28
|
-
import '../../shared/better-auth.
|
|
28
|
+
import '../../shared/better-auth.-kZ-JqcP.mjs';
|
|
29
29
|
import 'jose';
|
|
30
30
|
import 'kysely';
|
|
31
31
|
import 'better-sqlite3';
|
|
@@ -432,13 +432,13 @@ declare const inferAdditionalFields: <T, S extends {
|
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
interface AdminClientOptions {
|
|
435
|
-
ac
|
|
436
|
-
roles
|
|
435
|
+
ac?: AccessControl;
|
|
436
|
+
roles?: {
|
|
437
437
|
[key in string]: Role;
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
440
|
declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
441
|
-
id: "
|
|
441
|
+
id: "admin-client";
|
|
442
442
|
$InferServerPlugin: ReturnType<typeof admin<{
|
|
443
443
|
ac: O["ac"] extends AccessControl ? O["ac"] : AccessControl<{
|
|
444
444
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password"];
|
|
@@ -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 { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.i71gRg2g.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,12 +20,12 @@ 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.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.ulRwlmfz.js';
|
|
24
24
|
export * from '@simplewebauthn/server';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import 'better-call';
|
|
27
27
|
import '../../plugins/organization/access/index.js';
|
|
28
|
-
import '../../shared/better-auth.
|
|
28
|
+
import '../../shared/better-auth.Cr5ixZZK.js';
|
|
29
29
|
import 'jose';
|
|
30
30
|
import 'kysely';
|
|
31
31
|
import 'better-sqlite3';
|
|
@@ -432,13 +432,13 @@ declare const inferAdditionalFields: <T, S extends {
|
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
interface AdminClientOptions {
|
|
435
|
-
ac
|
|
436
|
-
roles
|
|
435
|
+
ac?: AccessControl;
|
|
436
|
+
roles?: {
|
|
437
437
|
[key in string]: Role;
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
440
|
declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
441
|
-
id: "
|
|
441
|
+
id: "admin-client";
|
|
442
442
|
$InferServerPlugin: ReturnType<typeof admin<{
|
|
443
443
|
ac: O["ac"] extends AccessControl ? O["ac"] : AccessControl<{
|
|
444
444
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password"];
|
|
@@ -7,10 +7,10 @@ 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 { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BsbUy_em.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.DpnaS1Ry.cjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'kysely';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -7,10 +7,10 @@ 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 { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.B5Z63CQV.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.-kZ-JqcP.mjs';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'kysely';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -7,10 +7,10 @@ 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 { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.i71gRg2g.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.Cr5ixZZK.js';
|
|
14
14
|
import 'jose';
|
|
15
15
|
import 'kysely';
|
|
16
16
|
import 'better-sqlite3';
|
|
@@ -4,11 +4,11 @@ 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 { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BsbUy_em.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.DpnaS1Ry.cjs';
|
|
12
12
|
import 'jose';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -4,11 +4,11 @@ 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 { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.B5Z63CQV.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.-kZ-JqcP.mjs';
|
|
12
12
|
import 'jose';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -4,11 +4,11 @@ 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 { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.i71gRg2g.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../../shared/better-auth.
|
|
11
|
+
import '../../shared/better-auth.Cr5ixZZK.js';
|
|
12
12
|
import 'jose';
|
|
13
13
|
import 'kysely';
|
|
14
14
|
import 'better-sqlite3';
|
|
@@ -6,10 +6,10 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
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
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BsbUy_em.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.DpnaS1Ry.cjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -6,10 +6,10 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
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
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.B5Z63CQV.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.-kZ-JqcP.mjs';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|
|
@@ -6,10 +6,10 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
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
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.i71gRg2g.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.Cr5ixZZK.js';
|
|
13
13
|
import 'jose';
|
|
14
14
|
import 'kysely';
|
|
15
15
|
import 'better-sqlite3';
|