@mega-yfue/eufy-sdk 0.6.0-beta.42 → 0.6.0-beta.43

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.
@@ -60,7 +60,6 @@ export interface ThingProperty {
60
60
  readonly step?: number;
61
61
  readonly unit?: string;
62
62
  readonly readConditions: ThingConditions;
63
- readonly writeConditions: ThingConditions;
64
63
  readonly availableConditions: ThingConditions;
65
64
  }
66
65
  /** One action of a thing description; its input and output types, when declared. */
@@ -103,8 +102,8 @@ export interface ThingDescription {
103
102
  /**
104
103
  * What a device's conditions are evaluated against. `stationSerial` is the serial of the station the
105
104
  * device is reached through — its own serial when it stands alone — and `stationFirmwareVersion` that
106
- * station's firmware. An `associated_field` / `parent_associated_field` condition compares an empty
107
- * string. `params` are the device's reported `param_type → value`, for `camera_info`.
105
+ * station's firmware. `params` are the device's reported `param_type → value`, which `camera_info` reads and
106
+ * an `associated_field` derives the other property's value from.
108
107
  */
109
108
  export interface ThingFacts {
110
109
  readonly serial?: string;
@@ -125,8 +124,7 @@ export declare function conditionsPass(list: ThingConditions, facts: ThingFacts)
125
124
  * `identifier__vN` whose read conditions pass (a variant without read conditions is never chosen), the
126
125
  * one with the most conditions, the first listed on a tie, else the base `identifier`. The chosen
127
126
  * property's `identifier` keeps the variant's name. A property whose available conditions fail is left
128
- * out, as are actions and events whose available conditions fail. A property whose write conditions fail
129
- * is held as `R`.
127
+ * out, as are actions and events whose available conditions fail.
130
128
  */
131
129
  export declare function resolveThing(td: ThingDescription, facts: ThingFacts): ThingDescription;
132
130
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mega-yfue/eufy-sdk",
3
- "version": "0.6.0-beta.42",
3
+ "version": "0.6.0-beta.43",
4
4
  "description": "One typed TypeScript client for the Anker eufy v6 cloud — capability-driven devices, realtime events over P2P/MQTT/push, and live media",
5
5
  "license": "Apache-2.0",
6
6
  "author": "mega-yfue",