@camstack/addon-remote-storage 1.2.79 → 1.2.80

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-C7ZD8AjN.js");
5
+ const require_shared = require("./shared-Wvm6a1Wq.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-75ieank1.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-d3aGfIaq.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-C7ZD8AjN.js");
5
+ const require_shared = require("./shared-Wvm6a1Wq.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-75ieank1.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-d3aGfIaq.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
@@ -20139,8 +20139,25 @@ var occupancyRecheckFramesField = {
20139
20139
  * (analyzer attaches detected `regions[]`; onboard does not — the
20140
20140
  * camera typically only reports a binary signal plus an optional
20141
20141
  * channel/AI class which lives in dedicated event channels).
20142
- */
20143
- var MotionSourceEnum = _enum(["onboard", "analyzer"]);
20142
+ *
20143
+ * - `onboard` — the camera's firmware said something moved.
20144
+ * - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
20145
+ * - `device-activity` — the DEVICE said it is doing its job: the
20146
+ * `recording-signal` LEVEL the same device raises for the recorder
20147
+ * ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
20148
+ * republished as a motion source. It attaches **nothing** — no regions, no
20149
+ * class: the only fact it carries is that the device is active, and a robot
20150
+ * vacuum that is itself the moving object has no region worth sending. It is
20151
+ * a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
20152
+ * `analyzer` it must not open the frame-diff side-channel — the runner's
20153
+ * `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
20154
+ * way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
20155
+ */
20156
+ var MotionSourceEnum = _enum([
20157
+ "onboard",
20158
+ "analyzer",
20159
+ "device-activity"
20160
+ ]);
20144
20161
  /**
20145
20162
  * List of motion sources active on a camera. Empty array is valid:
20146
20163
  * "no source" — happens for battery cams without firmware motion when
@@ -20116,8 +20116,25 @@ var occupancyRecheckFramesField = {
20116
20116
  * (analyzer attaches detected `regions[]`; onboard does not — the
20117
20117
  * camera typically only reports a binary signal plus an optional
20118
20118
  * channel/AI class which lives in dedicated event channels).
20119
- */
20120
- var MotionSourceEnum = _enum(["onboard", "analyzer"]);
20119
+ *
20120
+ * - `onboard` — the camera's firmware said something moved.
20121
+ * - `analyzer` — this runner's frame-diff said so, and attaches `regions[]`.
20122
+ * - `device-activity` — the DEVICE said it is doing its job: the
20123
+ * `recording-signal` LEVEL the same device raises for the recorder
20124
+ * ([D380](../../../../docs/decisions/adr-0380-a-device-decided-recording-is-a-mode-with-no-schedule-seeded-once.md)),
20125
+ * republished as a motion source. It attaches **nothing** — no regions, no
20126
+ * class: the only fact it carries is that the device is active, and a robot
20127
+ * vacuum that is itself the moving object has no region worth sending. It is
20128
+ * a LEVEL, so unlike `onboard` it has a real falling edge, and unlike
20129
+ * `analyzer` it must not open the frame-diff side-channel — the runner's
20130
+ * `handleOnboardMotionAnalyzer` gate is `source === 'onboard'` and stays that
20131
+ * way ([D392](../../../../docs/decisions/adr-0392-a-device-that-says-it-is-working-is-a-motion-source-of-its-own.md)).
20132
+ */
20133
+ var MotionSourceEnum = _enum([
20134
+ "onboard",
20135
+ "analyzer",
20136
+ "device-activity"
20137
+ ]);
20121
20138
  /**
20122
20139
  * List of motion sources active on a camera. Empty array is valid:
20123
20140
  * "no source" — happens for battery cams without firmware motion when
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-C7ZD8AjN.js");
5
+ const require_shared = require("./shared-Wvm6a1Wq.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-75ieank1.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-d3aGfIaq.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-C7ZD8AjN.js");
5
+ const require_shared = require("./shared-Wvm6a1Wq.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-75ieank1.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-d3aGfIaq.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.79",
3
+ "version": "1.2.80",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV, SMB) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",