@camstack/addon-decoder-nodeav 1.2.65 → 1.2.66

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/index.js CHANGED
@@ -7553,7 +7553,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7553
7553
  var CameraSwitchUnavailableReasonSchema = _enum([
7554
7554
  "no-provider",
7555
7555
  "source-unreachable",
7556
- "not-configured"
7556
+ "not-configured",
7557
+ "device-disabled"
7557
7558
  ]);
7558
7559
  /**
7559
7560
  * One switch, resolved for one camera.
@@ -23206,12 +23207,20 @@ var BatteryStatusSchema = object({
23206
23207
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23207
23208
  * Reolink-specific for the Solar Panel 2 accessory (will become
23208
23209
  * common on other battery cams). `'none'` means running on battery
23209
- * alone.
23210
+ * alone — a NEGATIVE the firmware actually reported.
23211
+ *
23212
+ * `'unknown'` is the absence of an answer: the provider has not read the
23213
+ * power fields yet, or the firmware reported neither. Before it existed,
23214
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23215
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23216
+ * by going nullable. Consumers SKIP it (no charger state published, no
23217
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23210
23218
  */
23211
23219
  charging: _enum([
23212
23220
  "dc",
23213
23221
  "solar",
23214
- "none"
23222
+ "none",
23223
+ "unknown"
23215
23224
  ]),
23216
23225
  /**
23217
23226
  * True when the camera firmware has gone into low-power mode. Battery
package/dist/index.mjs CHANGED
@@ -7549,7 +7549,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7549
7549
  var CameraSwitchUnavailableReasonSchema = _enum([
7550
7550
  "no-provider",
7551
7551
  "source-unreachable",
7552
- "not-configured"
7552
+ "not-configured",
7553
+ "device-disabled"
7553
7554
  ]);
7554
7555
  /**
7555
7556
  * One switch, resolved for one camera.
@@ -23202,12 +23203,20 @@ var BatteryStatusSchema = object({
23202
23203
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23203
23204
  * Reolink-specific for the Solar Panel 2 accessory (will become
23204
23205
  * common on other battery cams). `'none'` means running on battery
23205
- * alone.
23206
+ * alone — a NEGATIVE the firmware actually reported.
23207
+ *
23208
+ * `'unknown'` is the absence of an answer: the provider has not read the
23209
+ * power fields yet, or the firmware reported neither. Before it existed,
23210
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23211
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23212
+ * by going nullable. Consumers SKIP it (no charger state published, no
23213
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23206
23214
  */
23207
23215
  charging: _enum([
23208
23216
  "dc",
23209
23217
  "solar",
23210
- "none"
23218
+ "none",
23219
+ "unknown"
23211
23220
  ]),
23212
23221
  /**
23213
23222
  * True when the camera firmware has gone into low-power mode. Battery
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.65",
3
+ "version": "1.2.66",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",