better-auth 1.2.9-beta.7 → 1.2.9-beta.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.cjs +2 -2
- 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/drizzle-adapter/index.mjs +2 -2
- package/dist/adapters/index.cjs +2 -2
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/index.mjs +2 -2
- package/dist/adapters/kysely-adapter/index.cjs +3 -3
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/kysely-adapter/index.mjs +3 -3
- package/dist/adapters/memory-adapter/index.cjs +3 -3
- 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/memory-adapter/index.mjs +3 -3
- package/dist/adapters/mongodb-adapter/index.cjs +1 -1
- 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/mongodb-adapter/index.mjs +1 -1
- package/dist/adapters/prisma-adapter/index.cjs +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/prisma-adapter/index.mjs +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 +0 -10
- 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 -12
- 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.d.cts +3 -3
- package/dist/client/plugins/index.d.mts +3 -3
- package/dist/client/plugins/index.d.ts +3 -3
- package/dist/client/react/index.d.cts +8 -8
- package/dist/client/react/index.d.mts +8 -8
- package/dist/client/react/index.d.ts +8 -8
- 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 +11 -11
- package/dist/client/vue/index.d.mts +11 -11
- package/dist/client/vue/index.d.ts +11 -11
- 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 +5 -5
- 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 +5 -5
- package/dist/index.cjs +5 -5
- 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 +7 -7
- package/dist/integrations/next-js.d.cts +2 -2
- package/dist/integrations/next-js.d.mts +2 -2
- package/dist/integrations/next-js.d.ts +2 -2
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +2 -2
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/node.d.ts +2 -2
- package/dist/integrations/react-start.d.cts +2 -2
- package/dist/integrations/react-start.d.mts +2 -2
- package/dist/integrations/react-start.d.ts +2 -2
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.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.d.cts +14 -14
- package/dist/plugins/admin/index.d.mts +14 -14
- package/dist/plugins/admin/index.d.ts +14 -14
- package/dist/plugins/admin/index.mjs +2 -2
- 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.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/bearer/index.d.ts +2 -2
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +2 -2
- package/dist/plugins/captcha/index.d.mts +2 -2
- package/dist/plugins/captcha/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.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.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.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +2 -2
- package/dist/plugins/haveibeenpwned/index.d.ts +2 -2
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.d.cts +4 -4
- package/dist/plugins/index.d.mts +4 -4
- package/dist/plugins/index.d.ts +4 -4
- package/dist/plugins/index.mjs +6 -6
- 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.mjs +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 +2 -2
- package/dist/plugins/oidc-provider/index.d.cts +7 -7
- package/dist/plugins/oidc-provider/index.d.mts +7 -7
- package/dist/plugins/oidc-provider/index.d.ts +7 -7
- package/dist/plugins/oidc-provider/index.mjs +2 -2
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.d.cts +2 -2
- package/dist/plugins/one-time-token/index.d.mts +2 -2
- package/dist/plugins/one-time-token/index.d.ts +2 -2
- package/dist/plugins/one-time-token/index.mjs +2 -2
- 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.d.cts +2 -2
- package/dist/plugins/organization/index.d.mts +2 -2
- package/dist/plugins/organization/index.d.ts +2 -2
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.cjs +7 -1
- package/dist/plugins/passkey/index.d.cts +11 -2
- package/dist/plugins/passkey/index.d.mts +11 -2
- package/dist/plugins/passkey/index.d.ts +11 -2
- package/dist/plugins/passkey/index.mjs +8 -2
- 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.d.cts +5 -5
- package/dist/plugins/sso/index.d.mts +5 -5
- package/dist/plugins/sso/index.d.ts +5 -5
- package/dist/plugins/sso/index.mjs +1 -1
- package/dist/plugins/two-factor/index.d.cts +2 -2
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/two-factor/index.d.ts +2 -2
- package/dist/plugins/two-factor/index.mjs +1 -1
- package/dist/plugins/username/index.d.cts +3 -3
- package/dist/plugins/username/index.d.mts +3 -3
- package/dist/plugins/username/index.d.ts +3 -3
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.DGCyfEhG.d.ts → better-auth.2c011wSD.d.ts} +2 -8
- package/dist/shared/{better-auth.BxnsZrT2.mjs → better-auth.BCPr2_jK.mjs} +1 -1
- package/dist/shared/{better-auth.kagr8goH.d.mts → better-auth.BKWYbMZB.d.cts} +1 -1
- package/dist/shared/{better-auth.Ckq_Q8UM.mjs → better-auth.BcY75CuQ.mjs} +1 -1
- package/dist/shared/{better-auth.BTuiucL9.d.ts → better-auth.BtW19y2I.d.ts} +1 -1
- package/dist/shared/{better-auth.C1U2eQvC.mjs → better-auth.C6sME_6S.mjs} +1 -1
- package/dist/shared/{better-auth.DlrGYDwK.d.cts → better-auth.C8pzmRtu.d.cts} +1 -1
- package/dist/shared/{better-auth.CFB3tRhe.d.ts → better-auth.CCZppfG8.d.ts} +1 -1
- package/dist/shared/{better-auth.DwXCmEc7.d.cts → better-auth.CG4mEa-_.d.cts} +2 -8
- package/dist/shared/{better-auth.CPnVs39B.cjs → better-auth.CJVe4By6.cjs} +1 -1
- package/dist/shared/{better-auth.Bdaq9Lqn.mjs → better-auth.CTsDOF_S.mjs} +1 -1
- package/dist/shared/{better-auth.xK-w0Rah.cjs → better-auth.CfjgucJr.cjs} +1 -1
- package/dist/shared/{better-auth.Dqj-g-Up.d.mts → better-auth.CsQ1och7.d.mts} +2 -8
- package/dist/shared/{better-auth.B-orlLFy.mjs → better-auth.Cue6reJU.mjs} +1 -1
- package/dist/shared/{better-auth.BnnLmpgJ.cjs → better-auth.D-YyFqDB.cjs} +2 -2
- package/dist/shared/{better-auth.Dz9w_OUB.d.cts → better-auth.D2BKU1Zm.d.cts} +1 -1
- package/dist/shared/{better-auth.D6-2nUlx.mjs → better-auth.D92Ftz7J.mjs} +1 -1
- package/dist/shared/{better-auth.DNEJbRnE.d.mts → better-auth.DBWo439a.d.mts} +1 -1
- package/dist/shared/{better-auth.C3XZ-VgJ.d.cts → better-auth.DDrcxe7M.d.mts} +1 -1
- package/dist/shared/{better-auth.0TC26uRi.mjs → better-auth.DGdvqtd1.mjs} +1 -1
- package/dist/shared/{better-auth.CnWEHFr7.d.ts → better-auth.DOUgm5-2.d.ts} +1 -1
- package/dist/shared/{better-auth.Be27qhjB.cjs → better-auth.DiXGV1jJ.cjs} +1 -1
- package/dist/shared/{better-auth.Dpv9J4ny.mjs → better-auth.WByh1Fkk.mjs} +1 -1
- package/dist/shared/{better-auth.DrtmN2NE.d.mts → better-auth.coxs12Dg.d.mts} +1 -1
- package/dist/shared/{better-auth.DCB35LVD.mjs → better-auth.gs0ZuLWb.mjs} +2 -2
- package/dist/shared/{better-auth.CUdxApHl.cjs → better-auth.h_UKC9xe.cjs} +1 -1
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.d.ts +1 -1
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +2 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
4
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
5
|
-
const index = require('../../shared/better-auth.
|
|
5
|
+
const index = require('../../shared/better-auth.DiXGV1jJ.cjs');
|
|
6
6
|
require('../../shared/better-auth.D3mtHEZg.cjs');
|
|
7
|
-
require('../../shared/better-auth.
|
|
7
|
+
require('../../shared/better-auth.h_UKC9xe.cjs');
|
|
8
8
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
10
10
|
require('@better-auth/utils/random');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.D2BKU1Zm.cjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CsQ1och7.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DBWo439a.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.2c011wSD.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { count, desc, asc, sql, eq, inArray, like, lt, lte, ne, gt, gte, and, or } from 'drizzle-orm';
|
|
2
2
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
3
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
3
|
+
import { c as createAdapter } from '../../shared/better-auth.WByh1Fkk.mjs';
|
|
4
4
|
import '../../shared/better-auth.tB5eU6EY.mjs';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DGdvqtd1.mjs';
|
|
6
6
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
8
8
|
import '@better-auth/utils/random';
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.DiXGV1jJ.cjs');
|
|
4
4
|
require('../shared/better-auth.D3mtHEZg.cjs');
|
|
5
|
-
require('../shared/better-auth.
|
|
5
|
+
require('../shared/better-auth.h_UKC9xe.cjs');
|
|
6
6
|
require('../shared/better-auth.BEphVDyL.cjs');
|
|
7
7
|
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
8
8
|
require('@better-auth/utils/random');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CG4mEa-_.cjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CG4mEa-_.cjs';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.D2BKU1Zm.cjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CsQ1och7.mjs';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.CsQ1och7.mjs';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.DBWo439a.mjs';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
2
|
-
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { b as AdapterConfig, C as CreateCustomAdapter, B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.2c011wSD.js';
|
|
2
|
+
export { A as AdapterDebugLogs, e as AdapterTestDebugLogs, d as CleanedWhere, c as CustomAdapter } from '../shared/better-auth.2c011wSD.js';
|
|
3
3
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.BtW19y2I.js';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { c as createAdapter } from '../shared/better-auth.
|
|
1
|
+
export { c as createAdapter } from '../shared/better-auth.WByh1Fkk.mjs';
|
|
2
2
|
import '../shared/better-auth.tB5eU6EY.mjs';
|
|
3
|
-
import '../shared/better-auth.
|
|
3
|
+
import '../shared/better-auth.DGdvqtd1.mjs';
|
|
4
4
|
import '../shared/better-auth.DORkW_Ge.mjs';
|
|
5
5
|
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
6
6
|
import '@better-auth/utils/random';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.CfjgucJr.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.DiXGV1jJ.cjs');
|
|
6
6
|
require('../../shared/better-auth.D3mtHEZg.cjs');
|
|
7
|
-
require('../../shared/better-auth.
|
|
7
|
+
require('../../shared/better-auth.h_UKC9xe.cjs');
|
|
8
8
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
10
10
|
require('@better-auth/utils/random');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, A as AdapterDebugLogs, a as Adapter } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.D2BKU1Zm.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 { 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.CsQ1och7.mjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DBWo439a.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 { 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.2c011wSD.js';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'better-call';
|
|
8
8
|
import 'better-sqlite3';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { c as createKyselyAdapter, k as kyselyAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { c as createKyselyAdapter, k as kyselyAdapter } from '../../shared/better-auth.Cue6reJU.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.WByh1Fkk.mjs';
|
|
4
4
|
import '../../shared/better-auth.tB5eU6EY.mjs';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DGdvqtd1.mjs';
|
|
6
6
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
8
8
|
import '@better-auth/utils/random';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const memoryAdapter = require('../../shared/better-auth.
|
|
4
|
-
require('../../shared/better-auth.
|
|
3
|
+
const memoryAdapter = require('../../shared/better-auth.CJVe4By6.cjs');
|
|
4
|
+
require('../../shared/better-auth.DiXGV1jJ.cjs');
|
|
5
5
|
require('../../shared/better-auth.D3mtHEZg.cjs');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.h_UKC9xe.cjs');
|
|
7
7
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
8
8
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
9
|
require('@better-auth/utils/random');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.D2BKU1Zm.cjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CsQ1och7.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DBWo439a.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.2c011wSD.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { m as memoryAdapter } from '../../shared/better-auth.
|
|
2
|
-
import '../../shared/better-auth.
|
|
1
|
+
export { m as memoryAdapter } from '../../shared/better-auth.CTsDOF_S.mjs';
|
|
2
|
+
import '../../shared/better-auth.WByh1Fkk.mjs';
|
|
3
3
|
import '../../shared/better-auth.tB5eU6EY.mjs';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DGdvqtd1.mjs';
|
|
5
5
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
6
6
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
7
|
import '@better-auth/utils/random';
|
|
@@ -20,7 +20,7 @@ require('../../shared/better-auth.CYeOI8C-.cjs');
|
|
|
20
20
|
require('../../shared/better-auth.GpOOav9x.cjs');
|
|
21
21
|
const getTables = require('../../shared/better-auth.BEphVDyL.cjs');
|
|
22
22
|
require('kysely');
|
|
23
|
-
const utils = require('../../shared/better-auth.
|
|
23
|
+
const utils = require('../../shared/better-auth.h_UKC9xe.cjs');
|
|
24
24
|
|
|
25
25
|
const createTransform = (options) => {
|
|
26
26
|
const schema = getTables.getAuthTables(options);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Db } from 'mongodb';
|
|
2
|
-
import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.D2BKU1Zm.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 { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.CsQ1och7.mjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DBWo439a.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 { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { B as BetterAuthOptions, W as Where } from '../../shared/better-auth.2c011wSD.js';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
6
6
|
import 'jose';
|
|
7
7
|
import 'kysely';
|
|
8
8
|
import 'better-call';
|
|
@@ -18,7 +18,7 @@ import '../../shared/better-auth.B4Qoxdgc.mjs';
|
|
|
18
18
|
import '../../shared/better-auth.Cqykj82J.mjs';
|
|
19
19
|
import { g as getAuthTables } from '../../shared/better-auth.DORkW_Ge.mjs';
|
|
20
20
|
import 'kysely';
|
|
21
|
-
import { w as withApplyDefault } from '../../shared/better-auth.
|
|
21
|
+
import { w as withApplyDefault } from '../../shared/better-auth.DGdvqtd1.mjs';
|
|
22
22
|
|
|
23
23
|
const createTransform = (options) => {
|
|
24
24
|
const schema = getAuthTables(options);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../../shared/better-auth.
|
|
3
|
+
const index = require('../../shared/better-auth.DiXGV1jJ.cjs');
|
|
4
4
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
5
5
|
require('../../shared/better-auth.D3mtHEZg.cjs');
|
|
6
|
-
require('../../shared/better-auth.
|
|
6
|
+
require('../../shared/better-auth.h_UKC9xe.cjs');
|
|
7
7
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
8
8
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
9
|
require('@better-auth/utils/random');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CG4mEa-_.cjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.D2BKU1Zm.cjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.CsQ1och7.mjs';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DBWo439a.mjs';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.
|
|
1
|
+
import { A as AdapterDebugLogs, B as BetterAuthOptions, a as Adapter } from '../../shared/better-auth.2c011wSD.js';
|
|
2
2
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.BtW19y2I.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
1
|
+
import { c as createAdapter } from '../../shared/better-auth.WByh1Fkk.mjs';
|
|
2
2
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
3
3
|
import '../../shared/better-auth.tB5eU6EY.mjs';
|
|
4
|
-
import '../../shared/better-auth.
|
|
4
|
+
import '../../shared/better-auth.DGdvqtd1.mjs';
|
|
5
5
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
6
6
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
7
|
import '@better-auth/utils/random';
|
package/dist/adapters/test.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CG4mEa-_.cjs';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.D2BKU1Zm.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 { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.CsQ1och7.mjs';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.DBWo439a.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 { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { B as BetterAuthOptions, a as Adapter } from '../shared/better-auth.2c011wSD.js';
|
|
2
2
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../shared/better-auth.
|
|
4
|
+
import '../shared/better-auth.BtW19y2I.js';
|
|
5
5
|
import 'jose';
|
|
6
6
|
import 'kysely';
|
|
7
7
|
import 'better-call';
|
package/dist/api/index.cjs
CHANGED
|
@@ -711,16 +711,6 @@ function getEndpoints(ctx, options) {
|
|
|
711
711
|
ok: account.ok,
|
|
712
712
|
error: account.error
|
|
713
713
|
};
|
|
714
|
-
if (options.customPaths) {
|
|
715
|
-
Object.keys(endpoints).forEach((key) => {
|
|
716
|
-
const endpoint = endpoints[key];
|
|
717
|
-
if (endpoint && "path" in endpoint && typeof endpoint.path === "string" && options.customPaths?.[endpoint.path]) {
|
|
718
|
-
const original = endpoint.path;
|
|
719
|
-
const modified = options.customPaths[original];
|
|
720
|
-
endpoint.path = modified;
|
|
721
|
-
}
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
714
|
const api = toAuthEndpoints(endpoints, ctx);
|
|
725
715
|
return {
|
|
726
716
|
api,
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bf as accountInfo, aL as callbackOAuth, b6 as changeEmail, b2 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, aZ as createEmailVerificationToken, b4 as deleteUser, b5 as deleteUserCallback, b7 as error, aW as forgetPassword, aX as forgetPasswordCallback, aQ as freshSessionMiddleware, bd as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bb as linkSocialAccount, aR as listSessions, ba as listUserAccounts, b8 as ok, o as optionsMiddleware, bh as originCheck, bg as originCheckMiddleware, be as refreshToken, aP as requestOnlySessionMiddleware, aY as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, a$ as sendVerificationEmail, a_ as sendVerificationEmailFn, aO as sessionMiddleware, b3 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, b9 as signUpEmail, bc as unlinkAccount, b1 as updateUser, b0 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.D2BKU1Zm.cjs';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bf as accountInfo, aL as callbackOAuth, b6 as changeEmail, b2 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, aZ as createEmailVerificationToken, b4 as deleteUser, b5 as deleteUserCallback, b7 as error, aW as forgetPassword, aX as forgetPasswordCallback, aQ as freshSessionMiddleware, bd as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bb as linkSocialAccount, aR as listSessions, ba as listUserAccounts, b8 as ok, o as optionsMiddleware, bh as originCheck, bg as originCheckMiddleware, be as refreshToken, aP as requestOnlySessionMiddleware, aY as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, a$ as sendVerificationEmail, a_ as sendVerificationEmailFn, aO as sessionMiddleware, b3 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, b9 as signUpEmail, bc as unlinkAccount, b1 as updateUser, b0 as verifyEmail } from '../shared/better-auth.CG4mEa-_.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
5
5
|
import 'zod';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bf as accountInfo, aL as callbackOAuth, b6 as changeEmail, b2 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, aZ as createEmailVerificationToken, b4 as deleteUser, b5 as deleteUserCallback, b7 as error, aW as forgetPassword, aX as forgetPasswordCallback, aQ as freshSessionMiddleware, bd as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bb as linkSocialAccount, aR as listSessions, ba as listUserAccounts, b8 as ok, o as optionsMiddleware, bh as originCheck, bg as originCheckMiddleware, be as refreshToken, aP as requestOnlySessionMiddleware, aY as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, a$ as sendVerificationEmail, a_ as sendVerificationEmailFn, aO as sessionMiddleware, b3 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, b9 as signUpEmail, bc as unlinkAccount, b1 as updateUser, b0 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.DBWo439a.mjs';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bf as accountInfo, aL as callbackOAuth, b6 as changeEmail, b2 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, aZ as createEmailVerificationToken, b4 as deleteUser, b5 as deleteUserCallback, b7 as error, aW as forgetPassword, aX as forgetPasswordCallback, aQ as freshSessionMiddleware, bd as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bb as linkSocialAccount, aR as listSessions, ba as listUserAccounts, b8 as ok, o as optionsMiddleware, bh as originCheck, bg as originCheckMiddleware, be as refreshToken, aP as requestOnlySessionMiddleware, aY as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, a$ as sendVerificationEmail, a_ as sendVerificationEmailFn, aO as sessionMiddleware, b3 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, b9 as signUpEmail, bc as unlinkAccount, b1 as updateUser, b0 as verifyEmail } from '../shared/better-auth.CsQ1och7.mjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
5
5
|
import 'zod';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../shared/better-auth.
|
|
2
|
-
export { l as AuthEndpoint, m as AuthMiddleware, bf as accountInfo, aL as callbackOAuth, b6 as changeEmail, b2 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, aZ as createEmailVerificationToken, b4 as deleteUser, b5 as deleteUserCallback, b7 as error, aW as forgetPassword, aX as forgetPasswordCallback, aQ as freshSessionMiddleware, bd as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bb as linkSocialAccount, aR as listSessions, ba as listUserAccounts, b8 as ok, o as optionsMiddleware, bh as originCheck, bg as originCheckMiddleware, be as refreshToken, aP as requestOnlySessionMiddleware, aY as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, a$ as sendVerificationEmail, a_ as sendVerificationEmailFn, aO as sessionMiddleware, b3 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, b9 as signUpEmail, bc as unlinkAccount, b1 as updateUser, b0 as verifyEmail } from '../shared/better-auth.
|
|
1
|
+
import '../shared/better-auth.BtW19y2I.js';
|
|
2
|
+
export { l as AuthEndpoint, m as AuthMiddleware, bf as accountInfo, aL as callbackOAuth, b6 as changeEmail, b2 as changePassword, k as createAuthEndpoint, j as createAuthMiddleware, aZ as createEmailVerificationToken, b4 as deleteUser, b5 as deleteUserCallback, b7 as error, aW as forgetPassword, aX as forgetPasswordCallback, aQ as freshSessionMiddleware, bd as getAccessToken, aH as getEndpoints, aM as getSession, aN as getSessionFromCtx, bb as linkSocialAccount, aR as listSessions, ba as listUserAccounts, b8 as ok, o as optionsMiddleware, bh as originCheck, bg as originCheckMiddleware, be as refreshToken, aP as requestOnlySessionMiddleware, aY as resetPassword, aU as revokeOtherSessions, aS as revokeSession, aT as revokeSessions, aI as router, a$ as sendVerificationEmail, a_ as sendVerificationEmailFn, aO as sessionMiddleware, b3 as setPassword, aK as signInEmail, aJ as signInSocial, aV as signOut, b9 as signUpEmail, bc as unlinkAccount, b1 as updateUser, b0 as verifyEmail } from '../shared/better-auth.2c011wSD.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
5
5
|
import 'zod';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIError, toResponse, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, e as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, b as getSession, i as
|
|
4
|
-
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, Q as optionsMiddleware, o as originCheck, P as requestOnlySessionMiddleware, d as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, e as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, b as getSession, i as originCheckMiddleware, j as error, k as ok, m as accountInfo, n as getAccessToken, r as refreshToken, p as unlinkAccount, q as deleteUserCallback, t as listUserAccounts, v as linkSocialAccount, x as revokeOtherSessions, y as revokeSessions, z as revokeSession, A as forgetPasswordCallback, C as deleteUser, D as setPassword, E as changePassword, F as changeEmail, G as sendVerificationEmail, I as verifyEmail, J as resetPassword, K as forgetPassword, L as signInEmail, M as signOut, N as callbackOAuth, O as signInSocial } from '../shared/better-auth.D92Ftz7J.mjs';
|
|
4
|
+
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, Q as optionsMiddleware, o as originCheck, P as requestOnlySessionMiddleware, d as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.D92Ftz7J.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { setSessionCookie } from '../cookies/index.mjs';
|
|
7
7
|
import { f as parseUserInput } from '../shared/better-auth.Cc72UxUH.mjs';
|
|
@@ -707,16 +707,6 @@ function getEndpoints(ctx, options) {
|
|
|
707
707
|
ok,
|
|
708
708
|
error
|
|
709
709
|
};
|
|
710
|
-
if (options.customPaths) {
|
|
711
|
-
Object.keys(endpoints).forEach((key) => {
|
|
712
|
-
const endpoint = endpoints[key];
|
|
713
|
-
if (endpoint && "path" in endpoint && typeof endpoint.path === "string" && options.customPaths?.[endpoint.path]) {
|
|
714
|
-
const original = endpoint.path;
|
|
715
|
-
const modified = options.customPaths[original];
|
|
716
|
-
endpoint.path = modified;
|
|
717
|
-
}
|
|
718
|
-
});
|
|
719
|
-
}
|
|
720
710
|
const api = toAuthEndpoints(endpoints, ctx);
|
|
721
711
|
return {
|
|
722
712
|
api,
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.CG4mEa-_.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.D2BKU1Zm.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 { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.CsQ1och7.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.DBWo439a.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 { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { f as BASE_ERROR_CODES, h as BetterAuthPlugin } from '../shared/better-auth.2c011wSD.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.BtW19y2I.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 { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.CG4mEa-_.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,14 +20,14 @@ 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.C8pzmRtu.cjs';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
export { global } from '@simplewebauthn/server';
|
|
27
27
|
import 'zod';
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.cjs';
|
|
30
|
-
import '../../shared/better-auth.
|
|
30
|
+
import '../../shared/better-auth.D2BKU1Zm.cjs';
|
|
31
31
|
import 'jose';
|
|
32
32
|
import 'kysely';
|
|
33
33
|
import 'better-sqlite3';
|
|
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.mjs';
|
|
|
11
11
|
import { magicLink } from '../../plugins/magic-link/index.mjs';
|
|
12
12
|
import { phoneNumber } from '../../plugins/phone-number/index.mjs';
|
|
13
13
|
import { anonymous } from '../../plugins/anonymous/index.mjs';
|
|
14
|
-
import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { a1 as FieldAttribute, B as BetterAuthOptions, h as BetterAuthPlugin } from '../../shared/better-auth.CsQ1och7.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,14 +20,14 @@ 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.coxs12Dg.mjs';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
export { global } from '@simplewebauthn/server';
|
|
27
27
|
import 'zod';
|
|
28
28
|
import 'better-call';
|
|
29
29
|
import '../../plugins/organization/access/index.mjs';
|
|
30
|
-
import '../../shared/better-auth.
|
|
30
|
+
import '../../shared/better-auth.DBWo439a.mjs';
|
|
31
31
|
import 'jose';
|
|
32
32
|
import 'kysely';
|
|
33
33
|
import 'better-sqlite3';
|