@camstack/addon-cloudflare 1.1.12 → 1.1.13

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.
@@ -7032,7 +7032,21 @@ var StorageLocationDeclarationSchema = object({
7032
7032
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7033
7033
  * configure the primary location.
7034
7034
  */
7035
- defaultsTo: string().optional()
7035
+ defaultsTo: string().optional(),
7036
+ /**
7037
+ * Which node root the seeded `<id>:default` instance is placed under on a
7038
+ * FRESH install:
7039
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7040
+ * the appData volume. Right for small/durable data (backups, logs, models).
7041
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7042
+ * env is set, else falls back to the data root. Right for bulky, hot media
7043
+ * (recordings, event media) that should stay off the appData disk.
7044
+ *
7045
+ * Only affects the seeded default's `basePath`; operators can repoint any
7046
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7047
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7048
+ */
7049
+ defaultRoot: _enum(["data", "media"]).optional()
7036
7050
  });
7037
7051
  var DecoderStatsSchema = object({
7038
7052
  inputFps: number(),
@@ -7879,6 +7893,10 @@ var RtspRestreamEntrySchema = object({
7879
7893
  var BrokerRtspClientSchema = object({
7880
7894
  sessionId: string(),
7881
7895
  remoteAddr: string(),
7896
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7897
+ * null/absent when the client sent none. Lets the UI label a consumer by
7898
+ * purpose. Optional so a client built against an older schema stays valid. */
7899
+ userAgent: string().nullish(),
7882
7900
  playing: boolean(),
7883
7901
  muted: boolean(),
7884
7902
  connectedAt: number(),
@@ -7032,7 +7032,21 @@ var StorageLocationDeclarationSchema = object({
7032
7032
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7033
7033
  * configure the primary location.
7034
7034
  */
7035
- defaultsTo: string().optional()
7035
+ defaultsTo: string().optional(),
7036
+ /**
7037
+ * Which node root the seeded `<id>:default` instance is placed under on a
7038
+ * FRESH install:
7039
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7040
+ * the appData volume. Right for small/durable data (backups, logs, models).
7041
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7042
+ * env is set, else falls back to the data root. Right for bulky, hot media
7043
+ * (recordings, event media) that should stay off the appData disk.
7044
+ *
7045
+ * Only affects the seeded default's `basePath`; operators can repoint any
7046
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7047
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7048
+ */
7049
+ defaultRoot: _enum(["data", "media"]).optional()
7036
7050
  });
7037
7051
  var DecoderStatsSchema = object({
7038
7052
  inputFps: number(),
@@ -7879,6 +7893,10 @@ var RtspRestreamEntrySchema = object({
7879
7893
  var BrokerRtspClientSchema = object({
7880
7894
  sessionId: string(),
7881
7895
  remoteAddr: string(),
7896
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7897
+ * null/absent when the client sent none. Lets the UI label a consumer by
7898
+ * purpose. Optional so a client built against an older schema stays valid. */
7899
+ userAgent: string().nullish(),
7882
7900
  playing: boolean(),
7883
7901
  muted: boolean(),
7884
7902
  connectedAt: number(),
@@ -21,7 +21,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
21
21
  enumerable: true
22
22
  }) : target, mod));
23
23
  //#endregion
24
- const require_dist = require("../dist-alvZIZxU.js");
24
+ const require_dist = require("../dist-Bqz1mcNR.js");
25
25
  let node_path = require("node:path");
26
26
  node_path = __toESM(node_path);
27
27
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { a as BaseAddon, c as array, d as literal, f as number, l as boolean, m as string, n as defineCustomActions, o as EventCategory, p as object, r as networkAccessCapability, s as _enum, t as customAction } from "../dist-D4SKGARh.mjs";
1
+ import { a as BaseAddon, c as array, d as literal, f as number, l as boolean, m as string, n as defineCustomActions, o as EventCategory, p as object, r as networkAccessCapability, s as _enum, t as customAction } from "../dist-DSufp04e.mjs";
2
2
  import * as path from "node:path";
3
3
  import { randomUUID } from "node:crypto";
4
4
  import { spawn } from "node:child_process";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("../dist-alvZIZxU.js");
2
+ const require_dist = require("../dist-Bqz1mcNR.js");
3
3
  //#region src/turn/cloudflare-turn.ts
4
4
  /**
5
5
  * Cloudflare returns ICE servers in several flavours depending on which
@@ -1,4 +1,4 @@
1
- import { a as BaseAddon, d as literal, f as number, i as turnProviderCapability, l as boolean, m as string, n as defineCustomActions, p as object, t as customAction, u as discriminatedUnion } from "../dist-D4SKGARh.mjs";
1
+ import { a as BaseAddon, d as literal, f as number, i as turnProviderCapability, l as boolean, m as string, n as defineCustomActions, p as object, t as customAction, u as discriminatedUnion } from "../dist-DSufp04e.mjs";
2
2
  //#region src/turn/cloudflare-turn.ts
3
3
  /**
4
4
  * Cloudflare returns ICE servers in several flavours depending on which
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-cloudflare",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Cloudflare bundle — Tunnel (network-access) + TURN relay (turn-provider). Multi-entry npm package shipping 2 addons under a single bundle.",
5
5
  "keywords": [
6
6
  "camstack",