@gatwech/auth 1.0.0-beta.23 → 1.0.0-beta.25
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/index.d.mts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/{audit-log-DhRRCMrv.mjs → audit-log-CQnf8nrN.mjs} +442 -46
- package/dist/client/index.d.mts +1 -1
- package/dist/client/plugins/index.d.mts +45 -45
- package/dist/client/plugins/index.mjs +2 -2
- package/dist/client/react/index.d.mts +1 -1
- package/dist/{client-CMsC6-rl.mjs → client-BkpNva-h.mjs} +3 -2
- package/dist/{client-D8XKNpua.d.mts → client-g0OAVuPQ.d.mts} +1 -1
- package/dist/{client-CDaFOX7A.d.mts → client-zkWmSxqy.d.mts} +4 -1
- package/dist/cookies/index.d.mts +2 -2
- package/dist/db/index.d.mts +1 -1
- package/dist/{index-CWxKeTtE.d.mts → index-B4HTudhm.d.mts} +6 -6
- package/dist/{index-C8F7PsET.d.mts → index-BHiF_ZfZ.d.mts} +13 -13
- package/dist/{index-382PsmkK.d.mts → index-BX55rZO5.d.mts} +2 -2
- package/dist/{index-DUu0ieh6.d.mts → index-BfwCJQfM.d.mts} +8 -8
- package/dist/{index-CIxFDcfQ.d.mts → index-BhbilPfs.d.mts} +2 -2
- package/dist/{index-CExSHSFz.d.mts → index-Bi-vEjDm.d.mts} +166 -166
- package/dist/{index-C-z4TCHD.d.mts → index-BifhxQ8O.d.mts} +10 -10
- package/dist/{index-CWwQ1Q7t.d.mts → index-BiomZttP.d.mts} +19 -19
- package/dist/{index-De2a2OyC.d.mts → index-BoHrBgTB.d.mts} +9 -9
- package/dist/{index-DPVukjga.d.mts → index-C5W_sTlp.d.mts} +9 -9
- package/dist/{index-D0SgItjY.d.mts → index-CNyQFga7.d.mts} +6 -6
- package/dist/{index-3lfPQHhX.d.mts → index-CTjXncwM.d.mts} +113 -113
- package/dist/{index-Dgyj1fTk.d.mts → index-CUUaJp3R.d.mts} +7 -7
- package/dist/{index-DCliG2n6.d.mts → index-CcJjgkwe.d.mts} +3 -3
- package/dist/{index-Dg6Ftb6f.d.mts → index-Cdfh66xb.d.mts} +9 -9
- package/dist/{index-COFPq-mg.d.mts → index-DBtm_waB.d.mts} +13 -13
- package/dist/{index-B7iZf_Dl.d.mts → index-DD_pxX-h.d.mts} +662 -354
- package/dist/{index-Blq8KrTy.d.mts → index-DRoa3BGG.d.mts} +1 -1
- package/dist/{index-DxIqV3rU.d.mts → index-M0IQ_DTL.d.mts} +4 -4
- package/dist/{index-DxRAXHrZ.d.mts → index-gRLqvVoc.d.mts} +6 -6
- package/dist/{index-B4aWSJEd.d.mts → index-i1L-uguJ.d.mts} +6 -6
- package/dist/{index-BhYE1_9j.d.mts → index-kBEBsEUr.d.mts} +1 -1
- package/dist/{index-B5r4oL5q.d.mts → index-mDmrBYrk.d.mts} +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/integrations/next-js.d.mts +4 -4
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/react-start.d.mts +4 -4
- package/dist/oauth2/index.d.mts +1 -1
- package/dist/plugins/admin/index.d.mts +2 -2
- package/dist/plugins/anonymous/index.d.mts +2 -2
- package/dist/plugins/audit-log/client.d.mts +23 -23
- package/dist/plugins/audit-log/index.d.mts +23 -23
- package/dist/plugins/audit-log/index.mjs +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/plugins/haveibeenpwned/index.d.mts +1 -1
- package/dist/plugins/index.d.mts +23 -23
- package/dist/plugins/index.mjs +5 -5
- package/dist/plugins/jwt/index.d.mts +2 -2
- 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 +2 -2
- package/dist/plugins/one-time-token/index.mjs +4 -4
- package/dist/plugins/organization/index.d.mts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/plugins/phone-number/index.d.mts +2 -2
- package/dist/plugins/sentinel/client.d.mts +23 -23
- package/dist/plugins/sentinel/client.mjs +2 -2
- package/dist/plugins/sentinel/index.d.mts +22 -22
- package/dist/plugins/sentinel/index.mjs +3 -3
- package/dist/plugins/two-factor/index.d.mts +2 -2
- package/dist/plugins/username/index.d.mts +1 -1
- package/dist/{registry-GztLf62p.mjs → registry-BjYhRF79.mjs} +69 -2
- package/dist/{sentinel-CYtaI3eO.mjs → sentinel-BttZLWPD.mjs} +109 -28
- package/dist/src/plugins/audit-log/error-codes.d.ts +7 -0
- package/dist/src/plugins/audit-log/events.d.ts +13 -0
- package/dist/src/plugins/audit-log/index.d.ts +114 -8
- package/dist/src/plugins/audit-log/integrity.d.ts +20 -0
- package/dist/src/plugins/audit-log/redact.d.ts +18 -0
- package/dist/src/plugins/audit-log/remote.d.ts +1 -0
- package/dist/src/plugins/audit-log/schema.d.ts +25 -0
- package/dist/src/plugins/audit-log/types.d.ts +73 -13
- package/dist/src/plugins/sentinel/actions.d.ts +0 -6
- package/dist/src/plugins/sentinel/client.d.ts +3 -0
- package/dist/src/plugins/sentinel/error-codes.d.ts +6 -0
- package/dist/src/plugins/sentinel/index.d.ts +80 -3
- package/dist/src/plugins/sentinel/types.d.ts +1 -1
- package/dist/test-utils/index.d.mts +273 -273
- package/dist/test-utils/index.mjs +4 -4
- package/dist/types/index.d.mts +1 -1
- package/package.json +3 -3
- /package/dist/{pow-DvkUopsK.mjs → pow-Vna_j4hx.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as User, h as Session } from "./index-
|
|
1
|
+
import { g as User, h as Session } from "./index-CTjXncwM.mjs";
|
|
2
2
|
import { s as User$1 } from "./index-BL_t8cRp-C4QYBsac.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as better_call117 from "better-call";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/magic-link/index.d.ts
|
|
@@ -89,7 +89,7 @@ declare const magicLink: (options: MagicLinkopts) => {
|
|
|
89
89
|
} & {
|
|
90
90
|
asResponse?: boolean;
|
|
91
91
|
returnHeaders?: boolean;
|
|
92
|
-
use?:
|
|
92
|
+
use?: better_call117.Middleware[];
|
|
93
93
|
path?: string;
|
|
94
94
|
} & {
|
|
95
95
|
asResponse?: AsResponse | undefined;
|
|
@@ -175,7 +175,7 @@ declare const magicLink: (options: MagicLinkopts) => {
|
|
|
175
175
|
} & {
|
|
176
176
|
asResponse?: boolean;
|
|
177
177
|
returnHeaders?: boolean;
|
|
178
|
-
use?:
|
|
178
|
+
use?: better_call117.Middleware[];
|
|
179
179
|
path?: string;
|
|
180
180
|
} & {
|
|
181
181
|
asResponse?: AsResponse | undefined;
|
|
@@ -214,7 +214,7 @@ declare const magicLink: (options: MagicLinkopts) => {
|
|
|
214
214
|
errorCallbackURL: z$1.ZodOptional<z$1.ZodString>;
|
|
215
215
|
newUserCallbackURL: z$1.ZodOptional<z$1.ZodString>;
|
|
216
216
|
}, z$1.core.$strip>;
|
|
217
|
-
use: ((inputContext:
|
|
217
|
+
use: ((inputContext: better_call117.MiddlewareInputContext<better_call117.MiddlewareOptions>) => Promise<void>)[];
|
|
218
218
|
requireHeaders: true;
|
|
219
219
|
metadata: {
|
|
220
220
|
openapi: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as InferOptionSchema } from "./plugins-Dy_FrD4Y.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as better_call134 from "better-call";
|
|
3
3
|
import * as z$1 from "zod";
|
|
4
4
|
import { StringValue } from "ms";
|
|
5
5
|
|
|
@@ -180,7 +180,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
180
180
|
} & {
|
|
181
181
|
asResponse?: boolean;
|
|
182
182
|
returnHeaders?: boolean;
|
|
183
|
-
use?:
|
|
183
|
+
use?: better_call134.Middleware[];
|
|
184
184
|
path?: string;
|
|
185
185
|
} & {
|
|
186
186
|
asResponse?: AsResponse | undefined;
|
|
@@ -303,7 +303,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
303
303
|
} & {
|
|
304
304
|
asResponse?: boolean;
|
|
305
305
|
returnHeaders?: boolean;
|
|
306
|
-
use?:
|
|
306
|
+
use?: better_call134.Middleware[];
|
|
307
307
|
path?: string;
|
|
308
308
|
} & {
|
|
309
309
|
asResponse?: AsResponse | undefined;
|
|
@@ -407,7 +407,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
407
407
|
} & {
|
|
408
408
|
asResponse?: boolean;
|
|
409
409
|
returnHeaders?: boolean;
|
|
410
|
-
use?:
|
|
410
|
+
use?: better_call134.Middleware[];
|
|
411
411
|
path?: string;
|
|
412
412
|
} & {
|
|
413
413
|
asResponse?: AsResponse | undefined;
|
|
@@ -484,7 +484,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
484
484
|
} & {
|
|
485
485
|
asResponse?: boolean;
|
|
486
486
|
returnHeaders?: boolean;
|
|
487
|
-
use?:
|
|
487
|
+
use?: better_call134.Middleware[];
|
|
488
488
|
path?: string;
|
|
489
489
|
} & {
|
|
490
490
|
asResponse?: AsResponse | undefined;
|
|
@@ -556,7 +556,7 @@ declare const deviceAuthorization: (options?: Partial<DeviceAuthorizationOptions
|
|
|
556
556
|
} & {
|
|
557
557
|
asResponse?: boolean;
|
|
558
558
|
returnHeaders?: boolean;
|
|
559
|
-
use?:
|
|
559
|
+
use?: better_call134.Middleware[];
|
|
560
560
|
path?: string;
|
|
561
561
|
} & {
|
|
562
562
|
asResponse?: AsResponse | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as User, h as Session } from "./index-
|
|
1
|
+
import { g as User, h as Session } from "./index-CTjXncwM.mjs";
|
|
2
2
|
import { t as InferOptionSchema } from "./plugins-Dy_FrD4Y.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _gatwech_core43 from "@gatwech/core";
|
|
4
4
|
import { AuthContext, GenericEndpointContext } from "@gatwech/core";
|
|
5
|
-
import * as
|
|
5
|
+
import * as better_call216 from "better-call";
|
|
6
6
|
import { EndpointContext } from "better-call";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/anonymous/index.d.ts
|
|
@@ -77,7 +77,7 @@ declare const anonymous: (options?: AnonymousOptions | undefined) => {
|
|
|
77
77
|
} & {
|
|
78
78
|
asResponse?: boolean;
|
|
79
79
|
returnHeaders?: boolean;
|
|
80
|
-
use?:
|
|
80
|
+
use?: better_call216.Middleware[];
|
|
81
81
|
path?: string;
|
|
82
82
|
} & {
|
|
83
83
|
asResponse?: AsResponse | undefined;
|
|
@@ -141,8 +141,8 @@ declare const anonymous: (options?: AnonymousOptions | undefined) => {
|
|
|
141
141
|
};
|
|
142
142
|
hooks: {
|
|
143
143
|
after: {
|
|
144
|
-
matcher(ctx:
|
|
145
|
-
handler: (inputContext:
|
|
144
|
+
matcher(ctx: _gatwech_core43.HookEndpointContext): boolean;
|
|
145
|
+
handler: (inputContext: better_call216.MiddlewareInputContext<better_call216.MiddlewareOptions>) => Promise<void>;
|
|
146
146
|
}[];
|
|
147
147
|
};
|
|
148
148
|
schema: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as User, h as Session } from "./index-
|
|
1
|
+
import { g as User, h as Session } from "./index-CTjXncwM.mjs";
|
|
2
2
|
import { GenericEndpointContext, PayvoAuthCookies, PayvoAuthOptions } from "@gatwech/core";
|
|
3
3
|
import { CookieOptions } from "better-call";
|
|
4
4
|
import "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as User, h as Session } from "./index-
|
|
1
|
+
import { g as User, h as Session } from "./index-CTjXncwM.mjs";
|
|
2
2
|
import { GenericEndpointContext } from "@gatwech/core";
|
|
3
|
-
import * as
|
|
3
|
+
import * as better_call121 from "better-call";
|
|
4
4
|
import * as z$1 from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/one-time-token/index.d.ts
|
|
@@ -67,7 +67,7 @@ declare const oneTimeToken: (options?: OneTimeTokenOptions | undefined) => {
|
|
|
67
67
|
} & {
|
|
68
68
|
asResponse?: boolean;
|
|
69
69
|
returnHeaders?: boolean;
|
|
70
|
-
use?:
|
|
70
|
+
use?: better_call121.Middleware[];
|
|
71
71
|
path?: string;
|
|
72
72
|
} & {
|
|
73
73
|
asResponse?: AsResponse | undefined;
|
|
@@ -82,7 +82,7 @@ declare const oneTimeToken: (options?: OneTimeTokenOptions | undefined) => {
|
|
|
82
82
|
}>;
|
|
83
83
|
options: {
|
|
84
84
|
method: "GET";
|
|
85
|
-
use: ((inputContext:
|
|
85
|
+
use: ((inputContext: better_call121.MiddlewareInputContext<better_call121.MiddlewareOptions>) => Promise<{
|
|
86
86
|
session: {
|
|
87
87
|
session: Record<string, any> & {
|
|
88
88
|
id: string;
|
|
@@ -143,7 +143,7 @@ declare const oneTimeToken: (options?: OneTimeTokenOptions | undefined) => {
|
|
|
143
143
|
} & {
|
|
144
144
|
asResponse?: boolean;
|
|
145
145
|
returnHeaders?: boolean;
|
|
146
|
-
use?:
|
|
146
|
+
use?: better_call121.Middleware[];
|
|
147
147
|
path?: string;
|
|
148
148
|
} & {
|
|
149
149
|
asResponse?: AsResponse | undefined;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as UnionToIntersection, u as Prettify } from "./helper-BgOIGHsu.mjs";
|
|
2
|
-
import { A as Where, An as generateId, B as InferPluginsFromClient, C as AdapterInstance, Cn as StandardSchemaV1, D as DBAdapterSchemaCreation, Dn as getTelemetryAuthConfig, E as DBAdapterInstance, En as getCurrentAdapter, F as ClientStore, G as PayvoAuthClientPlugin, H as InferUserFromClient, I as InferActions, K as SessionQueryParams, L as InferAdditionalFromClient, M as AtomListener, Mn as generateState, N as ClientAtomListener, Nn as parseState, O as DBTransactionAdapter, P as ClientOptions, Q as APIError, R as InferClientAPI, S as Adapter, T as DBAdapter, Tn as createTelemetry, U as IsSignal, V as InferSessionFromClient, W as PayvoAuthClientOptions, X as WithJsDoc, Y as Auth, Z as payvoAuth, _ as Verification, a as PayvoAuthRateLimitOptions, b as InferAPI, c as AdditionalSessionFieldsOutput, d as InferPluginTypes, f as InferSession, g as User, h as Session, i as PayvoAuthPlugin, j as init, jn as HIDE_METADATA, k as TransactionAdapter, kn as capitalizeFirstLetter, l as AdditionalUserFieldsInput, m as RateLimit, n as PayvoAuthCookies, o as Account, p as InferUser, q as Store, r as PayvoAuthOptions, s as AdditionalSessionFieldsInput, t as PayvoAuthAdvancedOptions, u as AdditionalUserFieldsOutput, v as FilterActions, w as AdapterSchemaCreation, wn as TelemetryEvent, x as InferSessionAPI, y as FilteredAPI, z as InferErrorCodes } from "./index-
|
|
2
|
+
import { A as Where, An as generateId, B as InferPluginsFromClient, C as AdapterInstance, Cn as StandardSchemaV1, D as DBAdapterSchemaCreation, Dn as getTelemetryAuthConfig, E as DBAdapterInstance, En as getCurrentAdapter, F as ClientStore, G as PayvoAuthClientPlugin, H as InferUserFromClient, I as InferActions, K as SessionQueryParams, L as InferAdditionalFromClient, M as AtomListener, Mn as generateState, N as ClientAtomListener, Nn as parseState, O as DBTransactionAdapter, P as ClientOptions, Q as APIError, R as InferClientAPI, S as Adapter, T as DBAdapter, Tn as createTelemetry, U as IsSignal, V as InferSessionFromClient, W as PayvoAuthClientOptions, X as WithJsDoc, Y as Auth, Z as payvoAuth, _ as Verification, a as PayvoAuthRateLimitOptions, b as InferAPI, c as AdditionalSessionFieldsOutput, d as InferPluginTypes, f as InferSession, g as User, h as Session, i as PayvoAuthPlugin, j as init, jn as HIDE_METADATA, k as TransactionAdapter, kn as capitalizeFirstLetter, l as AdditionalUserFieldsInput, m as RateLimit, n as PayvoAuthCookies, o as Account, p as InferUser, q as Store, r as PayvoAuthOptions, s as AdditionalSessionFieldsInput, t as PayvoAuthAdvancedOptions, u as AdditionalUserFieldsOutput, v as FilterActions, w as AdapterSchemaCreation, wn as TelemetryEvent, x as InferSessionAPI, y as FilteredAPI, z as InferErrorCodes } from "./index-CTjXncwM.mjs";
|
|
3
3
|
import "./types-DNQ9XQrB.mjs";
|
|
4
4
|
import "./index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import { n as InferPluginErrorCodes, t as InferOptionSchema } from "./plugins-Dy_FrD4Y.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _gatwech_core8 from "@gatwech/core";
|
|
2
|
+
import * as better_call109 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_core8.HookEndpointContext): true;
|
|
16
|
+
handler: (inputContext: better_call109.MiddlewareInputContext<better_call109.MiddlewareOptions>) => Promise<void>;
|
|
17
17
|
}[];
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _gatwech_core0 from "@gatwech/core";
|
|
2
|
+
import * as better_call0 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_core0.HookEndpointContext): true;
|
|
10
|
+
handler: (inputContext: better_call0.MiddlewareInputContext<better_call0.MiddlewareOptions>) => Promise<void>;
|
|
11
11
|
}[];
|
|
12
12
|
};
|
|
13
13
|
};
|
package/dist/oauth2/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../helper-BgOIGHsu.mjs";
|
|
2
|
-
import { Mn as generateState, Nn as parseState, g as User, o as Account } from "../index-
|
|
2
|
+
import { Mn as generateState, Nn as parseState, g as User, o as Account } from "../index-CTjXncwM.mjs";
|
|
3
3
|
import "../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../plugins-Dy_FrD4Y.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-CTjXncwM.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.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-DRoa3BGG.mjs";
|
|
8
8
|
export { AdminOptions, InferAdminRolesFromOption, SessionWithImpersonatedBy, UserWithRole, admin };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-CTjXncwM.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.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-i1L-uguJ.mjs";
|
|
7
7
|
export { AnonymousOptions, UserWithAnonymous, anonymous };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-CTjXncwM.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.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-DRoa3BGG.mjs";
|
|
8
|
+
import "../../index-i1L-uguJ.mjs";
|
|
9
|
+
import "../../index-DD_pxX-h.mjs";
|
|
10
|
+
import "../../index-B4HTudhm.mjs";
|
|
11
|
+
import "../../index-BX55rZO5.mjs";
|
|
12
|
+
import "../../index-CNyQFga7.mjs";
|
|
13
|
+
import "../../index-gRLqvVoc.mjs";
|
|
14
|
+
import "../../index-BHiF_ZfZ.mjs";
|
|
15
|
+
import "../../index-BfwCJQfM.mjs";
|
|
16
|
+
import "../../index-CcJjgkwe.mjs";
|
|
17
|
+
import "../../index-C5W_sTlp.mjs";
|
|
18
|
+
import "../../index-M0IQ_DTL.mjs";
|
|
19
|
+
import "../../index-Cdfh66xb.mjs";
|
|
20
|
+
import "../../index-BifhxQ8O.mjs";
|
|
21
|
+
import "../../index-BhbilPfs.mjs";
|
|
22
|
+
import "../../index-mDmrBYrk.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-Bi-vEjDm.mjs";
|
|
25
|
+
import "../../index-CUUaJp3R.mjs";
|
|
26
|
+
import "../../index-BiomZttP.mjs";
|
|
27
|
+
import "../../index-DBtm_waB.mjs";
|
|
28
|
+
import "../../index-BoHrBgTB.mjs";
|
|
29
|
+
import { t as auditLogClient } from "../../client-g0OAVuPQ.mjs";
|
|
30
30
|
export { auditLogClient };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-CTjXncwM.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
6
|
import "../../index-CxlWnL9c.mjs";
|
|
7
|
-
import "../../index-
|
|
8
|
-
import "../../index-
|
|
9
|
-
import {
|
|
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-DRoa3BGG.mjs";
|
|
8
|
+
import "../../index-i1L-uguJ.mjs";
|
|
9
|
+
import { a as AuditLogOptions, c as AuditEventType, d as EVENT_SEVERITIES, f as PATH_EVENTS, h as VERIFICATION_PATHS, i as AuditEvent, l as CORE_EVENT_TYPES, m as SIGN_IN_PATHS, n as verifyAuditEvent, o as ALL_EVENT_TYPES, p as SECURITY_EVENT_TYPES, r as AUDIT_LOG_ERROR_CODES, s as AUDIT_EVENT_TYPES, t as auditLog, u as CREDENTIAL_SIGN_IN_PATHS } from "../../index-DD_pxX-h.mjs";
|
|
10
|
+
import "../../index-B4HTudhm.mjs";
|
|
11
|
+
import "../../index-BX55rZO5.mjs";
|
|
12
|
+
import "../../index-CNyQFga7.mjs";
|
|
13
|
+
import "../../index-gRLqvVoc.mjs";
|
|
14
|
+
import "../../index-BHiF_ZfZ.mjs";
|
|
15
|
+
import "../../index-BfwCJQfM.mjs";
|
|
16
|
+
import "../../index-CcJjgkwe.mjs";
|
|
17
|
+
import "../../index-C5W_sTlp.mjs";
|
|
18
|
+
import "../../index-M0IQ_DTL.mjs";
|
|
19
|
+
import "../../index-Cdfh66xb.mjs";
|
|
20
|
+
import "../../index-BifhxQ8O.mjs";
|
|
21
|
+
import "../../index-BhbilPfs.mjs";
|
|
22
|
+
import "../../index-mDmrBYrk.mjs";
|
|
23
23
|
import "../../index-QmocqGM-.mjs";
|
|
24
|
-
import "../../index-
|
|
25
|
-
import "../../index-
|
|
26
|
-
import "../../index-
|
|
27
|
-
import "../../index-
|
|
28
|
-
import "../../index-
|
|
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 };
|
|
24
|
+
import "../../index-Bi-vEjDm.mjs";
|
|
25
|
+
import "../../index-CUUaJp3R.mjs";
|
|
26
|
+
import "../../index-BiomZttP.mjs";
|
|
27
|
+
import "../../index-DBtm_waB.mjs";
|
|
28
|
+
import "../../index-BoHrBgTB.mjs";
|
|
29
|
+
export { ALL_EVENT_TYPES, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, AuditEvent, AuditEventType, AuditLogOptions, CORE_EVENT_TYPES, CREDENTIAL_SIGN_IN_PATHS, EVENT_SEVERITIES, PATH_EVENTS, SECURITY_EVENT_TYPES, SIGN_IN_PATHS, VERIFICATION_PATHS, auditLog, verifyAuditEvent };
|
|
@@ -14,7 +14,7 @@ import "../../get-tables-CKvSyDST.mjs";
|
|
|
14
14
|
import "../../types-DCPpFKUB.mjs";
|
|
15
15
|
import "../../misc-fKH4d5XQ.mjs";
|
|
16
16
|
import "../../session-BB3oqApE.mjs";
|
|
17
|
-
import { a as
|
|
18
|
-
import { n as
|
|
17
|
+
import { a as CORE_EVENT_TYPES, c as PATH_EVENTS, d as VERIFICATION_PATHS, i as AUDIT_EVENT_TYPES, l as SECURITY_EVENT_TYPES, o as CREDENTIAL_SIGN_IN_PATHS, r as ALL_EVENT_TYPES, s as EVENT_SEVERITIES, u as SIGN_IN_PATHS } from "../../registry-BjYhRF79.mjs";
|
|
18
|
+
import { n as verifyAuditEvent, r as AUDIT_LOG_ERROR_CODES, t as auditLog } from "../../audit-log-CQnf8nrN.mjs";
|
|
19
19
|
|
|
20
|
-
export { ALL_EVENT_TYPES, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, CREDENTIAL_SIGN_IN_PATHS, PATH_EVENTS, SECURITY_EVENT_TYPES, SIGN_IN_PATHS, VERIFICATION_PATHS, auditLog };
|
|
20
|
+
export { ALL_EVENT_TYPES, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, CORE_EVENT_TYPES, CREDENTIAL_SIGN_IN_PATHS, EVENT_SEVERITIES, PATH_EVENTS, SECURITY_EVENT_TYPES, SIGN_IN_PATHS, VERIFICATION_PATHS, auditLog, verifyAuditEvent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as bearer } from "../../index-
|
|
1
|
+
import { t as bearer } from "../../index-B4HTudhm.mjs";
|
|
2
2
|
export { bearer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as captcha } from "../../index-
|
|
1
|
+
import { t as captcha } from "../../index-BX55rZO5.mjs";
|
|
2
2
|
export { captcha };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-CTjXncwM.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.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-CNyQFga7.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-gRLqvVoc.mjs";
|
|
4
4
|
export { $deviceAuthorizationOptionsSchema, DeviceAuthorizationOptions, deviceAuthorization, deviceAuthorizationClient };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-CTjXncwM.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.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-BfwCJQfM.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-CcJjgkwe.mjs";
|
|
2
2
|
export { HaveIBeenPwnedOptions, getPasswordBreachCount, haveIBeenPwned };
|
package/dist/plugins/index.d.mts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../helper-BgOIGHsu.mjs";
|
|
2
|
-
import { jn as HIDE_METADATA } from "../index-
|
|
2
|
+
import { jn as HIDE_METADATA } from "../index-CTjXncwM.mjs";
|
|
3
3
|
import "../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../index-BL_t8cRp-C4QYBsac.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
|
|
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-DRoa3BGG.mjs";
|
|
8
|
+
import { n as UserWithAnonymous, r as anonymous, t as AnonymousOptions } from "../index-i1L-uguJ.mjs";
|
|
9
|
+
import { A as verifySolution, B as apiKey, C as POW_CHALLENGE_HEADER, D as hasLeadingZeroBits, E as createNonce, F as SentinelOptions, I as LastLoginMethodOptions, L as lastLoginMethod, M as normalizeEmail, N as GeoLocation, O as parsePowHeader, P as SecurityAction, R as API_KEY_TABLE_NAME, S as SENTINEL_ERROR_CODES, T as POW_SOLUTION_HEADER, V as defaultKeyHasher, _ as AuthMiddleware, a as AuditLogOptions, b as optionsMiddleware, c as AuditEventType, d as EVENT_SEVERITIES, f as PATH_EVENTS, g as AuthEndpoint, h as VERIFICATION_PATHS, i as AuditEvent, j as haversineDistanceKm, k as solveChallenge, l as CORE_EVENT_TYPES, m as SIGN_IN_PATHS, n as verifyAuditEvent, o as ALL_EVENT_TYPES, p as SECURITY_EVENT_TYPES, r as AUDIT_LOG_ERROR_CODES, s as AUDIT_EVENT_TYPES, t as auditLog, u as CREDENTIAL_SIGN_IN_PATHS, v as createAuthEndpoint, w as POW_REASON_HEADER, x as sentinel, y as createAuthMiddleware, z as ERROR_CODES } from "../index-DD_pxX-h.mjs";
|
|
10
|
+
import { t as bearer } from "../index-B4HTudhm.mjs";
|
|
11
|
+
import { t as captcha } from "../index-BX55rZO5.mjs";
|
|
12
|
+
import { n as customSession, t as CustomSessionPluginOptions } from "../index-CNyQFga7.mjs";
|
|
13
|
+
import { i as deviceAuthorizationClient, n as DeviceAuthorizationOptions, r as deviceAuthorization, t as $deviceAuthorizationOptionsSchema } from "../index-gRLqvVoc.mjs";
|
|
14
|
+
import { n as emailOTP, t as EmailOTPOptions } from "../index-BHiF_ZfZ.mjs";
|
|
15
|
+
import { n as genericOAuth, t as GenericOAuthConfig } from "../index-BfwCJQfM.mjs";
|
|
16
|
+
import { n as getPasswordBreachCount, r as haveIBeenPwned, t as HaveIBeenPwnedOptions } from "../index-CcJjgkwe.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-C5W_sTlp.mjs";
|
|
18
|
+
import { t as magicLink } from "../index-M0IQ_DTL.mjs";
|
|
19
|
+
import { t as multiSession } from "../index-Cdfh66xb.mjs";
|
|
20
|
+
import { n as oAuthProxy, t as OAuthProxyOptions } from "../index-BifhxQ8O.mjs";
|
|
21
|
+
import { t as oneTap } from "../index-BhbilPfs.mjs";
|
|
22
|
+
import { t as oneTimeToken } from "../index-mDmrBYrk.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-
|
|
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 };
|
|
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-Bi-vEjDm.mjs";
|
|
25
|
+
import { n as UserWithPhoneNumber, r as phoneNumber, t as PhoneNumberOptions } from "../index-CUUaJp3R.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-BiomZttP.mjs";
|
|
27
|
+
import { n as Passkey, r as PasskeyOptions, t as passkey } from "../index-DBtm_waB.mjs";
|
|
28
|
+
import { n as username, r as USERNAME_ERROR_CODES, t as UsernameOptions } from "../index-BoHrBgTB.mjs";
|
|
29
|
+
export { $deviceAuthorizationOptionsSchema, ALL_EVENT_TYPES, API_KEY_TABLE_NAME, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, AdminOptions, AnonymousOptions, AuditEvent, AuditEventType, AuditLogOptions, AuthEndpoint, AuthMiddleware, CORE_EVENT_TYPES, CREDENTIAL_SIGN_IN_PATHS, CustomSessionPluginOptions, DeviceAuthorizationOptions, DynamicAccessControlEndpoints, ERROR_CODES, EVENT_SEVERITIES, 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, verifyAuditEvent, verifySolution };
|
package/dist/plugins/index.mjs
CHANGED
|
@@ -23,8 +23,8 @@ import { t as admin } from "../admin-rd-xHhnP.mjs";
|
|
|
23
23
|
import "../has-permission-Bvg8de8g.mjs";
|
|
24
24
|
import { t as anonymous } from "../anonymous-qSasVeIe.mjs";
|
|
25
25
|
import { a as lastLoginMethod, c as apiKey, i as oneTimeToken, l as defaultKeyHasher, n as createAuthMiddleware, o as API_KEY_TABLE_NAME, r as optionsMiddleware, s as ERROR_CODES, t as createAuthEndpoint } from "../plugins-RSPSU3ro.mjs";
|
|
26
|
-
import { a as
|
|
27
|
-
import { n as
|
|
26
|
+
import { a as CORE_EVENT_TYPES, c as PATH_EVENTS, d as VERIFICATION_PATHS, i as AUDIT_EVENT_TYPES, l as SECURITY_EVENT_TYPES, o as CREDENTIAL_SIGN_IN_PATHS, r as ALL_EVENT_TYPES, s as EVENT_SEVERITIES, u as SIGN_IN_PATHS } from "../registry-BjYhRF79.mjs";
|
|
27
|
+
import { n as verifyAuditEvent, r as AUDIT_LOG_ERROR_CODES, t as auditLog } from "../audit-log-CQnf8nrN.mjs";
|
|
28
28
|
import { t as bearer } from "../bearer-DvQLM00l.mjs";
|
|
29
29
|
import { t as captcha } from "../captcha-DGP9lCRe.mjs";
|
|
30
30
|
import { t as customSession } from "../custom-session-DN_-pfi_.mjs";
|
|
@@ -42,11 +42,11 @@ import { n as parseRoles, t as organization } from "../organization-BK3ks97y.mjs
|
|
|
42
42
|
import "../access-CrwEFPHE.mjs";
|
|
43
43
|
import "../permission-CDDWgA_O.mjs";
|
|
44
44
|
import { t as phoneNumber } from "../phone-number-Dqz8aeyF.mjs";
|
|
45
|
-
import {
|
|
46
|
-
import { i as
|
|
45
|
+
import { i as SENTINEL_ERROR_CODES, n as haversineDistanceKm, r as normalizeEmail, t as sentinel } from "../sentinel-BttZLWPD.mjs";
|
|
46
|
+
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-Vna_j4hx.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";
|
|
50
50
|
import { n as USERNAME_ERROR_CODES, t as username } from "../username-DCp6yugu.mjs";
|
|
51
51
|
|
|
52
|
-
export { $deviceAuthorizationOptionsSchema, ALL_EVENT_TYPES, API_KEY_TABLE_NAME, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, CREDENTIAL_SIGN_IN_PATHS, ERROR_CODES, HIDE_METADATA, PATH_EVENTS, POW_CHALLENGE_HEADER, POW_REASON_HEADER, POW_SOLUTION_HEADER, SECURITY_EVENT_TYPES, SENTINEL_ERROR_CODES, SIGN_IN_PATHS, TWO_FACTOR_ERROR_CODES, USERNAME_ERROR_CODES, VERIFICATION_PATHS, admin, anonymous, apiKey, auditLog, bearer, captcha, createAuthEndpoint, createAuthMiddleware, createJwk, createNonce, customSession, defaultKeyHasher, deviceAuthorization, deviceAuthorizationClient, emailOTP, generateExportedKeyPair, genericOAuth, getJwtToken, getPasswordBreachCount, hasLeadingZeroBits, haveIBeenPwned, haversineDistanceKm, jwt, lastLoginMethod, magicLink, multiSession, normalizeEmail, oAuthProxy, oneTap, oneTimeToken, optionsMiddleware, organization, parsePowHeader, parseRoles, passkey, phoneNumber, sentinel, solveChallenge, twoFactor, twoFactorClient, username, verifySolution };
|
|
52
|
+
export { $deviceAuthorizationOptionsSchema, ALL_EVENT_TYPES, API_KEY_TABLE_NAME, AUDIT_EVENT_TYPES, AUDIT_LOG_ERROR_CODES, CORE_EVENT_TYPES, CREDENTIAL_SIGN_IN_PATHS, ERROR_CODES, EVENT_SEVERITIES, HIDE_METADATA, PATH_EVENTS, POW_CHALLENGE_HEADER, POW_REASON_HEADER, POW_SOLUTION_HEADER, SECURITY_EVENT_TYPES, SENTINEL_ERROR_CODES, SIGN_IN_PATHS, TWO_FACTOR_ERROR_CODES, USERNAME_ERROR_CODES, VERIFICATION_PATHS, admin, anonymous, apiKey, auditLog, bearer, captcha, createAuthEndpoint, createAuthMiddleware, createJwk, createNonce, customSession, defaultKeyHasher, deviceAuthorization, deviceAuthorizationClient, emailOTP, generateExportedKeyPair, genericOAuth, getJwtToken, getPasswordBreachCount, hasLeadingZeroBits, haveIBeenPwned, haversineDistanceKm, jwt, lastLoginMethod, magicLink, multiSession, normalizeEmail, oAuthProxy, oneTap, oneTimeToken, optionsMiddleware, organization, parsePowHeader, parseRoles, passkey, phoneNumber, sentinel, solveChallenge, twoFactor, twoFactorClient, username, verifyAuditEvent, verifySolution };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-CTjXncwM.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.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-C5W_sTlp.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-M0IQ_DTL.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-BifhxQ8O.mjs";
|
|
2
2
|
export { OAuthProxyOptions, oAuthProxy };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as oneTap } from "../../index-
|
|
1
|
+
import { t as oneTap } from "../../index-BhbilPfs.mjs";
|
|
2
2
|
export { oneTap };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../helper-BgOIGHsu.mjs";
|
|
2
|
-
import "../../index-
|
|
2
|
+
import "../../index-CTjXncwM.mjs";
|
|
3
3
|
import "../../types-DNQ9XQrB.mjs";
|
|
4
4
|
import "../../index-BL_t8cRp-C4QYBsac.mjs";
|
|
5
5
|
import "../../plugins-Dy_FrD4Y.mjs";
|
|
6
|
-
import { t as oneTimeToken } from "../../index-
|
|
6
|
+
import { t as oneTimeToken } from "../../index-mDmrBYrk.mjs";
|
|
7
7
|
export { oneTimeToken };
|
|
@@ -23,8 +23,8 @@ import "../../admin-rd-xHhnP.mjs";
|
|
|
23
23
|
import "../../has-permission-Bvg8de8g.mjs";
|
|
24
24
|
import "../../anonymous-qSasVeIe.mjs";
|
|
25
25
|
import { i as oneTimeToken } from "../../plugins-RSPSU3ro.mjs";
|
|
26
|
-
import "../../registry-
|
|
27
|
-
import "../../audit-log-
|
|
26
|
+
import "../../registry-BjYhRF79.mjs";
|
|
27
|
+
import "../../audit-log-CQnf8nrN.mjs";
|
|
28
28
|
import "../../bearer-DvQLM00l.mjs";
|
|
29
29
|
import "../../captcha-DGP9lCRe.mjs";
|
|
30
30
|
import "../../custom-session-DN_-pfi_.mjs";
|
|
@@ -42,8 +42,8 @@ import "../../organization-BK3ks97y.mjs";
|
|
|
42
42
|
import "../../access-CrwEFPHE.mjs";
|
|
43
43
|
import "../../permission-CDDWgA_O.mjs";
|
|
44
44
|
import "../../phone-number-Dqz8aeyF.mjs";
|
|
45
|
-
import "../../
|
|
46
|
-
import "../../
|
|
45
|
+
import "../../sentinel-BttZLWPD.mjs";
|
|
46
|
+
import "../../pow-Vna_j4hx.mjs";
|
|
47
47
|
import "../../two-factor-CDVjxx4f.mjs";
|
|
48
48
|
import "../../client-BuveH3MN.mjs";
|
|
49
49
|
import "../../passkey-JNQTz5a0.mjs";
|