eufy-security-client 3.7.0 → 3.7.2-dev.1

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.
Files changed (41) hide show
  1. package/README.md +10 -1
  2. package/build/eufysecurity.js +7 -3
  3. package/build/eufysecurity.js.map +1 -1
  4. package/build/http/api.d.ts +1 -1
  5. package/build/http/api.js +4 -4
  6. package/build/http/api.js.map +1 -1
  7. package/build/http/device.d.ts +13 -0
  8. package/build/http/device.js +96 -7
  9. package/build/http/device.js.map +1 -1
  10. package/build/http/parameter.js +9 -0
  11. package/build/http/parameter.js.map +1 -1
  12. package/build/http/station.js +91 -23
  13. package/build/http/station.js.map +1 -1
  14. package/build/http/types.d.ts +10 -0
  15. package/build/http/types.js +545 -2
  16. package/build/http/types.js.map +1 -1
  17. package/build/http/utils.d.ts +2 -2
  18. package/build/http/utils.js +5 -5
  19. package/build/http/utils.js.map +1 -1
  20. package/build/p2p/session.js +14 -2
  21. package/build/p2p/session.js.map +1 -1
  22. package/build/p2p/utils.js +1 -0
  23. package/build/p2p/utils.js.map +1 -1
  24. package/build/push/service.js +9 -1
  25. package/build/push/service.js.map +1 -1
  26. package/build/push/types.d.ts +3 -1
  27. package/build/push/types.js +2 -0
  28. package/build/push/types.js.map +1 -1
  29. package/coverage/clover.xml +13183 -10572
  30. package/coverage/coverage-final.json +31 -21
  31. package/coverage/lcov-report/index.html +65 -50
  32. package/coverage/lcov.info +25588 -20513
  33. package/package.json +3 -3
  34. package/.idea/eufy-security-client.iml +0 -12
  35. package/.idea/modules.xml +0 -8
  36. package/.idea/vcs.xml +0 -7
  37. package/a.ts +0 -61
  38. package/bin/act +0 -0
  39. package/coverage/lcov-report/error.ts.html +0 -871
  40. package/coverage/lcov-report/logging.ts.html +0 -598
  41. package/dont-care.js +0 -101
package/README.md CHANGED
@@ -105,7 +105,16 @@ Instructions aimed at maintainers for deploying a new version: [Deployment](docs
105
105
 
106
106
  ## Changelog
107
107
 
108
- ### 3.7.0 (2026-02-14)
108
+ ### 3.7.2 (2026-02-16)
109
+ * Fix: Revert due to failure to communicate with HB3 https://github.com/bropat/eufy-security-client/pull/790
110
+ * Fix: 2FA login by @lenoxys in https://github.com/bropat/eufy-security-client/pull/789
111
+
112
+ ### 3.7.1 (2026-02-15)
113
+
114
+ * Fix: ECDH livestream for E340 doorbell and T8425 floodlight by @lenoxys in https://github.com/bropat/eufy-security-client/pull/779
115
+ * Fix: Parameter parsing failure by @max246 in https://github.com/bropat/eufy-security-client/pull/786
116
+
117
+ [### 3.7.0 (2026-02-14)
109
118
 
110
119
  * Upgrade packages mqtt, qs and date-and-time in https://github.com/bropat/eufy-security-client/pull/781
111
120
  * Refactor: Add testing and simplify http package by @max246 in https://github.com/bropat/eufy-security-client/pull/778
@@ -2019,7 +2019,8 @@ class EufySecurity extends tiny_typed_emitter_1.TypedEmitter {
2019
2019
  !device.isLockWifiT8506() &&
2020
2020
  !device.isLockWifiT8502() &&
2021
2021
  !device.isLockWifiT8510P() &&
2022
- !device.isLockWifiT8520P()) ||
2022
+ !device.isLockWifiT8520P() &&
2023
+ !device.isLockWifiT85L0()) ||
2023
2024
  (result.customData !== undefined &&
2024
2025
  result.customData.property !== undefined &&
2025
2026
  device.isSmartSafe() &&
@@ -2029,7 +2030,8 @@ class EufySecurity extends tiny_typed_emitter_1.TypedEmitter {
2029
2030
  (device.isLockWifiT8506() ||
2030
2031
  device.isLockWifiT8502() ||
2031
2032
  device.isLockWifiT8510P() ||
2032
- device.isLockWifiT8520P()) &&
2033
+ device.isLockWifiT8520P() ||
2034
+ device.isLockWifiT85L0()) &&
2033
2035
  result.command_type !== types_2.CommandType.CMD_DOORLOCK_SET_PUSH_MODE)) {
2034
2036
  if (device.hasProperty(result.customData.property.name)) {
2035
2037
  const metadata = device.getPropertyMetadata(result.customData.property.name);
@@ -2801,7 +2803,9 @@ class EufySecurity extends tiny_typed_emitter_1.TypedEmitter {
2801
2803
  if ((device.isLockWifiT8506() ||
2802
2804
  device.isLockWifiT8502() ||
2803
2805
  device.isLockWifiT8510P() ||
2804
- device.isLockWifiT8520P()) &&
2806
+ device.isLockWifiT8520P() ||
2807
+ device.isLockWifiT8531() ||
2808
+ device.isLockWifiT85L0()) &&
2805
2809
  user.password_list.length > 0) {
2806
2810
  for (const entry of user.password_list) {
2807
2811
  if (entry.password_type === types_1.UserPasswordType.PIN) {