@camstack/addon-osd-manager 0.1.93 → 0.1.94

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/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-BgZ5Cn7S.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CpoKLYFO.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DjCN-3TF.mjs";
3
3
  import { _ as e, c as t, d as n, h as r, i, l as a, m as o, n as s, p as c, r as l, t as u, u as d, y as f } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-Bs1t18EM.mjs";
4
4
  import { i as p, o as m, r as h, s as g } from "./responsive-2tXZye2B.mjs";
5
5
  import { d as _, l as v, u as y } from "./use-device-snapshot-B4KUgRqi.mjs";
@@ -1,9 +1,9 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CpoKLYFO.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DjCN-3TF.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_osd_manager_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.99",
6
+ version: "1.2.100",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_osd_manager_page",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.179",
21
+ version: "1.2.180",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_osd_manager_page",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.147",
36
+ version: "1.2.148",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_osd_manager_page",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.179",
39
+ version: "1.2.180",
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.99",
48
+ version: "1.2.100",
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.147",
84
+ version: "1.2.148",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
package/dist/index.js CHANGED
@@ -24015,6 +24015,14 @@ var NativeCropResultSchema = object({
24015
24015
  * set `encodeJpeg: true`; `bytes` is then absent.
24016
24016
  */
24017
24017
  jpeg: string().optional(),
24018
+ /**
24019
+ * The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
24020
+ * `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
24021
+ * `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
24022
+ * `bytes` above has crossed this boundary as a `Uint8Array` all along — so
24023
+ * base64 was buying nothing but a multi-megabyte string in the relay's heap.
24024
+ */
24025
+ jpegBytes: _instanceof(Uint8Array).optional(),
24018
24026
  width: number().int().positive(),
24019
24027
  height: number().int().positive(),
24020
24028
  /**
@@ -24081,7 +24089,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
24081
24089
  })]);
24082
24090
  /** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
24083
24091
  var ParkedTrackFrameSchema = object({
24084
- jpeg: string(),
24092
+ /**
24093
+ * Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
24094
+ * `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
24095
+ * Exactly one of the two is present.
24096
+ */
24097
+ jpeg: string().optional(),
24098
+ /** The same JPEG as bytes, for a caller that declared it reads them (D462). */
24099
+ jpegBytes: _instanceof(Uint8Array).optional(),
24085
24100
  width: number().int().positive(),
24086
24101
  height: number().int().positive(),
24087
24102
  /** The frame instant the parcel shows (the caller's clock, echoed back). */
@@ -24732,6 +24747,13 @@ var pipelineRunnerCapability = {
24732
24747
  bbox: NativeCropBboxSchema,
24733
24748
  maxWidth: number().int().positive().optional(),
24734
24749
  /**
24750
+ * The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
24751
+ * back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
24752
+ * wire — never assume consent: a pre-D462 caller parses the field as
24753
+ * base64 and bytes would decode to garbage rather than fail.
24754
+ */
24755
+ acceptJpegBytes: boolean().optional(),
24756
+ /**
24735
24757
  * When `true`, the runner encodes the resolved crop to JPEG ON THE
24736
24758
  * OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
24737
24759
  * Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
@@ -24904,7 +24926,14 @@ var pipelineRunnerCapability = {
24904
24926
  getParkedTrackFrame: method(object({
24905
24927
  deviceId: number(),
24906
24928
  trackId: string(),
24907
- kind: ParkedFrameKindSchema
24929
+ kind: ParkedFrameKindSchema,
24930
+ /**
24931
+ * The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
24932
+ * back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
24933
+ * wire — never assume consent: a pre-D462 caller parses the field as
24934
+ * base64 and bytes would decode to garbage rather than fail.
24935
+ */
24936
+ acceptJpegBytes: boolean().optional()
24908
24937
  }), ParkedTrackFrameSchema.nullable()),
