Skip to content

Commit

Permalink
Added support for smart locks
Browse files Browse the repository at this point in the history
Added new P2P feature: lock/unlock smart lock products
Optimized speed of P2P connection establishment
Trying to solve issue #2
Dropped support for NodeJS 10.x (min. requirement 12)
Updated versions of the package dependencies
  • Loading branch information
bropat committed Mar 30, 2021
1 parent a3bc2ab commit 1d394d4
Show file tree
Hide file tree
Showing 12 changed files with 871 additions and 242 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ Please use GitHub issues for this.

## Changelog

### 0.7.0 (2021-03-30)

* (bropat) Added support for smart locks
* (bropat) Added new P2P feature: lock/unlock smart lock products
* (bropat) Optimized speed of P2P connection establishment
* (bropat) Trying to solve issue [#2](https://github.com/bropat/eufy-security-client/issues/2)
* (bropat) Dropped support for NodeJS 10.x (min. requirement 12)
* (bropat) Updated versions of the package dependencies

### 0.6.0 (2021-03-11)

* (bropat) Added new command types to enum CommandType
Expand Down
165 changes: 91 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eufy-security-client",
"version": "0.6.0",
"version": "0.7.0",
"description": "Client to comunicate with Eufy-Security devices",
"author": {
"name": "bropat",
Expand Down Expand Up @@ -31,7 +31,7 @@
"url": "https://github.com/bropat/eufy-security-client"
},
"engines": {
"node": ">=10.0.0"
"node": ">=12.0.0"
},
"dependencies": {
"axios": "^0.21.1",
Expand All @@ -43,14 +43,14 @@
"@types/crypto-js": "^4.0.1",
"ts-log": "^2.2.3",
"tiny-typed-emitter": "^2.0.3",
"i18n-iso-countries": "^6.5.0",
"@cospired/i18n-iso-languages": "^2.2.0"
"i18n-iso-countries": "^6.6.0",
"@cospired/i18n-iso-languages": "^3.0.0"
},
"devDependencies": {
"@types/node": "^14.14.33",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"eslint": "^7.21.0",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.23.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
Expand Down
3 changes: 1 addition & 2 deletions src/http/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ export class HTTPApi extends TypedEmitter<HTTPApiEvents> {
private hubs: Hubs = {};

private headers = {
app_version: "v2.5.0_833",
app_version: "v2.8.0_887",
os_type: "android",
os_version: "30",
phone_model: "ONEPLUS A3003",
//phone_model: "ioBroker",
country: "DE",
language: "en",
openudid: "5e4621b0152c0d00",
Expand Down
Loading

0 comments on commit 1d394d4

Please sign in to comment.