@camstack/addon-post-analysis 1.2.181 → 1.2.183

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.
@@ -7738,7 +7738,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7738
7738
  var CameraSwitchUnavailableReasonSchema = _enum([
7739
7739
  "no-provider",
7740
7740
  "source-unreachable",
7741
- "not-configured"
7741
+ "not-configured",
7742
+ "device-disabled"
7742
7743
  ]);
7743
7744
  /**
7744
7745
  * One switch, resolved for one camera.
@@ -25139,12 +25140,20 @@ var BatteryStatusSchema = object({
25139
25140
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
25140
25141
  * Reolink-specific for the Solar Panel 2 accessory (will become
25141
25142
  * common on other battery cams). `'none'` means running on battery
25142
- * alone.
25143
+ * alone — a NEGATIVE the firmware actually reported.
25144
+ *
25145
+ * `'unknown'` is the absence of an answer: the provider has not read the
25146
+ * power fields yet, or the firmware reported neither. Before it existed,
25147
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
25148
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
25149
+ * by going nullable. Consumers SKIP it (no charger state published, no
25150
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
25143
25151
  */
25144
25152
  charging: _enum([
25145
25153
  "dc",
25146
25154
  "solar",
25147
- "none"
25155
+ "none",
25156
+ "unknown"
25148
25157
  ]),
25149
25158
  /**
25150
25159
  * True when the camera firmware has gone into low-power mode. Battery
@@ -25234,7 +25243,7 @@ onStatusChanged: { data: object({
25234
25243
  kind: "push",
25235
25244
  empty: {
25236
25245
  percentage: 0,
25237
- charging: "none",
25246
+ charging: "unknown",
25238
25247
  sleeping: false,
25239
25248
  lastUpdated: 0
25240
25249
  }
@@ -7769,7 +7769,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7769
7769
  var CameraSwitchUnavailableReasonSchema = _enum([
7770
7770
  "no-provider",
7771
7771
  "source-unreachable",
7772
- "not-configured"
7772
+ "not-configured",
7773
+ "device-disabled"
7773
7774
  ]);
7774
7775
  /**
7775
7776
  * One switch, resolved for one camera.
@@ -25170,12 +25171,20 @@ var BatteryStatusSchema = object({
25170
25171
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
25171
25172
  * Reolink-specific for the Solar Panel 2 accessory (will become
25172
25173
  * common on other battery cams). `'none'` means running on battery
25173
- * alone.
25174
+ * alone — a NEGATIVE the firmware actually reported.
25175
+ *
25176
+ * `'unknown'` is the absence of an answer: the provider has not read the
25177
+ * power fields yet, or the firmware reported neither. Before it existed,
25178
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
25179
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
25180
+ * by going nullable. Consumers SKIP it (no charger state published, no
25181
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
25174
25182
  */
25175
25183
  charging: _enum([
25176
25184
  "dc",
25177
25185
  "solar",
25178
- "none"
25186
+ "none",
25187
+ "unknown"
25179
25188
  ]),
25180
25189
  /**
25181
25190
  * True when the camera firmware has gone into low-power mode. Battery
@@ -25265,7 +25274,7 @@ onStatusChanged: { data: object({
25265
25274
  kind: "push",
25266
25275
  empty: {
25267
25276
  percentage: 0,
25268
- charging: "none",
25277
+ charging: "unknown",
25269
25278
  sleeping: false,
25270
25279
  lastUpdated: 0
25271
25280
  }
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-BB70nZUm.js");
5
+ const require_dist = require("../dist-_fedHYU3.js");
6
6
  let node_fs = require("node:fs");
7
7
  node_fs = require_dist.__toESM(node_fs);
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { At as BaseAddon, F as PoolMemoryWatchdog, St as resolvePoolMemoryPolicy, at as embeddingEncoderCapability, gt as parseProcStatus, ut as hfModelUrl } from "../dist-DEAreP8H.mjs";
1
+ import { At as BaseAddon, F as PoolMemoryWatchdog, St as resolvePoolMemoryPolicy, at as embeddingEncoderCapability, gt as parseProcStatus, ut as hfModelUrl } from "../dist-DvmLRRIq.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -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.68",
6
+ version: "1.2.70",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_pipeline_analytics_widgets",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.148",
21
+ version: "1.2.150",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_analytics_widgets",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.115",
36
+ version: "1.2.117",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_pipeline_analytics_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.148",
39
+ version: "1.2.150",
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.68",
48
+ version: "1.2.70",
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.115",
84
+ version: "1.2.117",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,