better-auth 1.3.9-beta.3 → 1.3.9
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 +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.ts +1 -1
- package/dist/adapters/index.d.cts +2 -2
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.d.ts +2 -2
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.d.ts +1 -1
- package/dist/adapters/memory-adapter/index.d.cts +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.d.ts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.d.ts +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.mts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/plugins/index.cjs +2 -2
- package/dist/client/plugins/index.d.cts +10 -10
- package/dist/client/plugins/index.d.mts +10 -10
- package/dist/client/plugins/index.d.ts +10 -10
- package/dist/client/plugins/index.mjs +2 -2
- 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 +1 -1
- package/dist/cookies/index.d.mts +1 -1
- package/dist/cookies/index.d.ts +1 -1
- package/dist/db/index.d.cts +2 -2
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.d.ts +2 -2
- 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 +1 -1
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/next-js.d.ts +1 -1
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/node.d.ts +1 -1
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +1 -1
- package/dist/integrations/react-start.d.mts +1 -1
- package/dist/integrations/react-start.d.ts +1 -1
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +1 -1
- package/dist/integrations/svelte-kit.d.cts +1 -1
- package/dist/integrations/svelte-kit.d.mts +1 -1
- package/dist/integrations/svelte-kit.d.ts +1 -1
- package/dist/integrations/svelte-kit.mjs +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +2 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.d.ts +2 -2
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/access/index.cjs +2 -0
- package/dist/plugins/admin/access/index.d.cts +23 -23
- package/dist/plugins/admin/access/index.d.mts +23 -23
- package/dist/plugins/admin/access/index.d.ts +23 -23
- package/dist/plugins/admin/access/index.mjs +2 -0
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +97 -13
- package/dist/plugins/admin/index.d.mts +97 -13
- package/dist/plugins/admin/index.d.ts +97 -13
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +1 -1
- package/dist/plugins/anonymous/index.d.mts +1 -1
- package/dist/plugins/anonymous/index.d.ts +1 -1
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +1 -1
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.ts +1 -1
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.cjs +1 -1
- package/dist/plugins/custom-session/index.d.cts +1 -1
- package/dist/plugins/custom-session/index.d.mts +1 -1
- package/dist/plugins/custom-session/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.mjs +1 -1
- package/dist/plugins/device-authorization/index.d.cts +1 -1
- package/dist/plugins/device-authorization/index.d.mts +1 -1
- package/dist/plugins/device-authorization/index.d.ts +1 -1
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +1 -1
- package/dist/plugins/email-otp/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/generic-oauth/index.d.mts +1 -1
- package/dist/plugins/generic-oauth/index.d.ts +1 -1
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +7 -7
- 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 +8 -8
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +1 -1
- package/dist/plugins/jwt/index.d.mts +1 -1
- package/dist/plugins/jwt/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/multi-session/index.d.mts +1 -1
- package/dist/plugins/multi-session/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/oidc-provider/index.d.mts +1 -1
- package/dist/plugins/oidc-provider/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/one-time-token/index.d.mts +1 -1
- package/dist/plugins/one-time-token/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/open-api/index.d.mts +1 -1
- package/dist/plugins/open-api/index.d.ts +1 -1
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +4 -4
- package/dist/plugins/organization/index.d.cts +1 -1
- package/dist/plugins/organization/index.d.mts +1 -1
- package/dist/plugins/organization/index.d.ts +1 -1
- package/dist/plugins/organization/index.mjs +4 -4
- package/dist/plugins/passkey/index.cjs +1 -1
- package/dist/plugins/passkey/index.d.cts +1 -1
- package/dist/plugins/passkey/index.d.mts +1 -1
- package/dist/plugins/passkey/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/phone-number/index.d.mts +1 -1
- package/dist/plugins/phone-number/index.d.ts +1 -1
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/siwe/index.cjs +1 -1
- package/dist/plugins/siwe/index.d.cts +1 -1
- package/dist/plugins/siwe/index.d.mts +1 -1
- package/dist/plugins/siwe/index.d.ts +1 -1
- package/dist/plugins/siwe/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +1 -1
- package/dist/plugins/sso/index.d.cts +1 -1
- package/dist/plugins/sso/index.d.mts +1 -1
- package/dist/plugins/sso/index.d.ts +1 -1
- 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 +1 -1
- package/dist/plugins/two-factor/index.d.mts +1 -1
- package/dist/plugins/two-factor/index.d.ts +1 -1
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.d.ts +1 -1
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.CoVLmzpl.d.mts → better-auth.-KqwM6Dk.d.ts} +2 -2
- package/dist/shared/{better-auth.BZTBs9Yy.mjs → better-auth.1do_0Yab.mjs} +3 -3
- package/dist/shared/{better-auth.JpLgxXTM.d.ts → better-auth.B-Y3tALa.d.mts} +2 -2
- package/dist/shared/{better-auth.5WTE-uUO.mjs → better-auth.B1aLAOp3.mjs} +1 -1
- package/dist/shared/{better-auth.DQ6bmgix.mjs → better-auth.BLxUOrSM.mjs} +2 -2
- package/dist/shared/{better-auth.D9PzlwY_.mjs → better-auth.BvjZXQPa.mjs} +1 -1
- package/dist/shared/{better-auth.DeMwhkrW.d.ts → better-auth.C-DLukV1.d.ts} +1 -1
- package/dist/shared/{better-auth.B-GguVp5.cjs → better-auth.CUS1tZYm.cjs} +1 -1
- package/dist/shared/{better-auth.CSEecXfV.mjs → better-auth.CewjboYP.mjs} +4 -4
- package/dist/shared/{better-auth.DEKJQy4E.cjs → better-auth.CkWzYwIl.cjs} +1 -1
- package/dist/shared/{better-auth.Ca8yAcQj.d.cts → better-auth.Cri7Gd3F.d.cts} +1 -1
- package/dist/shared/{better-auth.DLsqH9Hw.mjs → better-auth.CujFcMib.mjs} +1 -1
- package/dist/shared/{better-auth.BWl2NB1B.mjs → better-auth.Cxcr0S4x.mjs} +1 -1
- package/dist/shared/{better-auth.C_xnnUUV.d.cts → better-auth.CxoVMW7L.d.cts} +1 -1
- package/dist/shared/{better-auth.DyXUm-Ov.d.cts → better-auth.DEfCvgT7.d.cts} +1 -1
- package/dist/shared/{better-auth.CRFFLEbh.cjs → better-auth.DGUCyils.cjs} +1 -1
- package/dist/shared/{better-auth.BlsHS68J.cjs → better-auth.DSI5WTAg.cjs} +4 -4
- package/dist/shared/{better-auth.CdLjcJ6z.cjs → better-auth.Dn1vueo5.cjs} +2 -2
- package/dist/shared/{better-auth.ZRlOGoSX.d.mts → better-auth.DohEz_02.d.mts} +1 -1
- package/dist/shared/{better-auth.BTXYBs0G.d.mts → better-auth.DpiViI0d.d.mts} +1 -1
- package/dist/shared/{better-auth.CtgUZb45.cjs → better-auth.DwP9mHxb.cjs} +3 -3
- package/dist/shared/{better-auth.Nv1Nta10.d.ts → better-auth.F4gRWoeQ.d.ts} +1 -1
- package/dist/shared/{better-auth.CtB1M_c7.mjs → better-auth.Q1vWPhO4.mjs} +64 -3
- package/dist/shared/{better-auth.DPsIzckY.cjs → better-auth.QRjaqA1W.cjs} +1 -1
- package/dist/shared/{better-auth.BVUwL7ru.cjs → better-auth.v4QNWZDp.cjs} +62 -1
- package/dist/social-providers/index.cjs +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 +2 -2
- package/dist/test-utils/index.d.mts +2 -2
- package/dist/test-utils/index.d.ts +2 -2
- package/dist/test-utils/index.mjs +3 -3
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/shared/{better-auth.CD4Ybm-b.d.mts → better-auth.BNm-Id9Y.d.mts} +2 -2
- package/dist/shared/{better-auth.H8vroz5B.d.cts → better-auth.BWDlmABj.d.cts} +2 -2
- package/dist/shared/{better-auth.Bp4uCDla.d.ts → better-auth.tThsKLej.d.ts} +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
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.BWDlmABj.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.BNm-Id9Y.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.tThsKLej.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.BWDlmABj.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BWDlmABj.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
@@ -1,5 +1,5 @@
|
|
|
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.BNm-Id9Y.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.BNm-Id9Y.mjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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.tThsKLej.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.tThsKLej.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import 'zod/v4';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BWDlmABj.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.BNm-Id9Y.mjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.tThsKLej.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../../shared/better-auth.DTtXpZYr.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.BWDlmABj.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.BNm-Id9Y.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.tThsKLej.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.BWDlmABj.cjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.BNm-Id9Y.mjs';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.tThsKLej.js';
|
|
2
2
|
import { Db } from 'mongodb';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.BWDlmABj.cjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.BNm-Id9Y.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
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.tThsKLej.js';
|
|
2
2
|
import 'kysely';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod/v4';
|
package/dist/adapters/test.d.cts
CHANGED
package/dist/adapters/test.d.mts
CHANGED
package/dist/adapters/test.d.ts
CHANGED
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.DSI5WTAg.cjs');
|
|
5
5
|
const session = require('../shared/better-auth.CLv80Pwz.cjs');
|
|
6
6
|
const z = require('zod/v4');
|
|
7
7
|
const cookies_index = require('../shared/better-auth.D5q0JUiv.cjs');
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.BaMSx6K3.cjs';
|
|
2
|
-
export { z as AuthEndpoint, D as AuthMiddleware, bp as accountInfo, aS as callbackOAuth, bg as changeEmail, bc as changePassword, aN as checkEndpointConflicts, y as createAuthEndpoint, x as createAuthMiddleware, b7 as createEmailVerificationToken, be as deleteUser, bf as deleteUserCallback, bh as error, b3 as forgetPassword, b5 as forgetPasswordCallback, aY as freshSessionMiddleware, bn as getAccessToken, aO as getEndpoints, aU as getSession, aV as getSessionFromCtx, aT as getSessionQuerySchema, bl as linkSocialAccount, aZ as listSessions, bk as listUserAccounts, bi as ok, w as optionsMiddleware, br as originCheck, bq as originCheckMiddleware, bo as refreshToken, aX as requestOnlySessionMiddleware, b2 as requestPasswordReset, b4 as requestPasswordResetCallback, b6 as resetPassword, b0 as revokeOtherSessions, a_ as revokeSession, a$ as revokeSessions, aP as router, b9 as sendVerificationEmail, b8 as sendVerificationEmailFn, aW as sessionMiddleware, bd as setPassword, aR as signInEmail, aQ as signInSocial, b1 as signOut, bj as signUpEmail, bm as unlinkAccount, bb as updateUser, ba as verifyEmail } from '../shared/better-auth.
|
|
2
|
+
export { z as AuthEndpoint, D as AuthMiddleware, bp as accountInfo, aS as callbackOAuth, bg as changeEmail, bc as changePassword, aN as checkEndpointConflicts, y as createAuthEndpoint, x as createAuthMiddleware, b7 as createEmailVerificationToken, be as deleteUser, bf as deleteUserCallback, bh as error, b3 as forgetPassword, b5 as forgetPasswordCallback, aY as freshSessionMiddleware, bn as getAccessToken, aO as getEndpoints, aU as getSession, aV as getSessionFromCtx, aT as getSessionQuerySchema, bl as linkSocialAccount, aZ as listSessions, bk as listUserAccounts, bi as ok, w as optionsMiddleware, br as originCheck, bq as originCheckMiddleware, bo as refreshToken, aX as requestOnlySessionMiddleware, b2 as requestPasswordReset, b4 as requestPasswordResetCallback, b6 as resetPassword, b0 as revokeOtherSessions, a_ as revokeSession, a$ as revokeSessions, aP as router, b9 as sendVerificationEmail, b8 as sendVerificationEmailFn, aW as sessionMiddleware, bd as setPassword, aR as signInEmail, aQ as signInSocial, b1 as signOut, bj as signUpEmail, bm as unlinkAccount, bb as updateUser, ba as verifyEmail } from '../shared/better-auth.BWDlmABj.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.cjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.DR57bygo.mjs';
|
|
2
|
-
export { z as AuthEndpoint, D as AuthMiddleware, bp as accountInfo, aS as callbackOAuth, bg as changeEmail, bc as changePassword, aN as checkEndpointConflicts, y as createAuthEndpoint, x as createAuthMiddleware, b7 as createEmailVerificationToken, be as deleteUser, bf as deleteUserCallback, bh as error, b3 as forgetPassword, b5 as forgetPasswordCallback, aY as freshSessionMiddleware, bn as getAccessToken, aO as getEndpoints, aU as getSession, aV as getSessionFromCtx, aT as getSessionQuerySchema, bl as linkSocialAccount, aZ as listSessions, bk as listUserAccounts, bi as ok, w as optionsMiddleware, br as originCheck, bq as originCheckMiddleware, bo as refreshToken, aX as requestOnlySessionMiddleware, b2 as requestPasswordReset, b4 as requestPasswordResetCallback, b6 as resetPassword, b0 as revokeOtherSessions, a_ as revokeSession, a$ as revokeSessions, aP as router, b9 as sendVerificationEmail, b8 as sendVerificationEmailFn, aW as sessionMiddleware, bd as setPassword, aR as signInEmail, aQ as signInSocial, b1 as signOut, bj as signUpEmail, bm as unlinkAccount, bb as updateUser, ba as verifyEmail } from '../shared/better-auth.
|
|
2
|
+
export { z as AuthEndpoint, D as AuthMiddleware, bp as accountInfo, aS as callbackOAuth, bg as changeEmail, bc as changePassword, aN as checkEndpointConflicts, y as createAuthEndpoint, x as createAuthMiddleware, b7 as createEmailVerificationToken, be as deleteUser, bf as deleteUserCallback, bh as error, b3 as forgetPassword, b5 as forgetPasswordCallback, aY as freshSessionMiddleware, bn as getAccessToken, aO as getEndpoints, aU as getSession, aV as getSessionFromCtx, aT as getSessionQuerySchema, bl as linkSocialAccount, aZ as listSessions, bk as listUserAccounts, bi as ok, w as optionsMiddleware, br as originCheck, bq as originCheckMiddleware, bo as refreshToken, aX as requestOnlySessionMiddleware, b2 as requestPasswordReset, b4 as requestPasswordResetCallback, b6 as resetPassword, b0 as revokeOtherSessions, a_ as revokeSession, a$ as revokeSessions, aP as router, b9 as sendVerificationEmail, b8 as sendVerificationEmailFn, aW as sessionMiddleware, bd as setPassword, aR as signInEmail, aQ as signInSocial, b1 as signOut, bj as signUpEmail, bm as unlinkAccount, bb as updateUser, ba as verifyEmail } from '../shared/better-auth.BNm-Id9Y.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.mjs';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../shared/better-auth.B5FL4Q2B.js';
|
|
2
|
-
export { z as AuthEndpoint, D as AuthMiddleware, bp as accountInfo, aS as callbackOAuth, bg as changeEmail, bc as changePassword, aN as checkEndpointConflicts, y as createAuthEndpoint, x as createAuthMiddleware, b7 as createEmailVerificationToken, be as deleteUser, bf as deleteUserCallback, bh as error, b3 as forgetPassword, b5 as forgetPasswordCallback, aY as freshSessionMiddleware, bn as getAccessToken, aO as getEndpoints, aU as getSession, aV as getSessionFromCtx, aT as getSessionQuerySchema, bl as linkSocialAccount, aZ as listSessions, bk as listUserAccounts, bi as ok, w as optionsMiddleware, br as originCheck, bq as originCheckMiddleware, bo as refreshToken, aX as requestOnlySessionMiddleware, b2 as requestPasswordReset, b4 as requestPasswordResetCallback, b6 as resetPassword, b0 as revokeOtherSessions, a_ as revokeSession, a$ as revokeSessions, aP as router, b9 as sendVerificationEmail, b8 as sendVerificationEmailFn, aW as sessionMiddleware, bd as setPassword, aR as signInEmail, aQ as signInSocial, b1 as signOut, bj as signUpEmail, bm as unlinkAccount, bb as updateUser, ba as verifyEmail } from '../shared/better-auth.
|
|
2
|
+
export { z as AuthEndpoint, D as AuthMiddleware, bp as accountInfo, aS as callbackOAuth, bg as changeEmail, bc as changePassword, aN as checkEndpointConflicts, y as createAuthEndpoint, x as createAuthMiddleware, b7 as createEmailVerificationToken, be as deleteUser, bf as deleteUserCallback, bh as error, b3 as forgetPassword, b5 as forgetPasswordCallback, aY as freshSessionMiddleware, bn as getAccessToken, aO as getEndpoints, aU as getSession, aV as getSessionFromCtx, aT as getSessionQuerySchema, bl as linkSocialAccount, aZ as listSessions, bk as listUserAccounts, bi as ok, w as optionsMiddleware, br as originCheck, bq as originCheckMiddleware, bo as refreshToken, aX as requestOnlySessionMiddleware, b2 as requestPasswordReset, b4 as requestPasswordResetCallback, b6 as resetPassword, b0 as revokeOtherSessions, a_ as revokeSession, a$ as revokeSessions, aP as router, b9 as sendVerificationEmail, b8 as sendVerificationEmailFn, aW as sessionMiddleware, bd as setPassword, aR as signInEmail, aQ as signInSocial, b1 as signOut, bj as signUpEmail, bm as unlinkAccount, bb as updateUser, ba as verifyEmail } from '../shared/better-auth.tThsKLej.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.DTtXpZYr.js';
|
|
5
5
|
import 'zod/v4/core';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIError, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { k as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, l as originCheckMiddleware, m as error, n as ok, q as accountInfo, x as getAccessToken, y as refreshToken, z as unlinkAccount, A as deleteUserCallback, B as listUserAccounts, C as linkSocialAccount, D as requestPasswordResetCallback, E as requestPasswordReset, F as forgetPasswordCallback, G as deleteUser, I as setPassword, J as changePassword, K as changeEmail, L as sendVerificationEmail, M as verifyEmail, N as resetPassword, O as forgetPassword, P as signInEmail, Q as signOut, R as callbackOAuth, S as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth.
|
|
3
|
+
import { k as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, l as originCheckMiddleware, m as error, n as ok, q as accountInfo, x as getAccessToken, y as refreshToken, z as unlinkAccount, A as deleteUserCallback, B as listUserAccounts, C as linkSocialAccount, D as requestPasswordResetCallback, E as requestPasswordReset, F as forgetPasswordCallback, G as deleteUser, I as setPassword, J as changePassword, K as changeEmail, L as sendVerificationEmail, M as verifyEmail, N as resetPassword, O as forgetPassword, P as signInEmail, Q as signOut, R as callbackOAuth, S as signInSocial } from '../shared/better-auth.CewjboYP.mjs';
|
|
4
|
+
export { o as originCheck, T as sendVerificationEmailFn } from '../shared/better-auth.CewjboYP.mjs';
|
|
5
5
|
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, l as listSessions, b as getSession, r as revokeOtherSessions, d as revokeSessions, e as revokeSession } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
6
6
|
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, h as getSessionQuerySchema, o as optionsMiddleware, i as requestOnlySessionMiddleware, s as sessionMiddleware } from '../shared/better-auth.DV5EHeYG.mjs';
|
|
7
7
|
import * as z from 'zod/v4';
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.BWDlmABj.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, S as SessionQueryParams } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e 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, S as SessionQueryParams } from '../shared/better-auth.Cri7Gd3F.cjs';
|
|
6
|
+
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e as Store } from '../shared/better-auth.Cri7Gd3F.cjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.BNm-Id9Y.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, S as SessionQueryParams } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e 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, S as SessionQueryParams } from '../shared/better-auth.DohEz_02.mjs';
|
|
6
|
+
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e as Store } from '../shared/better-auth.DohEz_02.mjs';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, r as BetterAuthPlugin, B as BetterAuthOptions } from '../shared/better-auth.tThsKLej.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, S as SessionQueryParams } from '../shared/better-auth.
|
|
6
|
-
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e 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, S as SessionQueryParams } from '../shared/better-auth.F4gRWoeQ.js';
|
|
6
|
+
export { A as AtomListener, i as InferAdditionalFromClient, f as InferPluginsFromClient, g as InferSessionFromClient, h as InferUserFromClient, e as Store } from '../shared/better-auth.F4gRWoeQ.js';
|
|
7
7
|
import * as nanostores from 'nanostores';
|
|
8
8
|
import { Atom, PreinitializedWritableAtom } from 'nanostores';
|
|
9
9
|
export * from 'nanostores';
|
|
@@ -5,14 +5,14 @@ require('@better-fetch/fetch');
|
|
|
5
5
|
require('../../shared/better-auth.B6fIklBU.cjs');
|
|
6
6
|
const query = require('../../shared/better-auth.CYZmwTIS.cjs');
|
|
7
7
|
const plugins_organization_access_index = require('../../plugins/organization/access/index.cjs');
|
|
8
|
-
const hasPermission = require('../../shared/better-auth.
|
|
8
|
+
const hasPermission = require('../../shared/better-auth.CkWzYwIl.cjs');
|
|
9
9
|
const browser = require('@simplewebauthn/browser');
|
|
10
10
|
const client = require('../../shared/better-auth.DnER2-iT.cjs');
|
|
11
11
|
const plugins_admin_access_index = require('../../plugins/admin/access/index.cjs');
|
|
12
12
|
const hasPermission$1 = require('../../shared/better-auth.BW8BpneG.cjs');
|
|
13
13
|
require('zod/v4');
|
|
14
14
|
require('better-call');
|
|
15
|
-
require('../../shared/better-auth.
|
|
15
|
+
require('../../shared/better-auth.DSI5WTAg.cjs');
|
|
16
16
|
require('../../shared/better-auth.CLv80Pwz.cjs');
|
|
17
17
|
require('@better-auth/utils/base64');
|
|
18
18
|
require('@better-auth/utils/hmac');
|
|
@@ -2,9 +2,9 @@ import { organization, InferMember, InferInvitation, Team, Organization, Member,
|
|
|
2
2
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.cjs';
|
|
3
3
|
import * as nanostores from 'nanostores';
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.
|
|
5
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.BWDlmABj.cjs';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.Cri7Gd3F.cjs';
|
|
8
8
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
9
9
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
10
10
|
import { username } from '../../plugins/username/index.cjs';
|
|
@@ -21,7 +21,7 @@ import { multiSession } from '../../plugins/multi-session/index.cjs';
|
|
|
21
21
|
import { emailOTP } from '../../plugins/email-otp/index.cjs';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.cjs';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.cjs';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.CxoVMW7L.cjs';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.cjs';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.cjs';
|
|
@@ -641,7 +641,7 @@ declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
|
641
641
|
id: "admin-client";
|
|
642
642
|
$InferServerPlugin: ReturnType<typeof admin<{
|
|
643
643
|
ac: O["ac"] extends AccessControl ? O["ac"] : AccessControl<{
|
|
644
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
644
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
645
645
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
646
646
|
}>;
|
|
647
647
|
roles: O["roles"] extends Record<string, Role> ? O["roles"] : {
|
|
@@ -658,25 +658,25 @@ declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
|
658
658
|
* @deprecated Use `permissions` instead
|
|
659
659
|
*/
|
|
660
660
|
permission: { [key in keyof (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
661
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
661
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
662
662
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
663
663
|
})]?: ((O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
664
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
664
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
665
665
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
666
666
|
})[key] extends readonly unknown[] ? (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
667
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
667
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
668
668
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
669
669
|
})[key][number] : never)[] | undefined; };
|
|
670
670
|
permissions?: never;
|
|
671
671
|
} | {
|
|
672
672
|
permissions: { [key in keyof (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
673
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
673
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
674
674
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
675
675
|
})]?: ((O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
676
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
676
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
677
677
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
678
678
|
})[key] extends readonly unknown[] ? (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
679
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
679
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
680
680
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
681
681
|
})[key][number] : never)[] | undefined; };
|
|
682
682
|
permission?: never;
|
|
@@ -2,9 +2,9 @@ import { organization, InferMember, InferInvitation, Team, Organization, Member,
|
|
|
2
2
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.mjs';
|
|
3
3
|
import * as nanostores from 'nanostores';
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.
|
|
5
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.BNm-Id9Y.mjs';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.DohEz_02.mjs';
|
|
8
8
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
9
9
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
10
10
|
import { username } from '../../plugins/username/index.mjs';
|
|
@@ -21,7 +21,7 @@ import { multiSession } from '../../plugins/multi-session/index.mjs';
|
|
|
21
21
|
import { emailOTP } from '../../plugins/email-otp/index.mjs';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.mjs';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.mjs';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.B-Y3tALa.mjs';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.mjs';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.mjs';
|
|
@@ -641,7 +641,7 @@ declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
|
641
641
|
id: "admin-client";
|
|
642
642
|
$InferServerPlugin: ReturnType<typeof admin<{
|
|
643
643
|
ac: O["ac"] extends AccessControl ? O["ac"] : AccessControl<{
|
|
644
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
644
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
645
645
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
646
646
|
}>;
|
|
647
647
|
roles: O["roles"] extends Record<string, Role> ? O["roles"] : {
|
|
@@ -658,25 +658,25 @@ declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
|
658
658
|
* @deprecated Use `permissions` instead
|
|
659
659
|
*/
|
|
660
660
|
permission: { [key in keyof (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
661
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
661
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
662
662
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
663
663
|
})]?: ((O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
664
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
664
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
665
665
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
666
666
|
})[key] extends readonly unknown[] ? (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
667
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
667
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
668
668
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
669
669
|
})[key][number] : never)[] | undefined; };
|
|
670
670
|
permissions?: never;
|
|
671
671
|
} | {
|
|
672
672
|
permissions: { [key in keyof (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
673
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
673
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
674
674
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
675
675
|
})]?: ((O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
676
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
676
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
677
677
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
678
678
|
})[key] extends readonly unknown[] ? (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
679
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
679
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
680
680
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
681
681
|
})[key][number] : never)[] | undefined; };
|
|
682
682
|
permission?: never;
|
|
@@ -2,9 +2,9 @@ import { organization, InferMember, InferInvitation, Team, Organization, Member,
|
|
|
2
2
|
import { AccessControl, Role, Statements } from '../../plugins/access/index.js';
|
|
3
3
|
import * as nanostores from 'nanostores';
|
|
4
4
|
import { atom } from 'nanostores';
|
|
5
|
-
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.
|
|
5
|
+
import { J as FieldAttribute, B as BetterAuthOptions, U as User, r as BetterAuthPlugin } from '../../shared/better-auth.tThsKLej.js';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DTtXpZYr.js';
|
|
7
|
-
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { e as Store, C as ClientOptions, S as SessionQueryParams } from '../../shared/better-auth.F4gRWoeQ.js';
|
|
8
8
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
9
9
|
import { BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
10
10
|
import { username } from '../../plugins/username/index.js';
|
|
@@ -21,7 +21,7 @@ import { multiSession } from '../../plugins/multi-session/index.js';
|
|
|
21
21
|
import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
22
22
|
import { sso } from '../../plugins/sso/index.js';
|
|
23
23
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
24
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
24
|
+
import { a as apiKey } from '../../shared/better-auth.-KqwM6Dk.js';
|
|
25
25
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
26
26
|
import { siwe } from '../../plugins/siwe/index.js';
|
|
27
27
|
export { deviceAuthorizationClient } from '../../plugins/device-authorization/index.js';
|
|
@@ -641,7 +641,7 @@ declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
|
641
641
|
id: "admin-client";
|
|
642
642
|
$InferServerPlugin: ReturnType<typeof admin<{
|
|
643
643
|
ac: O["ac"] extends AccessControl ? O["ac"] : AccessControl<{
|
|
644
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
644
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
645
645
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
646
646
|
}>;
|
|
647
647
|
roles: O["roles"] extends Record<string, Role> ? O["roles"] : {
|
|
@@ -658,25 +658,25 @@ declare const adminClient: <O extends AdminClientOptions>(options?: O) => {
|
|
|
658
658
|
* @deprecated Use `permissions` instead
|
|
659
659
|
*/
|
|
660
660
|
permission: { [key in keyof (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
661
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
661
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
662
662
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
663
663
|
})]?: ((O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
664
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
664
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
665
665
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
666
666
|
})[key] extends readonly unknown[] ? (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
667
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
667
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
668
668
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
669
669
|
})[key][number] : never)[] | undefined; };
|
|
670
670
|
permissions?: never;
|
|
671
671
|
} | {
|
|
672
672
|
permissions: { [key in keyof (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
673
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
673
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
674
674
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
675
675
|
})]?: ((O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
676
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
676
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
677
677
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
678
678
|
})[key] extends readonly unknown[] ? (O["ac"] extends AccessControl<infer S extends Statements> ? S : {
|
|
679
|
-
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "update"];
|
|
679
|
+
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "delete", "set-password", "get", "update"];
|
|
680
680
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
681
681
|
})[key][number] : never)[] | undefined; };
|
|
682
682
|
permission?: never;
|
|
@@ -3,14 +3,14 @@ import '@better-fetch/fetch';
|
|
|
3
3
|
import '../../shared/better-auth.CMQ3rA-I.mjs';
|
|
4
4
|
import { u as useAuthQuery } from '../../shared/better-auth.CkGsgrvv.mjs';
|
|
5
5
|
import { ownerAc, memberAc, adminAc } from '../../plugins/organization/access/index.mjs';
|
|
6
|
-
import { c as clientSideHasPermission } from '../../shared/better-auth.
|
|
6
|
+
import { c as clientSideHasPermission } from '../../shared/better-auth.Cxcr0S4x.mjs';
|
|
7
7
|
import { startRegistration, WebAuthnError, startAuthentication } from '@simplewebauthn/browser';
|
|
8
8
|
export { t as twoFactorClient } from '../../shared/better-auth.Ddw8bVyV.mjs';
|
|
9
9
|
import { userAc, adminAc as adminAc$1 } from '../../plugins/admin/access/index.mjs';
|
|
10
10
|
import { h as hasPermission } from '../../shared/better-auth.bkwPl2G4.mjs';
|
|
11
11
|
import 'zod/v4';
|
|
12
12
|
import 'better-call';
|
|
13
|
-
import '../../shared/better-auth.
|
|
13
|
+
import '../../shared/better-auth.CewjboYP.mjs';
|
|
14
14
|
import '../../shared/better-auth.DV5EHeYG.mjs';
|
|
15
15
|
import '@better-auth/utils/base64';
|
|
16
16
|
import '@better-auth/utils/hmac';
|
|
@@ -4,10 +4,10 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.Cri7Gd3F.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BWDlmABj.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -4,10 +4,10 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.DohEz_02.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BNm-Id9Y.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -4,10 +4,10 @@ export * from 'nanostores';
|
|
|
4
4
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
5
5
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, S as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.F4gRWoeQ.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.tThsKLej.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'kysely';
|
|
13
13
|
import 'zod/v4';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.Cri7Gd3F.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.cjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BWDlmABj.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
2
2
|
import { BetterFetchError } from '@better-fetch/fetch';
|
|
3
3
|
export * from '@better-fetch/fetch';
|
|
4
|
-
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.
|
|
4
|
+
import { C as ClientOptions, B as BetterAuthClientPlugin, I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes } from '../../shared/better-auth.DohEz_02.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DTtXpZYr.mjs';
|
|
7
|
-
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { f as BASE_ERROR_CODES } from '../../shared/better-auth.BNm-Id9Y.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'kysely';
|