@camstack/addon-notifiers 1.2.68 → 1.2.70

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/addon.js CHANGED
@@ -7686,7 +7686,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7686
7686
  var CameraSwitchUnavailableReasonSchema = _enum([
7687
7687
  "no-provider",
7688
7688
  "source-unreachable",
7689
- "not-configured"
7689
+ "not-configured",
7690
+ "device-disabled"
7690
7691
  ]);
7691
7692
  /**
7692
7693
  * One switch, resolved for one camera.
@@ -12927,7 +12928,12 @@ var ConfigEntrySchema = object({
12927
12928
  value: unknown(),
12928
12929
  description: string().optional()
12929
12930
  });
12930
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
12931
+ /**
12932
+ * Only `manual` since D356: the operator picks, nothing links itself. The
12933
+ * field survives on the wire because a viewer already OTA'd parses it —
12934
+ * drop it once no shipped client reads `mode`.
12935
+ */
12936
+ var LinkedDevicesModeSchema = _enum(["manual"]);
12931
12937
  /** One resolved linked device — the compact projection consumers need. */
12932
12938
  var LinkedDeviceSchema = object({
12933
12939
  deviceId: number(),
@@ -23259,12 +23265,20 @@ var BatteryStatusSchema = object({
23259
23265
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23260
23266
  * Reolink-specific for the Solar Panel 2 accessory (will become
23261
23267
  * common on other battery cams). `'none'` means running on battery
23262
- * alone.
23268
+ * alone — a NEGATIVE the firmware actually reported.
23269
+ *
23270
+ * `'unknown'` is the absence of an answer: the provider has not read the
23271
+ * power fields yet, or the firmware reported neither. Before it existed,
23272
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23273
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23274
+ * by going nullable. Consumers SKIP it (no charger state published, no
23275
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23263
23276
  */
23264
23277
  charging: _enum([
23265
23278
  "dc",
23266
23279
  "solar",
23267
- "none"
23280
+ "none",
23281
+ "unknown"
23268
23282
  ]),
23269
23283
  /**
23270
23284
  * True when the camera firmware has gone into low-power mode. Battery
package/dist/addon.mjs CHANGED
@@ -7659,7 +7659,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7659
7659
  var CameraSwitchUnavailableReasonSchema = _enum([
7660
7660
  "no-provider",
7661
7661
  "source-unreachable",
7662
- "not-configured"
7662
+ "not-configured",
7663
+ "device-disabled"
7663
7664
  ]);
7664
7665
  /**
7665
7666
  * One switch, resolved for one camera.
@@ -12900,7 +12901,12 @@ var ConfigEntrySchema = object({
12900
12901
  value: unknown(),
12901
12902
  description: string().optional()
12902
12903
  });
12903
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
12904
+ /**
12905
+ * Only `manual` since D356: the operator picks, nothing links itself. The
12906
+ * field survives on the wire because a viewer already OTA'd parses it —
12907
+ * drop it once no shipped client reads `mode`.
12908
+ */
12909
+ var LinkedDevicesModeSchema = _enum(["manual"]);
12904
12910
  /** One resolved linked device — the compact projection consumers need. */
12905
12911
  var LinkedDeviceSchema = object({
12906
12912
  deviceId: number(),
@@ -23232,12 +23238,20 @@ var BatteryStatusSchema = object({
23232
23238
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23233
23239
  * Reolink-specific for the Solar Panel 2 accessory (will become
23234
23240
  * common on other battery cams). `'none'` means running on battery
23235
- * alone.
23241
+ * alone — a NEGATIVE the firmware actually reported.
23242
+ *
23243
+ * `'unknown'` is the absence of an answer: the provider has not read the
23244
+ * power fields yet, or the firmware reported neither. Before it existed,
23245
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23246
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23247
+ * by going nullable. Consumers SKIP it (no charger state published, no
23248
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23236
23249
  */
23237
23250
  charging: _enum([
23238
23251
  "dc",
23239
23252
  "solar",
23240
- "none"
23253
+ "none",
23254
+ "unknown"
23241
23255
  ]),
23242
23256
  /**
23243
23257
  * 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-notifiers",
3
- "version": "1.2.68",
3
+ "version": "1.2.70",
4
4
  "description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
5
5
  "keywords": [
6
6
  "camstack",