@mega-yfue/eufy-sdk 0.6.0-beta.11 → 0.6.0-beta.12

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
@@ -19737,7 +19737,7 @@ var IDLE_END_MS = 15e3;
19737
19737
  var DEFAULT_TRANSFER_MS = 12e4;
19738
19738
  var MAX_TRANSFER_BYTES = 32 * 1024 * 1024;
19739
19739
  function homeBase2RecordingPath(channel, recording) {
19740
- if (!/^\d{14}$/.test(recording) || !Number.isInteger(channel) || channel < 0 || channel > 99)
19740
+ if (!/^(?:h265_)?\d{14}$/.test(recording) || !Number.isInteger(channel) || channel < 0 || channel > 99)
19741
19741
  return void 0;
19742
19742
  return `/media/mmcblk0p1/Camera${String(channel).padStart(2, "0")}/${recording}.dat`;
19743
19743
  }