ring-client-api 11.0.5 → 11.1.0-beta.0
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/CHANGELOG.md +28 -0
- package/lib/api/rest-client.js +1 -1
- package/lib/api/ring-camera.js +1 -0
- package/package.json +21 -21
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [11.1.0-beta.0](https://github.com/dgreif/ring/compare/v11.0.7...v11.1.0-beta.0) (2022-08-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **homebridge:** allow cameras to be unbridged ([7302298](https://github.com/dgreif/ring/commit/73022983eed59e6af4bfdf0d8f1ee9d8ee8f6953))
|
|
11
|
+
* **homebridge:** use opus transcoding for unbridge cameras ([e9eb7a4](https://github.com/dgreif/ring/commit/e9eb7a4940ce7d01dee920593af3bdd12e25fa1a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* update dependencies ([6f98cdf](https://github.com/dgreif/ring/commit/6f98cdf48895daf3217890b6631a6dbb2ccd340f))
|
|
17
|
+
|
|
18
|
+
### [11.0.7](https://github.com/dgreif/ring/compare/v11.0.6...v11.0.7) (2022-07-10)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* hide errors from snapshot request timeouts ([f997e34](https://github.com/dgreif/ring/commit/f997e340ad3c579d059ae07c11ad82ddc5ceb181)), closes [#932](https://github.com/dgreif/ring/issues/932)
|
|
24
|
+
* update dependencies ([ce0bf2a](https://github.com/dgreif/ring/commit/ce0bf2aa81d55e629931f38ba2c6ca16a79fa0d2))
|
|
25
|
+
|
|
26
|
+
### [11.0.6](https://github.com/dgreif/ring/compare/v11.0.5...v11.0.6) (2022-06-29)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* update dependencies ([0c91c3e](https://github.com/dgreif/ring/commit/0c91c3e6e9c93883cde6275960be0adf930297cf))
|
|
32
|
+
|
|
5
33
|
### [11.0.5](https://github.com/dgreif/ring/compare/v11.0.4...v11.0.5) (2022-06-12)
|
|
6
34
|
|
|
7
35
|
|
package/lib/api/rest-client.js
CHANGED
|
@@ -282,7 +282,7 @@ class RingRestClient {
|
|
|
282
282
|
if (response.statusCode) {
|
|
283
283
|
(0, util_1.logError)(`Request to ${url} failed with status ${response.statusCode}. Response body: ${(0, util_1.stringify)(response.body)}`);
|
|
284
284
|
}
|
|
285
|
-
else {
|
|
285
|
+
else if (!options.allowNoResponse) {
|
|
286
286
|
(0, util_1.logError)(`Request to ${url} failed:`);
|
|
287
287
|
(0, util_1.logError)(e);
|
|
288
288
|
}
|
package/lib/api/ring-camera.js
CHANGED
|
@@ -356,6 +356,7 @@ class RingCamera extends subscribed_1.Subscribed {
|
|
|
356
356
|
headers: {
|
|
357
357
|
accept: 'image/jpeg',
|
|
358
358
|
},
|
|
359
|
+
allowNoResponse: true,
|
|
359
360
|
}), { responseTimestamp, timeMillis } = response, timestampAge = Math.abs(responseTimestamp - timeMillis);
|
|
360
361
|
this.lastSnapshotTimestamp = timeMillis;
|
|
361
362
|
this.lastSnapshotTimestampLocal = Date.now() - timestampAge;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ring-client-api",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.1.0-beta.0",
|
|
4
4
|
"description": "Unofficial API for Ring doorbells, cameras, security alarm system and smart lighting",
|
|
5
5
|
"main": "lib/api/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -56,45 +56,45 @@
|
|
|
56
56
|
"license": "MIT",
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@eneris/push-receiver": "^3.0.2",
|
|
59
|
-
"@homebridge/camera-utils": "^2.
|
|
59
|
+
"@homebridge/camera-utils": "^2.2.0",
|
|
60
60
|
"@homebridge/plugin-ui-utils": "^0.0.19",
|
|
61
|
-
"werift": "0.15.
|
|
61
|
+
"werift": "0.15.10",
|
|
62
62
|
"@types/socket.io-client": "1.4.36",
|
|
63
63
|
"colors": "^1.4.0",
|
|
64
64
|
"debug": "^4.3.4",
|
|
65
|
-
"got": "^11.8.
|
|
66
|
-
"rxjs": "^7.5.
|
|
65
|
+
"got": "^11.8.5",
|
|
66
|
+
"rxjs": "^7.5.6",
|
|
67
67
|
"socket.io-client": "^2.4.0",
|
|
68
|
-
"systeminformation": "^5.
|
|
68
|
+
"systeminformation": "^5.12.1",
|
|
69
69
|
"uuid": "^8.3.2",
|
|
70
|
-
"ws": "^8.8.
|
|
70
|
+
"ws": "^8.8.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@swc-node/register": "^1.5.1",
|
|
74
74
|
"@types/debug": "4.1.7",
|
|
75
|
-
"@types/jest": "28.1.
|
|
76
|
-
"@types/node": "
|
|
75
|
+
"@types/jest": "28.1.6",
|
|
76
|
+
"@types/node": "18.6.3",
|
|
77
77
|
"@types/uuid": "8.3.4",
|
|
78
78
|
"@types/ws": "^8.5.3",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
80
|
-
"@typescript-eslint/parser": "5.
|
|
81
|
-
"concurrently": "^7.
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "5.31.0",
|
|
80
|
+
"@typescript-eslint/parser": "5.31.0",
|
|
81
|
+
"concurrently": "^7.3.0",
|
|
82
82
|
"conventional-github-releaser": "3.1.5",
|
|
83
83
|
"dotenv": "16.0.1",
|
|
84
|
-
"esbuild": "^0.14.
|
|
85
|
-
"eslint": "8.
|
|
84
|
+
"esbuild": "^0.14.51",
|
|
85
|
+
"eslint": "8.20.0",
|
|
86
86
|
"eslint-config-prettier": "8.5.0",
|
|
87
|
-
"eslint-plugin-jest": "26.
|
|
88
|
-
"eslint-plugin-prettier": "4.
|
|
87
|
+
"eslint-plugin-jest": "26.7.0",
|
|
88
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
89
89
|
"express": "4.18.1",
|
|
90
|
-
"homebridge": "1.
|
|
91
|
-
"jest": "28.1.
|
|
92
|
-
"prettier": "2.
|
|
90
|
+
"homebridge": "1.5.0",
|
|
91
|
+
"jest": "28.1.3",
|
|
92
|
+
"prettier": "2.7.1",
|
|
93
93
|
"reflect-metadata": "0.1.13",
|
|
94
94
|
"rimraf": "3.0.2",
|
|
95
95
|
"standard-version": "9.5.0",
|
|
96
|
-
"ts-jest": "28.0.
|
|
97
|
-
"typescript": "4.7.
|
|
96
|
+
"ts-jest": "28.0.7",
|
|
97
|
+
"typescript": "4.7.4"
|
|
98
98
|
},
|
|
99
99
|
"engines": {
|
|
100
100
|
"node": "^16",
|