@gatwech/auth 1.0.0-beta.19 → 1.0.0-beta.20
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/client/index.d.mts +16 -16
- package/dist/client/plugins/index.d.mts +45 -45
- package/dist/client/react/index.d.mts +14 -14
- package/dist/{client-DZHNfxuR.d.mts → client-C_qmyez2.d.mts} +4 -4
- package/dist/{client-CSOs1YN7.d.mts → client-F67q-Lbi.d.mts} +1 -1
- package/dist/{index-Blmhq6eA.d.mts → index-4I1YhYhk.d.mts} +4 -4
- package/dist/{index-mxEUX2Gs.d.mts → index-BX7rl07Z.d.mts} +13 -13
- package/dist/{index-xoYsoOiR.d.mts → index-Bml-PCqP.d.mts} +20 -20
- package/dist/{index-DG-X1PK5.d.mts → index-BsSKcKgO.d.mts} +5 -5
- package/dist/{index-CP3FNbOZ.d.mts → index-CBiGsvDd.d.mts} +7 -7
- package/dist/{index-CUknVRZp.d.mts → index-CC920PPp.d.mts} +13 -13
- package/dist/{index-zBdYQGaS.d.mts → index-CNd5jqLl.d.mts} +5 -5
- package/dist/{index-DS-R7st3.d.mts → index-CP8x1TFq.d.mts} +6 -6
- package/dist/{index-CaqpCfE5.d.mts → index-CofuaNMl.d.mts} +6 -6
- package/dist/{index-Cv9iMevV.d.mts → index-CzpdkTdv.d.mts} +9 -9
- package/dist/{index-DRM35ir1.d.mts → index-D57DuhZR.d.mts} +110 -110
- package/dist/{index-DXVU0HGr.d.mts → index-D6ku0rUC.d.mts} +4 -4
- package/dist/{index-BAVzFqII.d.mts → index-DFSRYWFI.d.mts} +6 -6
- package/dist/{index-CgeC2eGC.d.mts → index-DGeoJ4gu.d.mts} +2 -2
- package/dist/{index-DyH_CgmX.d.mts → index-DTkcY7xH.d.mts} +10 -10
- package/dist/{index-COGe8UJx.d.mts → index-Dnd8S4S4.d.mts} +8 -8
- package/dist/{index-Df4SvZaE.d.mts → index-DwPAddfE.d.mts} +3 -3
- package/dist/{index-Db8jqUq2.d.mts → index-DyXi7S2M.d.mts} +9 -9
- package/dist/{index-CKnPAS5n.d.mts → index-KhbNmMmG.d.mts} +165 -165
- package/dist/{index-EABwA_BH.d.mts → index-XfE0WjTN.d.mts} +32 -32
- package/dist/{index-BNDRYfTF.d.mts → index-sb-UFLuo.d.mts} +2 -2
- package/dist/integrations/next-js.d.mts +4 -4
- package/dist/integrations/react-start.d.mts +4 -4
- package/dist/plugins/admin/index.d.mts +1 -1
- package/dist/plugins/anonymous/index.d.mts +1 -1
- package/dist/plugins/audit-log/client.d.mts +22 -22
- package/dist/plugins/audit-log/index.d.mts +21 -21
- package/dist/plugins/bearer/index.d.mts +1 -1
- package/dist/plugins/captcha/index.d.mts +1 -1
- package/dist/plugins/custom-session/index.d.mts +1 -1
- package/dist/plugins/device-authorization/index.d.mts +1 -1
- package/dist/plugins/email-otp/index.d.mts +1 -1
- package/dist/plugins/generic-oauth/index.d.mts +1 -1
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/index.d.mts +21 -21
- package/dist/plugins/index.mjs +1 -1
- package/dist/plugins/jwt/index.d.mts +1 -1
- package/dist/plugins/magic-link/index.d.mts +1 -1
- package/dist/plugins/multi-session/index.d.mts +1 -1
- package/dist/plugins/oauth-proxy/index.d.mts +1 -1
- package/dist/plugins/one-tap/index.d.mts +1 -1
- package/dist/plugins/one-time-token/index.d.mts +1 -1
- package/dist/plugins/one-time-token/index.mjs +1 -1
- package/dist/plugins/organization/index.d.mts +1 -1
- package/dist/plugins/passkey/index.d.mts +1 -1
- package/dist/plugins/phone-number/index.d.mts +1 -1
- package/dist/plugins/sentinel/client.d.mts +22 -22
- package/dist/plugins/sentinel/index.d.mts +21 -21
- package/dist/plugins/sentinel/index.mjs +1 -1
- package/dist/plugins/two-factor/index.d.mts +1 -1
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/{sentinel-C-D1IHJo.mjs → sentinel-DiPqydKG.mjs} +39 -8
- package/dist/src/plugins/sentinel/email.d.ts +9 -3
- package/dist/test-utils/index.d.mts +1042 -1042
- package/dist/test-utils/index.mjs +1 -1
- package/package.json +3 -3
|
@@ -2,8 +2,8 @@ import { g as User, h as Session } from "./index-BNhJglHC.mjs";
|
|
|
2
2
|
import { s as User$1 } from "./index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
3
3
|
import { t as InferOptionSchema } from "./plugins-Dy_FrD4Y.mjs";
|
|
4
4
|
import { a as Role, i as AccessControl, o as Statements } from "./index-CxlWnL9c.mjs";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as _gatwech_core60 from "@gatwech/core";
|
|
6
|
+
import * as better_call248 from "better-call";
|
|
7
7
|
import * as z$1 from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/admin/schema.d.ts
|
|
@@ -159,7 +159,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
159
159
|
token: string;
|
|
160
160
|
ipAddress?: string | null | undefined;
|
|
161
161
|
userAgent?: string | null | undefined;
|
|
162
|
-
} & Record<string, unknown>, ctx:
|
|
162
|
+
} & Record<string, unknown>, ctx: _gatwech_core60.GenericEndpointContext<_gatwech_core60.PayvoAuthOptions> | undefined): Promise<void>;
|
|
163
163
|
};
|
|
164
164
|
};
|
|
165
165
|
};
|
|
@@ -167,8 +167,8 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
167
167
|
};
|
|
168
168
|
hooks: {
|
|
169
169
|
after: {
|
|
170
|
-
matcher(context:
|
|
171
|
-
handler: (inputContext:
|
|
170
|
+
matcher(context: _gatwech_core60.HookEndpointContext): boolean;
|
|
171
|
+
handler: (inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<SessionWithImpersonatedBy[] | undefined>;
|
|
172
172
|
}[];
|
|
173
173
|
};
|
|
174
174
|
endpoints: {
|
|
@@ -206,7 +206,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
206
206
|
} & {
|
|
207
207
|
asResponse?: boolean;
|
|
208
208
|
returnHeaders?: boolean;
|
|
209
|
-
use?:
|
|
209
|
+
use?: better_call248.Middleware[];
|
|
210
210
|
path?: string;
|
|
211
211
|
} & {
|
|
212
212
|
asResponse?: AsResponse | undefined;
|
|
@@ -226,7 +226,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
226
226
|
role: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodArray<z$1.ZodString>]>;
|
|
227
227
|
}, z$1.core.$strip>;
|
|
228
228
|
requireHeaders: true;
|
|
229
|
-
use: ((inputContext:
|
|
229
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
230
230
|
session: {
|
|
231
231
|
user: UserWithRole;
|
|
232
232
|
session: Session;
|
|
@@ -285,7 +285,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
285
285
|
} & {
|
|
286
286
|
asResponse?: boolean;
|
|
287
287
|
returnHeaders?: boolean;
|
|
288
|
-
use?:
|
|
288
|
+
use?: better_call248.Middleware[];
|
|
289
289
|
path?: string;
|
|
290
290
|
} & {
|
|
291
291
|
asResponse?: AsResponse | undefined;
|
|
@@ -315,7 +315,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
315
315
|
query: z$1.ZodObject<{
|
|
316
316
|
id: z$1.ZodString;
|
|
317
317
|
}, z$1.core.$strip>;
|
|
318
|
-
use: ((inputContext:
|
|
318
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
319
319
|
session: {
|
|
320
320
|
user: UserWithRole;
|
|
321
321
|
session: Session;
|
|
@@ -387,7 +387,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
387
387
|
} & {
|
|
388
388
|
asResponse?: boolean;
|
|
389
389
|
returnHeaders?: boolean;
|
|
390
|
-
use?:
|
|
390
|
+
use?: better_call248.Middleware[];
|
|
391
391
|
path?: string;
|
|
392
392
|
} & {
|
|
393
393
|
asResponse?: AsResponse | undefined;
|
|
@@ -481,7 +481,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
481
481
|
} & {
|
|
482
482
|
asResponse?: boolean;
|
|
483
483
|
returnHeaders?: boolean;
|
|
484
|
-
use?:
|
|
484
|
+
use?: better_call248.Middleware[];
|
|
485
485
|
path?: string;
|
|
486
486
|
} & {
|
|
487
487
|
asResponse?: AsResponse | undefined;
|
|
@@ -496,7 +496,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
496
496
|
userId: z$1.ZodCoercedString<unknown>;
|
|
497
497
|
data: z$1.ZodRecord<z$1.ZodAny, z$1.ZodAny>;
|
|
498
498
|
}, z$1.core.$strip>;
|
|
499
|
-
use: ((inputContext:
|
|
499
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
500
500
|
session: {
|
|
501
501
|
user: UserWithRole;
|
|
502
502
|
session: Session;
|
|
@@ -558,7 +558,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
558
558
|
} & {
|
|
559
559
|
asResponse?: boolean;
|
|
560
560
|
returnHeaders?: boolean;
|
|
561
|
-
use?:
|
|
561
|
+
use?: better_call248.Middleware[];
|
|
562
562
|
path?: string;
|
|
563
563
|
} & {
|
|
564
564
|
asResponse?: AsResponse | undefined;
|
|
@@ -585,7 +585,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
585
585
|
}>;
|
|
586
586
|
options: {
|
|
587
587
|
method: "GET";
|
|
588
|
-
use: ((inputContext:
|
|
588
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
589
589
|
session: {
|
|
590
590
|
user: UserWithRole;
|
|
591
591
|
session: Session;
|
|
@@ -696,7 +696,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
696
696
|
} & {
|
|
697
697
|
asResponse?: boolean;
|
|
698
698
|
returnHeaders?: boolean;
|
|
699
|
-
use?:
|
|
699
|
+
use?: better_call248.Middleware[];
|
|
700
700
|
path?: string;
|
|
701
701
|
} & {
|
|
702
702
|
asResponse?: AsResponse | undefined;
|
|
@@ -711,7 +711,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
711
711
|
}>;
|
|
712
712
|
options: {
|
|
713
713
|
method: "POST";
|
|
714
|
-
use: ((inputContext:
|
|
714
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
715
715
|
session: {
|
|
716
716
|
user: UserWithRole;
|
|
717
717
|
session: Session;
|
|
@@ -785,7 +785,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
785
785
|
} & {
|
|
786
786
|
asResponse?: boolean;
|
|
787
787
|
returnHeaders?: boolean;
|
|
788
|
-
use?:
|
|
788
|
+
use?: better_call248.Middleware[];
|
|
789
789
|
path?: string;
|
|
790
790
|
} & {
|
|
791
791
|
asResponse?: AsResponse | undefined;
|
|
@@ -803,7 +803,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
803
803
|
body: z$1.ZodObject<{
|
|
804
804
|
userId: z$1.ZodCoercedString<unknown>;
|
|
805
805
|
}, z$1.core.$strip>;
|
|
806
|
-
use: ((inputContext:
|
|
806
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
807
807
|
session: {
|
|
808
808
|
user: UserWithRole;
|
|
809
809
|
session: Session;
|
|
@@ -873,7 +873,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
873
873
|
} & {
|
|
874
874
|
asResponse?: boolean;
|
|
875
875
|
returnHeaders?: boolean;
|
|
876
|
-
use?:
|
|
876
|
+
use?: better_call248.Middleware[];
|
|
877
877
|
path?: string;
|
|
878
878
|
} & {
|
|
879
879
|
asResponse?: AsResponse | undefined;
|
|
@@ -893,7 +893,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
893
893
|
banReason: z$1.ZodOptional<z$1.ZodString>;
|
|
894
894
|
banExpiresIn: z$1.ZodOptional<z$1.ZodNumber>;
|
|
895
895
|
}, z$1.core.$strip>;
|
|
896
|
-
use: ((inputContext:
|
|
896
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
897
897
|
session: {
|
|
898
898
|
user: UserWithRole;
|
|
899
899
|
session: Session;
|
|
@@ -961,7 +961,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
961
961
|
} & {
|
|
962
962
|
asResponse?: boolean;
|
|
963
963
|
returnHeaders?: boolean;
|
|
964
|
-
use?:
|
|
964
|
+
use?: better_call248.Middleware[];
|
|
965
965
|
path?: string;
|
|
966
966
|
} & {
|
|
967
967
|
asResponse?: AsResponse | undefined;
|
|
@@ -1015,7 +1015,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1015
1015
|
body: z$1.ZodObject<{
|
|
1016
1016
|
userId: z$1.ZodCoercedString<unknown>;
|
|
1017
1017
|
}, z$1.core.$strip>;
|
|
1018
|
-
use: ((inputContext:
|
|
1018
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
1019
1019
|
session: {
|
|
1020
1020
|
user: UserWithRole;
|
|
1021
1021
|
session: Session;
|
|
@@ -1084,7 +1084,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1084
1084
|
} & {
|
|
1085
1085
|
asResponse?: boolean;
|
|
1086
1086
|
returnHeaders?: boolean;
|
|
1087
|
-
use?:
|
|
1087
|
+
use?: better_call248.Middleware[];
|
|
1088
1088
|
path?: string;
|
|
1089
1089
|
} & {
|
|
1090
1090
|
asResponse?: AsResponse | undefined;
|
|
@@ -1140,7 +1140,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1140
1140
|
} & {
|
|
1141
1141
|
asResponse?: boolean;
|
|
1142
1142
|
returnHeaders?: boolean;
|
|
1143
|
-
use?:
|
|
1143
|
+
use?: better_call248.Middleware[];
|
|
1144
1144
|
path?: string;
|
|
1145
1145
|
} & {
|
|
1146
1146
|
asResponse?: AsResponse | undefined;
|
|
@@ -1158,7 +1158,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1158
1158
|
body: z$1.ZodObject<{
|
|
1159
1159
|
sessionToken: z$1.ZodString;
|
|
1160
1160
|
}, z$1.core.$strip>;
|
|
1161
|
-
use: ((inputContext:
|
|
1161
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
1162
1162
|
session: {
|
|
1163
1163
|
user: UserWithRole;
|
|
1164
1164
|
session: Session;
|
|
@@ -1226,7 +1226,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1226
1226
|
} & {
|
|
1227
1227
|
asResponse?: boolean;
|
|
1228
1228
|
returnHeaders?: boolean;
|
|
1229
|
-
use?:
|
|
1229
|
+
use?: better_call248.Middleware[];
|
|
1230
1230
|
path?: string;
|
|
1231
1231
|
} & {
|
|
1232
1232
|
asResponse?: AsResponse | undefined;
|
|
@@ -1244,7 +1244,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1244
1244
|
body: z$1.ZodObject<{
|
|
1245
1245
|
userId: z$1.ZodCoercedString<unknown>;
|
|
1246
1246
|
}, z$1.core.$strip>;
|
|
1247
|
-
use: ((inputContext:
|
|
1247
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
1248
1248
|
session: {
|
|
1249
1249
|
user: UserWithRole;
|
|
1250
1250
|
session: Session;
|
|
@@ -1312,7 +1312,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1312
1312
|
} & {
|
|
1313
1313
|
asResponse?: boolean;
|
|
1314
1314
|
returnHeaders?: boolean;
|
|
1315
|
-
use?:
|
|
1315
|
+
use?: better_call248.Middleware[];
|
|
1316
1316
|
path?: string;
|
|
1317
1317
|
} & {
|
|
1318
1318
|
asResponse?: AsResponse | undefined;
|
|
@@ -1330,7 +1330,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1330
1330
|
body: z$1.ZodObject<{
|
|
1331
1331
|
userId: z$1.ZodCoercedString<unknown>;
|
|
1332
1332
|
}, z$1.core.$strip>;
|
|
1333
|
-
use: ((inputContext:
|
|
1333
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
1334
1334
|
session: {
|
|
1335
1335
|
user: UserWithRole;
|
|
1336
1336
|
session: Session;
|
|
@@ -1399,7 +1399,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1399
1399
|
} & {
|
|
1400
1400
|
asResponse?: boolean;
|
|
1401
1401
|
returnHeaders?: boolean;
|
|
1402
|
-
use?:
|
|
1402
|
+
use?: better_call248.Middleware[];
|
|
1403
1403
|
path?: string;
|
|
1404
1404
|
} & {
|
|
1405
1405
|
asResponse?: AsResponse | undefined;
|
|
@@ -1418,7 +1418,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1418
1418
|
newPassword: z$1.ZodString;
|
|
1419
1419
|
userId: z$1.ZodCoercedString<unknown>;
|
|
1420
1420
|
}, z$1.core.$strip>;
|
|
1421
|
-
use: ((inputContext:
|
|
1421
|
+
use: ((inputContext: better_call248.MiddlewareInputContext<better_call248.MiddlewareOptions>) => Promise<{
|
|
1422
1422
|
session: {
|
|
1423
1423
|
user: UserWithRole;
|
|
1424
1424
|
session: Session;
|
|
@@ -1514,7 +1514,7 @@ declare const admin: <O extends AdminOptions>(options?: O | undefined) => {
|
|
|
1514
1514
|
} & {
|
|
1515
1515
|
asResponse?: boolean;
|
|
1516
1516
|
returnHeaders?: boolean;
|
|
1517
|
-
use?:
|
|
1517
|
+
use?: better_call248.Middleware[];
|
|
1518
1518
|
path?: string;
|
|
1519
1519
|
} & {
|
|
1520
1520
|
asResponse?: AsResponse | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as better_call113 from "better-call";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/one-tap/index.d.ts
|
|
@@ -38,7 +38,7 @@ declare const oneTap: (options?: OneTapOptions | undefined) => {
|
|
|
38
38
|
} & {
|
|
39
39
|
asResponse?: boolean;
|
|
40
40
|
returnHeaders?: boolean;
|
|
41
|
-
use?:
|
|
41
|
+
use?: better_call113.Middleware[];
|
|
42
42
|
path?: string;
|
|
43
43
|
} & {
|
|
44
44
|
asResponse?: AsResponse | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _gatwech_core29 from "@gatwech/core";
|
|
2
|
+
import * as better_call81 from "better-call";
|
|
3
3
|
|
|
4
4
|
//#region src/integrations/next-js.d.ts
|
|
5
5
|
declare function toNextJsHandler(auth: {
|
|
@@ -12,8 +12,8 @@ declare const nextCookies: () => {
|
|
|
12
12
|
id: "next-cookies";
|
|
13
13
|
hooks: {
|
|
14
14
|
after: {
|
|
15
|
-
matcher(ctx:
|
|
16
|
-
handler: (inputContext:
|
|
15
|
+
matcher(ctx: _gatwech_core29.HookEndpointContext): true;
|
|
16
|
+
handler: (inputContext: better_call81.MiddlewareInputContext<better_call81.MiddlewareOptions>) => Promise<void>;
|
|
17
17
|
}[];
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _gatwech_core52 from "@gatwech/core";
|
|
2
|
+
import * as better_call135 from "better-call";
|
|
3
3
|
|
|
4
4
|
//#region src/integrations/react-start.d.ts
|
|
5
5
|
declare const reactStartCookies: () => {
|
|
6
6
|
id: "react-start-cookies";
|
|
7
7
|
hooks: {
|
|
8
8
|
after: {
|
|
9
|
-
matcher(ctx:
|
|
10
|
-
handler: (inputContext:
|
|
9
|
+
matcher(ctx: _gatwech_core52.HookEndpointContext): true;
|
|
10
|
+
handler: (inputContext: better_call135.MiddlewareInputContext<better_call135.MiddlewareOptions>) => Promise<void>;
|
|
11
11
|
}[];
|
|
12
12
|
};
|
|
13
13
|
};
|
|
@@ -4,5 +4,5 @@ import "../../types-DNQ9XQrB.mjs";
|
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../../index-CxlWnL9c.mjs";
|
|
7
|
-
import { a as UserWithRole, i as SessionWithImpersonatedBy, n as AdminOptions, r as InferAdminRolesFromOption, t as admin } from "../../index-
|
|
7
|
+
import { a as UserWithRole, i as SessionWithImpersonatedBy, n as AdminOptions, r as InferAdminRolesFromOption, t as admin } from "../../index-XfE0WjTN.mjs";
|
|
8
8
|
export { AdminOptions, InferAdminRolesFromOption, SessionWithImpersonatedBy, UserWithRole, admin };
|
|
@@ -3,5 +3,5 @@ import "../../index-BNhJglHC.mjs";
|
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../../index-
|
|
6
|
+
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../../index-CNd5jqLl.mjs";
|
|
7
7
|
export { AnonymousOptions, UserWithAnonymous, anonymous };
|
|
@@ -4,27 +4,27 @@ import "../../types-DNQ9XQrB.mjs";
|
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../../index-CxlWnL9c.mjs";
|
|
7
|
-
import "../../index-
|
|
8
|
-
import "../../index-
|
|
9
|
-
import "../../index-
|
|
10
|
-
import "../../index-
|
|
11
|
-
import "../../index-
|
|
12
|
-
import "../../index-
|
|
13
|
-
import "../../index-
|
|
14
|
-
import "../../index-
|
|
15
|
-
import "../../index-
|
|
16
|
-
import "../../index-
|
|
17
|
-
import "../../index-
|
|
18
|
-
import "../../index-
|
|
19
|
-
import "../../index-
|
|
20
|
-
import "../../index-
|
|
21
|
-
import "../../index-
|
|
22
|
-
import "../../index-
|
|
7
|
+
import "../../index-XfE0WjTN.mjs";
|
|
8
|
+
import "../../index-CNd5jqLl.mjs";
|
|
9
|
+
import "../../index-D57DuhZR.mjs";
|
|
10
|
+
import "../../index-CP8x1TFq.mjs";
|
|
11
|
+
import "../../index-DGeoJ4gu.mjs";
|
|
12
|
+
import "../../index-BsSKcKgO.mjs";
|
|
13
|
+
import "../../index-DFSRYWFI.mjs";
|
|
14
|
+
import "../../index-CC920PPp.mjs";
|
|
15
|
+
import "../../index-CBiGsvDd.mjs";
|
|
16
|
+
import "../../index-DwPAddfE.mjs";
|
|
17
|
+
import "../../index-Dnd8S4S4.mjs";
|
|
18
|
+
import "../../index-4I1YhYhk.mjs";
|
|
19
|
+
import "../../index-DyXi7S2M.mjs";
|
|
20
|
+
import "../../index-DTkcY7xH.mjs";
|
|
21
|
+
import "../../index-sb-UFLuo.mjs";
|
|
22
|
+
import "../../index-D6ku0rUC.mjs";
|
|
23
23
|
import "../../index-QmocqGM-.mjs";
|
|
24
|
-
import "../../index-
|
|
25
|
-
import "../../index-
|
|
26
|
-
import "../../index-
|
|
27
|
-
import "../../index-
|
|
28
|
-
import "../../index-
|
|
29
|
-
import { t as auditLogClient } from "../../client-
|
|
24
|
+
import "../../index-KhbNmMmG.mjs";
|
|
25
|
+
import "../../index-CofuaNMl.mjs";
|
|
26
|
+
import "../../index-Bml-PCqP.mjs";
|
|
27
|
+
import "../../index-BX7rl07Z.mjs";
|
|
28
|
+
import "../../index-CzpdkTdv.mjs";
|
|
29
|
+
import { t as auditLogClient } from "../../client-F67q-Lbi.mjs";
|
|
30
30
|
export { auditLogClient };
|
|
@@ -4,26 +4,26 @@ import "../../types-DNQ9XQrB.mjs";
|
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../../index-CxlWnL9c.mjs";
|
|
7
|
-
import "../../index-
|
|
8
|
-
import "../../index-
|
|
9
|
-
import { A as SECURITY_EVENT_TYPES, C as AuditEvent, D as AuditEventType, E as AUDIT_EVENT_TYPES, M as VERIFICATION_PATHS, O as CREDENTIAL_SIGN_IN_PATHS, T as ALL_EVENT_TYPES, j as SIGN_IN_PATHS, k as PATH_EVENTS, n as auditLog, t as AUDIT_LOG_ERROR_CODES, w as AuditLogOptions } from "../../index-
|
|
10
|
-
import "../../index-
|
|
11
|
-
import "../../index-
|
|
12
|
-
import "../../index-
|
|
13
|
-
import "../../index-
|
|
14
|
-
import "../../index-
|
|
15
|
-
import "../../index-
|
|
16
|
-
import "../../index-
|
|
17
|
-
import "../../index-
|
|
18
|
-
import "../../index-
|
|
19
|
-
import "../../index-
|
|
20
|
-
import "../../index-
|
|
21
|
-
import "../../index-
|
|
22
|
-
import "../../index-
|
|
7
|
+
import "../../index-XfE0WjTN.mjs";
|
|
8
|
+
import "../../index-CNd5jqLl.mjs";
|
|
9
|
+
import { A as SECURITY_EVENT_TYPES, C as AuditEvent, D as AuditEventType, E as AUDIT_EVENT_TYPES, M as VERIFICATION_PATHS, O as CREDENTIAL_SIGN_IN_PATHS, T as ALL_EVENT_TYPES, j as SIGN_IN_PATHS, k as PATH_EVENTS, n as auditLog, t as AUDIT_LOG_ERROR_CODES, w as AuditLogOptions } from "../../index-D57DuhZR.mjs";
|
|
10
|
+
import "../../index-CP8x1TFq.mjs";
|
|
11
|
+
import "../../index-DGeoJ4gu.mjs";
|
|
12
|
+
import "../../index-BsSKcKgO.mjs";
|
|
13
|
+
import "../../index-DFSRYWFI.mjs";
|
|
14
|
+
import "../../index-CC920PPp.mjs";
|
|
15
|
+
import "../../index-CBiGsvDd.mjs";
|
|
16
|
+
import "../../index-DwPAddfE.mjs";
|
|
17
|
+
import "../../index-Dnd8S4S4.mjs";
|
|
18
|
+
import "../../index-4I1YhYhk.mjs";
|
|
19
|
+
import "../../index-DyXi7S2M.mjs";
|
|
20
|
+
import "../../index-DTkcY7xH.mjs";
|
|
21
|
+
import "../../index-sb-UFLuo.mjs";
|
|
22
|
+
import "../../index-D6ku0rUC.mjs";
|
|
23
23
|
import "../../index-QmocqGM-.mjs";
|
|
24
|
-
import "../../index-
|
|
25
|
-
import "../../index-
|
|
26
|
-
import "../../index-
|
|
27
|
-
import "../../index-
|
|
28
|
-
import "../../index-
|
|
24
|
+
import "../../index-KhbNmMmG.mjs";
|
|
25
|
+
import "../../index-CofuaNMl.mjs";
|
|
26
|
+
import "../../index-Bml-PCqP.mjs";
|
|
27
|
+
import "../../index-BX7rl07Z.mjs";
|
|
28
|
+
import "../../index-CzpdkTdv.mjs";
|
|
29
29
|
export { ALL_EVENT_TYPES, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, AuditEvent, AuditEventType, AuditLogOptions, CREDENTIAL_SIGN_IN_PATHS, PATH_EVENTS, SECURITY_EVENT_TYPES, SIGN_IN_PATHS, VERIFICATION_PATHS, auditLog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as bearer } from "../../index-
|
|
1
|
+
import { t as bearer } from "../../index-CP8x1TFq.mjs";
|
|
2
2
|
export { bearer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as captcha } from "../../index-
|
|
1
|
+
import { t as captcha } from "../../index-DGeoJ4gu.mjs";
|
|
2
2
|
export { captcha };
|
|
@@ -3,5 +3,5 @@ import "../../index-BNhJglHC.mjs";
|
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { n as customSession, t as CustomSessionPluginOptions } from "../../index-
|
|
6
|
+
import { n as customSession, t as CustomSessionPluginOptions } from "../../index-BsSKcKgO.mjs";
|
|
7
7
|
export { CustomSessionPluginOptions, customSession };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
2
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
3
|
-
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../../index-
|
|
3
|
+
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../../index-DFSRYWFI.mjs";
|
|
4
4
|
export { $deviceAuthorizationOptionsSchema, DeviceAuthorizationOptions, deviceAuthorization, deviceAuthorizationClient };
|
|
@@ -3,5 +3,5 @@ import "../../index-BNhJglHC.mjs";
|
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { n as genericOAuth, t as GenericOAuthConfig } from "../../index-
|
|
6
|
+
import { n as genericOAuth, t as GenericOAuthConfig } from "../../index-CBiGsvDd.mjs";
|
|
7
7
|
export { GenericOAuthConfig, genericOAuth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../../index-
|
|
1
|
+
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../../index-DwPAddfE.mjs";
|
|
2
2
|
export { HaveIBeenPwnedOptions, getPasswordBreachCount, haveIBeenPwned };
|
package/dist/plugins/index.d.mts
CHANGED
|
@@ -4,26 +4,26 @@ import "../types-DNQ9XQrB.mjs";
|
|
|
4
4
|
import "../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import { n as InferPluginErrorCodes, t as InferOptionSchema } from "../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../index-CxlWnL9c.mjs";
|
|
7
|
-
import { a as UserWithRole, i as SessionWithImpersonatedBy, n as AdminOptions, r as InferAdminRolesFromOption, t as admin } from "../index-
|
|
8
|
-
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../index-
|
|
9
|
-
import { A as SECURITY_EVENT_TYPES, C as AuditEvent, D as AuditEventType, E as AUDIT_EVENT_TYPES, F as API_KEY_TABLE_NAME, I as ERROR_CODES, L as apiKey, M as VERIFICATION_PATHS, N as LastLoginMethodOptions, O as CREDENTIAL_SIGN_IN_PATHS, P as lastLoginMethod, R as defaultKeyHasher, S as SentinelOptions, T as ALL_EVENT_TYPES, _ as haversineDistanceKm, a as createAuthEndpoint, b as GeoLocation, c as sentinel, d as POW_SOLUTION_HEADER, f as createNonce, g as verifySolution, h as solveChallenge, i as AuthMiddleware, j as SIGN_IN_PATHS, k as PATH_EVENTS, l as POW_CHALLENGE_HEADER, m as parsePowHeader, n as auditLog, o as createAuthMiddleware, p as hasLeadingZeroBits, r as AuthEndpoint, s as optionsMiddleware, t as AUDIT_LOG_ERROR_CODES, u as POW_REASON_HEADER, v as normalizeEmail, w as AuditLogOptions, x as SecurityAction, y as SENTINEL_ERROR_CODES } from "../index-
|
|
10
|
-
import { t as bearer } from "../index-
|
|
11
|
-
import { t as captcha } from "../index-
|
|
12
|
-
import { n as customSession, t as CustomSessionPluginOptions } from "../index-
|
|
13
|
-
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../index-
|
|
14
|
-
import { n as emailOTP, t as EmailOTPOptions } from "../index-
|
|
15
|
-
import { n as genericOAuth, t as GenericOAuthConfig } from "../index-
|
|
16
|
-
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../index-
|
|
17
|
-
import { a as JWKOptions, c as JwtOptions, i as getJwtToken, n as createJwk, o as JWSAlgorithms, r as generateExportedKeyPair, s as Jwk, t as jwt } from "../index-
|
|
18
|
-
import { t as magicLink } from "../index-
|
|
19
|
-
import { t as multiSession } from "../index-
|
|
20
|
-
import { n as oAuthProxy, t as OAuthProxyOptions } from "../index-
|
|
21
|
-
import { t as oneTap } from "../index-
|
|
22
|
-
import { t as oneTimeToken } from "../index-
|
|
7
|
+
import { a as UserWithRole, i as SessionWithImpersonatedBy, n as AdminOptions, r as InferAdminRolesFromOption, t as admin } from "../index-XfE0WjTN.mjs";
|
|
8
|
+
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../index-CNd5jqLl.mjs";
|
|
9
|
+
import { A as SECURITY_EVENT_TYPES, C as AuditEvent, D as AuditEventType, E as AUDIT_EVENT_TYPES, F as API_KEY_TABLE_NAME, I as ERROR_CODES, L as apiKey, M as VERIFICATION_PATHS, N as LastLoginMethodOptions, O as CREDENTIAL_SIGN_IN_PATHS, P as lastLoginMethod, R as defaultKeyHasher, S as SentinelOptions, T as ALL_EVENT_TYPES, _ as haversineDistanceKm, a as createAuthEndpoint, b as GeoLocation, c as sentinel, d as POW_SOLUTION_HEADER, f as createNonce, g as verifySolution, h as solveChallenge, i as AuthMiddleware, j as SIGN_IN_PATHS, k as PATH_EVENTS, l as POW_CHALLENGE_HEADER, m as parsePowHeader, n as auditLog, o as createAuthMiddleware, p as hasLeadingZeroBits, r as AuthEndpoint, s as optionsMiddleware, t as AUDIT_LOG_ERROR_CODES, u as POW_REASON_HEADER, v as normalizeEmail, w as AuditLogOptions, x as SecurityAction, y as SENTINEL_ERROR_CODES } from "../index-D57DuhZR.mjs";
|
|
10
|
+
import { t as bearer } from "../index-CP8x1TFq.mjs";
|
|
11
|
+
import { t as captcha } from "../index-DGeoJ4gu.mjs";
|
|
12
|
+
import { n as customSession, t as CustomSessionPluginOptions } from "../index-BsSKcKgO.mjs";
|
|
13
|
+
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../index-DFSRYWFI.mjs";
|
|
14
|
+
import { n as emailOTP, t as EmailOTPOptions } from "../index-CC920PPp.mjs";
|
|
15
|
+
import { n as genericOAuth, t as GenericOAuthConfig } from "../index-CBiGsvDd.mjs";
|
|
16
|
+
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../index-DwPAddfE.mjs";
|
|
17
|
+
import { a as JWKOptions, c as JwtOptions, i as getJwtToken, n as createJwk, o as JWSAlgorithms, r as generateExportedKeyPair, s as Jwk, t as jwt } from "../index-Dnd8S4S4.mjs";
|
|
18
|
+
import { t as magicLink } from "../index-4I1YhYhk.mjs";
|
|
19
|
+
import { t as multiSession } from "../index-DyXi7S2M.mjs";
|
|
20
|
+
import { n as oAuthProxy, t as OAuthProxyOptions } from "../index-DTkcY7xH.mjs";
|
|
21
|
+
import { t as oneTap } from "../index-sb-UFLuo.mjs";
|
|
22
|
+
import { t as oneTimeToken } from "../index-D6ku0rUC.mjs";
|
|
23
23
|
import { a as memberAc, i as defaultStatements, n as defaultAc, o as ownerAc, r as defaultRoles, t as adminAc } from "../index-QmocqGM-.mjs";
|
|
24
|
-
import { A as organizationRoleSchema, C as TeamInput, D as invitationSchema, E as defaultRolesSchema, F as OrganizationOptions, M as roleSchema, N as teamMemberSchema, O as invitationStatus, P as teamSchema, S as Team, T as TeamMemberInput, _ as MemberInput, a as organization, b as OrganizationRole, c as InferMember, d as InferOrganizationZodRolesFromOption, f as InferTeam, g as Member, h as InvitationStatus, i as TeamEndpoints, j as organizationSchema, k as memberSchema, l as InferOrganization, m as InvitationInput, n as OrganizationEndpoints, o as parseRoles, p as Invitation, r as OrganizationPlugin, s as InferInvitation, t as DynamicAccessControlEndpoints, u as InferOrganizationRolesFromOption, v as Organization, w as TeamMember, x as OrganizationSchema, y as OrganizationInput } from "../index-
|
|
25
|
-
import { n as UserWithPhoneNumber, r as phoneNumber, t as PhoneNumberOptions } from "../index-
|
|
26
|
-
import { a as TwoFactorProvider, i as TwoFactorOptions, n as twoFactorClient, o as TwoFactorTable, r as TWO_FACTOR_ERROR_CODES, s as UserWithTwoFactor, t as twoFactor } from "../index-
|
|
27
|
-
import { n as Passkey, r as PasskeyOptions, t as passkey } from "../index-
|
|
28
|
-
import { n as username, r as USERNAME_ERROR_CODES, t as UsernameOptions } from "../index-
|
|
24
|
+
import { A as organizationRoleSchema, C as TeamInput, D as invitationSchema, E as defaultRolesSchema, F as OrganizationOptions, M as roleSchema, N as teamMemberSchema, O as invitationStatus, P as teamSchema, S as Team, T as TeamMemberInput, _ as MemberInput, a as organization, b as OrganizationRole, c as InferMember, d as InferOrganizationZodRolesFromOption, f as InferTeam, g as Member, h as InvitationStatus, i as TeamEndpoints, j as organizationSchema, k as memberSchema, l as InferOrganization, m as InvitationInput, n as OrganizationEndpoints, o as parseRoles, p as Invitation, r as OrganizationPlugin, s as InferInvitation, t as DynamicAccessControlEndpoints, u as InferOrganizationRolesFromOption, v as Organization, w as TeamMember, x as OrganizationSchema, y as OrganizationInput } from "../index-KhbNmMmG.mjs";
|
|
25
|
+
import { n as UserWithPhoneNumber, r as phoneNumber, t as PhoneNumberOptions } from "../index-CofuaNMl.mjs";
|
|
26
|
+
import { a as TwoFactorProvider, i as TwoFactorOptions, n as twoFactorClient, o as TwoFactorTable, r as TWO_FACTOR_ERROR_CODES, s as UserWithTwoFactor, t as twoFactor } from "../index-Bml-PCqP.mjs";
|
|
27
|
+
import { n as Passkey, r as PasskeyOptions, t as passkey } from "../index-BX7rl07Z.mjs";
|
|
28
|
+
import { n as username, r as USERNAME_ERROR_CODES, t as UsernameOptions } from "../index-CzpdkTdv.mjs";
|
|
29
29
|
export { $deviceAuthorizationOptionsSchema, ALL_EVENT_TYPES, API_KEY_TABLE_NAME, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, AdminOptions, AnonymousOptions, AuditEvent, AuditEventType, AuditLogOptions, AuthEndpoint, AuthMiddleware, CREDENTIAL_SIGN_IN_PATHS, CustomSessionPluginOptions, DeviceAuthorizationOptions, DynamicAccessControlEndpoints, ERROR_CODES, EmailOTPOptions, GenericOAuthConfig, GeoLocation, HIDE_METADATA, HaveIBeenPwnedOptions, InferAdminRolesFromOption, InferInvitation, InferMember, InferOptionSchema, InferOrganization, InferOrganizationRolesFromOption, InferOrganizationZodRolesFromOption, InferPluginErrorCodes, InferTeam, Invitation, InvitationInput, InvitationStatus, JWKOptions, JWSAlgorithms, Jwk, JwtOptions, LastLoginMethodOptions, Member, MemberInput, OAuthProxyOptions, Organization, OrganizationEndpoints, OrganizationInput, OrganizationOptions, OrganizationPlugin, OrganizationRole, OrganizationSchema, PATH_EVENTS, POW_CHALLENGE_HEADER, POW_REASON_HEADER, POW_SOLUTION_HEADER, Passkey, PasskeyOptions, PhoneNumberOptions, SECURITY_EVENT_TYPES, SENTINEL_ERROR_CODES, SIGN_IN_PATHS, SecurityAction, SentinelOptions, SessionWithImpersonatedBy, TWO_FACTOR_ERROR_CODES, Team, TeamEndpoints, TeamInput, TeamMember, TeamMemberInput, TwoFactorOptions, TwoFactorProvider, TwoFactorTable, USERNAME_ERROR_CODES, UserWithAnonymous, UserWithPhoneNumber, UserWithRole, UserWithTwoFactor, UsernameOptions, VERIFICATION_PATHS, admin, adminAc, anonymous, apiKey, auditLog, bearer, captcha, createAuthEndpoint, createAuthMiddleware, createJwk, createNonce, customSession, defaultAc, defaultKeyHasher, defaultRoles, defaultRolesSchema, defaultStatements, deviceAuthorization, deviceAuthorizationClient, emailOTP, generateExportedKeyPair, genericOAuth, getJwtToken, getPasswordBreachCount, hasLeadingZeroBits, haveIBeenPwned, haversineDistanceKm, invitationSchema, invitationStatus, jwt, lastLoginMethod, magicLink, memberAc, memberSchema, multiSession, normalizeEmail, oAuthProxy, oneTap, oneTimeToken, optionsMiddleware, organization, organizationRoleSchema, organizationSchema, ownerAc, parsePowHeader, parseRoles, passkey, phoneNumber, roleSchema, sentinel, solveChallenge, teamMemberSchema, teamSchema, twoFactor, twoFactorClient, username, verifySolution };
|
package/dist/plugins/index.mjs
CHANGED
|
@@ -43,7 +43,7 @@ import "../access-CrwEFPHE.mjs";
|
|
|
43
43
|
import "../permission-CDDWgA_O.mjs";
|
|
44
44
|
import { t as phoneNumber } from "../phone-number-Dqz8aeyF.mjs";
|
|
45
45
|
import { a as hasLeadingZeroBits, c as verifySolution, i as createNonce, n as POW_REASON_HEADER, o as parsePowHeader, r as POW_SOLUTION_HEADER, s as solveChallenge, t as POW_CHALLENGE_HEADER } from "../pow-OK01yPG3.mjs";
|
|
46
|
-
import { i as SENTINEL_ERROR_CODES, n as haversineDistanceKm, r as normalizeEmail, t as sentinel } from "../sentinel-
|
|
46
|
+
import { i as SENTINEL_ERROR_CODES, n as haversineDistanceKm, r as normalizeEmail, t as sentinel } from "../sentinel-DiPqydKG.mjs";
|
|
47
47
|
import { n as TWO_FACTOR_ERROR_CODES, t as twoFactor } from "../two-factor-CDVjxx4f.mjs";
|
|
48
48
|
import { t as twoFactorClient } from "../client-BuveH3MN.mjs";
|
|
49
49
|
import { t as passkey } from "../passkey-JNQTz5a0.mjs";
|
|
@@ -3,5 +3,5 @@ import "../../index-BNhJglHC.mjs";
|
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { a as JWKOptions, c as JwtOptions, i as getJwtToken, n as createJwk, o as JWSAlgorithms, r as generateExportedKeyPair, s as Jwk, t as jwt } from "../../index-
|
|
6
|
+
import { a as JWKOptions, c as JwtOptions, i as getJwtToken, n as createJwk, o as JWSAlgorithms, r as generateExportedKeyPair, s as Jwk, t as jwt } from "../../index-Dnd8S4S4.mjs";
|
|
7
7
|
export { JWKOptions, JWSAlgorithms, Jwk, JwtOptions, createJwk, generateExportedKeyPair, getJwtToken, jwt };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as magicLink } from "../../index-
|
|
1
|
+
import { t as magicLink } from "../../index-4I1YhYhk.mjs";
|
|
2
2
|
export { magicLink };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as oAuthProxy, t as OAuthProxyOptions } from "../../index-
|
|
1
|
+
import { n as oAuthProxy, t as OAuthProxyOptions } from "../../index-DTkcY7xH.mjs";
|
|
2
2
|
export { OAuthProxyOptions, oAuthProxy };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as oneTap } from "../../index-
|
|
1
|
+
import { t as oneTap } from "../../index-sb-UFLuo.mjs";
|
|
2
2
|
export { oneTap };
|
|
@@ -3,5 +3,5 @@ import "../../index-BNhJglHC.mjs";
|
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { t as oneTimeToken } from "../../index-
|
|
6
|
+
import { t as oneTimeToken } from "../../index-D6ku0rUC.mjs";
|
|
7
7
|
export { oneTimeToken };
|
|
@@ -43,7 +43,7 @@ import "../../access-CrwEFPHE.mjs";
|
|
|
43
43
|
import "../../permission-CDDWgA_O.mjs";
|
|
44
44
|
import "../../phone-number-Dqz8aeyF.mjs";
|
|
45
45
|
import "../../pow-OK01yPG3.mjs";
|
|
46
|
-
import "../../sentinel-
|
|
46
|
+
import "../../sentinel-DiPqydKG.mjs";
|
|
47
47
|
import "../../two-factor-CDVjxx4f.mjs";
|
|
48
48
|
import "../../client-BuveH3MN.mjs";
|
|
49
49
|
import "../../passkey-JNQTz5a0.mjs";
|
|
@@ -5,5 +5,5 @@ import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../../index-CxlWnL9c.mjs";
|
|
7
7
|
import { a as memberAc, i as defaultStatements, n as defaultAc, o as ownerAc, r as defaultRoles, t as adminAc } from "../../index-QmocqGM-.mjs";
|
|
8
|
-
import { A as organizationRoleSchema, C as TeamInput, D as invitationSchema, E as defaultRolesSchema, F as OrganizationOptions, M as roleSchema, N as teamMemberSchema, O as invitationStatus, P as teamSchema, S as Team, T as TeamMemberInput, _ as MemberInput, a as organization, b as OrganizationRole, c as InferMember, d as InferOrganizationZodRolesFromOption, f as InferTeam, g as Member, h as InvitationStatus, i as TeamEndpoints, j as organizationSchema, k as memberSchema, l as InferOrganization, m as InvitationInput, n as OrganizationEndpoints, o as parseRoles, p as Invitation, r as OrganizationPlugin, s as InferInvitation, t as DynamicAccessControlEndpoints, u as InferOrganizationRolesFromOption, v as Organization, w as TeamMember, x as OrganizationSchema, y as OrganizationInput } from "../../index-
|
|
8
|
+
import { A as organizationRoleSchema, C as TeamInput, D as invitationSchema, E as defaultRolesSchema, F as OrganizationOptions, M as roleSchema, N as teamMemberSchema, O as invitationStatus, P as teamSchema, S as Team, T as TeamMemberInput, _ as MemberInput, a as organization, b as OrganizationRole, c as InferMember, d as InferOrganizationZodRolesFromOption, f as InferTeam, g as Member, h as InvitationStatus, i as TeamEndpoints, j as organizationSchema, k as memberSchema, l as InferOrganization, m as InvitationInput, n as OrganizationEndpoints, o as parseRoles, p as Invitation, r as OrganizationPlugin, s as InferInvitation, t as DynamicAccessControlEndpoints, u as InferOrganizationRolesFromOption, v as Organization, w as TeamMember, x as OrganizationSchema, y as OrganizationInput } from "../../index-KhbNmMmG.mjs";
|
|
9
9
|
export { DynamicAccessControlEndpoints, InferInvitation, InferMember, InferOrganization, InferOrganizationRolesFromOption, InferOrganizationZodRolesFromOption, InferTeam, Invitation, InvitationInput, InvitationStatus, Member, MemberInput, Organization, OrganizationEndpoints, OrganizationInput, OrganizationOptions, OrganizationPlugin, OrganizationRole, OrganizationSchema, Team, TeamEndpoints, TeamInput, TeamMember, TeamMemberInput, adminAc, defaultAc, defaultRoles, defaultRolesSchema, defaultStatements, invitationSchema, invitationStatus, memberAc, memberSchema, organization, organizationRoleSchema, organizationSchema, ownerAc, parseRoles, roleSchema, teamMemberSchema, teamSchema };
|
|
@@ -3,5 +3,5 @@ import "../../index-BNhJglHC.mjs";
|
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-Df0KhQRf-BEa5tdwJ.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { n as Passkey, r as PasskeyOptions, t as passkey } from "../../index-
|
|
6
|
+
import { n as Passkey, r as PasskeyOptions, t as passkey } from "../../index-BX7rl07Z.mjs";
|
|
7
7
|
export { Passkey, PasskeyOptions, passkey };
|