24909
24938
  /**
24910
24939
  * Drop every parcel of a track — the hub closed it. Idempotent. A track
package/dist/index.mjs CHANGED
@@ -24011,6 +24011,14 @@ var NativeCropResultSchema = object({
24011
24011
  * set `encodeJpeg: true`; `bytes` is then absent.
24012
24012
  */
24013
24013
  jpeg: string().optional(),
24014
+ /**
24015
+ * The SAME compressed JPEG as `jpeg`, as bytes (D462). Present instead of
24016
+ * `jpeg` when the request set `acceptJpegBytes`; a request that did not gets
24017
+ * `jpeg` exactly as before. MsgPack and the mesh leg both carry binary —
24018
+ * `bytes` above has crossed this boundary as a `Uint8Array` all along — so
24019
+ * base64 was buying nothing but a multi-megabyte string in the relay's heap.
24020
+ */
24021
+ jpegBytes: _instanceof(Uint8Array).optional(),
24014
24022
  width: number().int().positive(),
24015
24023
  height: number().int().positive(),
24016
24024
  /**
@@ -24077,7 +24085,14 @@ var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
24077
24085
  })]);
24078
24086
  /** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
24079
24087
  var ParkedTrackFrameSchema = object({
24080
- jpeg: string(),
24088
+ /**
24089
+ * Base64 JPEG — the pre-D462 wire. OPTIONAL since D462: a request that set
24090
+ * `acceptJpegBytes` is answered in `jpegBytes` and this is then absent.
24091
+ * Exactly one of the two is present.
24092
+ */
24093
+ jpeg: string().optional(),
24094
+ /** The same JPEG as bytes, for a caller that declared it reads them (D462). */
24095
+ jpegBytes: _instanceof(Uint8Array).optional(),
24081
24096
  width: number().int().positive(),
24082
24097
  height: number().int().positive(),
24083
24098
  /** The frame instant the parcel shows (the caller's clock, echoed back). */
@@ -24728,6 +24743,13 @@ var pipelineRunnerCapability = {
24728
24743
  bbox: NativeCropBboxSchema,
24729
24744
  maxWidth: number().int().positive().optional(),
24730
24745
  /**
24746
+ * The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
24747
+ * back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
24748
+ * wire — never assume consent: a pre-D462 caller parses the field as
24749
+ * base64 and bytes would decode to garbage rather than fail.
24750
+ */
24751
+ acceptJpegBytes: boolean().optional(),
24752
+ /**
24731
24753
  * When `true`, the runner encodes the resolved crop to JPEG ON THE
24732
24754
  * OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
24733
24755
  * Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
@@ -24900,7 +24922,14 @@ var pipelineRunnerCapability = {
24900
24922
  getParkedTrackFrame: method(object({
24901
24923
  deviceId: number(),
24902
24924
  trackId: string(),
24903
- kind: ParkedFrameKindSchema
24925
+ kind: ParkedFrameKindSchema,
24926
+ /**
24927
+ * The caller reads a `Uint8Array` (D462). When set, a JPEG answer comes
24928
+ * back in `jpegBytes` instead of base64 `jpeg`. Absent means the old
24929
+ * wire — never assume consent: a pre-D462 caller parses the field as
24930
+ * base64 and bytes would decode to garbage rather than fail.
24931
+ */
24932
+ acceptJpegBytes: boolean().optional()
24904
24933
  }), ParkedTrackFrameSchema.nullable()),
24905
24934
  /**
24906
24935
  * Drop every parcel of a track — the hub closed it. Idempotent. A track
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CpoKLYFO.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-DjCN-3TF.mjs";
2
2
  export { t as get, e as init };
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-DhsCc2eX.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CsyEWmMU.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-osd-manager",
3
- "version": "0.1.93",
3
+ "version": "0.1.94",
4
4
  "description": "Binds camera on-screen-display slots to live state and recognitions",
5
5
  "keywords": [
6
6
  "camstack",