better-auth 1.2.5-beta.5 → 1.2.5-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/drizzle-adapter/index.cjs +1 -1
- package/dist/adapters/drizzle-adapter/index.d.cts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.ts +1 -1
- package/dist/adapters/drizzle-adapter/index.mjs +1 -1
- package/dist/adapters/kysely-adapter/index.cjs +2 -2
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.d.ts +1 -1
- package/dist/adapters/kysely-adapter/index.mjs +2 -2
- package/dist/adapters/memory-adapter/index.cjs +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.d.ts +1 -1
- package/dist/adapters/memory-adapter/index.mjs +2 -2
- package/dist/adapters/mongodb-adapter/index.cjs +1 -1
- package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
- package/dist/adapters/mongodb-adapter/index.mjs +1 -1
- package/dist/adapters/prisma-adapter/index.cjs +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.d.ts +1 -1
- package/dist/adapters/prisma-adapter/index.mjs +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api/index.cjs +8 -3
- 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 +9 -4
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.mjs +1 -1
- package/dist/client/plugins/index.d.cts +2 -2
- package/dist/client/plugins/index.d.mts +2 -2
- package/dist/client/plugins/index.d.ts +2 -2
- package/dist/client/react/index.cjs +1 -1
- package/dist/client/react/index.d.cts +1 -1
- package/dist/client/react/index.d.mts +1 -1
- package/dist/client/react/index.d.ts +1 -1
- package/dist/client/react/index.mjs +1 -1
- package/dist/client/solid/index.cjs +1 -1
- package/dist/client/solid/index.d.cts +1 -1
- package/dist/client/solid/index.d.mts +1 -1
- package/dist/client/solid/index.d.ts +1 -1
- package/dist/client/solid/index.mjs +1 -1
- package/dist/client/svelte/index.cjs +1 -1
- package/dist/client/svelte/index.d.cts +1 -1
- package/dist/client/svelte/index.d.mts +1 -1
- package/dist/client/svelte/index.d.ts +1 -1
- package/dist/client/svelte/index.mjs +1 -1
- package/dist/client/vue/index.cjs +1 -1
- package/dist/client/vue/index.d.cts +1 -1
- package/dist/client/vue/index.d.mts +1 -1
- package/dist/client/vue/index.d.ts +1 -1
- package/dist/client/vue/index.mjs +1 -1
- package/dist/cookies/index.d.cts +1 -1
- package/dist/cookies/index.d.mts +1 -1
- package/dist/cookies/index.d.ts +1 -1
- package/dist/db/index.cjs +4 -4
- package/dist/db/index.d.cts +2 -2
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.d.ts +2 -2
- package/dist/db/index.mjs +4 -4
- package/dist/index.cjs +6 -6
- 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 +7 -7
- package/dist/integrations/next-js.cjs +5 -5
- package/dist/integrations/next-js.d.cts +2 -10
- package/dist/integrations/next-js.d.mts +2 -10
- package/dist/integrations/next-js.d.ts +2 -10
- package/dist/integrations/next-js.mjs +5 -5
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/node.d.ts +1 -1
- package/dist/integrations/svelte-kit.d.cts +1 -1
- package/dist/integrations/svelte-kit.d.mts +1 -1
- package/dist/integrations/svelte-kit.d.ts +1 -1
- package/dist/oauth2/index.cjs +1 -1
- package/dist/oauth2/index.d.cts +2 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.d.ts +2 -2
- package/dist/oauth2/index.mjs +1 -1
- package/dist/plugins/admin/index.cjs +4 -4
- package/dist/plugins/admin/index.d.cts +614 -294
- package/dist/plugins/admin/index.d.mts +614 -294
- package/dist/plugins/admin/index.d.ts +614 -294
- package/dist/plugins/admin/index.mjs +4 -4
- package/dist/plugins/anonymous/index.cjs +3 -3
- package/dist/plugins/anonymous/index.d.cts +32 -22
- package/dist/plugins/anonymous/index.d.mts +32 -22
- package/dist/plugins/anonymous/index.d.ts +32 -22
- package/dist/plugins/anonymous/index.mjs +3 -3
- package/dist/plugins/bearer/index.cjs +3 -3
- package/dist/plugins/bearer/index.d.cts +3 -19
- package/dist/plugins/bearer/index.d.mts +3 -19
- package/dist/plugins/bearer/index.d.ts +3 -19
- package/dist/plugins/bearer/index.mjs +3 -3
- package/dist/plugins/custom-session/index.cjs +3 -3
- package/dist/plugins/custom-session/index.d.cts +21 -14
- package/dist/plugins/custom-session/index.d.mts +21 -14
- package/dist/plugins/custom-session/index.d.ts +21 -14
- package/dist/plugins/custom-session/index.mjs +3 -3
- package/dist/plugins/email-otp/index.cjs +3 -3
- package/dist/plugins/email-otp/index.d.cts +240 -94
- package/dist/plugins/email-otp/index.d.mts +240 -94
- package/dist/plugins/email-otp/index.d.ts +240 -94
- package/dist/plugins/email-otp/index.mjs +3 -3
- package/dist/plugins/generic-oauth/index.cjs +3 -3
- package/dist/plugins/generic-oauth/index.d.cts +123 -49
- package/dist/plugins/generic-oauth/index.d.mts +123 -49
- package/dist/plugins/generic-oauth/index.d.ts +123 -49
- package/dist/plugins/generic-oauth/index.mjs +3 -3
- package/dist/plugins/index.cjs +8 -8
- package/dist/plugins/index.d.cts +2 -2
- package/dist/plugins/index.d.mts +2 -2
- package/dist/plugins/index.d.ts +2 -2
- package/dist/plugins/index.mjs +9 -9
- package/dist/plugins/jwt/index.cjs +3 -3
- package/dist/plugins/jwt/index.d.cts +104 -43
- package/dist/plugins/jwt/index.d.mts +104 -43
- package/dist/plugins/jwt/index.d.ts +104 -43
- package/dist/plugins/jwt/index.mjs +3 -3
- package/dist/plugins/magic-link/index.cjs +3 -3
- package/dist/plugins/magic-link/index.d.cts +77 -33
- package/dist/plugins/magic-link/index.d.mts +77 -33
- package/dist/plugins/magic-link/index.d.ts +77 -33
- package/dist/plugins/magic-link/index.mjs +3 -3
- package/dist/plugins/multi-session/index.cjs +3 -3
- package/dist/plugins/multi-session/index.d.cts +122 -64
- package/dist/plugins/multi-session/index.d.mts +122 -64
- package/dist/plugins/multi-session/index.d.ts +122 -64
- package/dist/plugins/multi-session/index.mjs +3 -3
- package/dist/plugins/oauth-proxy/index.cjs +3 -3
- package/dist/plugins/oauth-proxy/index.d.cts +41 -40
- package/dist/plugins/oauth-proxy/index.d.mts +41 -40
- package/dist/plugins/oauth-proxy/index.d.ts +41 -40
- package/dist/plugins/oauth-proxy/index.mjs +3 -3
- package/dist/plugins/oidc-provider/index.cjs +16 -10
- package/dist/plugins/oidc-provider/index.d.cts +173 -117
- package/dist/plugins/oidc-provider/index.d.mts +173 -117
- package/dist/plugins/oidc-provider/index.d.ts +173 -117
- package/dist/plugins/oidc-provider/index.mjs +16 -10
- package/dist/plugins/one-tap/index.cjs +3 -3
- package/dist/plugins/one-tap/index.d.cts +39 -12
- package/dist/plugins/one-tap/index.d.mts +39 -12
- package/dist/plugins/one-tap/index.d.ts +39 -12
- package/dist/plugins/one-tap/index.mjs +3 -3
- package/dist/plugins/open-api/index.cjs +3 -3
- package/dist/plugins/open-api/index.d.cts +14 -25
- package/dist/plugins/open-api/index.d.mts +14 -25
- package/dist/plugins/open-api/index.d.ts +14 -25
- package/dist/plugins/open-api/index.mjs +3 -3
- package/dist/plugins/organization/index.cjs +4 -4
- package/dist/plugins/organization/index.d.cts +4276 -4931
- package/dist/plugins/organization/index.d.mts +4276 -4931
- package/dist/plugins/organization/index.d.ts +4276 -4931
- package/dist/plugins/organization/index.mjs +4 -4
- package/dist/plugins/passkey/index.cjs +3 -3
- package/dist/plugins/passkey/index.d.cts +448 -135
- package/dist/plugins/passkey/index.d.mts +448 -135
- package/dist/plugins/passkey/index.d.ts +448 -135
- package/dist/plugins/passkey/index.mjs +3 -3
- package/dist/plugins/phone-number/index.cjs +3 -3
- package/dist/plugins/phone-number/index.d.cts +163 -63
- package/dist/plugins/phone-number/index.d.mts +163 -63
- package/dist/plugins/phone-number/index.d.ts +163 -63
- package/dist/plugins/phone-number/index.mjs +3 -3
- package/dist/plugins/sso/index.cjs +3 -3
- package/dist/plugins/sso/index.d.cts +198 -48
- package/dist/plugins/sso/index.d.mts +198 -48
- package/dist/plugins/sso/index.d.ts +198 -48
- package/dist/plugins/sso/index.mjs +3 -3
- package/dist/plugins/two-factor/index.cjs +5 -5
- package/dist/plugins/two-factor/index.d.cts +730 -232
- package/dist/plugins/two-factor/index.d.mts +730 -232
- package/dist/plugins/two-factor/index.d.ts +730 -232
- package/dist/plugins/two-factor/index.mjs +5 -5
- package/dist/plugins/username/index.cjs +3 -3
- package/dist/plugins/username/index.d.cts +42 -22
- package/dist/plugins/username/index.d.mts +42 -22
- package/dist/plugins/username/index.d.ts +42 -22
- package/dist/plugins/username/index.mjs +3 -3
- package/dist/shared/{better-auth.CTGXCMCW.cjs → better-auth.1GtLBK1J.cjs} +5 -5
- package/dist/shared/{better-auth.Ceeh--Ch.d.mts → better-auth.2fbYHU01.d.mts} +184 -113
- package/dist/shared/{better-auth.RQXhKz9D.d.cts → better-auth.Al7ra9Pe.d.cts} +184 -113
- package/dist/shared/{better-auth.BU8KI689.cjs → better-auth.B3unKFue.cjs} +2 -2
- package/dist/shared/{better-auth.BZzyEvDD.d.ts → better-auth.BODzPfJo.d.ts} +10298 -11617
- package/dist/shared/{better-auth.CbXAPXob.mjs → better-auth.BdyOG_p4.mjs} +1 -1
- package/dist/shared/{better-auth.D4_KHRs_.d.ts → better-auth.BjXInNL7.d.ts} +1 -1
- package/dist/shared/{better-auth.CYM2dwBS.d.cts → better-auth.BkL9ntGY.d.cts} +10298 -11617
- package/dist/shared/{better-auth.HHZU10im.mjs → better-auth.BnRFp-t0.mjs} +1 -1
- package/dist/shared/{better-auth.CHyZMcYK.cjs → better-auth.C5H9XEzZ.cjs} +2 -2
- package/dist/shared/{better-auth.BazfnNCi.d.cts → better-auth.C7O0617V.d.mts} +1 -1
- package/dist/shared/{better-auth.DUW6NL1O.mjs → better-auth.CKCPM9Oy.mjs} +2 -2
- package/dist/shared/{better-auth.CREx1zDC.d.ts → better-auth.CV08HOs_.d.ts} +184 -113
- package/dist/shared/{better-auth.CUEbBDI6.mjs → better-auth.CbBX7Xla.mjs} +3 -3
- package/dist/shared/{better-auth.C24Bzw4w.mjs → better-auth.CepcSj5H.mjs} +2 -2
- package/dist/shared/{better-auth.4YwKHZI7.cjs → better-auth.ChassmKE.cjs} +3 -3
- package/dist/shared/{better-auth.D8LeJoj0.mjs → better-auth.DC8JQbiE.mjs} +1 -1
- package/dist/shared/{better-auth.DZnoWLte.cjs → better-auth.DWHWPllD.cjs} +1 -1
- package/dist/shared/{better-auth.CSVqSIae.mjs → better-auth.DYm-YVE1.mjs} +1 -1
- package/dist/shared/{better-auth.C8K_XLJq.d.mts → better-auth.D_6ikAPh.d.mts} +10298 -11617
- package/dist/shared/{better-auth.lwzD09PV.cjs → better-auth.DqLjzBlO.cjs} +1 -1
- package/dist/shared/{better-auth.CHHC_PJT.cjs → better-auth.QbbyHMYf.cjs} +1 -1
- package/dist/shared/{better-auth.BN2jUYPL.cjs → better-auth.R2B_T2k0.cjs} +1 -1
- package/dist/shared/{better-auth.Md4aKq0z.d.mts → better-auth.RZCibiKy.d.cts} +1 -1
- package/dist/shared/{better-auth.B1hv1W9-.mjs → better-auth.UO_GAdaM.mjs} +5 -5
- package/dist/shared/{better-auth.BddF2Yaz.cjs → better-auth.X0ynzeu1.cjs} +3 -3
- package/dist/shared/{better-auth.DquSvxQr.cjs → better-auth.aci1hpij.cjs} +11 -11
- package/dist/shared/{better-auth.DkU2P8MT.mjs → better-auth.lijknCkI.mjs} +11 -11
- package/dist/shared/{better-auth.QJMYV_xr.mjs → better-auth.vdKrG2Zp.mjs} +3 -3
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
|
-
require('../../shared/better-auth.
|
|
4
|
+
require('../../shared/better-auth.C5H9XEzZ.cjs');
|
|
5
5
|
require('../../shared/better-auth.DiSjtgs9.cjs');
|
|
6
6
|
const id = require('../../shared/better-auth.Bg6iw3ig.cjs');
|
|
7
7
|
require('zod');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { count, desc, asc, eq, inArray, like, lt, lte, and, or } from 'drizzle-orm';
|
|
2
|
-
import '../../shared/better-auth.
|
|
2
|
+
import '../../shared/better-auth.CepcSj5H.mjs';
|
|
3
3
|
import '../../shared/better-auth.8zoxzg-F.mjs';
|
|
4
4
|
import { g as generateId } from '../../shared/better-auth.BUPPRXfK.mjs';
|
|
5
5
|
import 'zod';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.DqLjzBlO.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.C5H9XEzZ.cjs');
|
|
6
6
|
require('zod');
|
|
7
7
|
require('better-call');
|
|
8
8
|
require('../../shared/better-auth.DiSjtgs9.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'better-call';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'better-call';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../../shared/better-auth.BODzPfJo.js';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'better-call';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { c as createKyselyAdapter, k as kyselyAdapter } from '../../shared/better-auth.
|
|
1
|
+
export { c as createKyselyAdapter, k as kyselyAdapter } from '../../shared/better-auth.BnRFp-t0.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.CepcSj5H.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'better-call';
|
|
6
6
|
import '../../shared/better-auth.8zoxzg-F.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
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.DWHWPllD.cjs');
|
|
4
|
+
require('../../shared/better-auth.C5H9XEzZ.cjs');
|
|
5
5
|
require('zod');
|
|
6
6
|
require('better-call');
|
|
7
7
|
require('../../shared/better-auth.DiSjtgs9.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { m as memoryAdapter } from '../../shared/better-auth.
|
|
2
|
-
import '../../shared/better-auth.
|
|
1
|
+
export { m as memoryAdapter } from '../../shared/better-auth.DC8JQbiE.mjs';
|
|
2
|
+
import '../../shared/better-auth.CepcSj5H.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../../shared/better-auth.8zoxzg-F.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const mongodb = require('mongodb');
|
|
4
|
-
require('../../shared/better-auth.
|
|
4
|
+
require('../../shared/better-auth.C5H9XEzZ.cjs');
|
|
5
5
|
require('../../shared/better-auth.DiSjtgs9.cjs');
|
|
6
6
|
require('@better-auth/utils/random');
|
|
7
7
|
require('zod');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Db } from 'mongodb';
|
|
2
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Db } from 'mongodb';
|
|
2
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Db } from 'mongodb';
|
|
2
|
-
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, W as Where } from '../../shared/better-auth.BODzPfJo.js';
|
|
3
3
|
import '../../shared/better-auth.Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
package/dist/adapters/test.d.cts
CHANGED
package/dist/adapters/test.d.mts
CHANGED
package/dist/adapters/test.d.ts
CHANGED
package/dist/api/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const account = require('../shared/better-auth.
|
|
4
|
+
const account = require('../shared/better-auth.ChassmKE.cjs');
|
|
5
5
|
const zod = require('zod');
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
|
-
const schema = require('../shared/better-auth.
|
|
7
|
+
const schema = require('../shared/better-auth.C5H9XEzZ.cjs');
|
|
8
8
|
const env = require('../shared/better-auth.DiSjtgs9.cjs');
|
|
9
9
|
const logger = require('../shared/better-auth.GpOOav9x.cjs');
|
|
10
10
|
const getRequestIp = require('../shared/better-auth.i9-25Ul9.cjs');
|
|
@@ -26,7 +26,7 @@ require('@noble/hashes/utils');
|
|
|
26
26
|
require('../shared/better-auth.CYeOI8C-.cjs');
|
|
27
27
|
require('@better-auth/utils/random');
|
|
28
28
|
require('../shared/better-auth.ANpbi45u.cjs');
|
|
29
|
-
require('../shared/better-auth.
|
|
29
|
+
require('../shared/better-auth.QbbyHMYf.cjs');
|
|
30
30
|
require('../shared/better-auth.Bg6iw3ig.cjs');
|
|
31
31
|
require('@better-auth/utils/hmac');
|
|
32
32
|
require('../shared/better-auth.BMYo0QR-.cjs');
|
|
@@ -691,6 +691,11 @@ const router = (ctx, options) => {
|
|
|
691
691
|
...middlewares
|
|
692
692
|
],
|
|
693
693
|
async onRequest(req) {
|
|
694
|
+
const disabledPaths = ctx.options.disabledPaths || [];
|
|
695
|
+
const path = new URL(req.url).pathname.replace(basePath, "");
|
|
696
|
+
if (disabledPaths.includes(path)) {
|
|
697
|
+
return new Response("Not Found", { status: 404 });
|
|
698
|
+
}
|
|
694
699
|
for (const plugin of ctx.options.plugins || []) {
|
|
695
700
|
if (plugin.onRequest) {
|
|
696
701
|
const response = await plugin.onRequest(req, ctx);
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../shared/better-auth.Bi8FQwDD.cjs';
|
|
2
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.BkL9ntGY.cjs';
|
|
2
3
|
export { APIError } from 'better-call';
|
|
3
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.CYM2dwBS.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../shared/better-auth.BkREA_U6.cjs';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../shared/better-auth.Bi8FQwDD.mjs';
|
|
2
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.D_6ikAPh.mjs';
|
|
2
3
|
export { APIError } from 'better-call';
|
|
3
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.C8K_XLJq.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../shared/better-auth.CmWesETc.mjs';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../shared/better-auth.Bi8FQwDD.js';
|
|
2
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.BODzPfJo.js';
|
|
2
3
|
export { APIError } from 'better-call';
|
|
3
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aE as callbackOAuth, a$ as changeEmail, aX as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aA as getEndpoints, aF as getSession, aG as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aI as requestOnlySessionMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aB as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aH as sessionMiddleware, aY as setPassword, aD as signInEmail, aC as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from '../shared/better-auth.BZzyEvDD.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
6
|
import '../shared/better-auth.CVEUIYlu.js';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIError, toResponse, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, d as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, e as getSession, i as originCheckMiddleware, j as error, k as ok, m as unlinkAccount, n as deleteUserCallback, p as listUserAccounts, q as linkSocialAccount, r as revokeOtherSessions, t as revokeSessions, v as revokeSession, x as forgetPasswordCallback, y as deleteUser, z as setPassword, A as changePassword, C as changeEmail, D as sendVerificationEmail, E as verifyEmail, F as resetPassword, G as forgetPassword, I as signInEmail, J as signOut, K as callbackOAuth, L as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, N as optionsMiddleware, o as originCheck, M as requestOnlySessionMiddleware, b as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, d as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, e as getSession, i as originCheckMiddleware, j as error, k as ok, m as unlinkAccount, n as deleteUserCallback, p as listUserAccounts, q as linkSocialAccount, r as revokeOtherSessions, t as revokeSessions, v as revokeSession, x as forgetPasswordCallback, y as deleteUser, z as setPassword, A as changePassword, C as changeEmail, D as sendVerificationEmail, E as verifyEmail, F as resetPassword, G as forgetPassword, I as signInEmail, J as signOut, K as callbackOAuth, L as signInSocial } from '../shared/better-auth.vdKrG2Zp.mjs';
|
|
4
|
+
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, N as optionsMiddleware, o as originCheck, M as requestOnlySessionMiddleware, b as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.vdKrG2Zp.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { setSessionCookie } from '../cookies/index.mjs';
|
|
7
|
-
import { f as parseUserInput } from '../shared/better-auth.
|
|
7
|
+
import { f as parseUserInput } from '../shared/better-auth.CepcSj5H.mjs';
|
|
8
8
|
import { b as isDevelopment } from '../shared/better-auth.8zoxzg-F.mjs';
|
|
9
9
|
import { a as logger } from '../shared/better-auth.DH3YjMQH.mjs';
|
|
10
10
|
import { g as getIp } from '../shared/better-auth.DZGc_87_.mjs';
|
|
@@ -26,7 +26,7 @@ import '@noble/hashes/utils';
|
|
|
26
26
|
import '../shared/better-auth.B4Qoxdgc.mjs';
|
|
27
27
|
import '@better-auth/utils/random';
|
|
28
28
|
import '../shared/better-auth.DdzSJf-n.mjs';
|
|
29
|
-
import '../shared/better-auth.
|
|
29
|
+
import '../shared/better-auth.BdyOG_p4.mjs';
|
|
30
30
|
import '../shared/better-auth.BUPPRXfK.mjs';
|
|
31
31
|
import '@better-auth/utils/hmac';
|
|
32
32
|
import '../shared/better-auth.DDEbWX-S.mjs';
|
|
@@ -687,6 +687,11 @@ const router = (ctx, options) => {
|
|
|
687
687
|
...middlewares
|
|
688
688
|
],
|
|
689
689
|
async onRequest(req) {
|
|
690
|
+
const disabledPaths = ctx.options.disabledPaths || [];
|
|
691
|
+
const path = new URL(req.url).pathname.replace(basePath, "");
|
|
692
|
+
if (disabledPaths.includes(path)) {
|
|
693
|
+
return new Response("Not Found", { status: 404 });
|
|
694
|
+
}
|
|
690
695
|
for (const plugin of ctx.options.plugins || []) {
|
|
691
696
|
if (plugin.onRequest) {
|
|
692
697
|
const response = await plugin.onRequest(req, ctx);
|
package/dist/client/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../shared/better-auth.
|
|
3
|
+
const proxy = require('../shared/better-auth.R2B_T2k0.cjs');
|
|
4
4
|
const misc = require('../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
const query = require('../shared/better-auth.C_Zl7Etp.cjs');
|
|
6
6
|
require('@better-fetch/fetch');
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.BkL9ntGY.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';
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.D_6ikAPh.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';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { h as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.BODzPfJo.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';
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../shared/better-auth.DYm-YVE1.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
export { u as useAuthQuery } from '../shared/better-auth.CQvoVIBD.mjs';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.cjs';
|
|
|
11
11
|
import { magicLink } from '../../plugins/magic-link/index.cjs';
|
|
12
12
|
import { phoneNumber } from '../../plugins/phone-number/index.cjs';
|
|
13
13
|
import { anonymous } from '../../plugins/anonymous/index.cjs';
|
|
14
|
-
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.BkL9ntGY.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,7 +20,7 @@ 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.Al7ra9Pe.cjs';
|
|
24
24
|
export * from '@simplewebauthn/server';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import 'better-call';
|
|
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.mjs';
|
|
|
11
11
|
import { magicLink } from '../../plugins/magic-link/index.mjs';
|
|
12
12
|
import { phoneNumber } from '../../plugins/phone-number/index.mjs';
|
|
13
13
|
import { anonymous } from '../../plugins/anonymous/index.mjs';
|
|
14
|
-
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.D_6ikAPh.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,7 +20,7 @@ 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.2fbYHU01.mjs';
|
|
24
24
|
export * from '@simplewebauthn/server';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import 'better-call';
|
|
@@ -11,7 +11,7 @@ export { twoFactorClient } from '../../plugins/two-factor/index.js';
|
|
|
11
11
|
import { magicLink } from '../../plugins/magic-link/index.js';
|
|
12
12
|
import { phoneNumber } from '../../plugins/phone-number/index.js';
|
|
13
13
|
import { anonymous } from '../../plugins/anonymous/index.js';
|
|
14
|
-
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { T as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.BODzPfJo.js';
|
|
15
15
|
import { admin } from '../../plugins/admin/index.js';
|
|
16
16
|
import { genericOAuth } from '../../plugins/generic-oauth/index.js';
|
|
17
17
|
import { jwt } from '../../plugins/jwt/index.js';
|
|
@@ -20,7 +20,7 @@ import { emailOTP } from '../../plugins/email-otp/index.js';
|
|
|
20
20
|
import { Store } from '../../types/index.js';
|
|
21
21
|
import { sso } from '../../plugins/sso/index.js';
|
|
22
22
|
import { oidcProvider } from '../../plugins/oidc-provider/index.js';
|
|
23
|
-
import { a as apiKey } from '../../shared/better-auth.
|
|
23
|
+
import { a as apiKey } from '../../shared/better-auth.CV08HOs_.js';
|
|
24
24
|
export * from '@simplewebauthn/server';
|
|
25
25
|
import 'zod';
|
|
26
26
|
import 'better-call';
|
|
@@ -7,7 +7,7 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'kysely';
|
|
@@ -7,7 +7,7 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'kysely';
|
|
@@ -7,7 +7,7 @@ export * from '@better-fetch/fetch';
|
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BODzPfJo.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import 'kysely';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.DYm-YVE1.mjs';
|
|
2
2
|
import { listenKeys } from 'nanostores';
|
|
3
3
|
import { useRef, useCallback, useSyncExternalStore } from 'react';
|
|
4
4
|
import '@better-fetch/fetch';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.R2B_T2k0.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
const store = require('solid-js/store');
|
|
6
6
|
const solidJs = require('solid-js');
|
|
@@ -4,7 +4,7 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
7
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
@@ -4,7 +4,7 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
7
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
@@ -4,7 +4,7 @@ export * from '@better-fetch/fetch';
|
|
|
4
4
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
5
5
|
import { Accessor } from 'solid-js';
|
|
6
6
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
7
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BODzPfJo.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.DYm-YVE1.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import { createStore, reconcile } from 'solid-js/store';
|
|
4
4
|
import { onCleanup } from 'solid-js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const proxy = require('../../shared/better-auth.
|
|
3
|
+
const proxy = require('../../shared/better-auth.R2B_T2k0.cjs');
|
|
4
4
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
5
5
|
require('@better-fetch/fetch');
|
|
6
6
|
require('../../shared/better-auth.C-R0J0n1.cjs');
|
|
@@ -6,7 +6,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.cjs';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BkL9ntGY.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
@@ -6,7 +6,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.mjs';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.D_6ikAPh.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
@@ -6,7 +6,7 @@ import { BetterFetchError } from '@better-fetch/fetch';
|
|
|
6
6
|
export * from '@better-fetch/fetch';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, P as PrettifyDeep } from '../../shared/better-auth.Bi8FQwDD.js';
|
|
9
|
-
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { h as BASE_ERROR_CODES } from '../../shared/better-auth.BODzPfJo.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'kysely';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.
|
|
1
|
+
import { g as getClientConfig, c as createDynamicPathProxy } from '../../shared/better-auth.DYm-YVE1.mjs';
|
|
2
2
|
import { c as capitalizeFirstLetter } from '../../shared/better-auth.D-2CmEwz.mjs';
|
|
3
3
|
import '@better-fetch/fetch';
|
|
4
4
|
import '../../shared/better-auth.VTXNLFMT.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const vue = require('vue');
|
|
4
|
-
const proxy = require('../../shared/better-auth.
|
|
4
|
+
const proxy = require('../../shared/better-auth.R2B_T2k0.cjs');
|
|
5
5
|
const misc = require('../../shared/better-auth.BLDOwz3i.cjs');
|
|
6
6
|
require('@better-fetch/fetch');
|
|
7
7
|
require('../../shared/better-auth.C-R0J0n1.cjs');
|