@mega-yfue/eufy-sdk 0.6.0-beta.16 → 0.6.0-beta.17

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/index.js CHANGED
@@ -18943,8 +18943,9 @@ var AccessUnitAssembler = class {
18943
18943
  this.onDropped?.({ carried: open2.carried, chunks: open2.chunks.length, count: this.droppedUnits });
18944
18944
  }
18945
18945
  };
18946
+ var SPLIT_UNIT_STAMP_SPREAD_MS = 100;
18946
18947
  function sameUnit(open2, next) {
18947
- return next.timestamp === open2.timestamp && next.sequence === open2.sequence;
18948
+ return next.sequence === open2.sequence && next.timestamp - open2.timestamp >>> 0 <= SPLIT_UNIT_STAMP_SPREAD_MS;
18948
18949
  }
18949
18950
  function beginsAccessUnit(body) {
18950
18951
  if (body.length < 4 || body[0] !== 0 || body[1] !== 0)