diff --git a/docs/_coverpage.md b/docs/_coverpage.md
index 615f0af..b83029e 100644
--- a/docs/_coverpage.md
+++ b/docs/_coverpage.md
@@ -1,6 +1,6 @@
![logo](_media/eufy-security-ws.png)
-# eufy-security-ws 1.6.2
+# eufy-security-ws 1.6.3
> A small server wrapper around [eufy-security-client](https://github.com/bropat/eufy-security-client) library to access it via a WebSocket
diff --git a/package-lock.json b/package-lock.json
index 52fece5..1ecf357 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,18 +1,18 @@
{
"name": "eufy-security-ws",
- "version": "1.6.2",
+ "version": "1.6.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "eufy-security-ws",
- "version": "1.6.2",
+ "version": "1.6.3",
"license": "MIT",
"dependencies": {
"ansi-colors": "^4.1.3",
"commander": "^11.0.0",
"date-and-time": "^3.0.2",
- "eufy-security-client": "^2.7.1",
+ "eufy-security-client": "^2.8.0",
"fs-extra": "^11.1.1",
"tslog": "^3.3.4",
"ws": "^8.13.0"
@@ -22,14 +22,14 @@
"eufy-security-server": "dist/bin/server.js"
},
"devDependencies": {
- "@types/node": "^16.18.39",
+ "@types/node": "^16.18.41",
"@types/node-rsa": "^1.1.1",
"@types/ws": "^8.5.5",
- "@typescript-eslint/eslint-plugin": "^6.3.0",
- "@typescript-eslint/parser": "^6.3.0",
- "eslint": "^8.46.0",
+ "@typescript-eslint/eslint-plugin": "^6.4.0",
+ "@typescript-eslint/parser": "^6.4.0",
+ "eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
- "prettier": "3.0.1",
+ "prettier": "3.0.2",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
@@ -91,9 +91,9 @@
}
},
"node_modules/@eslint/eslintrc": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
- "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
+ "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
"dev": true,
"dependencies": {
"ajv": "^6.12.4",
@@ -114,9 +114,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
- "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.47.0.tgz",
+ "integrity": "sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -346,9 +346,9 @@
}
},
"node_modules/@types/node": {
- "version": "16.18.39",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.39.tgz",
- "integrity": "sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ=="
+ "version": "16.18.41",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.41.tgz",
+ "integrity": "sha512-YZJjn+Aaw0xihnpdImxI22jqGbp0DCgTFKRycygjGx/Y27NnWFJa5FJ7P+MRT3u07dogEeMVh70pWpbIQollTA=="
},
"node_modules/@types/node-rsa": {
"version": "1.1.1",
@@ -383,21 +383,20 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.3.0.tgz",
- "integrity": "sha512-IZYjYZ0ifGSLZbwMqIip/nOamFiWJ9AH+T/GYNZBWkVcyNQOFGtSMoWV7RvY4poYCMZ/4lHzNl796WOSNxmk8A==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.4.0.tgz",
+ "integrity": "sha512-62o2Hmc7Gs3p8SLfbXcipjWAa6qk2wZGChXG2JbBtYpwSRmti/9KHLqfbLs9uDigOexG+3PaQ9G2g3201FWLKg==",
"dev": true,
"dependencies": {
"@eslint-community/regexpp": "^4.5.1",
- "@typescript-eslint/scope-manager": "6.3.0",
- "@typescript-eslint/type-utils": "6.3.0",
- "@typescript-eslint/utils": "6.3.0",
- "@typescript-eslint/visitor-keys": "6.3.0",
+ "@typescript-eslint/scope-manager": "6.4.0",
+ "@typescript-eslint/type-utils": "6.4.0",
+ "@typescript-eslint/utils": "6.4.0",
+ "@typescript-eslint/visitor-keys": "6.4.0",
"debug": "^4.3.4",
"graphemer": "^1.4.0",
"ignore": "^5.2.4",
"natural-compare": "^1.4.0",
- "natural-compare-lite": "^1.4.0",
"semver": "^7.5.4",
"ts-api-utils": "^1.0.1"
},
@@ -419,15 +418,15 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.3.0.tgz",
- "integrity": "sha512-ibP+y2Gr6p0qsUkhs7InMdXrwldjxZw66wpcQq9/PzAroM45wdwyu81T+7RibNCh8oc0AgrsyCwJByncY0Ongg==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.4.0.tgz",
+ "integrity": "sha512-I1Ah1irl033uxjxO9Xql7+biL3YD7w9IU8zF+xlzD/YxY6a4b7DYA08PXUUCbm2sEljwJF6ERFy2kTGAGcNilg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "6.3.0",
- "@typescript-eslint/types": "6.3.0",
- "@typescript-eslint/typescript-estree": "6.3.0",
- "@typescript-eslint/visitor-keys": "6.3.0",
+ "@typescript-eslint/scope-manager": "6.4.0",
+ "@typescript-eslint/types": "6.4.0",
+ "@typescript-eslint/typescript-estree": "6.4.0",
+ "@typescript-eslint/visitor-keys": "6.4.0",
"debug": "^4.3.4"
},
"engines": {
@@ -447,13 +446,13 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.3.0.tgz",
- "integrity": "sha512-WlNFgBEuGu74ahrXzgefiz/QlVb+qg8KDTpknKwR7hMH+lQygWyx0CQFoUmMn1zDkQjTBBIn75IxtWss77iBIQ==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.4.0.tgz",
+ "integrity": "sha512-TUS7vaKkPWDVvl7GDNHFQMsMruD+zhkd3SdVW0d7b+7Zo+bd/hXJQ8nsiUZMi1jloWo6c9qt3B7Sqo+flC1nig==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "6.3.0",
- "@typescript-eslint/visitor-keys": "6.3.0"
+ "@typescript-eslint/types": "6.4.0",
+ "@typescript-eslint/visitor-keys": "6.4.0"
},
"engines": {
"node": "^16.0.0 || >=18.0.0"
@@ -464,13 +463,13 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.3.0.tgz",
- "integrity": "sha512-7Oj+1ox1T2Yc8PKpBvOKWhoI/4rWFd1j7FA/rPE0lbBPXTKjdbtC+7Ev0SeBjEKkIhKWVeZSP+mR7y1Db1CdfQ==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.4.0.tgz",
+ "integrity": "sha512-TvqrUFFyGY0cX3WgDHcdl2/mMCWCDv/0thTtx/ODMY1QhEiyFtv/OlLaNIiYLwRpAxAtOLOY9SUf1H3Q3dlwAg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/typescript-estree": "6.3.0",
- "@typescript-eslint/utils": "6.3.0",
+ "@typescript-eslint/typescript-estree": "6.4.0",
+ "@typescript-eslint/utils": "6.4.0",
"debug": "^4.3.4",
"ts-api-utils": "^1.0.1"
},
@@ -491,9 +490,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.3.0.tgz",
- "integrity": "sha512-K6TZOvfVyc7MO9j60MkRNWyFSf86IbOatTKGrpTQnzarDZPYPVy0oe3myTMq7VjhfsUAbNUW8I5s+2lZvtx1gg==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.4.0.tgz",
+ "integrity": "sha512-+FV9kVFrS7w78YtzkIsNSoYsnOtrYVnKWSTVXoL1761CsCRv5wpDOINgsXpxD67YCLZtVQekDDyaxfjVWUJmmg==",
"dev": true,
"engines": {
"node": "^16.0.0 || >=18.0.0"
@@ -504,13 +503,13 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.3.0.tgz",
- "integrity": "sha512-Xh4NVDaC4eYKY4O3QGPuQNp5NxBAlEvNQYOqJquR2MePNxO11E5K3t5x4M4Mx53IZvtpW+mBxIT0s274fLUocg==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.4.0.tgz",
+ "integrity": "sha512-iDPJArf/K2sxvjOR6skeUCNgHR/tCQXBsa+ee1/clRKr3olZjZ/dSkXPZjG6YkPtnW6p5D1egeEPMCW6Gn4yLA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "6.3.0",
- "@typescript-eslint/visitor-keys": "6.3.0",
+ "@typescript-eslint/types": "6.4.0",
+ "@typescript-eslint/visitor-keys": "6.4.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
@@ -531,17 +530,17 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.3.0.tgz",
- "integrity": "sha512-hLLg3BZE07XHnpzglNBG8P/IXq/ZVXraEbgY7FM0Cnc1ehM8RMdn9mat3LubJ3KBeYXXPxV1nugWbQPjGeJk6Q==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.4.0.tgz",
+ "integrity": "sha512-BvvwryBQpECPGo8PwF/y/q+yacg8Hn/2XS+DqL/oRsOPK+RPt29h5Ui5dqOKHDlbXrAeHUTnyG3wZA0KTDxRZw==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0",
- "@typescript-eslint/scope-manager": "6.3.0",
- "@typescript-eslint/types": "6.3.0",
- "@typescript-eslint/typescript-estree": "6.3.0",
+ "@typescript-eslint/scope-manager": "6.4.0",
+ "@typescript-eslint/types": "6.4.0",
+ "@typescript-eslint/typescript-estree": "6.4.0",
"semver": "^7.5.4"
},
"engines": {
@@ -556,12 +555,12 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.3.0.tgz",
- "integrity": "sha512-kEhRRj7HnvaSjux1J9+7dBen15CdWmDnwrpyiHsFX6Qx2iW5LOBUgNefOFeh2PjWPlNwN8TOn6+4eBU3J/gupw==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.4.0.tgz",
+ "integrity": "sha512-yJSfyT+uJm+JRDWYRYdCm2i+pmvXJSMtPR9Cq5/XQs4QIgNoLcoRtDdzsLbLsFM/c6um6ohQkg/MLxWvoIndJA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "6.3.0",
+ "@typescript-eslint/types": "6.4.0",
"eslint-visitor-keys": "^3.4.1"
},
"engines": {
@@ -1103,15 +1102,15 @@
}
},
"node_modules/eslint": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
- "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.47.0.tgz",
+ "integrity": "sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -1122,7 +1121,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -1185,9 +1184,9 @@
}
},
"node_modules/eslint-visitor-keys": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
- "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -1256,9 +1255,9 @@
}
},
"node_modules/eufy-security-client": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/eufy-security-client/-/eufy-security-client-2.7.1.tgz",
- "integrity": "sha512-eDOWjRl7HLDKEP18BSpvQELgaRl0xHgOXuPi6WkF4xXsreWZr5alhzFI3P+HhpwNmsvTQxwnwvicMqeZArkyOQ==",
+ "version": "2.8.0",
+ "resolved": "https://registry.npmjs.org/eufy-security-client/-/eufy-security-client-2.8.0.tgz",
+ "integrity": "sha512-pS43fmB2d+YD+9RpK1DO1xHuvHI2q9Tz2TkkER+MhdkoOtHPPFUx34nTFJWMFRpBEPdpRUy4VnCrbn3nDF44LA==",
"dependencies": {
"@cospired/i18n-iso-languages": "^4.1.0",
"crypto-js": "^4.1.1",
@@ -1268,7 +1267,7 @@
"i18n-iso-countries": "^7.6.0",
"image-type": "^4.1.0",
"long": "^5.2.3",
- "mqtt": "^5.0.2",
+ "mqtt": "^5.0.3",
"node-rsa": "^1.1.1",
"node-schedule": "^2.1.1",
"p-throttle": "^4.1.1",
@@ -1504,9 +1503,9 @@
}
},
"node_modules/globals": {
- "version": "13.20.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
- "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
+ "version": "13.21.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz",
+ "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==",
"dev": true,
"dependencies": {
"type-fest": "^0.20.2"
@@ -2007,9 +2006,9 @@
}
},
"node_modules/mqtt": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/mqtt/-/mqtt-5.0.2.tgz",
- "integrity": "sha512-JctWQpxjVVjn5LqAAhfgutMNMbHZf+puG9LnbWga0wRbWW7QVfHPu4Vz2iDSyHfGpW8HWLF+jb01vySDDzIKnQ==",
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/mqtt/-/mqtt-5.0.3.tgz",
+ "integrity": "sha512-XyCzdCNFm4XXBUV7HQPd1qXYdu7GC/H+wXr+RfaztwZ72/c3sD8yRivOBdh8iKWHc+EGawSeDIvXCnvEykcJVA==",
"dependencies": {
"commist": "^3.2.0",
"concat-stream": "^2.0.0",
@@ -2056,12 +2055,6 @@
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
"dev": true
},
- "node_modules/natural-compare-lite": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz",
- "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==",
- "dev": true
- },
"node_modules/node-rsa": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/node-rsa/-/node-rsa-1.1.1.tgz",
@@ -2255,9 +2248,9 @@
}
},
"node_modules/prettier": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz",
- "integrity": "sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz",
+ "integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==",
"dev": true,
"bin": {
"prettier": "bin/prettier.cjs"
@@ -2913,9 +2906,9 @@
"dev": true
},
"@eslint/eslintrc": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz",
- "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
+ "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
"dev": true,
"requires": {
"ajv": "^6.12.4",
@@ -2930,9 +2923,9 @@
}
},
"@eslint/js": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz",
- "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.47.0.tgz",
+ "integrity": "sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==",
"dev": true
},
"@humanwhocodes/config-array": {
@@ -3128,9 +3121,9 @@
}
},
"@types/node": {
- "version": "16.18.39",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.39.tgz",
- "integrity": "sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ=="
+ "version": "16.18.41",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.41.tgz",
+ "integrity": "sha512-YZJjn+Aaw0xihnpdImxI22jqGbp0DCgTFKRycygjGx/Y27NnWFJa5FJ7P+MRT3u07dogEeMVh70pWpbIQollTA=="
},
"@types/node-rsa": {
"version": "1.1.1",
@@ -3165,74 +3158,73 @@
}
},
"@typescript-eslint/eslint-plugin": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.3.0.tgz",
- "integrity": "sha512-IZYjYZ0ifGSLZbwMqIip/nOamFiWJ9AH+T/GYNZBWkVcyNQOFGtSMoWV7RvY4poYCMZ/4lHzNl796WOSNxmk8A==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.4.0.tgz",
+ "integrity": "sha512-62o2Hmc7Gs3p8SLfbXcipjWAa6qk2wZGChXG2JbBtYpwSRmti/9KHLqfbLs9uDigOexG+3PaQ9G2g3201FWLKg==",
"dev": true,
"requires": {
"@eslint-community/regexpp": "^4.5.1",
- "@typescript-eslint/scope-manager": "6.3.0",
- "@typescript-eslint/type-utils": "6.3.0",
- "@typescript-eslint/utils": "6.3.0",
- "@typescript-eslint/visitor-keys": "6.3.0",
+ "@typescript-eslint/scope-manager": "6.4.0",
+ "@typescript-eslint/type-utils": "6.4.0",
+ "@typescript-eslint/utils": "6.4.0",
+ "@typescript-eslint/visitor-keys": "6.4.0",
"debug": "^4.3.4",
"graphemer": "^1.4.0",
"ignore": "^5.2.4",
"natural-compare": "^1.4.0",
- "natural-compare-lite": "^1.4.0",
"semver": "^7.5.4",
"ts-api-utils": "^1.0.1"
}
},
"@typescript-eslint/parser": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.3.0.tgz",
- "integrity": "sha512-ibP+y2Gr6p0qsUkhs7InMdXrwldjxZw66wpcQq9/PzAroM45wdwyu81T+7RibNCh8oc0AgrsyCwJByncY0Ongg==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.4.0.tgz",
+ "integrity": "sha512-I1Ah1irl033uxjxO9Xql7+biL3YD7w9IU8zF+xlzD/YxY6a4b7DYA08PXUUCbm2sEljwJF6ERFy2kTGAGcNilg==",
"dev": true,
"requires": {
- "@typescript-eslint/scope-manager": "6.3.0",
- "@typescript-eslint/types": "6.3.0",
- "@typescript-eslint/typescript-estree": "6.3.0",
- "@typescript-eslint/visitor-keys": "6.3.0",
+ "@typescript-eslint/scope-manager": "6.4.0",
+ "@typescript-eslint/types": "6.4.0",
+ "@typescript-eslint/typescript-estree": "6.4.0",
+ "@typescript-eslint/visitor-keys": "6.4.0",
"debug": "^4.3.4"
}
},
"@typescript-eslint/scope-manager": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.3.0.tgz",
- "integrity": "sha512-WlNFgBEuGu74ahrXzgefiz/QlVb+qg8KDTpknKwR7hMH+lQygWyx0CQFoUmMn1zDkQjTBBIn75IxtWss77iBIQ==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.4.0.tgz",
+ "integrity": "sha512-TUS7vaKkPWDVvl7GDNHFQMsMruD+zhkd3SdVW0d7b+7Zo+bd/hXJQ8nsiUZMi1jloWo6c9qt3B7Sqo+flC1nig==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "6.3.0",
- "@typescript-eslint/visitor-keys": "6.3.0"
+ "@typescript-eslint/types": "6.4.0",
+ "@typescript-eslint/visitor-keys": "6.4.0"
}
},
"@typescript-eslint/type-utils": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.3.0.tgz",
- "integrity": "sha512-7Oj+1ox1T2Yc8PKpBvOKWhoI/4rWFd1j7FA/rPE0lbBPXTKjdbtC+7Ev0SeBjEKkIhKWVeZSP+mR7y1Db1CdfQ==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.4.0.tgz",
+ "integrity": "sha512-TvqrUFFyGY0cX3WgDHcdl2/mMCWCDv/0thTtx/ODMY1QhEiyFtv/OlLaNIiYLwRpAxAtOLOY9SUf1H3Q3dlwAg==",
"dev": true,
"requires": {
- "@typescript-eslint/typescript-estree": "6.3.0",
- "@typescript-eslint/utils": "6.3.0",
+ "@typescript-eslint/typescript-estree": "6.4.0",
+ "@typescript-eslint/utils": "6.4.0",
"debug": "^4.3.4",
"ts-api-utils": "^1.0.1"
}
},
"@typescript-eslint/types": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.3.0.tgz",
- "integrity": "sha512-K6TZOvfVyc7MO9j60MkRNWyFSf86IbOatTKGrpTQnzarDZPYPVy0oe3myTMq7VjhfsUAbNUW8I5s+2lZvtx1gg==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.4.0.tgz",
+ "integrity": "sha512-+FV9kVFrS7w78YtzkIsNSoYsnOtrYVnKWSTVXoL1761CsCRv5wpDOINgsXpxD67YCLZtVQekDDyaxfjVWUJmmg==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.3.0.tgz",
- "integrity": "sha512-Xh4NVDaC4eYKY4O3QGPuQNp5NxBAlEvNQYOqJquR2MePNxO11E5K3t5x4M4Mx53IZvtpW+mBxIT0s274fLUocg==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.4.0.tgz",
+ "integrity": "sha512-iDPJArf/K2sxvjOR6skeUCNgHR/tCQXBsa+ee1/clRKr3olZjZ/dSkXPZjG6YkPtnW6p5D1egeEPMCW6Gn4yLA==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "6.3.0",
- "@typescript-eslint/visitor-keys": "6.3.0",
+ "@typescript-eslint/types": "6.4.0",
+ "@typescript-eslint/visitor-keys": "6.4.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
@@ -3241,27 +3233,27 @@
}
},
"@typescript-eslint/utils": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.3.0.tgz",
- "integrity": "sha512-hLLg3BZE07XHnpzglNBG8P/IXq/ZVXraEbgY7FM0Cnc1ehM8RMdn9mat3LubJ3KBeYXXPxV1nugWbQPjGeJk6Q==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.4.0.tgz",
+ "integrity": "sha512-BvvwryBQpECPGo8PwF/y/q+yacg8Hn/2XS+DqL/oRsOPK+RPt29h5Ui5dqOKHDlbXrAeHUTnyG3wZA0KTDxRZw==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0",
- "@typescript-eslint/scope-manager": "6.3.0",
- "@typescript-eslint/types": "6.3.0",
- "@typescript-eslint/typescript-estree": "6.3.0",
+ "@typescript-eslint/scope-manager": "6.4.0",
+ "@typescript-eslint/types": "6.4.0",
+ "@typescript-eslint/typescript-estree": "6.4.0",
"semver": "^7.5.4"
}
},
"@typescript-eslint/visitor-keys": {
- "version": "6.3.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.3.0.tgz",
- "integrity": "sha512-kEhRRj7HnvaSjux1J9+7dBen15CdWmDnwrpyiHsFX6Qx2iW5LOBUgNefOFeh2PjWPlNwN8TOn6+4eBU3J/gupw==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.4.0.tgz",
+ "integrity": "sha512-yJSfyT+uJm+JRDWYRYdCm2i+pmvXJSMtPR9Cq5/XQs4QIgNoLcoRtDdzsLbLsFM/c6um6ohQkg/MLxWvoIndJA==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "6.3.0",
+ "@typescript-eslint/types": "6.4.0",
"eslint-visitor-keys": "^3.4.1"
}
},
@@ -3657,15 +3649,15 @@
"dev": true
},
"eslint": {
- "version": "8.46.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz",
- "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==",
+ "version": "8.47.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.47.0.tgz",
+ "integrity": "sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==",
"dev": true,
"requires": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.1",
- "@eslint/js": "^8.46.0",
+ "@eslint/eslintrc": "^2.1.2",
+ "@eslint/js": "^8.47.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -3676,7 +3668,7 @@
"doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
"eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.2",
+ "eslint-visitor-keys": "^3.4.3",
"espree": "^9.6.1",
"esquery": "^1.4.2",
"esutils": "^2.0.2",
@@ -3719,9 +3711,9 @@
}
},
"eslint-visitor-keys": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz",
- "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
"dev": true
},
"espree": {
@@ -3766,9 +3758,9 @@
"dev": true
},
"eufy-security-client": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/eufy-security-client/-/eufy-security-client-2.7.1.tgz",
- "integrity": "sha512-eDOWjRl7HLDKEP18BSpvQELgaRl0xHgOXuPi6WkF4xXsreWZr5alhzFI3P+HhpwNmsvTQxwnwvicMqeZArkyOQ==",
+ "version": "2.8.0",
+ "resolved": "https://registry.npmjs.org/eufy-security-client/-/eufy-security-client-2.8.0.tgz",
+ "integrity": "sha512-pS43fmB2d+YD+9RpK1DO1xHuvHI2q9Tz2TkkER+MhdkoOtHPPFUx34nTFJWMFRpBEPdpRUy4VnCrbn3nDF44LA==",
"requires": {
"@cospired/i18n-iso-languages": "^4.1.0",
"crypto-js": "^4.1.1",
@@ -3778,7 +3770,7 @@
"i18n-iso-countries": "^7.6.0",
"image-type": "^4.1.0",
"long": "^5.2.3",
- "mqtt": "^5.0.2",
+ "mqtt": "^5.0.3",
"node-rsa": "^1.1.1",
"node-schedule": "^2.1.1",
"p-throttle": "^4.1.1",
@@ -3962,9 +3954,9 @@
}
},
"globals": {
- "version": "13.20.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz",
- "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==",
+ "version": "13.21.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz",
+ "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==",
"dev": true,
"requires": {
"type-fest": "^0.20.2"
@@ -4330,9 +4322,9 @@
"integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="
},
"mqtt": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/mqtt/-/mqtt-5.0.2.tgz",
- "integrity": "sha512-JctWQpxjVVjn5LqAAhfgutMNMbHZf+puG9LnbWga0wRbWW7QVfHPu4Vz2iDSyHfGpW8HWLF+jb01vySDDzIKnQ==",
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/mqtt/-/mqtt-5.0.3.tgz",
+ "integrity": "sha512-XyCzdCNFm4XXBUV7HQPd1qXYdu7GC/H+wXr+RfaztwZ72/c3sD8yRivOBdh8iKWHc+EGawSeDIvXCnvEykcJVA==",
"requires": {
"commist": "^3.2.0",
"concat-stream": "^2.0.0",
@@ -4371,12 +4363,6 @@
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
"dev": true
},
- "natural-compare-lite": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz",
- "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==",
- "dev": true
- },
"node-rsa": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/node-rsa/-/node-rsa-1.1.1.tgz",
@@ -4510,9 +4496,9 @@
"dev": true
},
"prettier": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz",
- "integrity": "sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.2.tgz",
+ "integrity": "sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ==",
"dev": true
},
"process": {
diff --git a/package.json b/package.json
index 07422cb..a2e729d 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "eufy-security-ws",
- "version": "1.6.2",
+ "version": "1.6.3",
"description": "Node WebSocket server implementation to integrate Eufy Security devices",
"main": "dist/lib/index.js",
"bin": {
@@ -46,21 +46,21 @@
"dependencies": {
"ansi-colors": "^4.1.3",
"commander": "^11.0.0",
- "eufy-security-client": "^2.7.1",
+ "eufy-security-client": "^2.8.0",
"fs-extra": "^11.1.1",
"tslog": "^3.3.4",
"ws": "^8.13.0",
"date-and-time": "^3.0.2"
},
"devDependencies": {
- "@types/node": "^16.18.39",
+ "@types/node": "^16.18.41",
"@types/node-rsa": "^1.1.1",
"@types/ws": "^8.5.5",
- "@typescript-eslint/eslint-plugin": "^6.3.0",
- "@typescript-eslint/parser": "^6.3.0",
- "eslint": "^8.46.0",
+ "@typescript-eslint/eslint-plugin": "^6.4.0",
+ "@typescript-eslint/parser": "^6.4.0",
+ "eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
- "prettier": "3.0.1",
+ "prettier": "3.0.2",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
}