@camstack/addon-auth 1.2.143 → 1.2.144

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.
@@ -1,37 +1,3 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
9
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
- var __exportAll = (all, no_symbols) => {
11
- let target = {};
12
- for (var name in all) __defProp(target, name, {
13
- get: all[name],
14
- enumerable: true
15
- });
16
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
17
- return target;
18
- };
19
- var __copyProps = (to, from, except, desc) => {
20
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
21
- key = keys[i];
22
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
23
- get: ((k) => from[k]).bind(null, key),
24
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
25
- });
26
- }
27
- return to;
28
- };
29
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
- value: mod,
31
- enumerable: true
32
- }) : target, mod));
33
- var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
- require("node:crypto");
35
1
  //#region ../types/dist/event-category-C4hVnRo8.mjs
36
2
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
37
3
  EventCategory["SystemBoot"] = "system.boot";
@@ -12326,6 +12292,242 @@ var ConvertResultSchema = object({
12326
12292
  * One name, two readers (the OIDC addon that sets it, the hub that checks it).
12327
12293
  */
12328
12294
  var SSO_STATE_COOKIE = "camstack_sso_state";
12295
+ /**
12296
+ * Device certificates (D855) — the wire contract shared by the hub, the admin
12297
+ * UI and the native viewer.
12298
+ *
12299
+ * A device (a phone) generates its OWN P-256 key pair in hardware (Secure
12300
+ * Enclave / Android Keystore / a non-extractable WebCrypto key). The private
12301
+ * key never travels. The hub signs the PUBLIC key into an X.509 leaf under a
12302
+ * dedicated device CA; the device later proves possession of the key by
12303
+ * signing a hub-issued nonce, and the hub answers with the same session a
12304
+ * password login opens.
12305
+ *
12306
+ * Everything on the wire is a small string (a PEM, a base64url signature):
12307
+ * D613 is about bulk bytes, and a certificate is ~600 bytes.
12308
+ */
12309
+ /** Signature algorithm of every device credential: ECDSA, curve P-256, SHA-256. */
12310
+ var DEVICE_CERT_SIGNATURE = "ecdsa-p256-sha256";
12311
+ /** First line of every signed message; a change of format bumps the version. */
12312
+ var DEVICE_SIGNATURE_MESSAGE_VERSION = "camstack-device-cert-v1";
12313
+ _enum([
12314
+ "login",
12315
+ "renew",
12316
+ "revoke"
12317
+ ]);
12318
+ var DevicePlatformSchema = _enum([
12319
+ "ios",
12320
+ "android",
12321
+ "web",
12322
+ "other"
12323
+ ]);
12324
+ var Base64UrlSchema = string().min(1).max(4096).regex(/^[A-Za-z0-9_-]+$/);
12325
+ var PemSchema = string().min(1).max(16384);
12326
+ /**
12327
+ * Why a device-certificate endpoint said no. Distinct from a transport / 5xx
12328
+ * failure: those carry no reason and mean "try again", never "the credential is
12329
+ * dead". The viewer switches on this exhaustively.
12330
+ */
12331
+ var DeviceRefusalReasonSchema = _enum([
12332
+ "revoked",
12333
+ "unknown-credential",
12334
+ "expired",
12335
+ "bad-signature",
12336
+ "nonce-invalid",
12337
+ "rate-limited",
12338
+ "invalid-certificate",
12339
+ "superseded",
12340
+ "user-gone",
12341
+ "unavailable",
12342
+ "code-invalid",
12343
+ "self-enrollment-disabled",
12344
+ "step-up-required",
12345
+ "bad-public-key"
12346
+ ]);
12347
+ var DeviceRefusalSchema = object({
12348
+ ok: literal(false),
12349
+ reason: DeviceRefusalReasonSchema,
12350
+ definitive: boolean(),
12351
+ retryAfterSeconds: number().optional()
12352
+ });
12353
+ object({
12354
+ code: string().min(1).max(256),
12355
+ /** SubjectPublicKeyInfo DER of the device's P-256 public key, base64url. */
12356
+ publicKeySpki: Base64UrlSchema,
12357
+ deviceName: string().min(1).max(80).optional(),
12358
+ platform: DevicePlatformSchema
12359
+ });
12360
+ discriminatedUnion("ok", [object({
12361
+ credentialId: string(),
12362
+ certPem: PemSchema,
12363
+ /** The device CA certificate the leaf chains to. */
12364
+ chainPem: PemSchema,
12365
+ notAfter: number(),
12366
+ user: object({
12367
+ id: string(),
12368
+ username: string()
12369
+ })
12370
+ }).extend({ ok: literal(true) }), DeviceRefusalSchema]);
12371
+ object({
12372
+ /** The single-use step-up proof (`auth.deviceEnrollProofFrom…`). */
12373
+ proof: string().min(1).max(512),
12374
+ publicKeySpki: Base64UrlSchema,
12375
+ deviceName: string().min(1).max(80),
12376
+ platform: DevicePlatformSchema
12377
+ });
12378
+ object({
12379
+ proof: string(),
12380
+ expiresAt: number()
12381
+ });
12382
+ discriminatedUnion("ok", [object({
12383
+ nonce: string(),
12384
+ /** The origin to put in the signed message. The app compares it to the hub it dialled. */
12385
+ origin: string(),
12386
+ expiresAt: number(),
12387
+ signature: literal(DEVICE_CERT_SIGNATURE)
12388
+ }).extend({ ok: literal(true) }), DeviceRefusalSchema]);
12389
+ object({
12390
+ certPem: PemSchema,
12391
+ nonce: string().min(1).max(256),
12392
+ /** ECDSA P-256 SHA-256 over {@link buildDeviceSignatureMessage}; raw r||s or DER, base64url. */
12393
+ signature: Base64UrlSchema
12394
+ });
12395
+ discriminatedUnion("ok", [object({
12396
+ credentialId: string(),
12397
+ certPem: PemSchema,
12398
+ chainPem: PemSchema,
12399
+ notAfter: number()
12400
+ }).extend({ ok: literal(true) }), DeviceRefusalSchema]);
12401
+ discriminatedUnion("ok", [object({
12402
+ ok: literal(true),
12403
+ credentialId: string(),
12404
+ sessionsEnded: number().int()
12405
+ }), DeviceRefusalSchema]);
12406
+ var DeviceCredentialStatusSchema = _enum([
12407
+ "active",
12408
+ "expired",
12409
+ "revoked"
12410
+ ]);
12411
+ var DeviceCredentialSchema = object({
12412
+ id: string(),
12413
+ userId: string(),
12414
+ username: string().nullable(),
12415
+ deviceName: string(),
12416
+ platform: DevicePlatformSchema,
12417
+ enrolledVia: _enum(["qr", "self"]),
12418
+ /** SHA-256 of the leaf certificate DER, colon-hex. */
12419
+ fingerprint: string(),
12420
+ issuedAt: number(),
12421
+ expiresAt: number(),
12422
+ lastUsedAt: number().nullable(),
12423
+ lastUsedFrom: string().nullable(),
12424
+ revokedAt: number().nullable(),
12425
+ /** `admin:<userId>` | `user:<userId>` | `device` | `user-deleted`. */
12426
+ revokedBy: string().nullable(),
12427
+ status: DeviceCredentialStatusSchema
12428
+ });
12429
+ var StartEnrollmentOutputSchema = object({
12430
+ /** Shown once; only its hash is kept. */
12431
+ code: string(),
12432
+ expiresAt: number(),
12433
+ /** `camstack://enroll?hub=…&code=…` — what the QR encodes. */
12434
+ enrollUrl: string(),
12435
+ /** The hub origin in the link, or `null` when the hub could not name one (the link then has no `hub`). */
12436
+ hubOrigin: string().nullable(),
12437
+ /** Every origin the apps may try (role `appConnections`). */
12438
+ hubOrigins: array(string())
12439
+ });
12440
+ object({
12441
+ kind: literal("device-certificate"),
12442
+ id: literal("device-certificate"),
12443
+ label: string(),
12444
+ stage: literal("primary"),
12445
+ /** tRPC paths under the hub's `auth` router, so a client names no literal. */
12446
+ challengePath: literal("auth.getDeviceChallenge"),
12447
+ revokePath: literal("auth.revokeOwnDeviceCertificate"),
12448
+ enrollSelfPath: literal("auth.enrollSelf"),
12449
+ loginPath: literal("auth.loginWithDeviceCertificate"),
12450
+ renewPath: literal("auth.renewDeviceCertificate"),
12451
+ signature: literal(DEVICE_CERT_SIGNATURE),
12452
+ messageVersion: literal(DEVICE_SIGNATURE_MESSAGE_VERSION),
12453
+ /** Which clients can execute it: a native app silently, a browser with a non-extractable WebCrypto key. */
12454
+ clients: array(_enum(["native", "web"]))
12455
+ });
12456
+ /** host[:port] — a DNS name, IPv4 or bracketed IPv6. No userinfo, path or spaces. */
12457
+ var AUTHORITY_RE = /^(?:[a-z0-9.-]+|\[[0-9a-f:.]+\])(?::\d{1,5})?$/i;
12458
+ /** Same grammar as the hub's `parseForwardedPrefix` (spa-mount.ts). */
12459
+ var PREFIX_RE = /^\/[A-Za-z0-9_\-.]+(?:\/[A-Za-z0-9_\-.]+)*$/;
12460
+ var MAX_PREFIX_LENGTH = 512;
12461
+ /** First value of a possibly comma-joined forwarded header (the client-most proxy). */
12462
+ function firstValue(value) {
12463
+ if (value === void 0) return null;
12464
+ const first = value.split(",")[0]?.trim() ?? "";
12465
+ return first.length === 0 ? null : first;
12466
+ }
12467
+ /** `scheme://host[:port]` normalised by WHATWG URL, or `null` if it is not an http(s) origin. */
12468
+ function normalizeOrigin(value) {
12469
+ try {
12470
+ const url = new URL(value);
12471
+ if (url.protocol !== "https:" && url.protocol !== "http:") return null;
12472
+ if (url.username !== "" || url.password !== "") return null;
12473
+ return url.origin;
12474
+ } catch {
12475
+ return null;
12476
+ }
12477
+ }
12478
+ /** The mount prefix the relay named (no trailing slash), or `''`. Invalid = absent. */
12479
+ function requestMountPrefix(headers) {
12480
+ const raw = headers["x-forwarded-prefix"];
12481
+ if (raw === void 0 || raw.length === 0 || raw.length > MAX_PREFIX_LENGTH) return "";
12482
+ const trimmed = raw.endsWith("/") ? raw.slice(0, -1) : raw;
12483
+ if (trimmed === "" || !PREFIX_RE.test(trimmed)) return "";
12484
+ if (trimmed.split("/").some((segment) => segment === ".." || segment === ".")) return "";
12485
+ return trimmed;
12486
+ }
12487
+ /**
12488
+ * The origins the request CLAIMS, most specific first: the proxy's
12489
+ * `X-Forwarded-Host` over `Host`; the named `X-Forwarded-Proto`, or https
12490
+ * then http when none is named (the hub terminates TLS itself on 4443).
12491
+ */
12492
+ function claimedRequestOrigins(headers) {
12493
+ const authority = firstValue(headers["x-forwarded-host"]) ?? firstValue(headers["host"]);
12494
+ if (authority === null || !AUTHORITY_RE.test(authority)) return [];
12495
+ const proto = firstValue(headers["x-forwarded-proto"])?.toLowerCase() ?? null;
12496
+ const schemes = proto === "https" || proto === "http" ? [proto] : proto === null ? ["https", "http"] : [];
12497
+ const out = [];
12498
+ for (const scheme of schemes) {
12499
+ const origin = normalizeOrigin(`${scheme}://${authority}`);
12500
+ if (origin !== null) out.push(origin);
12501
+ }
12502
+ return out;
12503
+ }
12504
+ /** Every origin the hub advertises itself at, normalised. Never the app link, never loopback. */
12505
+ function advertisedHubOrigins(book) {
12506
+ const candidates = [];
12507
+ for (const row of book.rows) {
12508
+ if (row.kind === "app-link" || row.kind === "loopback") continue;
12509
+ candidates.push(row.baseUrl);
12510
+ }
12511
+ const { publicEndpoint, internal, appConnections } = book.roles;
12512
+ if (publicEndpoint.resolved !== null) candidates.push(publicEndpoint.resolved);
12513
+ if (internal.resolved !== null) candidates.push(internal.resolved);
12514
+ candidates.push(...appConnections.resolved);
12515
+ candidates.push(...book.listenerOrigins ?? []);
12516
+ const out = /* @__PURE__ */ new Set();
12517
+ for (const candidate of candidates) {
12518
+ const origin = normalizeOrigin(candidate);
12519
+ if (origin !== null) out.add(origin);
12520
+ }
12521
+ return out;
12522
+ }
12523
+ /**
12524
+ * The origin to send the browser back to: the first claimed origin that is in
12525
+ * `allowed`, or `null` (the caller then uses its default address).
12526
+ */
12527
+ function pickRequestOrigin(headers, allowed) {
12528
+ for (const origin of claimedRequestOrigins(headers)) if (allowed.has(origin)) return origin;
12529
+ return null;
12530
+ }
12329
12531
  var ExpressionBindingSourceSchema = union([
12330
12532
  object({
12331
12533
  kind: literal("field").optional(),
@@ -15932,6 +16134,136 @@ method(object({
15932
16134
  kind: "mutation",
15933
16135
  auth: "admin"
15934
16136
  }), method(object({}), array(KeychainSecretMetaSchema).readonly(), { auth: "admin" }), method(object({}), KeychainStateSchema, { auth: "admin" });
16137
+ var DeviceCaStatusSchema = discriminatedUnion("state", [
16138
+ object({ state: literal("absent") }),
16139
+ object({
16140
+ state: literal("ready"),
16141
+ subject: string(),
16142
+ fingerprintSha256: string(),
16143
+ validTo: string()
16144
+ }),
16145
+ object({
16146
+ state: literal("unavailable"),
16147
+ reason: string()
16148
+ })
16149
+ ]);
16150
+ var DeviceCertificateSettingsSchema = object({ selfEnrollment: _enum(["allowed", "disabled"]) });
16151
+ method(object({
16152
+ userId: string().min(1).optional(),
16153
+ includeRevoked: boolean().default(false)
16154
+ }), array(DeviceCredentialSchema).readonly(), { auth: "admin" }), method(object({
16155
+ userId: string().min(1),
16156
+ deviceName: string().min(1).max(80)
16157
+ }), StartEnrollmentOutputSchema, {
16158
+ kind: "mutation",
16159
+ auth: "admin",
16160
+ caller: "required"
16161
+ }), method(object({ id: string().min(1) }), object({
16162
+ revoked: boolean(),
16163
+ sessionsEnded: number().int(),
16164
+ status: DeviceCredentialStatusSchema
16165
+ }), {
16166
+ kind: "mutation",
16167
+ auth: "admin",
16168
+ caller: "required"
16169
+ }), method(object({}), DeviceCertificateSettingsSchema, { auth: "admin" }), method(DeviceCertificateSettingsSchema, DeviceCertificateSettingsSchema, {
16170
+ kind: "mutation",
16171
+ auth: "admin"
16172
+ }), method(object({ id: string().min(1) }), object({ result: _enum([
16173
+ "deleted",
16174
+ "live",
16175
+ "unknown"
16176
+ ]) }), {
16177
+ kind: "mutation",
16178
+ auth: "admin",
16179
+ caller: "required"
16180
+ }), method(object({}), DeviceCaStatusSchema, { auth: "admin" }), method(object({
16181
+ id: string().min(1),
16182
+ deviceName: string().min(1).max(80)
16183
+ }), object({ renamed: boolean() }), {
16184
+ kind: "mutation",
16185
+ auth: "admin"
16186
+ });
16187
+ /**
16188
+ * `node-certificates` - what a node holds and the two renewals the hub drives
16189
+ * (D856): the node's MESH leaf (mutual TLS to the hub) and its HTTPS leaf (issued
16190
+ * from the hub's local CA so a device that trusts the hub root trusts the node).
16191
+ *
16192
+ * Provided by the AGENT RUNTIME (the synthetic `agent-runtime` addon id, like
16193
+ * `server-management`): the hub reaches it through the ordinary node-pinned
16194
+ * capability call - no new Moleculer action. The hub's own certificates are
16195
+ * handled in-process by the hub (`certificates` router), so this cap has no hub
16196
+ * provider.
16197
+ *
16198
+ * No private key ever crosses the mesh: the node generates its key pair, sends a
16199
+ * CSR, and the hub returns only the signed certificate.
16200
+ */
16201
+ var MeshLeafInfoSchema = object({
16202
+ cn: string(),
16203
+ serial: string(),
16204
+ fingerprintSha256: string(),
16205
+ notBefore: number(),
16206
+ notAfter: number()
16207
+ });
16208
+ var HttpsLeafInfoSchema = object({
16209
+ fingerprintSha256: string(),
16210
+ issuer: string(),
16211
+ sans: array(string()),
16212
+ notBefore: number(),
16213
+ notAfter: number()
16214
+ });
16215
+ var NodeHttpsStateSchema = discriminatedUnion("state", [object({
16216
+ state: literal("served"),
16217
+ leaf: HttpsLeafInfoSchema
16218
+ }), object({
16219
+ state: literal("not-issued"),
16220
+ reason: string()
16221
+ })]);
16222
+ method(object({}), object({
16223
+ nodeId: string(),
16224
+ mesh: MeshLeafInfoSchema.nullable(),
16225
+ https: NodeHttpsStateSchema
16226
+ }), { auth: "admin" }), method(object({}), object({ csrPem: string() }), {
16227
+ kind: "mutation",
16228
+ auth: "admin"
16229
+ }), method(object({
16230
+ certPem: string().min(1),
16231
+ caCertPem: string().min(1),
16232
+ confirmWithinMs: number().int().min(1e4).max(6e5)
16233
+ }), object({
16234
+ fingerprintSha256: string(),
16235
+ serial: string()
16236
+ }), {
16237
+ kind: "mutation",
16238
+ auth: "admin"
16239
+ }), method(object({ fingerprintSha256: string() }), object({ confirmed: boolean() }), {
16240
+ kind: "mutation",
16241
+ auth: "admin"
16242
+ }), method(object({}), object({ rolledBack: boolean() }), {
16243
+ kind: "mutation",
16244
+ auth: "admin"
16245
+ }), method(object({}), object({
16246
+ csrPem: string(),
16247
+ hostnames: array(string()),
16248
+ addresses: array(string()),
16249
+ /** SHA-256 of the hub local CA this node pinned at its first install; `null` before one. */
16250
+ pinnedCaFingerprintSha256: string().nullable()
16251
+ }), {
16252
+ kind: "mutation",
16253
+ auth: "admin"
16254
+ }), method(object({
16255
+ certPem: string().min(1),
16256
+ caCertPem: string().min(1),
16257
+ /**
16258
+ * The hub signals that its local CA was rotated (D227) and this leaf chains to the NEW
16259
+ * one. Only the hub, over the authenticated mesh, can say so; a leaf with a different CA
16260
+ * and no signal is refused.
16261
+ */
16262
+ caRotation: boolean().optional()
16263
+ }), HttpsLeafInfoSchema, {
16264
+ kind: "mutation",
16265
+ auth: "admin"
16266
+ });
15935
16267
  var KeychainKeySourceSchema = object({
15936
16268
  kind: _enum([
15937
16269
  "config-file",
@@ -61912,6 +62244,54 @@ Object.freeze({
61912
62244
  addonId: null,
61913
62245
  access: "create"
61914
62246
  },
62247
+ "deviceCredentials.deleteDeviceCredential": {
62248
+ capName: "device-credentials",
62249
+ capScope: "system",
62250
+ addonId: null,
62251
+ access: "delete"
62252
+ },
62253
+ "deviceCredentials.getDeviceCaStatus": {
62254
+ capName: "device-credentials",
62255
+ capScope: "system",
62256
+ addonId: null,
62257
+ access: "view"
62258
+ },
62259
+ "deviceCredentials.getDeviceCertificateSettings": {
62260
+ capName: "device-credentials",
62261
+ capScope: "system",
62262
+ addonId: null,
62263
+ access: "view"
62264
+ },
62265
+ "deviceCredentials.listDeviceCredentials": {
62266
+ capName: "device-credentials",
62267
+ capScope: "system",
62268
+ addonId: null,
62269
+ access: "view"
62270
+ },
62271
+ "deviceCredentials.renameDeviceCredential": {
62272
+ capName: "device-credentials",
62273
+ capScope: "system",
62274
+ addonId: null,
62275
+ access: "create"
62276
+ },
62277
+ "deviceCredentials.revokeDeviceCredential": {
62278
+ capName: "device-credentials",
62279
+ capScope: "system",
62280
+ addonId: null,
62281
+ access: "delete"
62282
+ },
62283
+ "deviceCredentials.setDeviceCertificateSettings": {
62284
+ capName: "device-credentials",
62285
+ capScope: "system",
62286
+ addonId: null,
62287
+ access: "create"
62288
+ },
62289
+ "deviceCredentials.startEnrollment": {
62290
+ capName: "device-credentials",
62291
+ capScope: "system",
62292
+ addonId: null,
62293
+ access: "create"
62294
+ },
61915
62295
  "deviceDiscovery.adoptDevice": {
61916
62296
  capName: "device-discovery",
61917
62297
  capScope: "device",
@@ -64072,6 +64452,48 @@ Object.freeze({
64072
64452
  addonId: null,
64073
64453
  access: "create"
64074
64454
  },
64455
+ "nodeCertificates.confirmMeshLeaf": {
64456
+ capName: "node-certificates",
64457
+ capScope: "system",
64458
+ addonId: null,
64459
+ access: "create"
64460
+ },
64461
+ "nodeCertificates.getCertificates": {
64462
+ capName: "node-certificates",
64463
+ capScope: "system",
64464
+ addonId: null,
64465
+ access: "view"
64466
+ },
64467
+ "nodeCertificates.installHttpsCertificate": {
64468
+ capName: "node-certificates",
64469
+ capScope: "system",
64470
+ addonId: null,
64471
+ access: "create"
64472
+ },
64473
+ "nodeCertificates.installMeshLeaf": {
64474
+ capName: "node-certificates",
64475
+ capScope: "system",
64476
+ addonId: null,
64477
+ access: "create"
64478
+ },
64479
+ "nodeCertificates.prepareHttpsCertificate": {
64480
+ capName: "node-certificates",
64481
+ capScope: "system",
64482
+ addonId: null,
64483
+ access: "create"
64484
+ },
64485
+ "nodeCertificates.prepareMeshRenewal": {
64486
+ capName: "node-certificates",
64487
+ capScope: "system",
64488
+ addonId: null,
64489
+ access: "create"
64490
+ },
64491
+ "nodeCertificates.rollbackMeshLeaf": {
64492
+ capName: "node-certificates",
64493
+ capScope: "system",
64494
+ addonId: null,
64495
+ access: "create"
64496
+ },
64075
64497
  "nodes.clusterAddonStatus": {
64076
64498
  capName: "nodes",
64077
64499
  capScope: "system",
@@ -72007,165 +72429,4 @@ DEFAULT_NATIVE_LEASE_SETTINGS.admission;
72007
72429
  var MB = 1024 * 1024;
72008
72430
  1024 * MB, 3072 * MB;
72009
72431
  //#endregion
72010
- Object.defineProperty(exports, "BaseAddon", {
72011
- enumerable: true,
72012
- get: function() {
72013
- return BaseAddon;
72014
- }
72015
- });
72016
- Object.defineProperty(exports, "SECRET_CLEAR", {
72017
- enumerable: true,
72018
- get: function() {
72019
- return SECRET_CLEAR;
72020
- }
72021
- });
72022
- Object.defineProperty(exports, "SSO_STATE_COOKIE", {
72023
- enumerable: true,
72024
- get: function() {
72025
- return SSO_STATE_COOKIE;
72026
- }
72027
- });
72028
- Object.defineProperty(exports, "__commonJSMin", {
72029
- enumerable: true,
72030
- get: function() {
72031
- return __commonJSMin;
72032
- }
72033
- });
72034
- Object.defineProperty(exports, "__esmMin", {
72035
- enumerable: true,
72036
- get: function() {
72037
- return __esmMin;
72038
- }
72039
- });
72040
- Object.defineProperty(exports, "__exportAll", {
72041
- enumerable: true,
72042
- get: function() {
72043
- return __exportAll;
72044
- }
72045
- });
72046
- Object.defineProperty(exports, "__toCommonJS", {
72047
- enumerable: true,
72048
- get: function() {
72049
- return __toCommonJS;
72050
- }
72051
- });
72052
- Object.defineProperty(exports, "__toESM", {
72053
- enumerable: true,
72054
- get: function() {
72055
- return __toESM;
72056
- }
72057
- });
72058
- Object.defineProperty(exports, "addonRoutesCapability", {
72059
- enumerable: true,
72060
- get: function() {
72061
- return addonRoutesCapability;
72062
- }
72063
- });
72064
- Object.defineProperty(exports, "addonWidgetsSourceCapability", {
72065
- enumerable: true,
72066
- get: function() {
72067
- return addonWidgetsSourceCapability;
72068
- }
72069
- });
72070
- Object.defineProperty(exports, "array", {
72071
- enumerable: true,
72072
- get: function() {
72073
- return array;
72074
- }
72075
- });
72076
- Object.defineProperty(exports, "arrayItemFieldPath", {
72077
- enumerable: true,
72078
- get: function() {
72079
- return arrayItemFieldPath;
72080
- }
72081
- });
72082
- Object.defineProperty(exports, "authProviderCapability", {
72083
- enumerable: true,
72084
- get: function() {
72085
- return authProviderCapability;
72086
- }
72087
- });
72088
- Object.defineProperty(exports, "boolean", {
72089
- enumerable: true,
72090
- get: function() {
72091
- return boolean;
72092
- }
72093
- });
72094
- Object.defineProperty(exports, "buildAddonRouteProvider", {
72095
- enumerable: true,
72096
- get: function() {
72097
- return buildAddonRouteProvider;
72098
- }
72099
- });
72100
- Object.defineProperty(exports, "errMsg", {
72101
- enumerable: true,
72102
- get: function() {
72103
- return errMsg;
72104
- }
72105
- });
72106
- Object.defineProperty(exports, "globalSecretScope", {
72107
- enumerable: true,
72108
- get: function() {
72109
- return globalSecretScope;
72110
- }
72111
- });
72112
- Object.defineProperty(exports, "isSecretClear", {
72113
- enumerable: true,
72114
- get: function() {
72115
- return isSecretClear;
72116
- }
72117
- });
72118
- Object.defineProperty(exports, "isSecretMarker", {
72119
- enumerable: true,
72120
- get: function() {
72121
- return isSecretMarker;
72122
- }
72123
- });
72124
- Object.defineProperty(exports, "loginMethodCapability", {
72125
- enumerable: true,
72126
- get: function() {
72127
- return loginMethodCapability;
72128
- }
72129
- });
72130
- Object.defineProperty(exports, "number", {
72131
- enumerable: true,
72132
- get: function() {
72133
- return number;
72134
- }
72135
- });
72136
- Object.defineProperty(exports, "object", {
72137
- enumerable: true,
72138
- get: function() {
72139
- return object;
72140
- }
72141
- });
72142
- Object.defineProperty(exports, "oidcConnectionsCapability", {
72143
- enumerable: true,
72144
- get: function() {
72145
- return oidcConnectionsCapability;
72146
- }
72147
- });
72148
- Object.defineProperty(exports, "resolveIconKey", {
72149
- enumerable: true,
72150
- get: function() {
72151
- return resolveIconKey;
72152
- }
72153
- });
72154
- Object.defineProperty(exports, "string", {
72155
- enumerable: true,
72156
- get: function() {
72157
- return string;
72158
- }
72159
- });
72160
- Object.defineProperty(exports, "toSecretFieldView", {
72161
- enumerable: true,
72162
- get: function() {
72163
- return toSecretFieldView;
72164
- }
72165
- });
72166
- Object.defineProperty(exports, "userPasskeysCapability", {
72167
- enumerable: true,
72168
- get: function() {
72169
- return userPasskeysCapability;
72170
- }
72171
- });
72432
+ export { array as C, string as D, object as E, toSecretFieldView as S, number as T, SECRET_CLEAR as _, authProviderCapability as a, isSecretClear as b, loginMethodCapability as c, pickRequestOrigin as d, requestMountPrefix as f, BaseAddon as g, errMsg as h, advertisedHubOrigins as i, normalizeOrigin as l, userPasskeysCapability as m, addonRoutesCapability as n, buildAddonRouteProvider as o, resolveIconKey as p, addonWidgetsSourceCapability as r, claimedRequestOrigins as s, SSO_STATE_COOKIE as t, oidcConnectionsCapability as u, arrayItemFieldPath as v, boolean as w, isSecretMarker as x, globalSecretScope as y };