@camstack/addon-remote-storage 1.2.75 → 1.2.76

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/s3.addon.js CHANGED
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-BFq0ZzN8.js");
5
+ const require_shared = require("./shared-DlUg7bET.js");
6
6
  let node_stream = require("node:stream");
7
7
  let _aws_sdk_client_s3 = require("@aws-sdk/client-s3");
8
8
  let _aws_sdk_lib_storage = require("@aws-sdk/lib-storage");
package/dist/s3.addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-CTsaqcNM.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-Ch1dJcLf.mjs";
2
2
  import { PassThrough } from "node:stream";
3
3
  import { DeleteObjectCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectsV2Command, PutObjectCommand, S3Client } from "@aws-sdk/client-s3";
4
4
  import { Upload } from "@aws-sdk/lib-storage";
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-BFq0ZzN8.js");
5
+ const require_shared = require("./shared-DlUg7bET.js");
6
6
  let ssh2 = require("ssh2");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_shared.__toESM(node_path);
@@ -1,4 +1,4 @@
1
- import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-CTsaqcNM.mjs";
1
+ import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-Ch1dJcLf.mjs";
2
2
  import { Client } from "ssh2";
3
3
  import * as path from "node:path";
4
4
  //#region src/providers/sftp/sftp-config-schema.ts
@@ -7936,13 +7936,28 @@ var RecordingBandSchema = object({
7936
7936
  end: string().regex(HHMM),
7937
7937
  mode: RecordingBandModeSchema,
7938
7938
  triggers: RecordingBandTriggersSchema.optional(),
7939
+ /**
7940
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
7941
+ *
7942
+ * It was the retroactive KEEP bound — which already-written segments survive
7943
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
7944
+ * broker could serve, or the gate would delete the seconds the ring had just
7945
+ * handed the writer. That "at least as wide as" is the tell: it was a second
7946
+ * expression of the broker's retention, in different units, in a different
7947
+ * addon, with an invariant the operator had to maintain by hand. The keep
7948
+ * bound is now derived from the one prebuffer ceiling and there is nothing
7949
+ * left to configure here.
7950
+ *
7951
+ * The key survives in the SHAPE so a config written before that record still
7952
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
7953
+ * strict, so simply deleting it would strip an operator's value in silence on
7954
+ * the next save (the failure D380 came one commit from shipping). Nothing
7955
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
7956
+ */
7939
7957
  preBufferSec: number().min(0).optional(),
7940
7958
  postBufferSec: number().min(0).optional()
7941
7959
  });
7942
- ({
7943
- preBufferSec: 15,
7944
- postBufferSec: 30
7945
- }).postBufferSec * 1e3;
7960
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
7946
7961
  /**
7947
7962
  * Per-device retention overrides. Every field is optional; an unset or `0`
7948
7963
  * value inherits the node-wide recorder default. Only footage-lifetime limits
@@ -7959,13 +7959,28 @@ var RecordingBandSchema = object({
7959
7959
  end: string().regex(HHMM),
7960
7960
  mode: RecordingBandModeSchema,
7961
7961
  triggers: RecordingBandTriggersSchema.optional(),
7962
+ /**
7963
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
7964
+ *
7965
+ * It was the retroactive KEEP bound — which already-written segments survive
7966
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
7967
+ * broker could serve, or the gate would delete the seconds the ring had just
7968
+ * handed the writer. That "at least as wide as" is the tell: it was a second
7969
+ * expression of the broker's retention, in different units, in a different
7970
+ * addon, with an invariant the operator had to maintain by hand. The keep
7971
+ * bound is now derived from the one prebuffer ceiling and there is nothing
7972
+ * left to configure here.
7973
+ *
7974
+ * The key survives in the SHAPE so a config written before that record still
7975
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
7976
+ * strict, so simply deleting it would strip an operator's value in silence on
7977
+ * the next save (the failure D380 came one commit from shipping). Nothing
7978
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
7979
+ */
7962
7980
  preBufferSec: number().min(0).optional(),
7963
7981
  postBufferSec: number().min(0).optional()
7964
7982
  });
7965
- ({
7966
- preBufferSec: 15,
7967
- postBufferSec: 30
7968
- }).postBufferSec * 1e3;
7983
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
7969
7984
  /**
7970
7985
  * Per-device retention overrides. Every field is optional; an unset or `0`
7971
7986
  * value inherits the node-wide recorder default. Only footage-lifetime limits
package/dist/smb.addon.js CHANGED
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-BFq0ZzN8.js");
5
+ const require_shared = require("./shared-DlUg7bET.js");
6
6
  let node_crypto = require("node:crypto");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_shared.__toESM(node_path);
@@ -1,4 +1,4 @@
1
- import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-CTsaqcNM.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-Ch1dJcLf.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import * as path from "node:path";
4
4
  import * as fsp from "node:fs/promises";
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_shared = require("./shared-BFq0ZzN8.js");
5
+ const require_shared = require("./shared-DlUg7bET.js");
6
6
  let node_stream = require("node:stream");
7
7
  let webdav = require("webdav");
8
8
  //#region src/providers/webdav/webdav-config-schema.ts
@@ -1,4 +1,4 @@
1
- import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-CTsaqcNM.mjs";
1
+ import { a as safeJoinRemotePath, c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, r as getRequiredBasePath, s as storageProviderCapability, t as createSessionId } from "./shared-Ch1dJcLf.mjs";
2
2
  import { PassThrough } from "node:stream";
3
3
  import { AuthType, createClient } from "webdav";
4
4
  //#region src/providers/webdav/webdav-config-schema.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-remote-storage",
3
- "version": "1.2.75",
3
+ "version": "1.2.76",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV, SMB) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",