better-auth 1.2.8-beta.1 → 1.2.8-beta.3
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 +10 -1
- package/dist/adapters/drizzle-adapter/index.d.cts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.d.ts +2 -2
- package/dist/adapters/drizzle-adapter/index.mjs +11 -2
- package/dist/adapters/index.cjs +1 -1
- package/dist/adapters/index.d.cts +3 -3
- package/dist/adapters/index.d.mts +3 -3
- package/dist/adapters/index.d.ts +3 -3
- package/dist/adapters/index.mjs +1 -1
- package/dist/adapters/kysely-adapter/index.cjs +2 -2
- package/dist/adapters/kysely-adapter/index.d.cts +2 -2
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.d.ts +2 -2
- package/dist/adapters/kysely-adapter/index.mjs +2 -2
- package/dist/adapters/memory-adapter/index.cjs +2 -2
- package/dist/adapters/memory-adapter/index.d.cts +2 -2
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.d.ts +2 -2
- package/dist/adapters/memory-adapter/index.mjs +2 -2
- package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.ts +1 -1
- package/dist/adapters/prisma-adapter/index.cjs +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +2 -2
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.d.ts +2 -2
- package/dist/adapters/prisma-adapter/index.mjs +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.mjs +2 -2
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +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.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/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/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/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/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 +5 -5
- 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 +6 -6
- package/dist/integrations/next-js.cjs +2 -2
- package/dist/integrations/next-js.d.cts +1 -1
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/next-js.d.ts +1 -1
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/node.d.ts +1 -1
- package/dist/integrations/react-start.cjs +2 -2
- package/dist/integrations/react-start.d.cts +1 -1
- package/dist/integrations/react-start.d.mts +1 -1
- package/dist/integrations/react-start.d.ts +1 -1
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.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.d.cts +2 -2
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.d.ts +2 -2
- package/dist/plugins/admin/index.cjs +2 -2
- package/dist/plugins/admin/index.d.cts +1 -1
- package/dist/plugins/admin/index.d.mts +1 -1
- package/dist/plugins/admin/index.d.ts +1 -1
- package/dist/plugins/admin/index.mjs +2 -2
- package/dist/plugins/anonymous/index.cjs +1 -1
- package/dist/plugins/anonymous/index.d.cts +1 -1
- package/dist/plugins/anonymous/index.d.mts +1 -1
- package/dist/plugins/anonymous/index.d.ts +1 -1
- package/dist/plugins/anonymous/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +1 -1
- package/dist/plugins/bearer/index.d.cts +1 -1
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.ts +1 -1
- package/dist/plugins/bearer/index.mjs +1 -1
- package/dist/plugins/captcha/index.d.cts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.ts +1 -1
- package/dist/plugins/custom-session/index.cjs +2 -2
- package/dist/plugins/custom-session/index.d.cts +2 -2
- package/dist/plugins/custom-session/index.d.mts +2 -2
- package/dist/plugins/custom-session/index.d.ts +2 -2
- package/dist/plugins/custom-session/index.mjs +2 -2
- package/dist/plugins/email-otp/index.cjs +1 -1
- package/dist/plugins/email-otp/index.d.cts +1 -1
- package/dist/plugins/email-otp/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.d.ts +1 -1
- package/dist/plugins/email-otp/index.mjs +1 -1
- package/dist/plugins/generic-oauth/index.cjs +8 -14
- package/dist/plugins/generic-oauth/index.d.cts +2 -2
- package/dist/plugins/generic-oauth/index.d.mts +2 -2
- package/dist/plugins/generic-oauth/index.d.ts +2 -2
- package/dist/plugins/generic-oauth/index.mjs +8 -14
- package/dist/plugins/haveibeenpwned/index.cjs +1 -1
- package/dist/plugins/haveibeenpwned/index.d.cts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.ts +1 -1
- package/dist/plugins/haveibeenpwned/index.mjs +1 -1
- package/dist/plugins/index.cjs +3 -3
- package/dist/plugins/index.d.cts +3 -3
- package/dist/plugins/index.d.mts +3 -3
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.mjs +4 -4
- package/dist/plugins/jwt/index.cjs +1 -1
- package/dist/plugins/jwt/index.d.cts +1 -1
- package/dist/plugins/jwt/index.d.mts +1 -1
- package/dist/plugins/jwt/index.d.ts +1 -1
- package/dist/plugins/jwt/index.mjs +1 -1
- package/dist/plugins/magic-link/index.cjs +1 -1
- package/dist/plugins/magic-link/index.mjs +1 -1
- package/dist/plugins/multi-session/index.cjs +1 -1
- package/dist/plugins/multi-session/index.d.cts +1 -1
- package/dist/plugins/multi-session/index.d.mts +1 -1
- package/dist/plugins/multi-session/index.d.ts +1 -1
- package/dist/plugins/multi-session/index.mjs +1 -1
- package/dist/plugins/oauth-proxy/index.cjs +1 -1
- package/dist/plugins/oauth-proxy/index.d.cts +1 -1
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.d.ts +1 -1
- package/dist/plugins/oauth-proxy/index.mjs +1 -1
- package/dist/plugins/oidc-provider/index.cjs +1 -1
- package/dist/plugins/oidc-provider/index.d.cts +1 -1
- package/dist/plugins/oidc-provider/index.d.mts +1 -1
- package/dist/plugins/oidc-provider/index.d.ts +1 -1
- package/dist/plugins/oidc-provider/index.mjs +1 -1
- package/dist/plugins/one-tap/index.cjs +1 -1
- package/dist/plugins/one-tap/index.mjs +1 -1
- package/dist/plugins/one-time-token/index.cjs +2 -2
- package/dist/plugins/one-time-token/index.d.cts +1 -1
- package/dist/plugins/one-time-token/index.d.mts +1 -1
- package/dist/plugins/one-time-token/index.d.ts +1 -1
- package/dist/plugins/one-time-token/index.mjs +2 -2
- package/dist/plugins/open-api/index.cjs +1 -1
- package/dist/plugins/open-api/index.d.cts +1 -1
- package/dist/plugins/open-api/index.d.mts +1 -1
- package/dist/plugins/open-api/index.d.ts +1 -1
- package/dist/plugins/open-api/index.mjs +1 -1
- package/dist/plugins/organization/index.cjs +2 -2
- package/dist/plugins/organization/index.d.cts +1 -1
- package/dist/plugins/organization/index.d.mts +1 -1
- package/dist/plugins/organization/index.d.ts +1 -1
- package/dist/plugins/organization/index.mjs +2 -2
- package/dist/plugins/passkey/index.cjs +2 -1
- package/dist/plugins/passkey/index.d.cts +1 -1
- package/dist/plugins/passkey/index.d.mts +1 -1
- package/dist/plugins/passkey/index.d.ts +1 -1
- package/dist/plugins/passkey/index.mjs +2 -1
- package/dist/plugins/phone-number/index.cjs +1 -1
- package/dist/plugins/phone-number/index.d.cts +1 -1
- package/dist/plugins/phone-number/index.d.mts +1 -1
- package/dist/plugins/phone-number/index.d.ts +1 -1
- package/dist/plugins/phone-number/index.mjs +1 -1
- package/dist/plugins/sso/index.cjs +2 -2
- package/dist/plugins/sso/index.d.cts +1 -1
- package/dist/plugins/sso/index.d.mts +1 -1
- package/dist/plugins/sso/index.d.ts +1 -1
- package/dist/plugins/sso/index.mjs +2 -2
- package/dist/plugins/two-factor/index.cjs +7 -5
- package/dist/plugins/two-factor/index.d.cts +1 -1
- package/dist/plugins/two-factor/index.d.mts +1 -1
- package/dist/plugins/two-factor/index.d.ts +1 -1
- package/dist/plugins/two-factor/index.mjs +7 -5
- package/dist/plugins/username/index.cjs +1 -1
- package/dist/plugins/username/index.d.cts +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/plugins/username/index.d.ts +1 -1
- package/dist/plugins/username/index.mjs +1 -1
- package/dist/shared/{better-auth.BKyK_ofH.d.mts → better-auth.BGbO1sDU.d.mts} +1 -1
- package/dist/shared/{better-auth.CVCo5Z2T.cjs → better-auth.BJiRPytD.cjs} +1 -1
- package/dist/shared/{better-auth.DjryM8pE.cjs → better-auth.BLnaKDpp.cjs} +1 -1
- package/dist/shared/{better-auth.-Dl1H7Rz.d.ts → better-auth.BRel8q6A.d.ts} +1 -1
- package/dist/shared/{better-auth.Dr138tsU.d.ts → better-auth.BqTWy4bR.d.ts} +1 -1
- package/dist/shared/{better-auth.UWJYhF5V.cjs → better-auth.BzlWwqx6.cjs} +1 -1
- package/dist/shared/{better-auth.CPDBY4hI.cjs → better-auth.C8liBIUN.cjs} +1 -1
- package/dist/shared/{better-auth.bolYzZ0S.d.cts → better-auth.C9h9IDuv.d.cts} +26 -1
- package/dist/shared/{better-auth.DURsStt9.mjs → better-auth.CkNopsdX.mjs} +1 -1
- package/dist/shared/{better-auth.RnGMlkGR.d.mts → better-auth.D05tOULo.d.mts} +1 -1
- package/dist/shared/{better-auth.DYoLD99C.cjs → better-auth.D7wPZeNW.cjs} +18 -2
- package/dist/shared/{better-auth.OXNpfBO8.d.cts → better-auth.DD23n9eA.d.cts} +1 -1
- package/dist/shared/{better-auth.1DR6suCQ.mjs → better-auth.DKF2BM5s.mjs} +1 -1
- package/dist/shared/{better-auth.xTHoeGxJ.d.cts → better-auth.DKG6z6wI.d.cts} +1 -1
- package/dist/shared/{better-auth.Bk5IMdhM.mjs → better-auth.DM4cRSFf.mjs} +18 -2
- package/dist/shared/{better-auth.rC5b9qdS.mjs → better-auth.DRnz6Qa6.mjs} +1 -1
- package/dist/shared/{better-auth.BzFIHfxT.d.cts → better-auth.DSaDbWe7.d.cts} +1 -1
- package/dist/shared/{better-auth.jNA-1f1K.d.ts → better-auth.DXuoyAUB.d.ts} +1 -1
- package/dist/shared/{better-auth.DvTP08Oe.mjs → better-auth.DZhGZ3hY.mjs} +18 -16
- package/dist/shared/{better-auth.ASptIaaI.d.mts → better-auth.DoH4g3oA.d.mts} +26 -1
- package/dist/shared/{better-auth.rSYJCd3o.mjs → better-auth.Du54XGQ5.mjs} +1 -1
- package/dist/shared/{better-auth.CCgUfvlh.d.mts → better-auth.E28-Tvud.d.mts} +1 -1
- package/dist/shared/{better-auth.b6379eQT.d.ts → better-auth.EetBIuJe.d.ts} +26 -1
- package/dist/shared/{better-auth.B0Si_s7N.mjs → better-auth.TuDfqYsl.mjs} +1 -1
- package/dist/shared/{better-auth.BfG24BjZ.cjs → better-auth.UARlElVH.cjs} +1 -1
- package/dist/shared/{better-auth.D7If6DrS.cjs → better-auth.zMvh8rLL.cjs} +18 -16
- 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 +6 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const drizzleOrm = require('drizzle-orm');
|
|
4
4
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
5
|
-
const index = require('../../shared/better-auth.
|
|
5
|
+
const index = require('../../shared/better-auth.BLnaKDpp.cjs');
|
|
6
6
|
require('../../shared/better-auth.D3mtHEZg.cjs');
|
|
7
7
|
require('../../shared/better-auth.CUdxApHl.cjs');
|
|
8
8
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
@@ -116,6 +116,15 @@ const drizzleAdapter = (db, config) => index.createAdapter({
|
|
|
116
116
|
if (w.operator === "lte") {
|
|
117
117
|
return [drizzleOrm.lte(schemaModel[field], w.value)];
|
|
118
118
|
}
|
|
119
|
+
if (w.operator === "ne") {
|
|
120
|
+
return [drizzleOrm.ne(schemaModel[field], w.value)];
|
|
121
|
+
}
|
|
122
|
+
if (w.operator === "gt") {
|
|
123
|
+
return [drizzleOrm.gt(schemaModel[field], w.value)];
|
|
124
|
+
}
|
|
125
|
+
if (w.operator === "gte") {
|
|
126
|
+
return [drizzleOrm.gte(schemaModel[field], w.value)];
|
|
127
|
+
}
|
|
119
128
|
return [drizzleOrm.eq(schemaModel[field], w.value)];
|
|
120
129
|
}
|
|
121
130
|
const andGroup = where.filter(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.DSaDbWe7.cjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.D05tOULo.mjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.EetBIuJe.js';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.BqTWy4bR.js';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { count, desc, asc, sql, eq, inArray, like, lt, lte, and, or } from 'drizzle-orm';
|
|
1
|
+
import { count, desc, asc, sql, eq, inArray, like, lt, lte, ne, gt, gte, and, or } from 'drizzle-orm';
|
|
2
2
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
3
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
3
|
+
import { c as createAdapter } from '../../shared/better-auth.Du54XGQ5.mjs';
|
|
4
4
|
import '../../shared/better-auth.tB5eU6EY.mjs';
|
|
5
5
|
import '../../shared/better-auth.0TC26uRi.mjs';
|
|
6
6
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
@@ -114,6 +114,15 @@ const drizzleAdapter = (db, config) => createAdapter({
|
|
|
114
114
|
if (w.operator === "lte") {
|
|
115
115
|
return [lte(schemaModel[field], w.value)];
|
|
116
116
|
}
|
|
117
|
+
if (w.operator === "ne") {
|
|
118
|
+
return [ne(schemaModel[field], w.value)];
|
|
119
|
+
}
|
|
120
|
+
if (w.operator === "gt") {
|
|
121
|
+
return [gt(schemaModel[field], w.value)];
|
|
122
|
+
}
|
|
123
|
+
if (w.operator === "gte") {
|
|
124
|
+
return [gte(schemaModel[field], w.value)];
|
|
125
|
+
}
|
|
117
126
|
return [eq(schemaModel[field], w.value)];
|
|
118
127
|
}
|
|
119
128
|
const andGroup = where.filter(
|
package/dist/adapters/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../shared/better-auth.
|
|
3
|
+
const index = require('../shared/better-auth.BLnaKDpp.cjs');
|
|
4
4
|
require('../shared/better-auth.D3mtHEZg.cjs');
|
|
5
5
|
require('../shared/better-auth.CUdxApHl.cjs');
|
|
6
6
|
require('../shared/better-auth.BEphVDyL.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
2
|
-
import { a as AdapterConfig, C as CreateCustomAdapter } from '../shared/better-auth.
|
|
3
|
-
export { A as AdapterDebugLogs, d as AdapterTestDebugLogs, c as CleanedWhere, b as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
2
|
+
import { a as AdapterConfig, C as CreateCustomAdapter } from '../shared/better-auth.DSaDbWe7.cjs';
|
|
3
|
+
export { A as AdapterDebugLogs, d as AdapterTestDebugLogs, c as CleanedWhere, b as CustomAdapter } from '../shared/better-auth.DSaDbWe7.cjs';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
2
|
-
import { a as AdapterConfig, C as CreateCustomAdapter } from '../shared/better-auth.
|
|
3
|
-
export { A as AdapterDebugLogs, d as AdapterTestDebugLogs, c as CleanedWhere, b as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
2
|
+
import { a as AdapterConfig, C as CreateCustomAdapter } from '../shared/better-auth.D05tOULo.mjs';
|
|
3
|
+
export { A as AdapterDebugLogs, d as AdapterTestDebugLogs, c as CleanedWhere, b as CustomAdapter } from '../shared/better-auth.D05tOULo.mjs';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.C39-x5Oo.mjs';
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
2
|
-
import { a as AdapterConfig, C as CreateCustomAdapter } from '../shared/better-auth.
|
|
3
|
-
export { A as AdapterDebugLogs, d as AdapterTestDebugLogs, c as CleanedWhere, b as CustomAdapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.EetBIuJe.js';
|
|
2
|
+
import { a as AdapterConfig, C as CreateCustomAdapter } from '../shared/better-auth.BqTWy4bR.js';
|
|
3
|
+
export { A as AdapterDebugLogs, d as AdapterTestDebugLogs, c as CleanedWhere, b as CustomAdapter } from '../shared/better-auth.BqTWy4bR.js';
|
|
4
4
|
import '../shared/better-auth.CYegVoq1.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../shared/better-auth.CpEzqKmn.js';
|
package/dist/adapters/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createAdapter } from '../shared/better-auth.
|
|
1
|
+
export { c as createAdapter } from '../shared/better-auth.Du54XGQ5.mjs';
|
|
2
2
|
import '../shared/better-auth.tB5eU6EY.mjs';
|
|
3
3
|
import '../shared/better-auth.0TC26uRi.mjs';
|
|
4
4
|
import '../shared/better-auth.DORkW_Ge.mjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const kyselyAdapter = require('../../shared/better-auth.
|
|
3
|
+
const kyselyAdapter = require('../../shared/better-auth.BJiRPytD.cjs');
|
|
4
4
|
require('kysely');
|
|
5
|
-
require('../../shared/better-auth.
|
|
5
|
+
require('../../shared/better-auth.BLnaKDpp.cjs');
|
|
6
6
|
require('../../shared/better-auth.D3mtHEZg.cjs');
|
|
7
7
|
require('../../shared/better-auth.CUdxApHl.cjs');
|
|
8
8
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, g as Adapter } from '../../shared/better-auth.
|
|
3
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, g as Adapter } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
3
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.DSaDbWe7.cjs';
|
|
4
4
|
import '../../shared/better-auth.CYegVoq1.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, g as Adapter } from '../../shared/better-auth.
|
|
3
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, g as Adapter } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
3
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.D05tOULo.mjs';
|
|
4
4
|
import '../../shared/better-auth.CYegVoq1.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { f as BetterAuthOptions, K as KyselyDatabaseType, g as Adapter } from '../../shared/better-auth.
|
|
3
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
2
|
+
import { f as BetterAuthOptions, K as KyselyDatabaseType, g as Adapter } from '../../shared/better-auth.EetBIuJe.js';
|
|
3
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.BqTWy4bR.js';
|
|
4
4
|
import '../../shared/better-auth.CYegVoq1.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
@@ -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.DKF2BM5s.mjs';
|
|
2
2
|
import 'kysely';
|
|
3
|
-
import '../../shared/better-auth.
|
|
3
|
+
import '../../shared/better-auth.Du54XGQ5.mjs';
|
|
4
4
|
import '../../shared/better-auth.tB5eU6EY.mjs';
|
|
5
5
|
import '../../shared/better-auth.0TC26uRi.mjs';
|
|
6
6
|
import '../../shared/better-auth.DORkW_Ge.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.UARlElVH.cjs');
|
|
4
|
+
require('../../shared/better-auth.BLnaKDpp.cjs');
|
|
5
5
|
require('../../shared/better-auth.D3mtHEZg.cjs');
|
|
6
6
|
require('../../shared/better-auth.CUdxApHl.cjs');
|
|
7
7
|
require('../../shared/better-auth.BEphVDyL.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.DSaDbWe7.cjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.D05tOULo.mjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.EetBIuJe.js';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.BqTWy4bR.js';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
@@ -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.CkNopsdX.mjs';
|
|
2
|
+
import '../../shared/better-auth.Du54XGQ5.mjs';
|
|
3
3
|
import '../../shared/better-auth.tB5eU6EY.mjs';
|
|
4
4
|
import '../../shared/better-auth.0TC26uRi.mjs';
|
|
5
5
|
import '../../shared/better-auth.DORkW_Ge.mjs';
|
|
@@ -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.C9h9IDuv.cjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -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.DoH4g3oA.mjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -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.EetBIuJe.js';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('../../shared/better-auth.
|
|
3
|
+
const index = require('../../shared/better-auth.BLnaKDpp.cjs');
|
|
4
4
|
const index$1 = require('../../shared/better-auth.ANpbi45u.cjs');
|
|
5
5
|
require('../../shared/better-auth.D3mtHEZg.cjs');
|
|
6
6
|
require('../../shared/better-auth.CUdxApHl.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.DSaDbWe7.cjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.D05tOULo.mjs';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.
|
|
2
|
-
import { A as AdapterDebugLogs } from '../../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../../shared/better-auth.EetBIuJe.js';
|
|
2
|
+
import { A as AdapterDebugLogs } from '../../shared/better-auth.BqTWy4bR.js';
|
|
3
3
|
import '../../shared/better-auth.CYegVoq1.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createAdapter } from '../../shared/better-auth.
|
|
1
|
+
import { c as createAdapter } from '../../shared/better-auth.Du54XGQ5.mjs';
|
|
2
2
|
import { B as BetterAuthError } from '../../shared/better-auth.DdzSJf-n.mjs';
|
|
3
3
|
import '../../shared/better-auth.tB5eU6EY.mjs';
|
|
4
4
|
import '../../shared/better-auth.0TC26uRi.mjs';
|
package/dist/adapters/test.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
2
2
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../shared/better-auth.7QibuQ0I.cjs';
|
package/dist/adapters/test.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
2
2
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../shared/better-auth.C39-x5Oo.mjs';
|
package/dist/adapters/test.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.
|
|
1
|
+
import { f as BetterAuthOptions, g as Adapter } from '../shared/better-auth.EetBIuJe.js';
|
|
2
2
|
import '../shared/better-auth.CYegVoq1.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../shared/better-auth.CpEzqKmn.js';
|
package/dist/api/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const betterCall = require('better-call');
|
|
4
|
-
const refreshToken = require('../shared/better-auth.
|
|
4
|
+
const refreshToken = require('../shared/better-auth.zMvh8rLL.cjs');
|
|
5
5
|
const zod = require('zod');
|
|
6
6
|
const cookies_index = require('../cookies/index.cjs');
|
|
7
7
|
const schema = require('../shared/better-auth.DcWKCjjf.cjs');
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../shared/better-auth.CYegVoq1.cjs';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aF as callbackOAuth, b0 as changeEmail, aY as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aT as createEmailVerificationToken, a_ as deleteUser, a$ as deleteUserCallback, b1 as error, aQ as forgetPassword, aR as forgetPasswordCallback, aK as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b5 as linkSocialAccount, aL as listSessions, b4 as listUserAccounts, b2 as ok, o as optionsMiddleware, b9 as originCheck, b8 as originCheckMiddleware, b7 as refreshToken, aJ as requestOnlySessionMiddleware, aS as resetPassword, aO as revokeOtherSessions, aM as revokeSession, aN as revokeSessions, aC as router, aV as sendVerificationEmail, aU as sendVerificationEmailFn, aI as sessionMiddleware, aZ as setPassword, aE as signInEmail, aD as signInSocial, aP as signOut, b3 as signUpEmail, b6 as unlinkAccount, aX as updateUser, aW as verifyEmail } from '../shared/better-auth.
|
|
3
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aF as callbackOAuth, b0 as changeEmail, aY as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aT as createEmailVerificationToken, a_ as deleteUser, a$ as deleteUserCallback, b1 as error, aQ as forgetPassword, aR as forgetPasswordCallback, aK as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b5 as linkSocialAccount, aL as listSessions, b4 as listUserAccounts, b2 as ok, o as optionsMiddleware, b9 as originCheck, b8 as originCheckMiddleware, b7 as refreshToken, aJ as requestOnlySessionMiddleware, aS as resetPassword, aO as revokeOtherSessions, aM as revokeSession, aN as revokeSessions, aC as router, aV as sendVerificationEmail, aU as sendVerificationEmailFn, aI as sessionMiddleware, aZ as setPassword, aE as signInEmail, aD as signInSocial, aP as signOut, b3 as signUpEmail, b6 as unlinkAccount, aX as updateUser, aW as verifyEmail } from '../shared/better-auth.C9h9IDuv.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.7QibuQ0I.cjs';
|
|
6
6
|
import 'kysely';
|
package/dist/api/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../shared/better-auth.CYegVoq1.mjs';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aF as callbackOAuth, b0 as changeEmail, aY as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aT as createEmailVerificationToken, a_ as deleteUser, a$ as deleteUserCallback, b1 as error, aQ as forgetPassword, aR as forgetPasswordCallback, aK as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b5 as linkSocialAccount, aL as listSessions, b4 as listUserAccounts, b2 as ok, o as optionsMiddleware, b9 as originCheck, b8 as originCheckMiddleware, b7 as refreshToken, aJ as requestOnlySessionMiddleware, aS as resetPassword, aO as revokeOtherSessions, aM as revokeSession, aN as revokeSessions, aC as router, aV as sendVerificationEmail, aU as sendVerificationEmailFn, aI as sessionMiddleware, aZ as setPassword, aE as signInEmail, aD as signInSocial, aP as signOut, b3 as signUpEmail, b6 as unlinkAccount, aX as updateUser, aW as verifyEmail } from '../shared/better-auth.
|
|
3
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aF as callbackOAuth, b0 as changeEmail, aY as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aT as createEmailVerificationToken, a_ as deleteUser, a$ as deleteUserCallback, b1 as error, aQ as forgetPassword, aR as forgetPasswordCallback, aK as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b5 as linkSocialAccount, aL as listSessions, b4 as listUserAccounts, b2 as ok, o as optionsMiddleware, b9 as originCheck, b8 as originCheckMiddleware, b7 as refreshToken, aJ as requestOnlySessionMiddleware, aS as resetPassword, aO as revokeOtherSessions, aM as revokeSession, aN as revokeSessions, aC as router, aV as sendVerificationEmail, aU as sendVerificationEmailFn, aI as sessionMiddleware, aZ as setPassword, aE as signInEmail, aD as signInSocial, aP as signOut, b3 as signUpEmail, b6 as unlinkAccount, aX as updateUser, aW as verifyEmail } from '../shared/better-auth.DoH4g3oA.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.C39-x5Oo.mjs';
|
|
6
6
|
import 'kysely';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../shared/better-auth.CYegVoq1.js';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
export { d as AuthEndpoint, e as AuthMiddleware, aF as callbackOAuth, b0 as changeEmail, aY as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aT as createEmailVerificationToken, a_ as deleteUser, a$ as deleteUserCallback, b1 as error, aQ as forgetPassword, aR as forgetPasswordCallback, aK as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b5 as linkSocialAccount, aL as listSessions, b4 as listUserAccounts, b2 as ok, o as optionsMiddleware, b9 as originCheck, b8 as originCheckMiddleware, b7 as refreshToken, aJ as requestOnlySessionMiddleware, aS as resetPassword, aO as revokeOtherSessions, aM as revokeSession, aN as revokeSessions, aC as router, aV as sendVerificationEmail, aU as sendVerificationEmailFn, aI as sessionMiddleware, aZ as setPassword, aE as signInEmail, aD as signInSocial, aP as signOut, b3 as signUpEmail, b6 as unlinkAccount, aX as updateUser, aW as verifyEmail } from '../shared/better-auth.
|
|
3
|
+
export { d as AuthEndpoint, e as AuthMiddleware, aF as callbackOAuth, b0 as changeEmail, aY as changePassword, b as createAuthEndpoint, c as createAuthMiddleware, aT as createEmailVerificationToken, a_ as deleteUser, a$ as deleteUserCallback, b1 as error, aQ as forgetPassword, aR as forgetPasswordCallback, aK as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b5 as linkSocialAccount, aL as listSessions, b4 as listUserAccounts, b2 as ok, o as optionsMiddleware, b9 as originCheck, b8 as originCheckMiddleware, b7 as refreshToken, aJ as requestOnlySessionMiddleware, aS as resetPassword, aO as revokeOtherSessions, aM as revokeSession, aN as revokeSessions, aC as router, aV as sendVerificationEmail, aU as sendVerificationEmailFn, aI as sessionMiddleware, aZ as setPassword, aE as signInEmail, aD as signInSocial, aP as signOut, b3 as signUpEmail, b6 as unlinkAccount, aX as updateUser, aW as verifyEmail } from '../shared/better-auth.EetBIuJe.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../shared/better-auth.CpEzqKmn.js';
|
|
6
6
|
import 'kysely';
|
package/dist/api/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIError, toResponse, createRouter } from 'better-call';
|
|
2
2
|
export { APIError } from 'better-call';
|
|
3
|
-
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, e as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, b as getSession, i as originCheckMiddleware, j as error, k as ok, r as refreshToken, m as unlinkAccount, n as deleteUserCallback, p as listUserAccounts, q as linkSocialAccount, t as revokeOtherSessions, v as revokeSessions, x as revokeSession, y as forgetPasswordCallback, z as deleteUser, A as setPassword, C as changePassword, D as changeEmail, E as sendVerificationEmail, F as verifyEmail, G as resetPassword, I as forgetPassword, J as signInEmail, K as signOut, L as callbackOAuth, M as signInSocial } from '../shared/better-auth.
|
|
4
|
-
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, O as optionsMiddleware, o as originCheck, N as requestOnlySessionMiddleware, d as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.
|
|
3
|
+
import { a as createAuthEndpoint, B as BASE_ERROR_CODES, e as createEmailVerificationToken, w as wildcardMatch, l as listSessions, u as updateUser, b as getSession, i as originCheckMiddleware, j as error, k as ok, r as refreshToken, m as unlinkAccount, n as deleteUserCallback, p as listUserAccounts, q as linkSocialAccount, t as revokeOtherSessions, v as revokeSessions, x as revokeSession, y as forgetPasswordCallback, z as deleteUser, A as setPassword, C as changePassword, D as changeEmail, E as sendVerificationEmail, F as verifyEmail, G as resetPassword, I as forgetPassword, J as signInEmail, K as signOut, L as callbackOAuth, M as signInSocial } from '../shared/better-auth.DZhGZ3hY.mjs';
|
|
4
|
+
export { c as createAuthMiddleware, f as freshSessionMiddleware, g as getSessionFromCtx, O as optionsMiddleware, o as originCheck, N as requestOnlySessionMiddleware, d as sendVerificationEmailFn, s as sessionMiddleware } from '../shared/better-auth.DZhGZ3hY.mjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { setSessionCookie } from '../cookies/index.mjs';
|
|
7
7
|
import { f as parseUserInput } from '../shared/better-auth.Cc72UxUH.mjs';
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { j as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.C9h9IDuv.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 { j as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { j as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.DoH4g3oA.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 { j as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.
|
|
1
|
+
import { j as BASE_ERROR_CODES, B as BetterAuthPlugin } from '../shared/better-auth.EetBIuJe.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';
|
|
@@ -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 { F as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { F as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.C9h9IDuv.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.DKG6z6wI.cjs';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.cjs';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
import 'zod';
|
|
@@ -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 { F as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { F as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.DoH4g3oA.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.E28-Tvud.mjs';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.mjs';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
import 'zod';
|
|
@@ -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 { F as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.
|
|
14
|
+
import { F as FieldAttribute, f as BetterAuthOptions, B as BetterAuthPlugin } from '../../shared/better-auth.EetBIuJe.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.BRel8q6A.js';
|
|
24
24
|
import { oneTimeToken } from '../../plugins/one-time-token/index.js';
|
|
25
25
|
export * from '@simplewebauthn/server';
|
|
26
26
|
import 'zod';
|
|
@@ -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, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.cjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -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, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.mjs';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -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, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.js';
|
|
9
9
|
import { DependencyList } from 'react';
|
|
10
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
10
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.EetBIuJe.js';
|
|
11
11
|
import 'better-call';
|
|
12
12
|
import 'zod';
|
|
13
13
|
import '../../shared/better-auth.CpEzqKmn.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, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.cjs';
|
|
7
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.C9h9IDuv.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, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.mjs';
|
|
7
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.DoH4g3oA.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, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.js';
|
|
7
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
7
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.EetBIuJe.js';
|
|
8
8
|
export * from 'nanostores';
|
|
9
9
|
import 'better-call';
|
|
10
10
|
import 'zod';
|
|
@@ -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, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.cjs';
|
|
9
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import '../../shared/better-auth.7QibuQ0I.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.mjs';
|
|
8
8
|
import { U as UnionToIntersection, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.mjs';
|
|
9
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -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, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.js';
|
|
9
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.EetBIuJe.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import '../../shared/better-auth.CpEzqKmn.js';
|
|
@@ -6,7 +6,7 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.cjs';
|
|
8
8
|
import { U as UnionToIntersection, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.cjs';
|
|
9
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.C9h9IDuv.cjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import '../../shared/better-auth.7QibuQ0I.cjs';
|
|
@@ -6,7 +6,7 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.mjs';
|
|
8
8
|
import { U as UnionToIntersection, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.mjs';
|
|
9
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.DoH4g3oA.mjs';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import '../../shared/better-auth.C39-x5Oo.mjs';
|
|
@@ -6,7 +6,7 @@ export * from '@better-fetch/fetch';
|
|
|
6
6
|
import { DeepReadonly, Ref } from 'vue';
|
|
7
7
|
import { ClientOptions, BetterAuthClientPlugin, IsSignal, InferClientAPI, InferActions, InferErrorCodes } from '../../types/index.js';
|
|
8
8
|
import { U as UnionToIntersection, a as PrettifyDeep } from '../../shared/better-auth.CYegVoq1.js';
|
|
9
|
-
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.
|
|
9
|
+
import { j as BASE_ERROR_CODES } from '../../shared/better-auth.EetBIuJe.js';
|
|
10
10
|
import 'better-call';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import '../../shared/better-auth.CpEzqKmn.js';
|