better-auth 1.2.0-beta.1 → 1.2.0-beta.10
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 +11 -4
- package/dist/adapters/drizzle.d.cts +6 -2
- package/dist/adapters/drizzle.d.ts +6 -2
- package/dist/adapters/drizzle.js +10 -3
- package/dist/adapters/kysely.cjs +4 -4
- package/dist/adapters/kysely.d.cts +6 -2
- package/dist/adapters/kysely.d.ts +6 -2
- package/dist/adapters/kysely.js +2 -2
- package/dist/adapters/memory.cjs +3 -3
- package/dist/adapters/memory.d.cts +6 -2
- package/dist/adapters/memory.d.ts +6 -2
- package/dist/adapters/memory.js +2 -2
- package/dist/adapters/mongodb.cjs +25 -7
- package/dist/adapters/mongodb.d.cts +6 -2
- package/dist/adapters/mongodb.d.ts +6 -2
- package/dist/adapters/mongodb.js +23 -5
- package/dist/adapters/prisma.cjs +17 -4
- package/dist/adapters/prisma.d.cts +6 -2
- package/dist/adapters/prisma.d.ts +6 -2
- package/dist/adapters/prisma.js +15 -2
- package/dist/adapters/test.cjs +1 -1
- package/dist/adapters/test.d.cts +2 -2
- package/dist/adapters/test.d.ts +2 -2
- package/dist/adapters/test.js +1 -1
- package/dist/api.cjs +47 -43
- package/dist/api.d.cts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/api.js +4 -4
- package/dist/{auth-D4rdpxtI.d.cts → auth-BLwS7t0V.d.cts} +7659 -3308
- package/dist/{auth-DcMc3BIq.d.ts → auth-C42JqOR9.d.ts} +7659 -3308
- package/dist/{chunk-5KMF6HGF.js → chunk-2F3IX7O2.js} +70 -49
- package/dist/{chunk-5E75URIA.cjs → chunk-2Z6CVQHH.cjs} +0 -4
- package/dist/{chunk-WLXFBYQ6.cjs → chunk-45RBYQKI.cjs} +77 -7
- package/dist/{chunk-WGCTQNSQ.js → chunk-4KMR5H5T.js} +1 -1
- package/dist/{chunk-CVDYU5OC.js → chunk-4POUTBIX.js} +5 -8
- package/dist/{chunk-BKFMDM3P.js → chunk-52TDJNDX.js} +110 -12
- package/dist/{chunk-PJ4KWXLQ.cjs → chunk-5ECP2UE2.cjs} +5 -5
- package/dist/{chunk-FXNG3YQA.js → chunk-5G6XUCMS.js} +146 -79
- package/dist/{chunk-UHGAA4GH.cjs → chunk-5KTUVZ3H.cjs} +5 -5
- package/dist/{chunk-YRUDZRY3.cjs → chunk-5RR5WN52.cjs} +73 -52
- package/dist/{chunk-JNZYTS3B.js → chunk-BZOIXJ2Q.js} +1 -1
- package/dist/{chunk-FA6UYV37.js → chunk-CG2CK6HR.js} +1 -1
- package/dist/{chunk-EM73ZZSP.cjs → chunk-DURU7ZRA.cjs} +20 -20
- package/dist/{chunk-MGJLVQOV.js → chunk-EQYRCOOF.js} +39 -2
- package/dist/{chunk-3BWJXTLC.cjs → chunk-GSEEAIRZ.cjs} +47 -53
- package/dist/{chunk-QFYRLTM5.cjs → chunk-HUDPJXOF.cjs} +24 -33
- package/dist/{chunk-764RYNTE.cjs → chunk-IG7Z7S3A.cjs} +61 -28
- package/dist/{chunk-5RY45WFV.js → chunk-IQUHEVLH.js} +2 -8
- package/dist/{chunk-JLATHUM5.cjs → chunk-IUGQVFPG.cjs} +6 -6
- package/dist/{chunk-5OBRFII2.js → chunk-J6VNT2T4.js} +49 -5
- package/dist/{chunk-NU4SXYJ5.cjs → chunk-JDAHD767.cjs} +198 -42
- package/dist/{chunk-LZ5DEQVH.cjs → chunk-K6WRBJAV.cjs} +3 -3
- package/dist/{chunk-WDOY7YUW.cjs → chunk-KAR56MJZ.cjs} +39 -2
- package/dist/{chunk-GTM45OYP.cjs → chunk-MKNDCNWD.cjs} +3 -3
- package/dist/{chunk-PIWBUHRB.cjs → chunk-N7UWN6ND.cjs} +42 -17
- package/dist/{chunk-E6LJZ5ME.js → chunk-QKCLO6S5.js} +1 -1
- package/dist/{chunk-ADGXBH3Y.js → chunk-QLKU77BF.js} +1 -10
- package/dist/{chunk-6O2GLU2U.cjs → chunk-QNLSMTXF.cjs} +17 -12
- package/dist/{chunk-S6MI7ZLE.js → chunk-QQGRNAM2.js} +11 -6
- package/dist/{chunk-GTQM7JU7.js → chunk-R42K7GPF.js} +3 -1
- package/dist/{chunk-3EY3LSQR.js → chunk-SCXZXQTZ.js} +37 -13
- package/dist/{chunk-WVLPJXQR.cjs → chunk-SMZIOWVN.cjs} +76 -32
- package/dist/{chunk-UP6VJQDB.js → chunk-ST2CQ4A2.js} +2 -2
- package/dist/{chunk-V6RGXSG4.cjs → chunk-SVC7H7K4.cjs} +3 -1
- package/dist/{chunk-VXDYNCOX.js → chunk-TODG5RSV.js} +172 -19
- package/dist/{chunk-5XAVWKUN.js → chunk-TZ34QTAV.js} +73 -3
- package/dist/{chunk-BAPXDO3E.cjs → chunk-U44XLDNH.cjs} +119 -21
- package/dist/{chunk-VPCROEJW.cjs → chunk-WD65CNWK.cjs} +170 -103
- package/dist/{chunk-RGG6OEA3.js → chunk-X7L62XYJ.js} +58 -25
- package/dist/{chunk-G7HOSQ5N.cjs → chunk-Z3CGJYU3.cjs} +15 -18
- package/dist/{chunk-YW3B2ST3.js → chunk-ZDYKAJ67.js} +116 -5
- package/dist/{chunk-NPO64SVN.js → chunk-ZFUBVSZD.js} +0 -4
- package/dist/{chunk-2LQ7T2GE.js → chunk-ZKMUJOIP.js} +1 -1
- package/dist/{chunk-OSBTXYDD.cjs → chunk-ZUUQ3FFY.cjs} +125 -14
- package/dist/client/plugins.cjs +45 -12
- package/dist/client/plugins.d.cts +45 -7
- package/dist/client/plugins.d.ts +45 -7
- package/dist/client/plugins.js +45 -12
- package/dist/client.d.cts +6 -7
- package/dist/client.d.ts +6 -7
- package/dist/cookies.d.cts +2 -2
- package/dist/cookies.d.ts +2 -2
- package/dist/db.cjs +13 -13
- package/dist/db.d.cts +3 -3
- package/dist/db.d.ts +3 -3
- package/dist/db.js +2 -2
- package/dist/index-Bszx4yMW.d.cts +7755 -0
- package/dist/{index-Ba5bMY6A.d.cts → index-BuRgaJZR.d.cts} +194 -2
- package/dist/index-DbIhOM3X.d.ts +7755 -0
- package/dist/{index-XrJz4AYF.d.ts → index-moQjyfmm.d.ts} +194 -2
- package/dist/index.cjs +18 -18
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -8
- package/dist/next-js.cjs +23 -23
- package/dist/next-js.d.cts +2 -2
- package/dist/next-js.d.ts +2 -2
- package/dist/next-js.js +22 -22
- package/dist/node.d.cts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/oauth2.cjs +9 -9
- package/dist/oauth2.d.cts +6 -5
- package/dist/oauth2.d.ts +6 -5
- package/dist/oauth2.js +2 -2
- package/dist/plugins/admin.cjs +6 -6
- package/dist/plugins/admin.d.cts +162 -31
- package/dist/plugins/admin.d.ts +162 -31
- package/dist/plugins/admin.js +5 -5
- package/dist/plugins/anonymous.cjs +6 -6
- package/dist/plugins/anonymous.d.cts +8 -4
- package/dist/plugins/anonymous.d.ts +8 -4
- package/dist/plugins/anonymous.js +5 -5
- package/dist/plugins/bearer.cjs +6 -6
- package/dist/plugins/bearer.d.cts +2 -2
- package/dist/plugins/bearer.d.ts +2 -2
- package/dist/plugins/bearer.js +5 -5
- package/dist/{plugin → plugins}/custom-session.cjs +6 -6
- package/dist/{plugin → plugins}/custom-session.d.cts +8 -4
- package/dist/{plugin → plugins}/custom-session.d.ts +8 -4
- package/dist/{plugin → plugins}/custom-session.js +5 -5
- package/dist/plugins/email-otp.cjs +6 -6
- package/dist/plugins/email-otp.d.cts +44 -16
- package/dist/plugins/email-otp.d.ts +44 -16
- package/dist/plugins/email-otp.js +5 -5
- package/dist/plugins/generic-oauth.cjs +6 -6
- package/dist/plugins/generic-oauth.d.cts +95 -6
- package/dist/plugins/generic-oauth.d.ts +95 -6
- package/dist/plugins/generic-oauth.js +5 -5
- package/dist/plugins/jwt.cjs +6 -6
- package/dist/plugins/jwt.d.cts +28 -6
- package/dist/plugins/jwt.d.ts +28 -6
- package/dist/plugins/jwt.js +5 -5
- package/dist/plugins/magic-link.cjs +6 -6
- package/dist/plugins/magic-link.d.cts +16 -4
- package/dist/plugins/magic-link.d.ts +16 -4
- package/dist/plugins/magic-link.js +5 -5
- package/dist/plugins/multi-session.cjs +6 -6
- package/dist/plugins/multi-session.d.cts +20 -8
- package/dist/plugins/multi-session.d.ts +20 -8
- package/dist/plugins/multi-session.js +5 -5
- package/dist/plugins/oidc-provider.cjs +6 -6
- package/dist/plugins/oidc-provider.d.cts +43 -15
- package/dist/plugins/oidc-provider.d.ts +43 -15
- package/dist/plugins/oidc-provider.js +5 -5
- package/dist/plugins/one-tap.cjs +6 -6
- package/dist/plugins/one-tap.d.cts +13 -2
- package/dist/plugins/one-tap.d.ts +13 -2
- package/dist/plugins/one-tap.js +5 -5
- package/dist/plugins/open-api.cjs +7 -7
- package/dist/plugins/open-api.d.cts +14 -6
- package/dist/plugins/open-api.d.ts +14 -6
- package/dist/plugins/open-api.js +6 -6
- package/dist/plugins/organization.cjs +6 -6
- package/dist/plugins/organization.d.cts +3 -3
- package/dist/plugins/organization.d.ts +3 -3
- package/dist/plugins/organization.js +5 -5
- package/dist/plugins/passkey.cjs +17 -17
- package/dist/plugins/passkey.d.cts +44 -16
- package/dist/plugins/passkey.d.ts +44 -16
- package/dist/plugins/passkey.js +4 -4
- package/dist/plugins/phone-number.cjs +6 -6
- package/dist/plugins/phone-number.d.cts +122 -9
- package/dist/plugins/phone-number.d.ts +122 -9
- package/dist/plugins/phone-number.js +5 -5
- package/dist/plugins/sso.cjs +26 -18
- package/dist/plugins/sso.d.cts +24 -8
- package/dist/plugins/sso.d.ts +24 -8
- package/dist/plugins/sso.js +13 -5
- package/dist/plugins/two-factor.cjs +6 -6
- package/dist/plugins/two-factor.d.cts +62 -22
- package/dist/plugins/two-factor.d.ts +62 -22
- package/dist/plugins/two-factor.js +5 -5
- package/dist/plugins/username.cjs +6 -6
- package/dist/plugins/username.d.cts +36 -4
- package/dist/plugins/username.d.ts +36 -4
- package/dist/plugins/username.js +5 -5
- package/dist/plugins.cjs +42 -42
- package/dist/plugins.d.cts +11 -7
- package/dist/plugins.d.ts +11 -7
- package/dist/plugins.js +22 -22
- package/dist/react.d.cts +7 -9
- package/dist/react.d.ts +7 -9
- package/dist/social.cjs +32 -20
- package/dist/social.d.cts +1 -1
- package/dist/social.d.ts +1 -1
- package/dist/social.js +3 -3
- package/dist/solid.d.cts +7 -7
- package/dist/solid.d.ts +7 -7
- package/dist/{state-Cm8el5M1.d.ts → state-BlQHfd32.d.ts} +1 -1
- package/dist/{state-DcraY2_H.d.cts → state-lA7cG1Em.d.cts} +1 -1
- package/dist/svelte-kit.d.cts +2 -2
- package/dist/svelte-kit.d.ts +2 -2
- package/dist/svelte.d.cts +7 -7
- package/dist/svelte.d.ts +7 -7
- package/dist/types.d.cts +4 -4
- package/dist/types.d.ts +4 -4
- package/dist/vue.d.cts +7 -7
- package/dist/vue.d.ts +7 -7
- package/package.json +4 -4
- package/dist/index-CvlKSqnF.d.cts +0 -4023
- package/dist/index-Ivs2EsUL.d.ts +0 -4023
package/dist/adapters/test.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BetterAuthOptions, A as Adapter } from '../auth-
|
|
1
|
+
import { B as BetterAuthOptions, A as Adapter } from '../auth-C42JqOR9.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
import 'better-call';
|
|
5
5
|
import '../helper-Bi8FQwDD.js';
|
|
6
|
-
import '../index-
|
|
6
|
+
import '../index-moQjyfmm.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
9
|
|
package/dist/adapters/test.js
CHANGED
package/dist/api.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkN7UWN6ND_cjs = require('./chunk-N7UWN6ND.cjs');
|
|
4
|
+
require('./chunk-JDAHD767.cjs');
|
|
5
|
+
require('./chunk-SVC7H7K4.cjs');
|
|
6
6
|
require('./chunk-S5UORXJH.cjs');
|
|
7
7
|
require('./chunk-V6HE2MP7.cjs');
|
|
8
8
|
require('./chunk-B5UCLTPZ.cjs');
|
|
9
9
|
require('./chunk-H74YRRNV.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-2Z6CVQHH.cjs');
|
|
11
11
|
require('./chunk-CCKQSGIR.cjs');
|
|
12
12
|
require('./chunk-G2LZ73E2.cjs');
|
|
13
13
|
require('./chunk-OA7Z7IZT.cjs');
|
|
@@ -19,157 +19,161 @@ require('./chunk-PEZRSDZS.cjs');
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "APIError", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkN7UWN6ND_cjs.APIError; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "callbackOAuth", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkN7UWN6ND_cjs.callbackOAuth; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "changeEmail", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkN7UWN6ND_cjs.changeEmail; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "changePassword", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkN7UWN6ND_cjs.changePassword; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "createAuthEndpoint", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkN7UWN6ND_cjs.createAuthEndpoint; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createAuthMiddleware", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkN7UWN6ND_cjs.createAuthMiddleware; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "createEmailVerificationToken", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkN7UWN6ND_cjs.createEmailVerificationToken; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "deleteUser", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkN7UWN6ND_cjs.deleteUser; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "deleteUserCallback", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkN7UWN6ND_cjs.deleteUserCallback; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "error", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkN7UWN6ND_cjs.error; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "forgetPassword", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkN7UWN6ND_cjs.forgetPassword; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "forgetPasswordCallback", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkN7UWN6ND_cjs.forgetPasswordCallback; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "freshSessionMiddleware", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkN7UWN6ND_cjs.freshSessionMiddleware; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "getEndpoints", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkN7UWN6ND_cjs.getEndpoints; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "getSession", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkN7UWN6ND_cjs.getSession; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "getSessionFromCtx", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkN7UWN6ND_cjs.getSessionFromCtx; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "linkSocialAccount", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkN7UWN6ND_cjs.linkSocialAccount; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "listSessions", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkN7UWN6ND_cjs.listSessions; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "listUserAccounts", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkN7UWN6ND_cjs.listUserAccounts; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "ok", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkN7UWN6ND_cjs.ok; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "optionsMiddleware", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkN7UWN6ND_cjs.optionsMiddleware; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "originCheck", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkN7UWN6ND_cjs.originCheck; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "originCheckMiddleware", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkN7UWN6ND_cjs.originCheckMiddleware; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "requestOnlySessionMiddleware", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkN7UWN6ND_cjs.requestOnlySessionMiddleware; }
|
|
111
115
|
});
|
|
112
116
|
Object.defineProperty(exports, "resetPassword", {
|
|
113
117
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkN7UWN6ND_cjs.resetPassword; }
|
|
115
119
|
});
|
|
116
120
|
Object.defineProperty(exports, "revokeOtherSessions", {
|
|
117
121
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkN7UWN6ND_cjs.revokeOtherSessions; }
|
|
119
123
|
});
|
|
120
124
|
Object.defineProperty(exports, "revokeSession", {
|
|
121
125
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkN7UWN6ND_cjs.revokeSession; }
|
|
123
127
|
});
|
|
124
128
|
Object.defineProperty(exports, "revokeSessions", {
|
|
125
129
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkN7UWN6ND_cjs.revokeSessions; }
|
|
127
131
|
});
|
|
128
132
|
Object.defineProperty(exports, "router", {
|
|
129
133
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkN7UWN6ND_cjs.router; }
|
|
131
135
|
});
|
|
132
136
|
Object.defineProperty(exports, "sendVerificationEmail", {
|
|
133
137
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkN7UWN6ND_cjs.sendVerificationEmail; }
|
|
135
139
|
});
|
|
136
140
|
Object.defineProperty(exports, "sendVerificationEmailFn", {
|
|
137
141
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkN7UWN6ND_cjs.sendVerificationEmailFn; }
|
|
139
143
|
});
|
|
140
144
|
Object.defineProperty(exports, "sessionMiddleware", {
|
|
141
145
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkN7UWN6ND_cjs.sessionMiddleware; }
|
|
143
147
|
});
|
|
144
148
|
Object.defineProperty(exports, "setPassword", {
|
|
145
149
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkN7UWN6ND_cjs.setPassword; }
|
|
147
151
|
});
|
|
148
152
|
Object.defineProperty(exports, "signInEmail", {
|
|
149
153
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkN7UWN6ND_cjs.signInEmail; }
|
|
151
155
|
});
|
|
152
156
|
Object.defineProperty(exports, "signInSocial", {
|
|
153
157
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkN7UWN6ND_cjs.signInSocial; }
|
|
155
159
|
});
|
|
156
160
|
Object.defineProperty(exports, "signOut", {
|
|
157
161
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkN7UWN6ND_cjs.signOut; }
|
|
159
163
|
});
|
|
160
164
|
Object.defineProperty(exports, "signUpEmail", {
|
|
161
165
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkN7UWN6ND_cjs.signUpEmail; }
|
|
163
167
|
});
|
|
164
168
|
Object.defineProperty(exports, "unlinkAccount", {
|
|
165
169
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkN7UWN6ND_cjs.unlinkAccount; }
|
|
167
171
|
});
|
|
168
172
|
Object.defineProperty(exports, "updateUser", {
|
|
169
173
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkN7UWN6ND_cjs.updateUser; }
|
|
171
175
|
});
|
|
172
176
|
Object.defineProperty(exports, "verifyEmail", {
|
|
173
177
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkN7UWN6ND_cjs.verifyEmail; }
|
|
175
179
|
});
|
package/dist/api.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { h as AuthEndpoint, i as AuthMiddleware, aD as callbackOAuth, aZ as changeEmail, aV as changePassword, g as createAuthEndpoint, f as createAuthMiddleware, aQ as createEmailVerificationToken, aX as deleteUser, aY as deleteUserCallback, a_ as error, aN as forgetPassword, aO as forgetPasswordCallback, aH as freshSessionMiddleware, az as getEndpoints, aE as getSession, aF as getSessionFromCtx, b2 as linkSocialAccount, aI as listSessions, b1 as listUserAccounts, a$ as ok, o as optionsMiddleware, b5 as originCheck, b4 as originCheckMiddleware, aP as resetPassword, aL as revokeOtherSessions, aJ as revokeSession, aK as revokeSessions, aA as router, aS as sendVerificationEmail, aR as sendVerificationEmailFn, aG as sessionMiddleware, aW as setPassword, aC as signInEmail, aB as signInSocial, aM as signOut, b0 as signUpEmail, b3 as unlinkAccount, aU as updateUser, aT as verifyEmail } from './auth-D4rdpxtI.cjs';
|
|
2
|
-
import './helper-Bi8FQwDD.cjs';
|
|
3
1
|
export { APIError } from 'better-call';
|
|
2
|
+
export { h as AuthEndpoint, i as AuthMiddleware, aD as callbackOAuth, a_ as changeEmail, aW as changePassword, g as createAuthEndpoint, f as createAuthMiddleware, aR as createEmailVerificationToken, aY as deleteUser, aZ as deleteUserCallback, a$ as error, aO as forgetPassword, aP as forgetPasswordCallback, aI as freshSessionMiddleware, az as getEndpoints, aE as getSession, aF as getSessionFromCtx, b3 as linkSocialAccount, aJ as listSessions, b2 as listUserAccounts, b0 as ok, o as optionsMiddleware, b6 as originCheck, b5 as originCheckMiddleware, aH as requestOnlySessionMiddleware, aQ as resetPassword, aM as revokeOtherSessions, aK as revokeSession, aL as revokeSessions, aA as router, aT as sendVerificationEmail, aS as sendVerificationEmailFn, aG as sessionMiddleware, aX as setPassword, aC as signInEmail, aB as signInSocial, aN as signOut, b1 as signUpEmail, b4 as unlinkAccount, aV as updateUser, aU as verifyEmail } from './auth-BLwS7t0V.cjs';
|
|
3
|
+
import './helper-Bi8FQwDD.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-BuRgaJZR.cjs';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { h as AuthEndpoint, i as AuthMiddleware, aD as callbackOAuth, aZ as changeEmail, aV as changePassword, g as createAuthEndpoint, f as createAuthMiddleware, aQ as createEmailVerificationToken, aX as deleteUser, aY as deleteUserCallback, a_ as error, aN as forgetPassword, aO as forgetPasswordCallback, aH as freshSessionMiddleware, az as getEndpoints, aE as getSession, aF as getSessionFromCtx, b2 as linkSocialAccount, aI as listSessions, b1 as listUserAccounts, a$ as ok, o as optionsMiddleware, b5 as originCheck, b4 as originCheckMiddleware, aP as resetPassword, aL as revokeOtherSessions, aJ as revokeSession, aK as revokeSessions, aA as router, aS as sendVerificationEmail, aR as sendVerificationEmailFn, aG as sessionMiddleware, aW as setPassword, aC as signInEmail, aB as signInSocial, aM as signOut, b0 as signUpEmail, b3 as unlinkAccount, aU as updateUser, aT as verifyEmail } from './auth-DcMc3BIq.js';
|
|
2
|
-
import './helper-Bi8FQwDD.js';
|
|
3
1
|
export { APIError } from 'better-call';
|
|
2
|
+
export { h as AuthEndpoint, i as AuthMiddleware, aD as callbackOAuth, a_ as changeEmail, aW as changePassword, g as createAuthEndpoint, f as createAuthMiddleware, aR as createEmailVerificationToken, aY as deleteUser, aZ as deleteUserCallback, a$ as error, aO as forgetPassword, aP as forgetPasswordCallback, aI as freshSessionMiddleware, az as getEndpoints, aE as getSession, aF as getSessionFromCtx, b3 as linkSocialAccount, aJ as listSessions, b2 as listUserAccounts, b0 as ok, o as optionsMiddleware, b6 as originCheck, b5 as originCheckMiddleware, aH as requestOnlySessionMiddleware, aQ as resetPassword, aM as revokeOtherSessions, aK as revokeSession, aL as revokeSessions, aA as router, aT as sendVerificationEmail, aS as sendVerificationEmailFn, aG as sessionMiddleware, aX as setPassword, aC as signInEmail, aB as signInSocial, aN as signOut, b1 as signUpEmail, b4 as unlinkAccount, aV as updateUser, aU as verifyEmail } from './auth-C42JqOR9.js';
|
|
3
|
+
import './helper-Bi8FQwDD.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'kysely';
|
|
6
|
-
import './index-
|
|
6
|
+
import './index-moQjyfmm.js';
|
|
7
7
|
import 'jose';
|
|
8
8
|
import 'better-sqlite3';
|
package/dist/api.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './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, requestOnlySessionMiddleware, resetPassword, revokeOtherSessions, revokeSession, revokeSessions, router, sendVerificationEmail, sendVerificationEmailFn, sessionMiddleware, setPassword, signInEmail, signInSocial, signOut, signUpEmail, unlinkAccount, updateUser, verifyEmail } from './chunk-SCXZXQTZ.js';
|
|
2
|
+
import './chunk-TODG5RSV.js';
|
|
3
|
+
import './chunk-R42K7GPF.js';
|
|
4
4
|
import './chunk-XFCIANZX.js';
|
|
5
5
|
import './chunk-QQGZ3XGI.js';
|
|
6
6
|
import './chunk-HZBNUY7E.js';
|
|
7
7
|
import './chunk-KLDFBLYL.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-ZFUBVSZD.js';
|
|
9
9
|
import './chunk-3XTQSPPA.js';
|
|
10
10
|
import './chunk-DBPOZRMS.js';
|
|
11
11
|
import './chunk-53IPO2PJ.js';
|