ring-client-api 12.0.0 → 12.0.1

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.
Files changed (2) hide show
  1. package/lib/ring-camera.js +5 -1
  2. package/package.json +13 -13
@@ -197,7 +197,11 @@ class RingCamera extends subscribed_1.Subscribed {
197
197
  method: 'PUT',
198
198
  url: this.doorbotUrl('siren_' + (on ? 'on' : 'off')),
199
199
  });
200
- this.updateData({ ...this.data, siren_status: { seconds_remaining: 1 } });
200
+ const seconds = on ? 1 : 0;
201
+ this.updateData({
202
+ ...this.data,
203
+ siren_status: { seconds_remaining: seconds },
204
+ });
201
205
  return true;
202
206
  }
203
207
  async setSettings(settings) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ring-client-api",
3
- "version": "12.0.0",
3
+ "version": "12.0.1",
4
4
  "description": "Unofficial API for Ring doorbells, cameras, security alarm system and smart lighting",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -17,7 +17,7 @@
17
17
  "test:watch": "jest --watch"
18
18
  },
19
19
  "dependencies": {
20
- "@eneris/push-receiver": "^3.1.4",
20
+ "@eneris/push-receiver": "^3.1.5",
21
21
  "@homebridge/camera-utils": "^2.2.0",
22
22
  "@peculiar/asn1-schema": "^2.3.6",
23
23
  "@peculiar/webcrypto": "^1.4.3",
@@ -26,28 +26,28 @@
26
26
  "debug": "^4.3.4",
27
27
  "got": "^11.8.5",
28
28
  "json-bigint": "^1.0.0",
29
- "msw": "^1.2.3",
29
+ "msw": "^1.3.1",
30
30
  "pvtsutils": "^1.3.5",
31
31
  "rxjs": "^7.8.1",
32
32
  "socket.io-client": "^2.5.0",
33
- "systeminformation": "^5.18.15",
34
- "uuid": "^9.0.0",
33
+ "systeminformation": "^5.21.5",
34
+ "uuid": "^9.0.1",
35
35
  "webcrypto-core": "^1.7.7",
36
- "werift": "0.18.5",
37
- "ws": "^8.13.0"
36
+ "werift": "0.18.6",
37
+ "ws": "^8.14.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/debug": "4.1.8",
41
- "@types/jest": "29.5.3",
42
- "@types/json-bigint": "^1.0.1",
43
- "@types/node": "20.5.1",
44
- "@types/uuid": "9.0.2",
41
+ "@types/jest": "29.5.5",
42
+ "@types/json-bigint": "^1.0.2",
43
+ "@types/node": "20.6.2",
44
+ "@types/uuid": "9.0.4",
45
45
  "@types/ws": "^8.5.5",
46
46
  "eslint-config-shared": "*",
47
- "jest": "29.6.2",
47
+ "jest": "29.7.0",
48
48
  "ts-jest": "29.1.1",
49
49
  "tsconfig": "*",
50
- "typescript": "5.1.6"
50
+ "typescript": "5.2.2"
51
51
  },
52
52
  "engines": {
53
53
  "node": "^18 || ^20"