eufy-security-client 4.0.0-dev.34 → 4.0.0-dev.35
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/README.md +32 -0
- package/coverage/clover.xml +6 -6
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/index.html +5 -5
- package/coverage/lcov.info +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# eufy-security-client
|
|
2
2
|
|
|
3
|
+
> [!CAUTION]
|
|
4
|
+
> # 🚨🚨🚨 LIBRARY DEPRECATION NOTICE 🚨🚨🚨
|
|
5
|
+
>
|
|
6
|
+
> ### ⚠️ Eufy is shutting down the legacy APIs this library is built on. ⚠️
|
|
7
|
+
>
|
|
8
|
+
> Eufy is in the middle of a large migration of their ecosystem. The newer **Eufy Mega**
|
|
9
|
+
> platform (the "5-in-1" app, covering Security / Clean / Lights / Care) is gradually
|
|
10
|
+
> becoming the only supported backend, and Eufy has **already started removing access to
|
|
11
|
+
> the legacy APIs** this library was originally built on. Until recently both worked in
|
|
12
|
+
> parallel — that is no longer guaranteed.
|
|
13
|
+
>
|
|
14
|
+
> **🔔 What this means for you:**
|
|
15
|
+
>
|
|
16
|
+
> - 🟢 A recent PR restores **push notifications** against the new v6 ("eufy_mega")
|
|
17
|
+
> backend, so push works again **for now**. This is a short-term stopgap.
|
|
18
|
+
> - 🟡 Other functionality that still depends on legacy endpoints may stop working
|
|
19
|
+
> **without warning** as Eufy continues the rollout. The current Eufy app no longer
|
|
20
|
+
> uses the legacy API at all.
|
|
21
|
+
> - 🔴 Once the legacy API is fully shut down, **this library will stop functioning** —
|
|
22
|
+
> no amount of patching here will change that.
|
|
23
|
+
>
|
|
24
|
+
> **🚧 What's next:**
|
|
25
|
+
>
|
|
26
|
+
> A new integration built around **Eufy Mega** is in active development (auto-discovery,
|
|
27
|
+
> less battery drain for P2P), designed from the ground up rather than bolted onto the
|
|
28
|
+
> Security-only structure, and coordinated across the Home Assistant, Homebridge and
|
|
29
|
+
> Homey communities so the new library works for everyone.
|
|
30
|
+
>
|
|
31
|
+
> ### 👉 Treat this release as a **temporary stopgap.** 👈
|
|
32
|
+
>
|
|
33
|
+
> *This notice will be updated as the migration progresses.*
|
|
34
|
+
|
|
3
35
|

|
|
4
36
|
|
|
5
37
|
[](https://www.npmjs.com/package/eufy-security-client)
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="15291" coveredstatements="4245" conditionals="9555" coveredconditionals="
|
|
2
|
+
<coverage generated="1782832885878" clover="3.2.0">
|
|
3
|
+
<project timestamp="1782832885878" name="All files">
|
|
4
|
+
<metrics statements="15291" coveredstatements="4245" conditionals="9555" coveredconditionals="833" methods="2186" coveredmethods="299" elements="27032" coveredelements="5377" complexity="0" loc="15291" ncloc="15291" packages="5" files="36" classes="36"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="1931" coveredstatements="232" conditionals="1059" coveredconditionals="97" methods="423" coveredmethods="24"/>
|
|
7
7
|
<file name="error.ts" path="/home/runner/work/eufy-security-client/eufy-security-client/src/error.ts">
|
|
@@ -10930,7 +10930,7 @@
|
|
|
10930
10930
|
</file>
|
|
10931
10931
|
</package>
|
|
10932
10932
|
<package name="src.p2p">
|
|
10933
|
-
<metrics statements="3393" coveredstatements="1449" conditionals="1278" coveredconditionals="
|
|
10933
|
+
<metrics statements="3393" coveredstatements="1449" conditionals="1278" coveredconditionals="191" methods="319" coveredmethods="85"/>
|
|
10934
10934
|
<file name="adts.ts" path="/home/runner/work/eufy-security-client/eufy-security-client/src/p2p/adts.ts">
|
|
10935
10935
|
<metrics statements="67" coveredstatements="58" conditionals="28" coveredconditionals="21" methods="7" coveredmethods="7"/>
|
|
10936
10936
|
<line num="1" count="10" type="stmt"/>
|
|
@@ -13866,7 +13866,7 @@
|
|
|
13866
13866
|
<line num="1270" count="10" type="stmt"/>
|
|
13867
13867
|
</file>
|
|
13868
13868
|
<file name="utils.ts" path="/home/runner/work/eufy-security-client/eufy-security-client/src/p2p/utils.ts">
|
|
13869
|
-
<metrics statements="480" coveredstatements="256" conditionals="197" coveredconditionals="
|
|
13869
|
+
<metrics statements="480" coveredstatements="256" conditionals="197" coveredconditionals="92" methods="74" coveredmethods="39"/>
|
|
13870
13870
|
<line num="2" count="9" type="stmt"/>
|
|
13871
13871
|
<line num="3" count="9" type="stmt"/>
|
|
13872
13872
|
<line num="4" count="9" type="stmt"/>
|
|
@@ -14218,7 +14218,7 @@
|
|
|
14218
14218
|
<line num="697" count="7" type="stmt"/>
|
|
14219
14219
|
<line num="701" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
14220
14220
|
<line num="703" count="1" type="stmt"/>
|
|
14221
|
-
<line num="704" count="6" type="cond" truecount="
|
|
14221
|
+
<line num="704" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
14222
14222
|
<line num="706" count="6" type="stmt"/>
|
|
14223
14223
|
<line num="709" count="0" type="stmt"/>
|
|
14224
14224
|
<line num="713" count="7" type="cond" truecount="2" falsecount="0"/>
|