homebridge-ring 13.2.0 → 13.2.1-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # homebridge-ring
2
2
 
3
+ ## 13.2.1-beta.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1540](https://github.com/dgreif/ring/pull/1540) [`06a3bcb`](https://github.com/dgreif/ring/commit/06a3bcb9b20985b806195435625d43f3c93eb551) Thanks [@tsightler](https://github.com/tsightler)! - Handle errors when connecting to push notification service
8
+
9
+ - [`6bb1df3`](https://github.com/dgreif/ring/commit/6bb1df342a7e5f78042140bd0be0b070a769b0e3) Thanks [@dgreif](https://github.com/dgreif)! - Mark homebridge-ring as compatible with Homebridge v2 Beta
10
+
11
+ - Updated dependencies [[`06a3bcb`](https://github.com/dgreif/ring/commit/06a3bcb9b20985b806195435625d43f3c93eb551)]:
12
+ - ring-client-api@13.2.1-beta.1
13
+
14
+ ## 13.2.1-beta.0
15
+
16
+ ### Patch Changes
17
+
18
+ - [#1532](https://github.com/dgreif/ring/pull/1532) [`209f13e`](https://github.com/dgreif/ring/commit/209f13ead4707dad6e478578a81d6623b0642776) Thanks [@tsightler](https://github.com/tsightler)! - Increase keepalive and adjust connection pooling, which will hopefully result in more stable fetch requests
19
+
20
+ - Updated dependencies [[`209f13e`](https://github.com/dgreif/ring/commit/209f13ead4707dad6e478578a81d6623b0642776)]:
21
+ - ring-client-api@13.2.1-beta.0
22
+
3
23
  ## 13.2.0
4
24
 
5
25
  ### Minor Changes
@@ -229,7 +229,7 @@ class StreamingSessionWrapper {
229
229
  const rtp = werift_1.RtpPacket.deSerialize(message);
230
230
  this.streamingSession.sendAudioPacket(rtp);
231
231
  }
232
- catch (_) {
232
+ catch {
233
233
  // deSerialize will sometimes fail, but the errors can be ignored
234
234
  }
235
235
  return null;
@@ -353,7 +353,7 @@ class CameraSource {
353
353
  try {
354
354
  await this.previousLoadSnapshotPromise;
355
355
  }
356
- catch (_) {
356
+ catch {
357
357
  // ignore errors
358
358
  }
359
359
  finally {
package/lib/camera.js CHANGED
@@ -195,7 +195,7 @@ class Camera extends base_data_accessory_1.BaseDataAccessory {
195
195
  try {
196
196
  await this.cameraSource.loadSnapshot(imageUuid);
197
197
  }
198
- catch (e) {
198
+ catch {
199
199
  (0, util_1.logInfo)(this.device.name +
200
200
  ' Failed to load snapshot. Sending event to HomeKit without new snapshot');
201
201
  }
package/lib/config.js CHANGED
@@ -27,7 +27,7 @@ function getSystemId(homebridgeStoragePath) {
27
27
  return ringContext.systemId;
28
28
  }
29
29
  }
30
- catch (_) {
30
+ catch {
31
31
  // expect errors if file doesn't exist or is in a bad format
32
32
  }
33
33
  const systemId = createSystemId(), ringContext = { systemId };
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "tsconfig/tsconfig.json",
3
+ "compilerOptions": {
4
+ "lib": ["dom"]
5
+ },
6
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "homebridge-ring",
3
3
  "displayName": "Ring",
4
- "version": "13.2.0",
4
+ "version": "13.2.1-beta.1",
5
5
  "description": "Homebridge plugin for Ring doorbells, cameras, security alarm system and smart lighting",
6
6
  "main": "lib/index.js",
7
7
  "scripts": {
8
8
  "build": "rm -rf lib && tsc && cp -r ./homebridge-ui/public ./lib/homebridge-ui/public/",
9
- "lint": "eslint . --ext .ts && tsc --noEmit",
9
+ "lint": "eslint .",
10
10
  "dev": "concurrently -c yellow,blue --kill-others \"npm:dev:build\" \"npm:dev:run\" ",
11
11
  "dev:build": "tsc --watch --preserveWatchOutput",
12
12
  "dev:run": "RING_DEBUG=true node --watch ../../node_modules/.bin/homebridge -U ../../.homebridge"
@@ -14,7 +14,7 @@
14
14
  "dependencies": {
15
15
  "@homebridge/camera-utils": "^2.2.7",
16
16
  "@homebridge/plugin-ui-utils": "^1.0.3",
17
- "ring-client-api": "13.2.0",
17
+ "ring-client-api": "13.2.1-beta.1",
18
18
  "werift": "0.20.1"
19
19
  },
20
20
  "devDependencies": {
@@ -22,11 +22,11 @@
22
22
  "eslint-config-shared": "*",
23
23
  "homebridge": "1.8.5",
24
24
  "tsconfig": "*",
25
- "typescript": "5.6.3"
25
+ "typescript": "5.7.2"
26
26
  },
27
27
  "engines": {
28
28
  "node": "^18 || ^20 || ^22",
29
- "homebridge": ">=1.4.0"
29
+ "homebridge": ">=1.4.0 || ^2.0.0-beta.0"
30
30
  },
31
31
  "repository": {
32
32
  "type": "git",