eufy-security-client 3.7.1 → 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 (43) hide show
  1. package/README.md +4 -0
  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 -9
  9. package/build/http/device.js.map +1 -1
  10. package/build/http/models.d.ts +0 -1
  11. package/build/http/parameter.js +1 -1
  12. package/build/http/parameter.js.map +1 -1
  13. package/build/http/station.js +94 -25
  14. package/build/http/station.js.map +1 -1
  15. package/build/http/types.d.ts +10 -0
  16. package/build/http/types.js +545 -2
  17. package/build/http/types.js.map +1 -1
  18. package/build/http/utils.d.ts +2 -2
  19. package/build/http/utils.js +5 -5
  20. package/build/http/utils.js.map +1 -1
  21. package/build/p2p/session.js +35 -75
  22. package/build/p2p/session.js.map +1 -1
  23. package/build/p2p/utils.d.ts +0 -10
  24. package/build/p2p/utils.js +3 -63
  25. package/build/p2p/utils.js.map +1 -1
  26. package/build/push/service.js +9 -1
  27. package/build/push/service.js.map +1 -1
  28. package/build/push/types.d.ts +3 -1
  29. package/build/push/types.js +2 -0
  30. package/build/push/types.js.map +1 -1
  31. package/coverage/clover.xml +13183 -10572
  32. package/coverage/coverage-final.json +31 -21
  33. package/coverage/lcov-report/index.html +65 -50
  34. package/coverage/lcov.info +25588 -20513
  35. package/package.json +3 -3
  36. package/.idea/eufy-security-client.iml +0 -12
  37. package/.idea/modules.xml +0 -8
  38. package/.idea/vcs.xml +0 -7
  39. package/a.ts +0 -61
  40. package/bin/act +0 -0
  41. package/coverage/lcov-report/error.ts.html +0 -871
  42. package/coverage/lcov-report/logging.ts.html +0 -598
  43. package/dont-care.js +0 -101
package/README.md CHANGED
@@ -105,6 +105,10 @@ Instructions aimed at maintainers for deploying a new version: [Deployment](docs
105
105
 
106
106
  ## Changelog
107
107
 
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
+
108
112
  ### 3.7.1 (2026-02-15)
109
113
 
110
114
  * Fix: ECDH livestream for E340 doorbell and T8425 floodlight by @lenoxys in https://github.com/bropat/eufy-security-client/pull/779
@@ -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) {