@camstack/addon-auth 1.2.0 → 1.2.1

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.
@@ -11451,7 +11451,21 @@ var NativeCropResultSchema = object({
11451
11451
  /** Packed rgb (24-bit) pixels of the crop. */
11452
11452
  bytes: _instanceof(Uint8Array),
11453
11453
  width: number().int().positive(),
11454
- height: number().int().positive()
11454
+ height: number().int().positive(),
11455
+ /**
11456
+ * Which source served this crop, so a quality-sensitive consumer (the native
11457
+ * `keyFrame`) can reject a degraded fallback:
11458
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
11459
+ * quality path).
11460
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
11461
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
11462
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
11463
+ *
11464
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
11465
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
11466
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
11467
+ */
11468
+ tier: _enum(["native", "ram-fullframe"]).optional()
11455
11469
  });
11456
11470
  /** Parent detection context passed to `runDetailSubtree` — the crop's
11457
11471
  * originating detection, in FRAME-space coordinates. Reuses
@@ -14828,7 +14842,8 @@ var LinkedDeviceSchema = object({
14828
14842
  deviceId: number(),
14829
14843
  name: string(),
14830
14844
  location: string().nullable(),
14831
- features: array(string())
14845
+ features: array(string()),
14846
+ producesTrackedEvents: boolean().optional()
14832
14847
  });
14833
14848
  var SavedDeviceRowSchema = object({
14834
14849
  /** Numeric id reserved at allocateDeviceId time. */
@@ -16458,6 +16473,7 @@ var TrackSchema = object({
16458
16473
  deviceId: number(),
16459
16474
  className: string(),
16460
16475
  label: string().optional(),
16476
+ producingDeviceName: string().optional(),
16461
16477
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
16462
16478
  source: TrackSourceSchema.optional(),
16463
16479
  firstSeen: number(),
@@ -16595,7 +16611,8 @@ var MediaFileKindEnum = _enum([
16595
16611
  "fullFrameBoxed",
16596
16612
  "faceCrop",
16597
16613
  "plateCrop",
16598
- "keyFrame"
16614
+ "keyFrame",
16615
+ "keyFrameSmall"
16599
16616
  ]);
16600
16617
  var MediaFileSchema = object({
16601
16618
  key: string(),
@@ -11451,7 +11451,21 @@ var NativeCropResultSchema = object({
11451
11451
  /** Packed rgb (24-bit) pixels of the crop. */
11452
11452
  bytes: _instanceof(Uint8Array),
11453
11453
  width: number().int().positive(),
11454
- height: number().int().positive()
11454
+ height: number().int().positive(),
11455
+ /**
11456
+ * Which source served this crop, so a quality-sensitive consumer (the native
11457
+ * `keyFrame`) can reject a degraded fallback:
11458
+ * - `native` — cut from the decode worker's retained NATIVE surface (the
11459
+ * quality path).
11460
+ * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
11461
+ * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
11462
+ * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
11463
+ *
11464
+ * OPTIONAL: a pre-tier runner (version skew) omits it — an ABSENT `tier` MUST be
11465
+ * treated as `native` (accepted) by every consumer so mixed-version clusters
11466
+ * keep the pre-tier behaviour. An ROI miss returns `null` (no tier at all).
11467
+ */
11468
+ tier: _enum(["native", "ram-fullframe"]).optional()
11455
11469
  });
11456
11470
  /** Parent detection context passed to `runDetailSubtree` — the crop's
11457
11471
  * originating detection, in FRAME-space coordinates. Reuses
@@ -14828,7 +14842,8 @@ var LinkedDeviceSchema = object({
14828
14842
  deviceId: number(),
14829
14843
  name: string(),
14830
14844
  location: string().nullable(),
14831
- features: array(string())
14845
+ features: array(string()),
14846
+ producesTrackedEvents: boolean().optional()
14832
14847
  });
14833
14848
  var SavedDeviceRowSchema = object({
14834
14849
  /** Numeric id reserved at allocateDeviceId time. */
@@ -16458,6 +16473,7 @@ var TrackSchema = object({
16458
16473
  deviceId: number(),
16459
16474
  className: string(),
16460
16475
  label: string().optional(),
16476
+ producingDeviceName: string().optional(),
16461
16477
  /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
16462
16478
  source: TrackSourceSchema.optional(),
16463
16479
  firstSeen: number(),
@@ -16595,7 +16611,8 @@ var MediaFileKindEnum = _enum([
16595
16611
  "fullFrameBoxed",
16596
16612
  "faceCrop",
16597
16613
  "plateCrop",
16598
- "keyFrame"
16614
+ "keyFrame",
16615
+ "keyFrameSmall"
16599
16616
  ]);
16600
16617
  var MediaFileSchema = object({
16601
16618
  key: string(),
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-DC161wqx.js");
6
+ const require_dist = require("../dist-CuQ5TtUl.js");
7
7
  //#region src/magic-link/auth-magic-link.addon.ts
8
8
  /**
9
9
  * Magic-link authentication addon.
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-C34hxA4W.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-CXujhrB4.mjs";
2
2
  //#region src/magic-link/auth-magic-link.addon.ts
3
3
  /**
4
4
  * Magic-link authentication addon.
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-DC161wqx.js");
6
+ const require_dist = require("../dist-CuQ5TtUl.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  node_crypto = require_chunk.__toESM(node_crypto);
9
9
  //#region node_modules/jose/dist/webapi/lib/buffer_utils.js
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-C34hxA4W.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, i as buildAddonRouteProvider, r as authProviderCapability, s as errMsg, t as addonRoutesCapability } from "../dist-CXujhrB4.mjs";
2
2
  import * as crypto$1 from "node:crypto";
3
3
  //#region node_modules/jose/dist/webapi/lib/buffer_utils.js
4
4
  var encoder = new TextEncoder();
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.0",
6
+ version: "1.2.1",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_auth_webauthn_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.0",
21
+ version: "1.2.1",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_auth_webauthn_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.0",
36
+ version: "1.2.1",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_auth_webauthn_widgets",
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-Cek0wNdY.js");
6
- const require_dist = require("../dist-DC161wqx.js");
6
+ const require_dist = require("../dist-CuQ5TtUl.js");
7
7
  let stream = require("stream");
8
8
  stream = require_chunk.__toESM(stream, 1);
9
9
  let http = require("http");
@@ -1,4 +1,4 @@
1
- import { a as loginMethodCapability, c as BaseAddon, d as number, f as object, l as array, n as addonWidgetsSourceCapability, o as userPasskeysCapability, p as string, u as boolean } from "../dist-C34hxA4W.mjs";
1
+ import { a as loginMethodCapability, c as BaseAddon, d as number, f as object, l as array, n as addonWidgetsSourceCapability, o as userPasskeysCapability, p as string, u as boolean } from "../dist-CXujhrB4.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import Stream from "stream";
4
4
  import http from "http";
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.0",
39
+ version: "1.2.1",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.0",
48
+ version: "1.2.1",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.0",
84
+ version: "1.2.1",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-DBDombY4.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-vae6YdYn.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-auth",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "CamStack authentication bundle — magic-link, OIDC, and WebAuthn/passkey. Multi-entry npm package shipping 3 addons under a single bundle; each addon keeps its own id, capabilities, and runner.",
5
5
  "keywords": [
6
6
  "camstack",