@mega-yfue/eufy-sdk 0.4.0-beta.30 → 0.4.0-beta.31
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 +9 -0
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2047,6 +2047,15 @@ ${this.auth_?.authToken ?? ""}`;
|
|
|
2047
2047
|
token,
|
|
2048
2048
|
voip_token: ""
|
|
2049
2049
|
});
|
|
2050
|
+
await this.securityAppPost("/v1/apppush/register_push_token", {
|
|
2051
|
+
is_notification_enable: true,
|
|
2052
|
+
token,
|
|
2053
|
+
transaction: String(Date.now())
|
|
2054
|
+
});
|
|
2055
|
+
await this.securityAppPost("/v1/app/review/app_push_check", {
|
|
2056
|
+
app_type: "eufySecurity",
|
|
2057
|
+
transaction: String(Date.now())
|
|
2058
|
+
});
|
|
2050
2059
|
}
|
|
2051
2060
|
/** Download raw bytes from a push-media URL using the active account session. */
|
|
2052
2061
|
async downloadMedia(url) {
|