@camstack/addon-remote-storage 1.2.81 → 1.2.82

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-BW-dW7Jh.js");
5
+ const require_shared = require("./shared-CCTASNJI.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-D53CqDis.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, n as getOptionalBasePath, o as scheduleIdleAbort, s as storageProviderCapability, t as createSessionId } from "./shared-B5I6yx9T.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-BW-dW7Jh.js");
5
+ const require_shared = require("./shared-CCTASNJI.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-D53CqDis.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-B5I6yx9T.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
@@ -27142,8 +27142,27 @@ var PrivacyMaskRegionSchema = object({
27142
27142
  });
27143
27143
  object({
27144
27144
  enabled: boolean(),
27145
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27146
- regions: array(PrivacyMaskRegionSchema),
27145
+ /**
27146
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27147
+ *
27148
+ * `null` means "no answer" — the provider has never reached this camera
27149
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27150
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27151
+ * has no zones": those two look identical to an operator right up to the
27152
+ * moment one of them is acted on, and acting on them differs completely.
27153
+ * The switch group turned an unanswered read into *"nothing is set up for
27154
+ * it to act on"* — an instruction to go and draw a zone that already
27155
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27156
+ * from deleting the mask it could not read.
27157
+ *
27158
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27159
+ * has no zones. The distinction is the same one {@link
27160
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27161
+ * microphone, on the very same payload — both planes come from ONE refresh,
27162
+ * so it was never coherent for one of them to be able to say "unknown"
27163
+ * while the other could not.
27164
+ */
27165
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27147
27166
  /**
27148
27167
  * Is the camera capturing sound right now? Read from the camera, never from
27149
27168
  * a server-side mirror.
@@ -27165,8 +27165,27 @@ var PrivacyMaskRegionSchema = object({
27165
27165
  });
27166
27166
  object({
27167
27167
  enabled: boolean(),
27168
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
27169
- regions: array(PrivacyMaskRegionSchema),
27168
+ /**
27169
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
27170
+ *
27171
+ * `null` means "no answer" — the provider has never reached this camera
27172
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
27173
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
27174
+ * has no zones": those two look identical to an operator right up to the
27175
+ * moment one of them is acted on, and acting on them differs completely.
27176
+ * The switch group turned an unanswered read into *"nothing is set up for
27177
+ * it to act on"* — an instruction to go and draw a zone that already
27178
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
27179
+ * from deleting the mask it could not read.
27180
+ *
27181
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
27182
+ * has no zones. The distinction is the same one {@link
27183
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
27184
+ * microphone, on the very same payload — both planes come from ONE refresh,
27185
+ * so it was never coherent for one of them to be able to say "unknown"
27186
+ * while the other could not.
27187
+ */
27188
+ regions: array(PrivacyMaskRegionSchema).nullable(),
27170
27189
  /**
27171
27190
  * Is the camera capturing sound right now? Read from the camera, never from
27172
27191
  * a server-side mirror.
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-BW-dW7Jh.js");
5
+ const require_shared = require("./shared-CCTASNJI.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-D53CqDis.mjs";
1
+ import { c as BaseAddon, i as rearmIdleAbort, o as scheduleIdleAbort, s as storageProviderCapability } from "./shared-B5I6yx9T.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-BW-dW7Jh.js");
5
+ const require_shared = require("./shared-CCTASNJI.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-D53CqDis.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-B5I6yx9T.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.81",
3
+ "version": "1.2.82",
4
4
  "description": "Remote storage providers (SFTP, S3, WebDAV, SMB) — unifies remote backends behind the storage-provider cap",
5
5
  "keywords": [
6
6
  "camstack",