@mega-yfue/eufy-sdk 0.6.0-beta.45 → 0.6.0-beta.47

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.
@@ -258,14 +258,14 @@ export declare class StateConvergenceError extends Error {
258
258
  constructor(failure: StateConvergenceFailure);
259
259
  }
260
260
  /**
261
- * Wire form for a scalar {@link Command} `"set-param"` intent — how the write is sealed. The BODY is the
262
- * same struct in every case — `[u32 channel][u32 value][account_id → 128B]` — so these choose only the
263
- * encryption.
261
+ * Wire form for a scalar {@link Command} `"set-param"` intent — how the write is sealed. The BODY is
262
+ * `[u32 channel][u32 value][account_id → 128B]` in every form but `"int-pair"`.
264
263
  *
265
264
  * - `"int-string"` pins level-1 (AES-128-ECB), `"direct-binary"` pins level-2 (AES-256-GCM).
265
+ * - `"int-pair"` pins level-1 with the bare `[u32 channel][u32 value]` body and no account id.
266
266
  * - `"auto"` lets the transport pick the level, which it resolves from the session it will send on.
267
267
  */
268
- export type ScalarForm = "auto" | "int-string" | "direct-binary";
268
+ export type ScalarForm = "auto" | "int-string" | "int-pair" | "direct-binary";
269
269
  /**
270
270
  * The identity fields an actuation frame is built from — for `ff09`, the AES key/IV inputs
271
271
  * (`adminUserId`/`deviceSn`) plus the frame's own direction bit and user-attribution fields