@mega-yfue/eufy-sdk 0.5.0-beta.56 → 0.5.0-beta.57
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 +2 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4601,7 +4601,7 @@ function decodePowerSource(raw) {
|
|
|
4601
4601
|
function recordSetting(param, value, ctx) {
|
|
4602
4602
|
return setStationScalar(param, value, ctx.channel);
|
|
4603
4603
|
}
|
|
4604
|
-
var MAINS_CAMERA_MODELS = ["T8425", "T8419", "T8410", "T84A1", "T8423"];
|
|
4604
|
+
var MAINS_CAMERA_MODELS = ["T8425", "T8419", "T8410", "T84A1", "T8423", "T8E00", "T8P00"];
|
|
4605
4605
|
function cameraPowerTier(model, capabilities) {
|
|
4606
4606
|
return capabilities.has("battery") && notMainsCamera({ model }) ? "battery" : "wired";
|
|
4607
4607
|
}
|
|
@@ -17585,7 +17585,7 @@ var P2PSession = class _P2PSession extends EventEmitter2 {
|
|
|
17585
17585
|
} catch {
|
|
17586
17586
|
}
|
|
17587
17587
|
}
|
|
17588
|
-
if (header.commandId === CMD_GATEWAYINFO && header.signCode
|
|
17588
|
+
if (header.commandId === CMD_GATEWAYINFO && header.signCode <= 1 && !this.level2Key && !this.level2Negotiating && this.cfg.resolveCipherKey) {
|
|
17589
17589
|
this.negotiateLevel2Key(data);
|
|
17590
17590
|
}
|
|
17591
17591
|
if (header.commandId === CMD_DATABASE && header.signCode > 0) {
|