eufy-security-client 3.8.0-dev.18 → 3.8.0-dev.19
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/build/http/device.d.ts +2 -0
- package/build/http/device.js +14 -1
- package/build/http/device.js.map +1 -1
- package/build/http/station.js +47 -22
- package/build/http/station.js.map +1 -1
- package/build/http/types.d.ts +1 -0
- package/build/http/types.js +29 -0
- package/build/http/types.js.map +1 -1
- package/build/p2p/session.js +2 -1
- package/build/p2p/session.js.map +1 -1
- package/coverage/clover.xml +5489 -5484
- package/coverage/coverage-final.json +4 -4
- package/coverage/lcov-report/index.html +16 -16
- package/coverage/lcov.info +10033 -9991
- package/package.json +1 -1
package/build/http/device.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export declare class Device extends TypedEmitter<DeviceEvents> {
|
|
|
72
72
|
static isLockWifiNoFinger(type: number): boolean;
|
|
73
73
|
static isLockWifiT8531(type: number): boolean;
|
|
74
74
|
static isLockWifiT85D0(type: number): boolean;
|
|
75
|
+
static isLockWifiT85P0(type: number): boolean;
|
|
75
76
|
static isLockWifiR10(type: number): boolean;
|
|
76
77
|
static isLockWifiR20(type: number): boolean;
|
|
77
78
|
static isLockWifiVideo(type: number): boolean;
|
|
@@ -171,6 +172,7 @@ export declare class Device extends TypedEmitter<DeviceEvents> {
|
|
|
171
172
|
isLockWifiT8531(): boolean;
|
|
172
173
|
isLockWifiT85V0(): boolean;
|
|
173
174
|
isLockWifiT85L0(): boolean;
|
|
175
|
+
isLockWifiT85P0(): boolean;
|
|
174
176
|
isBatteryDoorbell1(): boolean;
|
|
175
177
|
isBatteryDoorbell2(): boolean;
|
|
176
178
|
isBatteryDoorbellDual(): boolean;
|
package/build/http/device.js
CHANGED
|
@@ -1432,6 +1432,9 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
1432
1432
|
else if (property.name === types_1.PropertyName.Model && this.isLockWifiT85V0()) {
|
|
1433
1433
|
return "T85V0";
|
|
1434
1434
|
}
|
|
1435
|
+
else if (property.name === types_1.PropertyName.Model && this.isLockWifiT85P0()) {
|
|
1436
|
+
return "T85P0";
|
|
1437
|
+
}
|
|
1435
1438
|
else if (property.type === "number") {
|
|
1436
1439
|
const numericProperty = property;
|
|
1437
1440
|
try {
|
|
@@ -1790,6 +1793,7 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
1790
1793
|
type == types_1.DeviceType.LOCK_85V0 ||
|
|
1791
1794
|
type == types_1.DeviceType.LOCK_8502 ||
|
|
1792
1795
|
type == types_1.DeviceType.LOCK_85L0 ||
|
|
1796
|
+
type == types_1.DeviceType.LOCK_85P0 ||
|
|
1793
1797
|
type == types_1.DeviceType.SMART_SAFE_7400 ||
|
|
1794
1798
|
type == types_1.DeviceType.SMART_SAFE_7401 ||
|
|
1795
1799
|
type == types_1.DeviceType.SMART_SAFE_7402 ||
|
|
@@ -1968,7 +1972,8 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
1968
1972
|
Device.isLockWifiT8502(type) ||
|
|
1969
1973
|
Device.isLockWifiT85L0(type) ||
|
|
1970
1974
|
Device.isLockWifiT8531(type) ||
|
|
1971
|
-
Device.isLockWifiT85D0(type)
|
|
1975
|
+
Device.isLockWifiT85D0(type) ||
|
|
1976
|
+
Device.isLockWifiT85P0(type));
|
|
1972
1977
|
}
|
|
1973
1978
|
static isLockKeypad(type) {
|
|
1974
1979
|
return Device.isLockWifiR10Keypad(type) || Device.isLockWifiR20Keypad(type);
|
|
@@ -1994,6 +1999,10 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
1994
1999
|
static isLockWifiT85D0(type) {
|
|
1995
2000
|
return types_1.DeviceType.LOCK_85D0 == type;
|
|
1996
2001
|
}
|
|
2002
|
+
static isLockWifiT85P0(type) {
|
|
2003
|
+
//T85P0
|
|
2004
|
+
return types_1.DeviceType.LOCK_85P0 == type;
|
|
2005
|
+
}
|
|
1997
2006
|
static isLockWifiR10(type) {
|
|
1998
2007
|
return types_1.DeviceType.LOCK_8503 == type;
|
|
1999
2008
|
}
|
|
@@ -2259,6 +2268,7 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
2259
2268
|
return (sn.startsWith("T8510") ||
|
|
2260
2269
|
sn.startsWith("T8520") ||
|
|
2261
2270
|
sn.startsWith("T85V0") ||
|
|
2271
|
+
sn.startsWith("T85P0") ||
|
|
2262
2272
|
sn.startsWith("T8500") ||
|
|
2263
2273
|
sn.startsWith("T8501") ||
|
|
2264
2274
|
sn.startsWith("T8503") ||
|
|
@@ -2404,6 +2414,9 @@ class Device extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
2404
2414
|
isLockWifiT85L0() {
|
|
2405
2415
|
return Device.isLockWifiT85L0(this.rawDevice.device_type);
|
|
2406
2416
|
}
|
|
2417
|
+
isLockWifiT85P0() {
|
|
2418
|
+
return Device.isLockWifiT85P0(this.rawDevice.device_type);
|
|
2419
|
+
}
|
|
2407
2420
|
isBatteryDoorbell1() {
|
|
2408
2421
|
return Device.isBatteryDoorbell1(this.rawDevice.device_type);
|
|
2409
2422
|
}
|