better-auth 1.1.19-beta.2 → 1.1.19
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.cjs +4 -4
- package/dist/adapters/drizzle.d.cts +1 -1
- package/dist/adapters/drizzle.d.ts +1 -1
- package/dist/adapters/drizzle.js +2 -2
- package/dist/adapters/kysely.cjs +4 -4
- package/dist/adapters/kysely.d.cts +1 -1
- package/dist/adapters/kysely.d.ts +1 -1
- package/dist/adapters/kysely.js +2 -2
- package/dist/adapters/memory.cjs +3 -3
- package/dist/adapters/memory.d.cts +1 -1
- package/dist/adapters/memory.d.ts +1 -1
- package/dist/adapters/memory.js +2 -2
- package/dist/adapters/mongodb.cjs +4 -4
- package/dist/adapters/mongodb.d.cts +1 -1
- package/dist/adapters/mongodb.d.ts +1 -1
- package/dist/adapters/mongodb.js +2 -2
- package/dist/adapters/prisma.cjs +4 -4
- package/dist/adapters/prisma.d.cts +1 -1
- package/dist/adapters/prisma.d.ts +1 -1
- package/dist/adapters/prisma.js +2 -2
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.ts +1 -1
- package/dist/api.cjs +41 -41
- package/dist/api.d.cts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +2 -2
- package/dist/{auth-CGJnuSyG.d.cts → auth-5gu8kise.d.cts} +30 -25
- package/dist/{auth-BBnJHOLM.d.ts → auth-CLCpBhSV.d.ts} +30 -25
- package/dist/{chunk-W2IU5LNT.cjs → chunk-2J44NOOL.cjs} +36 -33
- package/dist/{chunk-QG36GJF4.js → chunk-2KOUY3SJ.js} +1 -1
- package/dist/{chunk-XAF4TPVN.cjs → chunk-2NSMOHHG.cjs} +12 -12
- package/dist/{chunk-KFSLYLGZ.js → chunk-2RDAV2UB.js} +1 -1
- package/dist/{chunk-XRNGFRNU.cjs → chunk-43NEQAQY.cjs} +43 -27
- package/dist/{chunk-TQGQUCBW.js → chunk-62MWLLEG.js} +5 -4
- package/dist/{chunk-S7V7XM55.js → chunk-6B3UWAJ3.js} +1 -1
- package/dist/{chunk-5EQLGNUW.cjs → chunk-6RU7HIHF.cjs} +3 -3
- package/dist/{chunk-5D5P7O3K.js → chunk-7LU7PVPP.js} +6 -4
- package/dist/{chunk-UWA64YHN.cjs → chunk-A2ZRWQDL.cjs} +8 -8
- package/dist/{chunk-IM6ZPUVI.js → chunk-AVAADPGB.js} +1 -1
- package/dist/{chunk-DVHD6IW3.cjs → chunk-BCGZXLBF.cjs} +11 -10
- package/dist/{chunk-TSWYQ5PN.cjs → chunk-BN4OGQMW.cjs} +6 -6
- package/dist/{chunk-MJZAAOE7.cjs → chunk-CZFMWDZS.cjs} +9 -9
- package/dist/{chunk-SDEOOYUI.cjs → chunk-FPODT2DW.cjs} +10 -8
- package/dist/{chunk-JBACJNYI.js → chunk-FR3BYA47.js} +1 -1
- package/dist/{chunk-5JET74FS.cjs → chunk-IJE74CNB.cjs} +27 -27
- package/dist/{chunk-DOEW523N.js → chunk-KKKJI5Y7.js} +1 -1
- package/dist/{chunk-XE4KK72J.js → chunk-KYDZ4BE2.js} +6 -4
- package/dist/{chunk-BTKNMP5Q.cjs → chunk-KZG2B6JC.cjs} +50 -48
- package/dist/{chunk-EIDQBPY6.cjs → chunk-LBQAB3RP.cjs} +2 -2
- package/dist/{chunk-PIHH5KXV.js → chunk-LNAETVOO.js} +2 -2
- package/dist/{chunk-PB7U7ZCO.js → chunk-M7C7TKIU.js} +2 -2
- package/dist/{chunk-XW6BECDW.cjs → chunk-MKCNGAWP.cjs} +9 -9
- package/dist/{chunk-HA5MENQC.js → chunk-NIUW4WF7.js} +2 -2
- package/dist/{chunk-RPETDYVK.js → chunk-NP2H7VJV.js} +7 -4
- package/dist/{chunk-VR4QGIHG.cjs → chunk-PBHGHIIK.cjs} +5 -5
- package/dist/{chunk-VMQM7XMT.js → chunk-PHHYUVFI.js} +3 -3
- package/dist/{chunk-OEZ6U6NM.js → chunk-PZOB66AP.js} +2 -2
- package/dist/{chunk-T5QCBET4.js → chunk-RBOAD55Y.js} +2 -2
- package/dist/{chunk-ENJRVUKL.cjs → chunk-RIG7YPJ7.cjs} +12 -12
- package/dist/{chunk-B5UCLTPZ.cjs → chunk-UQC2FUXC.cjs} +2 -1
- package/dist/{chunk-QE4APVC5.cjs → chunk-VBGK4DWN.cjs} +6 -6
- package/dist/{chunk-G5PHMKSZ.js → chunk-VRVK7CFW.js} +23 -7
- package/dist/{chunk-CKZO2C7X.cjs → chunk-WJMWNKCB.cjs} +26 -26
- package/dist/{chunk-HZBNUY7E.js → chunk-WZ6OIVJK.js} +2 -1
- package/dist/{chunk-KALC2G3Y.js → chunk-XYKBKO6Z.js} +11 -7
- package/dist/{chunk-CQNPMJJ3.cjs → chunk-ZARJGP36.cjs} +14 -10
- package/dist/client/plugins.cjs +170 -9
- package/dist/client/plugins.d.cts +133 -5
- package/dist/client/plugins.d.ts +133 -5
- package/dist/client/plugins.js +169 -2
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/cookies.d.cts +1 -1
- package/dist/cookies.d.ts +1 -1
- package/dist/db.cjs +28 -28
- package/dist/db.d.cts +2 -2
- package/dist/db.d.ts +2 -2
- package/dist/db.js +2 -2
- package/dist/{index-D2rGzLac.d.cts → index-D4qb6sUY.d.cts} +1 -1
- package/dist/{index-Cqgianwx.d.ts → index-vSnICSXw.d.ts} +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/next-js.d.cts +1 -1
- package/dist/next-js.d.ts +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/oauth2.d.cts +2 -2
- package/dist/oauth2.d.ts +2 -2
- package/dist/plugin/custom-session.cjs +4 -4
- package/dist/plugin/custom-session.d.cts +1 -1
- package/dist/plugin/custom-session.d.ts +1 -1
- package/dist/plugin/custom-session.js +3 -3
- package/dist/plugins/admin.cjs +4 -4
- package/dist/plugins/admin.d.cts +1 -1
- package/dist/plugins/admin.d.ts +1 -1
- package/dist/plugins/admin.js +3 -3
- package/dist/plugins/anonymous.cjs +4 -4
- package/dist/plugins/anonymous.d.cts +1 -1
- package/dist/plugins/anonymous.d.ts +1 -1
- package/dist/plugins/anonymous.js +3 -3
- package/dist/plugins/bearer.cjs +4 -4
- package/dist/plugins/bearer.d.cts +1 -1
- package/dist/plugins/bearer.d.ts +1 -1
- package/dist/plugins/bearer.js +3 -3
- package/dist/plugins/email-otp.cjs +4 -4
- package/dist/plugins/email-otp.d.cts +1 -1
- package/dist/plugins/email-otp.d.ts +1 -1
- package/dist/plugins/email-otp.js +3 -3
- package/dist/plugins/generic-oauth.cjs +4 -4
- package/dist/plugins/generic-oauth.d.cts +1 -1
- package/dist/plugins/generic-oauth.d.ts +1 -1
- package/dist/plugins/generic-oauth.js +3 -3
- package/dist/plugins/jwt.cjs +4 -4
- package/dist/plugins/jwt.d.cts +1 -1
- package/dist/plugins/jwt.d.ts +1 -1
- package/dist/plugins/jwt.js +3 -3
- package/dist/plugins/magic-link.cjs +4 -4
- package/dist/plugins/magic-link.js +3 -3
- package/dist/plugins/multi-session.cjs +4 -4
- package/dist/plugins/multi-session.d.cts +1 -1
- package/dist/plugins/multi-session.d.ts +1 -1
- package/dist/plugins/multi-session.js +3 -3
- package/dist/plugins/oidc-provider.cjs +4 -4
- package/dist/plugins/oidc-provider.d.cts +15 -1
- package/dist/plugins/oidc-provider.d.ts +15 -1
- package/dist/plugins/oidc-provider.js +3 -3
- package/dist/plugins/one-tap.cjs +4 -4
- package/dist/plugins/one-tap.js +3 -3
- package/dist/plugins/open-api.cjs +5 -5
- package/dist/plugins/open-api.d.cts +1 -1
- package/dist/plugins/open-api.d.ts +1 -1
- package/dist/plugins/open-api.js +4 -4
- package/dist/plugins/organization.cjs +4 -4
- package/dist/plugins/organization.d.cts +2 -2
- package/dist/plugins/organization.d.ts +2 -2
- package/dist/plugins/organization.js +3 -3
- package/dist/plugins/passkey.cjs +16 -28
- package/dist/plugins/passkey.d.cts +2 -133
- package/dist/plugins/passkey.d.ts +2 -133
- package/dist/plugins/passkey.js +2 -6
- package/dist/plugins/phone-number.cjs +4 -4
- package/dist/plugins/phone-number.d.cts +1 -1
- package/dist/plugins/phone-number.d.ts +1 -1
- package/dist/plugins/phone-number.js +3 -3
- package/dist/plugins/sso.cjs +10 -10
- package/dist/plugins/sso.d.cts +1 -1
- package/dist/plugins/sso.d.ts +1 -1
- package/dist/plugins/sso.js +2 -2
- package/dist/plugins/two-factor.cjs +4 -4
- package/dist/plugins/two-factor.d.cts +1 -1
- package/dist/plugins/two-factor.d.ts +1 -1
- package/dist/plugins/two-factor.js +3 -3
- package/dist/plugins/username.cjs +4 -4
- package/dist/plugins/username.d.cts +1 -1
- package/dist/plugins/username.d.ts +1 -1
- package/dist/plugins/username.js +3 -3
- package/dist/plugins.cjs +42 -42
- package/dist/plugins.d.cts +3 -3
- package/dist/plugins.d.ts +3 -3
- package/dist/plugins.js +20 -20
- package/dist/react.d.cts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/solid.d.cts +1 -1
- package/dist/solid.d.ts +1 -1
- package/dist/{state-CYiTXvSS.d.cts → state-D1JoCux0.d.cts} +1 -1
- package/dist/{state-KVoX32mg.d.ts → state-Dt9yY_Wg.d.ts} +1 -1
- package/dist/svelte-kit.d.cts +1 -1
- package/dist/svelte-kit.d.ts +1 -1
- package/dist/svelte.d.cts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/vue.d.cts +1 -1
- package/dist/vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-5YNENWFU.cjs +0 -176
- package/dist/chunk-HK7EGF24.js +0 -173
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkBCGZXLBF_cjs = require('../chunk-BCGZXLBF.cjs');
|
|
4
|
+
require('../chunk-UQC2FUXC.cjs');
|
|
5
5
|
var chunkH74YRRNV_cjs = require('../chunk-H74YRRNV.cjs');
|
|
6
6
|
require('../chunk-5E75URIA.cjs');
|
|
7
7
|
require('../chunk-NIMYOIVU.cjs');
|
|
@@ -14,7 +14,7 @@ var chunkPEZRSDZS_cjs = require('../chunk-PEZRSDZS.cjs');
|
|
|
14
14
|
var drizzleOrm = require('drizzle-orm');
|
|
15
15
|
|
|
16
16
|
var createTransform = (db, config, options) => {
|
|
17
|
-
const schema =
|
|
17
|
+
const schema = chunkBCGZXLBF_cjs.getAuthTables(options);
|
|
18
18
|
function getField(model, field) {
|
|
19
19
|
if (field === "id") {
|
|
20
20
|
return field;
|
|
@@ -116,7 +116,7 @@ var createTransform = (db, config, options) => {
|
|
|
116
116
|
if (value === void 0 && !fields[field].defaultValue) {
|
|
117
117
|
continue;
|
|
118
118
|
}
|
|
119
|
-
transformedData[fields[field].fieldName || field] =
|
|
119
|
+
transformedData[fields[field].fieldName || field] = chunkBCGZXLBF_cjs.withApplyDefault(
|
|
120
120
|
value,
|
|
121
121
|
fields[field],
|
|
122
122
|
action
|
package/dist/adapters/drizzle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getAuthTables, withApplyDefault } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
import { getAuthTables, withApplyDefault } from '../chunk-62MWLLEG.js';
|
|
2
|
+
import '../chunk-WZ6OIVJK.js';
|
|
3
3
|
import { generateId } from '../chunk-KLDFBLYL.js';
|
|
4
4
|
import '../chunk-NPO64SVN.js';
|
|
5
5
|
import '../chunk-SK6Y2YH6.js';
|
package/dist/adapters/kysely.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkBCGZXLBF_cjs = require('../chunk-BCGZXLBF.cjs');
|
|
4
|
+
require('../chunk-UQC2FUXC.cjs');
|
|
5
5
|
require('../chunk-H74YRRNV.cjs');
|
|
6
6
|
require('../chunk-5E75URIA.cjs');
|
|
7
7
|
require('../chunk-NIMYOIVU.cjs');
|
|
@@ -16,9 +16,9 @@ require('../chunk-PEZRSDZS.cjs');
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "createKyselyAdapter", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkBCGZXLBF_cjs.createKyselyAdapter; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "kyselyAdapter", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkBCGZXLBF_cjs.kyselyAdapter; }
|
|
24
24
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../auth-
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../auth-5gu8kise.cjs';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../helper-Bi8FQwDD.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kysely } from 'kysely';
|
|
2
|
-
import { B as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../auth-
|
|
2
|
+
import { B as BetterAuthOptions, K as KyselyDatabaseType, W as Where } from '../auth-CLCpBhSV.js';
|
|
3
3
|
import 'better-call';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../helper-Bi8FQwDD.js';
|
package/dist/adapters/kysely.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { createKyselyAdapter, kyselyAdapter } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { createKyselyAdapter, kyselyAdapter } from '../chunk-62MWLLEG.js';
|
|
2
|
+
import '../chunk-WZ6OIVJK.js';
|
|
3
3
|
import '../chunk-KLDFBLYL.js';
|
|
4
4
|
import '../chunk-NPO64SVN.js';
|
|
5
5
|
import '../chunk-SK6Y2YH6.js';
|
package/dist/adapters/memory.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkBCGZXLBF_cjs = require('../chunk-BCGZXLBF.cjs');
|
|
4
|
+
require('../chunk-UQC2FUXC.cjs');
|
|
5
5
|
require('../chunk-H74YRRNV.cjs');
|
|
6
6
|
require('../chunk-5E75URIA.cjs');
|
|
7
7
|
require('../chunk-NIMYOIVU.cjs');
|
|
@@ -16,5 +16,5 @@ require('../chunk-PEZRSDZS.cjs');
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "memoryAdapter", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkBCGZXLBF_cjs.memoryAdapter; }
|
|
20
20
|
});
|
package/dist/adapters/memory.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { memoryAdapter } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { memoryAdapter } from '../chunk-62MWLLEG.js';
|
|
2
|
+
import '../chunk-WZ6OIVJK.js';
|
|
3
3
|
import '../chunk-KLDFBLYL.js';
|
|
4
4
|
import '../chunk-NPO64SVN.js';
|
|
5
5
|
import '../chunk-SK6Y2YH6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkBCGZXLBF_cjs = require('../chunk-BCGZXLBF.cjs');
|
|
4
|
+
require('../chunk-UQC2FUXC.cjs');
|
|
5
5
|
require('../chunk-H74YRRNV.cjs');
|
|
6
6
|
require('../chunk-5E75URIA.cjs');
|
|
7
7
|
require('../chunk-NIMYOIVU.cjs');
|
|
@@ -14,7 +14,7 @@ require('../chunk-PEZRSDZS.cjs');
|
|
|
14
14
|
var mongodb = require('mongodb');
|
|
15
15
|
|
|
16
16
|
var createTransform = (options) => {
|
|
17
|
-
const schema =
|
|
17
|
+
const schema = chunkBCGZXLBF_cjs.getAuthTables(options);
|
|
18
18
|
const customIdGen = options.advanced?.generateId;
|
|
19
19
|
function serializeID(field, value, model) {
|
|
20
20
|
if (customIdGen) {
|
|
@@ -93,7 +93,7 @@ var createTransform = (options) => {
|
|
|
93
93
|
if (value === void 0 && (!fields[field].defaultValue || action === "update")) {
|
|
94
94
|
continue;
|
|
95
95
|
}
|
|
96
|
-
transformedData[fields[field].fieldName || field] =
|
|
96
|
+
transformedData[fields[field].fieldName || field] = chunkBCGZXLBF_cjs.withApplyDefault(
|
|
97
97
|
serializeID(field, value, model),
|
|
98
98
|
fields[field],
|
|
99
99
|
action
|
package/dist/adapters/mongodb.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getAuthTables, withApplyDefault } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
import { getAuthTables, withApplyDefault } from '../chunk-62MWLLEG.js';
|
|
2
|
+
import '../chunk-WZ6OIVJK.js';
|
|
3
3
|
import '../chunk-KLDFBLYL.js';
|
|
4
4
|
import '../chunk-NPO64SVN.js';
|
|
5
5
|
import '../chunk-SK6Y2YH6.js';
|
package/dist/adapters/prisma.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkBCGZXLBF_cjs = require('../chunk-BCGZXLBF.cjs');
|
|
4
|
+
require('../chunk-UQC2FUXC.cjs');
|
|
5
5
|
var chunkH74YRRNV_cjs = require('../chunk-H74YRRNV.cjs');
|
|
6
6
|
require('../chunk-5E75URIA.cjs');
|
|
7
7
|
require('../chunk-NIMYOIVU.cjs');
|
|
@@ -14,7 +14,7 @@ var chunkPEZRSDZS_cjs = require('../chunk-PEZRSDZS.cjs');
|
|
|
14
14
|
|
|
15
15
|
// src/adapters/prisma-adapter/prisma-adapter.ts
|
|
16
16
|
var createTransform = (config, options) => {
|
|
17
|
-
const schema =
|
|
17
|
+
const schema = chunkBCGZXLBF_cjs.getAuthTables(options);
|
|
18
18
|
function getField(model, field) {
|
|
19
19
|
if (field === "id") {
|
|
20
20
|
return field;
|
|
@@ -49,7 +49,7 @@ var createTransform = (config, options) => {
|
|
|
49
49
|
if (value === void 0 && (!fields[field].defaultValue || action === "update")) {
|
|
50
50
|
continue;
|
|
51
51
|
}
|
|
52
|
-
transformedData[fields[field].fieldName || field] =
|
|
52
|
+
transformedData[fields[field].fieldName || field] = chunkBCGZXLBF_cjs.withApplyDefault(
|
|
53
53
|
value,
|
|
54
54
|
fields[field],
|
|
55
55
|
action
|
package/dist/adapters/prisma.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getAuthTables, withApplyDefault } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
import { getAuthTables, withApplyDefault } from '../chunk-62MWLLEG.js';
|
|
2
|
+
import '../chunk-WZ6OIVJK.js';
|
|
3
3
|
import { generateId } from '../chunk-KLDFBLYL.js';
|
|
4
4
|
import '../chunk-NPO64SVN.js';
|
|
5
5
|
import '../chunk-SK6Y2YH6.js';
|
package/dist/adapters/test.d.cts
CHANGED
package/dist/adapters/test.d.ts
CHANGED
package/dist/api.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZARJGP36_cjs = require('./chunk-ZARJGP36.cjs');
|
|
4
4
|
require('./chunk-NU4SXYJ5.cjs');
|
|
5
5
|
require('./chunk-V6RGXSG4.cjs');
|
|
6
6
|
require('./chunk-S5UORXJH.cjs');
|
|
7
7
|
require('./chunk-V6HE2MP7.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-UQC2FUXC.cjs');
|
|
9
9
|
require('./chunk-H74YRRNV.cjs');
|
|
10
10
|
require('./chunk-5E75URIA.cjs');
|
|
11
11
|
require('./chunk-CCKQSGIR.cjs');
|
|
@@ -19,157 +19,157 @@ require('./chunk-PEZRSDZS.cjs');
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "APIError", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkZARJGP36_cjs.APIError; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "callbackOAuth", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkZARJGP36_cjs.callbackOAuth; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "changeEmail", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkZARJGP36_cjs.changeEmail; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "changePassword", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkZARJGP36_cjs.changePassword; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "createAuthEndpoint", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkZARJGP36_cjs.createAuthEndpoint; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createAuthMiddleware", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkZARJGP36_cjs.createAuthMiddleware; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "createEmailVerificationToken", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkZARJGP36_cjs.createEmailVerificationToken; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "deleteUser", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkZARJGP36_cjs.deleteUser; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "deleteUserCallback", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkZARJGP36_cjs.deleteUserCallback; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "error", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkZARJGP36_cjs.error; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "forgetPassword", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkZARJGP36_cjs.forgetPassword; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "forgetPasswordCallback", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkZARJGP36_cjs.forgetPasswordCallback; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "freshSessionMiddleware", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkZARJGP36_cjs.freshSessionMiddleware; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "getEndpoints", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkZARJGP36_cjs.getEndpoints; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "getSession", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkZARJGP36_cjs.getSession; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "getSessionFromCtx", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkZARJGP36_cjs.getSessionFromCtx; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "linkSocialAccount", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkZARJGP36_cjs.linkSocialAccount; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "listSessions", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkZARJGP36_cjs.listSessions; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "listUserAccounts", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkZARJGP36_cjs.listUserAccounts; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "ok", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkZARJGP36_cjs.ok; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "optionsMiddleware", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkZARJGP36_cjs.optionsMiddleware; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "originCheck", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkZARJGP36_cjs.originCheck; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "originCheckMiddleware", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkZARJGP36_cjs.originCheckMiddleware; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "resetPassword", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkZARJGP36_cjs.resetPassword; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "revokeOtherSessions", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkZARJGP36_cjs.revokeOtherSessions; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "revokeSession", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkZARJGP36_cjs.revokeSession; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "revokeSessions", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkZARJGP36_cjs.revokeSessions; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "router", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkZARJGP36_cjs.router; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "sendVerificationEmail", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkZARJGP36_cjs.sendVerificationEmail; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "sendVerificationEmailFn", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkZARJGP36_cjs.sendVerificationEmailFn; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "sessionMiddleware", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkZARJGP36_cjs.sessionMiddleware; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "setPassword", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkZARJGP36_cjs.setPassword; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "signInEmail", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkZARJGP36_cjs.signInEmail; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "signInSocial", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkZARJGP36_cjs.signInSocial; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "signOut", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkZARJGP36_cjs.signOut; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "signUpEmail", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkZARJGP36_cjs.signUpEmail; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "unlinkAccount", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkZARJGP36_cjs.unlinkAccount; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "updateUser", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkZARJGP36_cjs.updateUser; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "verifyEmail", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkZARJGP36_cjs.verifyEmail; }
|
|
175
175
|
});
|
package/dist/api.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { i as AuthEndpoint, j as AuthMiddleware, aF as callbackOAuth, a$ as changeEmail, aX as changePassword, h as createAuthEndpoint, g as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aC as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aI as sessionMiddleware, aY as setPassword, aE as signInEmail, aD as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from './auth-
|
|
1
|
+
export { i as AuthEndpoint, j as AuthMiddleware, aF as callbackOAuth, a$ as changeEmail, aX as changePassword, h as createAuthEndpoint, g as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aC as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aI as sessionMiddleware, aY as setPassword, aE as signInEmail, aD as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from './auth-5gu8kise.cjs';
|
|
2
2
|
import './helper-Bi8FQwDD.cjs';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import 'zod';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { i as AuthEndpoint, j as AuthMiddleware, aF as callbackOAuth, a$ as changeEmail, aX as changePassword, h as createAuthEndpoint, g as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aC as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aI as sessionMiddleware, aY as setPassword, aE as signInEmail, aD as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from './auth-
|
|
1
|
+
export { i as AuthEndpoint, j as AuthMiddleware, aF as callbackOAuth, a$ as changeEmail, aX as changePassword, h as createAuthEndpoint, g as createAuthMiddleware, aS as createEmailVerificationToken, aZ as deleteUser, a_ as deleteUserCallback, b0 as error, aP as forgetPassword, aQ as forgetPasswordCallback, aJ as freshSessionMiddleware, aB as getEndpoints, aG as getSession, aH as getSessionFromCtx, b4 as linkSocialAccount, aK as listSessions, b3 as listUserAccounts, b1 as ok, o as optionsMiddleware, b7 as originCheck, b6 as originCheckMiddleware, aR as resetPassword, aN as revokeOtherSessions, aL as revokeSession, aM as revokeSessions, aC as router, aU as sendVerificationEmail, aT as sendVerificationEmailFn, aI as sessionMiddleware, aY as setPassword, aE as signInEmail, aD as signInSocial, aO as signOut, b2 as signUpEmail, b5 as unlinkAccount, aW as updateUser, aV as verifyEmail } from './auth-CLCpBhSV.js';
|
|
2
2
|
import './helper-Bi8FQwDD.js';
|
|
3
3
|
export { APIError } from 'better-call';
|
|
4
4
|
import 'zod';
|
package/dist/api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { APIError, callbackOAuth, changeEmail, changePassword, createAuthEndpoint, createAuthMiddleware, createEmailVerificationToken, deleteUser, deleteUserCallback, error, forgetPassword, forgetPasswordCallback, freshSessionMiddleware, getEndpoints, getSession, getSessionFromCtx, linkSocialAccount, listSessions, listUserAccounts, ok, optionsMiddleware, originCheck, originCheckMiddleware, resetPassword, revokeOtherSessions, revokeSession, revokeSessions, router, sendVerificationEmail, sendVerificationEmailFn, sessionMiddleware, setPassword, signInEmail, signInSocial, signOut, signUpEmail, unlinkAccount, updateUser, verifyEmail } from './chunk-
|
|
1
|
+
export { APIError, callbackOAuth, changeEmail, changePassword, createAuthEndpoint, createAuthMiddleware, createEmailVerificationToken, deleteUser, deleteUserCallback, error, forgetPassword, forgetPasswordCallback, freshSessionMiddleware, getEndpoints, getSession, getSessionFromCtx, linkSocialAccount, listSessions, listUserAccounts, ok, optionsMiddleware, originCheck, originCheckMiddleware, resetPassword, revokeOtherSessions, revokeSession, revokeSessions, router, sendVerificationEmail, sendVerificationEmailFn, sessionMiddleware, setPassword, signInEmail, signInSocial, signOut, signUpEmail, unlinkAccount, updateUser, verifyEmail } from './chunk-XYKBKO6Z.js';
|
|
2
2
|
import './chunk-VXDYNCOX.js';
|
|
3
3
|
import './chunk-GTQM7JU7.js';
|
|
4
4
|
import './chunk-XFCIANZX.js';
|
|
5
5
|
import './chunk-QQGZ3XGI.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-WZ6OIVJK.js';
|
|
7
7
|
import './chunk-KLDFBLYL.js';
|
|
8
8
|
import './chunk-NPO64SVN.js';
|
|
9
9
|
import './chunk-3XTQSPPA.js';
|