@camstack/addon-provider-wyze 0.1.9 → 0.1.11

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
@@ -7080,7 +7080,21 @@ var StorageLocationDeclarationSchema = object({
7080
7080
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7081
7081
  * configure the primary location.
7082
7082
  */
7083
- defaultsTo: string().optional()
7083
+ defaultsTo: string().optional(),
7084
+ /**
7085
+ * Which node root the seeded `<id>:default` instance is placed under on a
7086
+ * FRESH install:
7087
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7088
+ * the appData volume. Right for small/durable data (backups, logs, models).
7089
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7090
+ * env is set, else falls back to the data root. Right for bulky, hot media
7091
+ * (recordings, event media) that should stay off the appData disk.
7092
+ *
7093
+ * Only affects the seeded default's `basePath`; operators can repoint any
7094
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7095
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7096
+ */
7097
+ defaultRoot: _enum(["data", "media"]).optional()
7084
7098
  });
7085
7099
  var DecoderStatsSchema = object({
7086
7100
  inputFps: number(),
@@ -8436,6 +8450,10 @@ var RtspRestreamEntrySchema = object({
8436
8450
  var BrokerRtspClientSchema = object({
8437
8451
  sessionId: string(),
8438
8452
  remoteAddr: string(),
8453
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8454
+ * null/absent when the client sent none. Lets the UI label a consumer by
8455
+ * purpose. Optional so a client built against an older schema stays valid. */
8456
+ userAgent: string().nullish(),
8439
8457
  playing: boolean(),
8440
8458
  muted: boolean(),
8441
8459
  connectedAt: number(),
package/dist/addon.mjs CHANGED
@@ -7059,7 +7059,21 @@ var StorageLocationDeclarationSchema = object({
7059
7059
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7060
7060
  * configure the primary location.
7061
7061
  */
7062
- defaultsTo: string().optional()
7062
+ defaultsTo: string().optional(),
7063
+ /**
7064
+ * Which node root the seeded `<id>:default` instance is placed under on a
7065
+ * FRESH install:
7066
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7067
+ * the appData volume. Right for small/durable data (backups, logs, models).
7068
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7069
+ * env is set, else falls back to the data root. Right for bulky, hot media
7070
+ * (recordings, event media) that should stay off the appData disk.
7071
+ *
7072
+ * Only affects the seeded default's `basePath`; operators can repoint any
7073
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7074
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7075
+ */
7076
+ defaultRoot: _enum(["data", "media"]).optional()
7063
7077
  });
7064
7078
  var DecoderStatsSchema = object({
7065
7079
  inputFps: number(),
@@ -8415,6 +8429,10 @@ var RtspRestreamEntrySchema = object({
8415
8429
  var BrokerRtspClientSchema = object({
8416
8430
  sessionId: string(),
8417
8431
  remoteAddr: string(),
8432
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8433
+ * null/absent when the client sent none. Lets the UI label a consumer by
8434
+ * purpose. Optional so a client built against an older schema stays valid. */
8435
+ userAgent: string().nullish(),
8418
8436
  playing: boolean(),
8419
8437
  muted: boolean(),
8420
8438
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",