better-auth 1.3.32 → 1.3.33
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.mjs +2 -2
- package/dist/adapters/index.cjs +2 -2
- package/dist/adapters/index.mjs +2 -2
- package/dist/adapters/kysely-adapter/index.cjs +3 -3
- package/dist/adapters/kysely-adapter/index.mjs +3 -3
- package/dist/adapters/memory-adapter/index.cjs +3 -3
- package/dist/adapters/memory-adapter/index.mjs +3 -3
- package/dist/adapters/mongodb-adapter/index.cjs +3 -3
- package/dist/adapters/mongodb-adapter/index.mjs +3 -3
- package/dist/adapters/prisma-adapter/index.cjs +2 -2
- package/dist/adapters/prisma-adapter/index.mjs +2 -2
- package/dist/api/index.cjs +4 -4
- 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 +6 -6
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +6 -6
- package/dist/client/index.d.mts +6 -6
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.mjs +3 -3
- package/dist/client/lynx/index.cjs +2 -2
- package/dist/client/lynx/index.d.cts +3 -3
- package/dist/client/lynx/index.d.mts +3 -3
- package/dist/client/lynx/index.d.ts +3 -3
- package/dist/client/lynx/index.mjs +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.cjs +2 -2
- package/dist/client/react/index.d.cts +3 -3
- package/dist/client/react/index.d.mts +3 -3
- package/dist/client/react/index.d.ts +3 -3
- package/dist/client/react/index.mjs +2 -2
- package/dist/client/solid/index.cjs +2 -2
- package/dist/client/solid/index.d.cts +9 -9
- package/dist/client/solid/index.d.mts +9 -9
- package/dist/client/solid/index.d.ts +9 -9
- package/dist/client/solid/index.mjs +2 -2
- package/dist/client/svelte/index.cjs +2 -2
- package/dist/client/svelte/index.d.cts +9 -9
- package/dist/client/svelte/index.d.mts +9 -9
- package/dist/client/svelte/index.d.ts +9 -9
- package/dist/client/svelte/index.mjs +2 -2
- package/dist/client/vue/index.cjs +2 -2
- package/dist/client/vue/index.d.cts +3 -3
- package/dist/client/vue/index.d.mts +3 -3
- package/dist/client/vue/index.d.ts +3 -3
- package/dist/client/vue/index.mjs +2 -2
- package/dist/cookies/index.cjs +2 -2
- package/dist/cookies/index.mjs +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 +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +10 -10
- 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/oauth2/index.cjs +4 -4
- package/dist/oauth2/index.mjs +4 -4
- package/dist/plugins/admin/access/index.d.cts +17 -17
- package/dist/plugins/admin/access/index.d.mts +17 -17
- package/dist/plugins/admin/access/index.d.ts +17 -17
- package/dist/plugins/admin/index.cjs +5 -5
- package/dist/plugins/admin/index.mjs +5 -5
- package/dist/plugins/anonymous/index.cjs +4 -4
- package/dist/plugins/anonymous/index.mjs +4 -4
- package/dist/plugins/custom-session/index.cjs +4 -4
- 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 +4 -4
- package/dist/plugins/device-authorization/index.cjs +3 -3
- package/dist/plugins/device-authorization/index.mjs +3 -3
- package/dist/plugins/email-otp/index.cjs +7 -7
- 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 +7 -7
- package/dist/plugins/generic-oauth/index.cjs +4 -4
- package/dist/plugins/generic-oauth/index.mjs +4 -4
- package/dist/plugins/haveibeenpwned/index.cjs +4 -4
- package/dist/plugins/haveibeenpwned/index.mjs +4 -4
- package/dist/plugins/index.cjs +10 -10
- package/dist/plugins/index.d.cts +1 -1
- package/dist/plugins/index.d.mts +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.mjs +11 -11
- package/dist/plugins/jwt/index.cjs +4 -4
- package/dist/plugins/jwt/index.mjs +4 -4
- package/dist/plugins/magic-link/index.cjs +4 -4
- package/dist/plugins/magic-link/index.mjs +4 -4
- package/dist/plugins/multi-session/index.cjs +4 -4
- package/dist/plugins/multi-session/index.mjs +4 -4
- package/dist/plugins/oauth-proxy/index.cjs +4 -4
- package/dist/plugins/oauth-proxy/index.mjs +4 -4
- package/dist/plugins/oidc-provider/index.cjs +5 -5
- package/dist/plugins/oidc-provider/index.mjs +5 -5
- package/dist/plugins/one-tap/index.cjs +4 -4
- package/dist/plugins/one-tap/index.mjs +4 -4
- package/dist/plugins/one-time-token/index.cjs +6 -6
- package/dist/plugins/one-time-token/index.mjs +6 -6
- package/dist/plugins/open-api/index.cjs +5 -5
- package/dist/plugins/open-api/index.mjs +5 -5
- package/dist/plugins/organization/index.cjs +6 -6
- package/dist/plugins/organization/index.mjs +6 -6
- package/dist/plugins/passkey/index.cjs +4 -4
- package/dist/plugins/passkey/index.mjs +4 -4
- package/dist/plugins/phone-number/index.cjs +4 -4
- package/dist/plugins/phone-number/index.mjs +4 -4
- package/dist/plugins/siwe/index.cjs +4 -4
- package/dist/plugins/siwe/index.mjs +4 -4
- package/dist/plugins/sso/index.cjs +4 -4
- package/dist/plugins/sso/index.mjs +4 -4
- package/dist/plugins/two-factor/index.cjs +29 -5
- package/dist/plugins/two-factor/index.mjs +29 -5
- package/dist/plugins/username/index.cjs +4 -4
- package/dist/plugins/username/index.mjs +4 -4
- package/dist/shared/{better-auth.BwsNBdWY.cjs → better-auth.1MXuH8OR.cjs} +1 -1
- package/dist/shared/{better-auth.6_2C44mS.cjs → better-auth.1R2W7eH4.cjs} +3 -3
- package/dist/shared/{better-auth.DrhZ3jDS.cjs → better-auth.8HJ5v58s.cjs} +1 -1
- package/dist/shared/{better-auth.DNkpxiLq.mjs → better-auth.B9q6J7t3.mjs} +4 -4
- package/dist/shared/{better-auth.DlxfhVBi.mjs → better-auth.BAP1P0Ug.mjs} +1 -1
- package/dist/shared/{better-auth.BNARIIb2.d.ts → better-auth.BMTapkyM.d.ts} +1 -1
- package/dist/shared/{better-auth.15w1BFER.mjs → better-auth.BNpIwq4C.mjs} +1 -1
- package/dist/shared/{better-auth.Cx-Pq1rN.cjs → better-auth.BSohqXr-.cjs} +3 -3
- package/dist/shared/{better-auth.DAAngkks.mjs → better-auth.B_MIzgm3.mjs} +5 -5
- package/dist/shared/{better-auth.DHYnDXUq.cjs → better-auth.BimfmAGe.cjs} +1 -1
- package/dist/shared/{better-auth.CEiSk3dW.cjs → better-auth.BqdmLEYE.cjs} +1 -1
- package/dist/shared/{better-auth.KhreCtS9.d.cts → better-auth.BtQaG5p3.d.cts} +1 -1
- package/dist/shared/{better-auth.Cj7kf8Ev.d.cts → better-auth.C9FmyZ5W.d.cts} +4 -4
- package/dist/shared/{better-auth.D_t_N9Yo.mjs → better-auth.CBTS2OzX.mjs} +1 -1
- package/dist/shared/{better-auth.BZVk4_ZS.cjs → better-auth.CO2claig.cjs} +2 -2
- package/dist/shared/{better-auth.CrugyrXH.mjs → better-auth.CTNei8U9.mjs} +1 -1
- package/dist/shared/{better-auth.BKTnK5KH.cjs → better-auth.CUhytZpi.cjs} +3 -3
- package/dist/shared/{better-auth.BUpnjBGu.d.ts → better-auth.CVb74KJO.d.ts} +4 -4
- package/dist/shared/{better-auth.DXPBskCs.cjs → better-auth.CwvSb6A4.cjs} +1 -1
- package/dist/shared/{better-auth.CjNhg7P4.mjs → better-auth.D9_vQR83.mjs} +1 -1
- package/dist/shared/{better-auth.S3hDEI-1.cjs → better-auth.DAHECDyM.cjs} +2 -1
- package/dist/shared/{better-auth.DP-TUMaw.mjs → better-auth.DEBtROF9.mjs} +1 -1
- package/dist/shared/{better-auth.NIVvsrVf.mjs → better-auth.DR3R5wdU.mjs} +1 -1
- package/dist/shared/{better-auth.DAEhyVbZ.cjs → better-auth.DSM31lCn.cjs} +4 -4
- package/dist/shared/{better-auth.BpBiwpYo.mjs → better-auth.DV4nw16n.mjs} +3 -3
- package/dist/shared/{better-auth.CafnB7YV.d.mts → better-auth.DWUgoamJ.d.mts} +4 -4
- package/dist/shared/{better-auth.MpciKSoe.cjs → better-auth.DYr090tl.cjs} +4 -4
- package/dist/shared/{better-auth.DHbAS_fc.cjs → better-auth.Di29OoSh.cjs} +5 -5
- package/dist/shared/{better-auth.DCO8QZ1H.mjs → better-auth.EBxKeVNZ.mjs} +1 -1
- package/dist/shared/{better-auth.BwmyuaDr.cjs → better-auth.JuOnaPWn.cjs} +13 -5
- package/dist/shared/{better-auth.w0_JTMV9.mjs → better-auth.RKafzlkP.mjs} +1 -1
- package/dist/shared/{better-auth.PiwIJPXr.mjs → better-auth.RLDtNcHN.mjs} +3 -3
- package/dist/shared/{better-auth.FYyZpvCP.cjs → better-auth.Uj7CtJGG.cjs} +1 -1
- package/dist/shared/{better-auth.DmhgGCZk.d.mts → better-auth.YquOTugC.d.mts} +1 -1
- package/dist/shared/{better-auth.DBTqCDAW.cjs → better-auth.Z-JVyRjt.cjs} +1 -1
- package/dist/shared/{better-auth.BJxo-KLz.mjs → better-auth.ccXb5WNm.mjs} +2 -2
- package/dist/shared/{better-auth.GM3xRXA6.cjs → better-auth.p4oHeQgF.cjs} +1 -1
- package/dist/shared/{better-auth.DhziC0ap.mjs → better-auth.pQjeRkzN.mjs} +2 -1
- package/dist/shared/{better-auth.ewi2Ns4X.mjs → better-auth.u6Ai0n0n.mjs} +3 -3
- package/dist/shared/{better-auth.C66W-P8G.mjs → better-auth.uWoihDRP.mjs} +4 -4
- package/dist/shared/{better-auth.D_Z5w0Ho.cjs → better-auth.ucn9QAOT.cjs} +1 -1
- package/dist/shared/{better-auth.DsdWyrAx.mjs → better-auth.zbFvKBO6.mjs} +13 -5
- package/dist/test-utils/index.cjs +14 -14
- 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 +14 -14
- 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 +4 -3
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
4
|
const error = require('@better-auth/core/error');
|
|
5
|
-
const index = require('../../shared/better-auth.
|
|
5
|
+
const index = require('../../shared/better-auth.ucn9QAOT.cjs');
|
|
6
6
|
require('../../shared/better-auth.C7Ar55gj.cjs');
|
|
7
7
|
require('@better-auth/core/env');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.DAHECDyM.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
10
10
|
require('@better-auth/utils/random');
|
|
11
11
|
require('zod');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { count, desc, asc, inArray, notInArray, like, lt, lte, ne, gt, gte, eq, and, or, sql } from 'drizzle-orm';
|
|
2
2
|
import { BetterAuthError } from '@better-auth/core/error';
|
|
3
|
-
import { c as createAdapterFactory } from '../../shared/better-auth.
|
|
3
|
+
import { c as createAdapterFactory } from '../../shared/better-auth.EBxKeVNZ.mjs';
|
|
4
4
|
import '../../shared/better-auth.BKEtEpt0.mjs';
|
|
5
5
|
import '@better-auth/core/env';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.pQjeRkzN.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
8
8
|
import '@better-auth/utils/random';
|
|
9
9
|
import 'zod';
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.ucn9QAOT.cjs');
|
|
4
4
|
const adapter = require('@better-auth/core/db/adapter');
|
|
5
5
|
require('../shared/better-auth.C7Ar55gj.cjs');
|
|
6
6
|
require('@better-auth/core/env');
|
|
7
|
-
require('../shared/better-auth.
|
|
7
|
+
require('../shared/better-auth.DAHECDyM.cjs');
|
|
8
8
|
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
9
|
require('@better-auth/utils/random');
|
|
10
10
|
require('zod');
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as createAdapterFactory } from '../shared/better-auth.
|
|
1
|
+
import { c as createAdapterFactory } from '../shared/better-auth.EBxKeVNZ.mjs';
|
|
2
2
|
export * from '@better-auth/core/db/adapter';
|
|
3
3
|
import '../shared/better-auth.BKEtEpt0.mjs';
|
|
4
4
|
import '@better-auth/core/env';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.pQjeRkzN.mjs';
|
|
6
6
|
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
7
7
|
import '@better-auth/utils/random';
|
|
8
8
|
import 'zod';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.p4oHeQgF.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.ucn9QAOT.cjs');
|
|
6
6
|
require('../../shared/better-auth.C7Ar55gj.cjs');
|
|
7
7
|
require('@better-auth/core/env');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.DAHECDyM.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
10
10
|
require('@better-auth/utils/random');
|
|
11
11
|
require('zod');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { c as createKyselyAdapter, g as getKyselyDatabaseType, k as kyselyAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { c as createKyselyAdapter, g as getKyselyDatabaseType, k as kyselyAdapter } from '../../shared/better-auth.CBTS2OzX.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.EBxKeVNZ.mjs';
|
|
4
4
|
import '../../shared/better-auth.BKEtEpt0.mjs';
|
|
5
5
|
import '@better-auth/core/env';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.pQjeRkzN.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
8
8
|
import '@better-auth/utils/random';
|
|
9
9
|
import 'zod';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const memoryAdapter = require('../../shared/better-auth.
|
|
3
|
+
const memoryAdapter = require('../../shared/better-auth.BqdmLEYE.cjs');
|
|
4
4
|
require('@better-auth/core/env');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.ucn9QAOT.cjs');
|
|
6
6
|
require('../../shared/better-auth.C7Ar55gj.cjs');
|
|
7
|
-
require('../../shared/better-auth.
|
|
7
|
+
require('../../shared/better-auth.DAHECDyM.cjs');
|
|
8
8
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
9
|
require('@better-auth/utils/random');
|
|
10
10
|
require('zod');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { m as memoryAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as memoryAdapter } from '../../shared/better-auth.BNpIwq4C.mjs';
|
|
2
2
|
import '@better-auth/core/env';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.EBxKeVNZ.mjs';
|
|
4
4
|
import '../../shared/better-auth.BKEtEpt0.mjs';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.pQjeRkzN.mjs';
|
|
6
6
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
7
|
import '@better-auth/utils/random';
|
|
8
8
|
import 'zod';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const mongodbAdapter = require('../../shared/better-auth.
|
|
3
|
+
const mongodbAdapter = require('../../shared/better-auth.1MXuH8OR.cjs');
|
|
4
4
|
require('mongodb');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.ucn9QAOT.cjs');
|
|
6
6
|
require('../../shared/better-auth.C7Ar55gj.cjs');
|
|
7
7
|
require('@better-auth/core/env');
|
|
8
|
-
require('../../shared/better-auth.
|
|
8
|
+
require('../../shared/better-auth.DAHECDyM.cjs');
|
|
9
9
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
10
10
|
require('@better-auth/utils/random');
|
|
11
11
|
require('zod');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { m as mongodbAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { m as mongodbAdapter } from '../../shared/better-auth.BAP1P0Ug.mjs';
|
|
2
2
|
import 'mongodb';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.EBxKeVNZ.mjs';
|
|
4
4
|
import '../../shared/better-auth.BKEtEpt0.mjs';
|
|
5
5
|
import '@better-auth/core/env';
|
|
6
|
-
import '../../shared/better-auth.
|
|
6
|
+
import '../../shared/better-auth.pQjeRkzN.mjs';
|
|
7
7
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
8
8
|
import '@better-auth/utils/random';
|
|
9
9
|
import 'zod';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const error = require('@better-auth/core/error');
|
|
4
|
-
const index = require('../../shared/better-auth.
|
|
4
|
+
const index = require('../../shared/better-auth.ucn9QAOT.cjs');
|
|
5
5
|
require('../../shared/better-auth.C7Ar55gj.cjs');
|
|
6
6
|
require('@better-auth/core/env');
|
|
7
|
-
require('../../shared/better-auth.
|
|
7
|
+
require('../../shared/better-auth.DAHECDyM.cjs');
|
|
8
8
|
require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
9
9
|
require('@better-auth/utils/random');
|
|
10
10
|
require('zod');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BetterAuthError } from '@better-auth/core/error';
|
|
2
|
-
import { c as createAdapterFactory } from '../../shared/better-auth.
|
|
2
|
+
import { c as createAdapterFactory } from '../../shared/better-auth.EBxKeVNZ.mjs';
|
|
3
3
|
import '../../shared/better-auth.BKEtEpt0.mjs';
|
|
4
4
|
import '@better-auth/core/env';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.pQjeRkzN.mjs';
|
|
6
6
|
import '../../shared/better-auth.BUPPRXfK.mjs';
|
|
7
7
|
import '@better-auth/utils/random';
|
|
8
8
|
import 'zod';
|
package/dist/api/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const toAuthEndpoints = require('../shared/better-auth.
|
|
5
|
-
const session = require('../shared/better-auth.
|
|
4
|
+
const toAuthEndpoints = require('../shared/better-auth.JuOnaPWn.cjs');
|
|
5
|
+
const session = require('../shared/better-auth.BimfmAGe.cjs');
|
|
6
6
|
const z = require('zod');
|
|
7
7
|
const middleware = require('@better-auth/core/middleware');
|
|
8
|
-
const cookies_index = require('../shared/better-auth.
|
|
8
|
+
const cookies_index = require('../shared/better-auth.CwvSb6A4.cjs');
|
|
9
9
|
const error = require('@better-auth/core/error');
|
|
10
10
|
const env = require('@better-auth/core/env');
|
|
11
11
|
require('@better-auth/core/db');
|
|
@@ -30,7 +30,7 @@ require('@better-auth/utils/hmac');
|
|
|
30
30
|
require('@better-auth/utils/binary');
|
|
31
31
|
require('defu');
|
|
32
32
|
require('../crypto/index.cjs');
|
|
33
|
-
require('../shared/better-auth.
|
|
33
|
+
require('../shared/better-auth.Z-JVyRjt.cjs');
|
|
34
34
|
require('jose/errors');
|
|
35
35
|
require('../shared/better-auth.CqgkAe9n.cjs');
|
|
36
36
|
|
package/dist/api/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ export { APIError } from 'better-call';
|
|
|
3
3
|
import '@better-auth/core';
|
|
4
4
|
import '@better-auth/core/env';
|
|
5
5
|
import '../shared/better-auth.kD29xbrE.cjs';
|
|
6
|
-
export { a2 as accountInfo, n as callbackOAuth, U as changeEmail, Q as changePassword, k as checkEndpointConflicts, K as createEmailVerificationToken, S as deleteUser, T as deleteUserCallback, V as error, E as forgetPassword, H as forgetPasswordCallback, w as freshSessionMiddleware, a0 as getAccessToken, l as getEndpoints, p as getSession, q as getSessionFromCtx, o as getSessionQuerySchema, a5 as isSimpleRequest, _ as linkSocialAccount, x as listSessions, Z as listUserAccounts, X as ok, a4 as originCheck, a3 as originCheckMiddleware, a1 as refreshToken, v as requestOnlySessionMiddleware, D as requestPasswordReset, G as requestPasswordResetCallback, J as resetPassword, B as revokeOtherSessions, y as revokeSession, z as revokeSessions, r as router, N as sendVerificationEmail, L as sendVerificationEmailFn, u as sensitiveSessionMiddleware, t as sessionMiddleware, R as setPassword, m as signInEmail, s as signInSocial, C as signOut, Y as signUpEmail, $ as unlinkAccount, P as updateUser, O as verifyEmail } from '../shared/better-auth.
|
|
6
|
+
export { a2 as accountInfo, n as callbackOAuth, U as changeEmail, Q as changePassword, k as checkEndpointConflicts, K as createEmailVerificationToken, S as deleteUser, T as deleteUserCallback, V as error, E as forgetPassword, H as forgetPasswordCallback, w as freshSessionMiddleware, a0 as getAccessToken, l as getEndpoints, p as getSession, q as getSessionFromCtx, o as getSessionQuerySchema, a5 as isSimpleRequest, _ as linkSocialAccount, x as listSessions, Z as listUserAccounts, X as ok, a4 as originCheck, a3 as originCheckMiddleware, a1 as refreshToken, v as requestOnlySessionMiddleware, D as requestPasswordReset, G as requestPasswordResetCallback, J as resetPassword, B as revokeOtherSessions, y as revokeSession, z as revokeSessions, r as router, N as sendVerificationEmail, L as sendVerificationEmailFn, u as sensitiveSessionMiddleware, t as sessionMiddleware, R as setPassword, m as signInEmail, s as signInSocial, C as signOut, Y as signUpEmail, $ as unlinkAccount, P as updateUser, O as verifyEmail } from '../shared/better-auth.C9FmyZ5W.cjs';
|
|
7
7
|
import '../shared/better-auth.DNnBkMGu.cjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'zod/v4/core';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ export { APIError } from 'better-call';
|
|
|
3
3
|
import '@better-auth/core';
|
|
4
4
|
import '@better-auth/core/env';
|
|
5
5
|
import '../shared/better-auth.kD29xbrE.mjs';
|
|
6
|
-
export { a2 as accountInfo, n as callbackOAuth, U as changeEmail, Q as changePassword, k as checkEndpointConflicts, K as createEmailVerificationToken, S as deleteUser, T as deleteUserCallback, V as error, E as forgetPassword, H as forgetPasswordCallback, w as freshSessionMiddleware, a0 as getAccessToken, l as getEndpoints, p as getSession, q as getSessionFromCtx, o as getSessionQuerySchema, a5 as isSimpleRequest, _ as linkSocialAccount, x as listSessions, Z as listUserAccounts, X as ok, a4 as originCheck, a3 as originCheckMiddleware, a1 as refreshToken, v as requestOnlySessionMiddleware, D as requestPasswordReset, G as requestPasswordResetCallback, J as resetPassword, B as revokeOtherSessions, y as revokeSession, z as revokeSessions, r as router, N as sendVerificationEmail, L as sendVerificationEmailFn, u as sensitiveSessionMiddleware, t as sessionMiddleware, R as setPassword, m as signInEmail, s as signInSocial, C as signOut, Y as signUpEmail, $ as unlinkAccount, P as updateUser, O as verifyEmail } from '../shared/better-auth.
|
|
6
|
+
export { a2 as accountInfo, n as callbackOAuth, U as changeEmail, Q as changePassword, k as checkEndpointConflicts, K as createEmailVerificationToken, S as deleteUser, T as deleteUserCallback, V as error, E as forgetPassword, H as forgetPasswordCallback, w as freshSessionMiddleware, a0 as getAccessToken, l as getEndpoints, p as getSession, q as getSessionFromCtx, o as getSessionQuerySchema, a5 as isSimpleRequest, _ as linkSocialAccount, x as listSessions, Z as listUserAccounts, X as ok, a4 as originCheck, a3 as originCheckMiddleware, a1 as refreshToken, v as requestOnlySessionMiddleware, D as requestPasswordReset, G as requestPasswordResetCallback, J as resetPassword, B as revokeOtherSessions, y as revokeSession, z as revokeSessions, r as router, N as sendVerificationEmail, L as sendVerificationEmailFn, u as sensitiveSessionMiddleware, t as sessionMiddleware, R as setPassword, m as signInEmail, s as signInSocial, C as signOut, Y as signUpEmail, $ as unlinkAccount, P as updateUser, O as verifyEmail } from '../shared/better-auth.DWUgoamJ.mjs';
|
|
7
7
|
import '../shared/better-auth.DNnBkMGu.mjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'zod/v4/core';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { APIError } from 'better-call';
|
|
|
3
3
|
import '@better-auth/core';
|
|
4
4
|
import '@better-auth/core/env';
|
|
5
5
|
import '../shared/better-auth.kD29xbrE.js';
|
|
6
|
-
export { a2 as accountInfo, n as callbackOAuth, U as changeEmail, Q as changePassword, k as checkEndpointConflicts, K as createEmailVerificationToken, S as deleteUser, T as deleteUserCallback, V as error, E as forgetPassword, H as forgetPasswordCallback, w as freshSessionMiddleware, a0 as getAccessToken, l as getEndpoints, p as getSession, q as getSessionFromCtx, o as getSessionQuerySchema, a5 as isSimpleRequest, _ as linkSocialAccount, x as listSessions, Z as listUserAccounts, X as ok, a4 as originCheck, a3 as originCheckMiddleware, a1 as refreshToken, v as requestOnlySessionMiddleware, D as requestPasswordReset, G as requestPasswordResetCallback, J as resetPassword, B as revokeOtherSessions, y as revokeSession, z as revokeSessions, r as router, N as sendVerificationEmail, L as sendVerificationEmailFn, u as sensitiveSessionMiddleware, t as sessionMiddleware, R as setPassword, m as signInEmail, s as signInSocial, C as signOut, Y as signUpEmail, $ as unlinkAccount, P as updateUser, O as verifyEmail } from '../shared/better-auth.
|
|
6
|
+
export { a2 as accountInfo, n as callbackOAuth, U as changeEmail, Q as changePassword, k as checkEndpointConflicts, K as createEmailVerificationToken, S as deleteUser, T as deleteUserCallback, V as error, E as forgetPassword, H as forgetPasswordCallback, w as freshSessionMiddleware, a0 as getAccessToken, l as getEndpoints, p as getSession, q as getSessionFromCtx, o as getSessionQuerySchema, a5 as isSimpleRequest, _ as linkSocialAccount, x as listSessions, Z as listUserAccounts, X as ok, a4 as originCheck, a3 as originCheckMiddleware, a1 as refreshToken, v as requestOnlySessionMiddleware, D as requestPasswordReset, G as requestPasswordResetCallback, J as resetPassword, B as revokeOtherSessions, y as revokeSession, z as revokeSessions, r as router, N as sendVerificationEmail, L as sendVerificationEmailFn, u as sensitiveSessionMiddleware, t as sessionMiddleware, R as setPassword, m as signInEmail, s as signInSocial, C as signOut, Y as signUpEmail, $ as unlinkAccount, P as updateUser, O as verifyEmail } from '../shared/better-auth.CVb74KJO.js';
|
|
7
7
|
import '../shared/better-auth.DNnBkMGu.js';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import 'zod/v4/core';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { APIError, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { c as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, a as originCheckMiddleware, e as error, b as ok, f as accountInfo, i as getAccessToken, r as refreshToken, j as unlinkAccount, k as deleteUserCallback, l as listUserAccounts, m as linkSocialAccount, n as requestPasswordResetCallback, q as requestPasswordReset, v as forgetPasswordCallback, x as deleteUser, y as setPassword, z as changePassword, A as changeEmail, B as sendVerificationEmail, C as verifyEmail, D as resetPassword, E as forgetPassword, F as signInEmail, G as signOut, I as callbackOAuth, J as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { L as isSimpleRequest, o as originCheck, K as sendVerificationEmailFn } from '../shared/better-auth.
|
|
5
|
-
import { l as listSessions, a as getSession, r as revokeOtherSessions, b as revokeSessions, c as revokeSession } from '../shared/better-auth.
|
|
6
|
-
export { f as freshSessionMiddleware, g as getSessionFromCtx, d as getSessionQuerySchema, h as requestOnlySessionMiddleware, e as sensitiveSessionMiddleware, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { c as createEmailVerificationToken, w as wildcardMatch, u as updateUser, t as toAuthEndpoints, a as originCheckMiddleware, e as error, b as ok, f as accountInfo, i as getAccessToken, r as refreshToken, j as unlinkAccount, k as deleteUserCallback, l as listUserAccounts, m as linkSocialAccount, n as requestPasswordResetCallback, q as requestPasswordReset, v as forgetPasswordCallback, x as deleteUser, y as setPassword, z as changePassword, A as changeEmail, B as sendVerificationEmail, C as verifyEmail, D as resetPassword, E as forgetPassword, F as signInEmail, G as signOut, I as callbackOAuth, J as signInSocial } from '../shared/better-auth.zbFvKBO6.mjs';
|
|
4
|
+
export { L as isSimpleRequest, o as originCheck, K as sendVerificationEmailFn } from '../shared/better-auth.zbFvKBO6.mjs';
|
|
5
|
+
import { l as listSessions, a as getSession, r as revokeOtherSessions, b as revokeSessions, c as revokeSession } from '../shared/better-auth.DEBtROF9.mjs';
|
|
6
|
+
export { f as freshSessionMiddleware, g as getSessionFromCtx, d as getSessionQuerySchema, h as requestOnlySessionMiddleware, e as sensitiveSessionMiddleware, s as sessionMiddleware } from '../shared/better-auth.DEBtROF9.mjs';
|
|
7
7
|
import * as z from 'zod';
|
|
8
8
|
import { createAuthEndpoint } from '@better-auth/core/middleware';
|
|
9
9
|
export { createAuthEndpoint, createAuthMiddleware, optionsMiddleware } from '@better-auth/core/middleware';
|
|
10
|
-
import { s as setSessionCookie } from '../shared/better-auth.
|
|
10
|
+
import { s as setSessionCookie } from '../shared/better-auth.D9_vQR83.mjs';
|
|
11
11
|
import { BASE_ERROR_CODES } from '@better-auth/core/error';
|
|
12
12
|
import { isDevelopment, logger } from '@better-auth/core/env';
|
|
13
13
|
import '@better-auth/core/db';
|
|
@@ -32,7 +32,7 @@ import '@better-auth/utils/hmac';
|
|
|
32
32
|
import '@better-auth/utils/binary';
|
|
33
33
|
import 'defu';
|
|
34
34
|
import '../crypto/index.mjs';
|
|
35
|
-
import '../shared/better-auth.
|
|
35
|
+
import '../shared/better-auth.DR3R5wdU.mjs';
|
|
36
36
|
import 'jose/errors';
|
|
37
37
|
import '../shared/better-auth.Ih8C76Vo.mjs';
|
|
38
38
|
|
package/dist/client/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const vanilla = require('../shared/better-auth.
|
|
3
|
+
const vanilla = require('../shared/better-auth.Uj7CtJGG.cjs');
|
|
4
4
|
const query = require('../shared/better-auth.D9AYOecd.cjs');
|
|
5
|
-
require('../shared/better-auth.
|
|
5
|
+
require('../shared/better-auth.8HJ5v58s.cjs');
|
|
6
6
|
require('@better-fetch/fetch');
|
|
7
|
-
require('../shared/better-auth.
|
|
7
|
+
require('../shared/better-auth.Z-JVyRjt.cjs');
|
|
8
8
|
require('@better-auth/core/env');
|
|
9
9
|
require('@better-auth/core/error');
|
|
10
10
|
require('nanostores');
|
package/dist/client/index.d.cts
CHANGED
|
@@ -6,11 +6,11 @@ export * from 'nanostores';
|
|
|
6
6
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
7
7
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
8
8
|
export * from '@better-fetch/fetch';
|
|
9
|
-
import { I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes, i as SessionQueryParams } from '../shared/better-auth.
|
|
10
|
-
export { A as AtomListener, C as ClientOptions, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
9
|
+
import { I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes, i as SessionQueryParams } from '../shared/better-auth.BtQaG5p3.cjs';
|
|
10
|
+
export { A as AtomListener, C as ClientOptions, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.BtQaG5p3.cjs';
|
|
11
11
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.DNnBkMGu.cjs';
|
|
12
12
|
import { BASE_ERROR_CODES } from '@better-auth/core/error';
|
|
13
|
-
import '../shared/better-auth.
|
|
13
|
+
import '../shared/better-auth.C9FmyZ5W.cjs';
|
|
14
14
|
import 'packages/core/dist/oauth2';
|
|
15
15
|
import 'better-call';
|
|
16
16
|
import '@better-auth/core/env';
|
|
@@ -60,16 +60,16 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
|
|
|
60
60
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
61
61
|
};
|
|
62
62
|
})[];
|
|
63
|
-
|
|
63
|
+
cache?: RequestCache | undefined;
|
|
64
|
+
credentials?: RequestCredentials;
|
|
64
65
|
headers?: (HeadersInit & (HeadersInit | {
|
|
65
66
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
66
67
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
67
68
|
authorization: "Bearer" | "Basic";
|
|
68
69
|
})) | undefined;
|
|
69
|
-
cache?: RequestCache | undefined;
|
|
70
|
-
credentials?: RequestCredentials;
|
|
71
70
|
integrity?: string | undefined;
|
|
72
71
|
keepalive?: boolean | undefined;
|
|
72
|
+
method: string;
|
|
73
73
|
mode?: RequestMode | undefined;
|
|
74
74
|
priority?: RequestPriority | undefined;
|
|
75
75
|
redirect?: RequestRedirect | undefined;
|
package/dist/client/index.d.mts
CHANGED
|
@@ -6,11 +6,11 @@ export * from 'nanostores';
|
|
|
6
6
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
7
7
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
8
8
|
export * from '@better-fetch/fetch';
|
|
9
|
-
import { I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes, i as SessionQueryParams } from '../shared/better-auth.
|
|
10
|
-
export { A as AtomListener, C as ClientOptions, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
9
|
+
import { I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes, i as SessionQueryParams } from '../shared/better-auth.YquOTugC.mjs';
|
|
10
|
+
export { A as AtomListener, C as ClientOptions, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.YquOTugC.mjs';
|
|
11
11
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.DNnBkMGu.mjs';
|
|
12
12
|
import { BASE_ERROR_CODES } from '@better-auth/core/error';
|
|
13
|
-
import '../shared/better-auth.
|
|
13
|
+
import '../shared/better-auth.DWUgoamJ.mjs';
|
|
14
14
|
import 'packages/core/dist/oauth2';
|
|
15
15
|
import 'better-call';
|
|
16
16
|
import '@better-auth/core/env';
|
|
@@ -60,16 +60,16 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
|
|
|
60
60
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
61
61
|
};
|
|
62
62
|
})[];
|
|
63
|
-
|
|
63
|
+
cache?: RequestCache | undefined;
|
|
64
|
+
credentials?: RequestCredentials;
|
|
64
65
|
headers?: (HeadersInit & (HeadersInit | {
|
|
65
66
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
66
67
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
67
68
|
authorization: "Bearer" | "Basic";
|
|
68
69
|
})) | undefined;
|
|
69
|
-
cache?: RequestCache | undefined;
|
|
70
|
-
credentials?: RequestCredentials;
|
|
71
70
|
integrity?: string | undefined;
|
|
72
71
|
keepalive?: boolean | undefined;
|
|
72
|
+
method: string;
|
|
73
73
|
mode?: RequestMode | undefined;
|
|
74
74
|
priority?: RequestPriority | undefined;
|
|
75
75
|
redirect?: RequestRedirect | undefined;
|
package/dist/client/index.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ export * from 'nanostores';
|
|
|
6
6
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
7
7
|
import { BetterFetchError, BetterFetch, BetterFetchOption } from '@better-fetch/fetch';
|
|
8
8
|
export * from '@better-fetch/fetch';
|
|
9
|
-
import { I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes, i as SessionQueryParams } from '../shared/better-auth.
|
|
10
|
-
export { A as AtomListener, C as ClientOptions, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.
|
|
9
|
+
import { I as IsSignal, a as InferClientAPI, b as InferActions, c as InferErrorCodes, i as SessionQueryParams } from '../shared/better-auth.BMTapkyM.js';
|
|
10
|
+
export { A as AtomListener, C as ClientOptions, h as InferAdditionalFromClient, e as InferPluginsFromClient, f as InferSessionFromClient, g as InferUserFromClient, S as Store } from '../shared/better-auth.BMTapkyM.js';
|
|
11
11
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../shared/better-auth.DNnBkMGu.js';
|
|
12
12
|
import { BASE_ERROR_CODES } from '@better-auth/core/error';
|
|
13
|
-
import '../shared/better-auth.
|
|
13
|
+
import '../shared/better-auth.CVb74KJO.js';
|
|
14
14
|
import 'packages/core/dist/oauth2';
|
|
15
15
|
import 'better-call';
|
|
16
16
|
import '@better-auth/core/env';
|
|
@@ -60,16 +60,16 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
|
|
|
60
60
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
61
61
|
};
|
|
62
62
|
})[];
|
|
63
|
-
|
|
63
|
+
cache?: RequestCache | undefined;
|
|
64
|
+
credentials?: RequestCredentials;
|
|
64
65
|
headers?: (HeadersInit & (HeadersInit | {
|
|
65
66
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
66
67
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
67
68
|
authorization: "Bearer" | "Basic";
|
|
68
69
|
})) | undefined;
|
|
69
|
-
cache?: RequestCache | undefined;
|
|
70
|
-
credentials?: RequestCredentials;
|
|
71
70
|
integrity?: string | undefined;
|
|
72
71
|
keepalive?: boolean | undefined;
|
|
72
|
+
method: string;
|
|
73
73
|
mode?: RequestMode | undefined;
|
|
74
74
|
priority?: RequestPriority | undefined;
|
|
75
75
|
redirect?: RequestRedirect | undefined;
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { c as createAuthClient } from '../shared/better-auth.
|
|
1
|
+
export { c as createAuthClient } from '../shared/better-auth.CTNei8U9.mjs';
|
|
2
2
|
export { u as useAuthQuery } from '../shared/better-auth.BYWGbmZ5.mjs';
|
|
3
|
-
import '../shared/better-auth.
|
|
3
|
+
import '../shared/better-auth.RKafzlkP.mjs';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
5
|
-
import '../shared/better-auth.
|
|
5
|
+
import '../shared/better-auth.DR3R5wdU.mjs';
|
|
6
6
|
import '@better-auth/core/env';
|
|
7
7
|
import '@better-auth/core/error';
|
|
8
8
|
import 'nanostores';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.8HJ5v58s.cjs');
|
|
4
4
|
const nanostores = require('nanostores');
|
|
5
5
|
const react = require('@lynx-js/react');
|
|
6
6
|
require('@better-fetch/fetch');
|
|
7
|
-
require('../../shared/better-auth.
|
|
7
|
+
require('../../shared/better-auth.Z-JVyRjt.cjs');
|
|
8
8
|
require('@better-auth/core/env');
|
|
9
9
|
require('@better-auth/core/error');
|
|
10
10
|
require('../../shared/better-auth.D9AYOecd.cjs');
|
|
@@ -4,12 +4,12 @@ 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 { I as IsSignal, a as InferClientAPI, b as InferActions, i as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { I as IsSignal, a as InferClientAPI, b as InferActions, i as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.BtQaG5p3.cjs';
|
|
8
8
|
import { BetterAuthClientOptions, BetterAuthClientPlugin } from '@better-auth/core';
|
|
9
9
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DNnBkMGu.cjs';
|
|
10
10
|
import { DependencyList } from '@lynx-js/react';
|
|
11
11
|
import { BASE_ERROR_CODES } from '@better-auth/core/error';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.C9FmyZ5W.cjs';
|
|
13
13
|
import 'packages/core/dist/oauth2';
|
|
14
14
|
import 'better-call';
|
|
15
15
|
import '@better-auth/core/env';
|
|
@@ -119,13 +119,13 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
|
|
|
119
119
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
120
120
|
};
|
|
121
121
|
})[];
|
|
122
|
+
redirect?: RequestRedirect | undefined;
|
|
122
123
|
method: string;
|
|
123
124
|
headers?: (HeadersInit & (HeadersInit | {
|
|
124
125
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
125
126
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
126
127
|
authorization: "Bearer" | "Basic";
|
|
127
128
|
})) | undefined;
|
|
128
|
-
redirect?: RequestRedirect | undefined;
|
|
129
129
|
cache?: RequestCache | undefined;
|
|
130
130
|
credentials?: RequestCredentials;
|
|
131
131
|
integrity?: string | undefined;
|
|
@@ -4,12 +4,12 @@ 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 { I as IsSignal, a as InferClientAPI, b as InferActions, i as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { I as IsSignal, a as InferClientAPI, b as InferActions, i as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.YquOTugC.mjs';
|
|
8
8
|
import { BetterAuthClientOptions, BetterAuthClientPlugin } from '@better-auth/core';
|
|
9
9
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DNnBkMGu.mjs';
|
|
10
10
|
import { DependencyList } from '@lynx-js/react';
|
|
11
11
|
import { BASE_ERROR_CODES } from '@better-auth/core/error';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.DWUgoamJ.mjs';
|
|
13
13
|
import 'packages/core/dist/oauth2';
|
|
14
14
|
import 'better-call';
|
|
15
15
|
import '@better-auth/core/env';
|
|
@@ -119,13 +119,13 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
|
|
|
119
119
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
120
120
|
};
|
|
121
121
|
})[];
|
|
122
|
+
redirect?: RequestRedirect | undefined;
|
|
122
123
|
method: string;
|
|
123
124
|
headers?: (HeadersInit & (HeadersInit | {
|
|
124
125
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
125
126
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
126
127
|
authorization: "Bearer" | "Basic";
|
|
127
128
|
})) | undefined;
|
|
128
|
-
redirect?: RequestRedirect | undefined;
|
|
129
129
|
cache?: RequestCache | undefined;
|
|
130
130
|
credentials?: RequestCredentials;
|
|
131
131
|
integrity?: string | undefined;
|
|
@@ -4,12 +4,12 @@ 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 { I as IsSignal, a as InferClientAPI, b as InferActions, i as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.
|
|
7
|
+
import { I as IsSignal, a as InferClientAPI, b as InferActions, i as SessionQueryParams, c as InferErrorCodes } from '../../shared/better-auth.BMTapkyM.js';
|
|
8
8
|
import { BetterAuthClientOptions, BetterAuthClientPlugin } from '@better-auth/core';
|
|
9
9
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.DNnBkMGu.js';
|
|
10
10
|
import { DependencyList } from '@lynx-js/react';
|
|
11
11
|
import { BASE_ERROR_CODES } from '@better-auth/core/error';
|
|
12
|
-
import '../../shared/better-auth.
|
|
12
|
+
import '../../shared/better-auth.CVb74KJO.js';
|
|
13
13
|
import 'packages/core/dist/oauth2';
|
|
14
14
|
import 'better-call';
|
|
15
15
|
import '@better-auth/core/env';
|
|
@@ -119,13 +119,13 @@ declare function createAuthClient<Option extends BetterAuthClientOptions>(option
|
|
|
119
119
|
onSuccess(context: _better_fetch_fetch.SuccessContext<any>): void;
|
|
120
120
|
};
|
|
121
121
|
})[];
|
|
122
|
+
redirect?: RequestRedirect | undefined;
|
|
122
123
|
method: string;
|
|
123
124
|
headers?: (HeadersInit & (HeadersInit | {
|
|
124
125
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
125
126
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
126
127
|
authorization: "Bearer" | "Basic";
|
|
127
128
|
})) | undefined;
|
|
128
|
-
redirect?: RequestRedirect | undefined;
|
|
129
129
|
cache?: RequestCache | undefined;
|
|
130
130
|
credentials?: RequestCredentials;
|
|
131
131
|
integrity?: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.RKafzlkP.mjs';
|
|
2
2
|
import { listenKeys } from 'nanostores';
|
|
3
3
|
import { useRef, useCallback, useSyncExternalStore } from '@lynx-js/react';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
5
|
-
import '../../shared/better-auth.
|
|
5
|
+
import '../../shared/better-auth.DR3R5wdU.mjs';
|
|
6
6
|
import '@better-auth/core/env';
|
|
7
7
|
import '@better-auth/core/error';
|
|
8
8
|
import '../../shared/better-auth.BYWGbmZ5.mjs';
|
|
@@ -4,7 +4,7 @@ import * as _better_auth_core from '@better-auth/core';
|
|
|
4
4
|
import { BetterAuthOptions, ClientStore, BetterAuthPlugin } from '@better-auth/core';
|
|
5
5
|
import { DBFieldAttribute, User } from '@better-auth/core/db';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DNnBkMGu.cjs';
|
|
7
|
-
import { i as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { i as SessionQueryParams } from '../../shared/better-auth.BtQaG5p3.cjs';
|
|
8
8
|
import * as nanostores from 'nanostores';
|
|
9
9
|
import { atom } from 'nanostores';
|
|
10
10
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
@@ -36,7 +36,7 @@ import 'better-call';
|
|
|
36
36
|
import 'packages/core/dist/db';
|
|
37
37
|
import 'packages/core/dist';
|
|
38
38
|
import '../../plugins/organization/access/index.cjs';
|
|
39
|
-
import '../../shared/better-auth.
|
|
39
|
+
import '../../shared/better-auth.C9FmyZ5W.cjs';
|
|
40
40
|
import 'packages/core/dist/oauth2';
|
|
41
41
|
import '@better-auth/core/env';
|
|
42
42
|
import '../../shared/better-auth.CtDEK5dv.cjs';
|
|
@@ -591,7 +591,7 @@ declare const passkeyClient: () => {
|
|
|
591
591
|
"/passkey/authenticate": "POST";
|
|
592
592
|
};
|
|
593
593
|
atomListeners: ({
|
|
594
|
-
matcher(path: string): path is "/
|
|
594
|
+
matcher(path: string): path is "/passkey/verify-registration" | "/passkey/delete-passkey" | "/passkey/update-passkey" | "/sign-out";
|
|
595
595
|
signal: "$listPasskeys";
|
|
596
596
|
} | {
|
|
597
597
|
matcher: (path: string) => path is "/passkey/verify-authentication";
|
|
@@ -4,7 +4,7 @@ import * as _better_auth_core from '@better-auth/core';
|
|
|
4
4
|
import { BetterAuthOptions, ClientStore, BetterAuthPlugin } from '@better-auth/core';
|
|
5
5
|
import { DBFieldAttribute, User } from '@better-auth/core/db';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DNnBkMGu.mjs';
|
|
7
|
-
import { i as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { i as SessionQueryParams } from '../../shared/better-auth.YquOTugC.mjs';
|
|
8
8
|
import * as nanostores from 'nanostores';
|
|
9
9
|
import { atom } from 'nanostores';
|
|
10
10
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
@@ -36,7 +36,7 @@ import 'better-call';
|
|
|
36
36
|
import 'packages/core/dist/db';
|
|
37
37
|
import 'packages/core/dist';
|
|
38
38
|
import '../../plugins/organization/access/index.mjs';
|
|
39
|
-
import '../../shared/better-auth.
|
|
39
|
+
import '../../shared/better-auth.DWUgoamJ.mjs';
|
|
40
40
|
import 'packages/core/dist/oauth2';
|
|
41
41
|
import '@better-auth/core/env';
|
|
42
42
|
import '../../shared/better-auth.5wJlMsTX.mjs';
|
|
@@ -591,7 +591,7 @@ declare const passkeyClient: () => {
|
|
|
591
591
|
"/passkey/authenticate": "POST";
|
|
592
592
|
};
|
|
593
593
|
atomListeners: ({
|
|
594
|
-
matcher(path: string): path is "/
|
|
594
|
+
matcher(path: string): path is "/passkey/verify-registration" | "/passkey/delete-passkey" | "/passkey/update-passkey" | "/sign-out";
|
|
595
595
|
signal: "$listPasskeys";
|
|
596
596
|
} | {
|
|
597
597
|
matcher: (path: string) => path is "/passkey/verify-authentication";
|
|
@@ -4,7 +4,7 @@ import * as _better_auth_core from '@better-auth/core';
|
|
|
4
4
|
import { BetterAuthOptions, ClientStore, BetterAuthPlugin } from '@better-auth/core';
|
|
5
5
|
import { DBFieldAttribute, User } from '@better-auth/core/db';
|
|
6
6
|
import { a as Prettify } from '../../shared/better-auth.DNnBkMGu.js';
|
|
7
|
-
import { i as SessionQueryParams } from '../../shared/better-auth.
|
|
7
|
+
import { i as SessionQueryParams } from '../../shared/better-auth.BMTapkyM.js';
|
|
8
8
|
import * as nanostores from 'nanostores';
|
|
9
9
|
import { atom } from 'nanostores';
|
|
10
10
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
@@ -36,7 +36,7 @@ import 'better-call';
|
|
|
36
36
|
import 'packages/core/dist/db';
|
|
37
37
|
import 'packages/core/dist';
|
|
38
38
|
import '../../plugins/organization/access/index.js';
|
|
39
|
-
import '../../shared/better-auth.
|
|
39
|
+
import '../../shared/better-auth.CVb74KJO.js';
|
|
40
40
|
import 'packages/core/dist/oauth2';
|
|
41
41
|
import '@better-auth/core/env';
|
|
42
42
|
import '../../shared/better-auth.DyhDNJOb.js';
|
|
@@ -591,7 +591,7 @@ declare const passkeyClient: () => {
|
|
|
591
591
|
"/passkey/authenticate": "POST";
|
|
592
592
|
};
|
|
593
593
|
atomListeners: ({
|
|
594
|
-
matcher(path: string): path is "/
|
|
594
|
+
matcher(path: string): path is "/passkey/verify-registration" | "/passkey/delete-passkey" | "/passkey/update-passkey" | "/sign-out";
|
|
595
595
|
signal: "$listPasskeys";
|
|
596
596
|
} | {
|
|
597
597
|
matcher: (path: string) => path is "/passkey/verify-authentication";
|