homebridge-ring 11.0.0 → 11.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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.0.1](https://github.com/dgreif/ring/compare/v11.0.0...v11.0.1) (2022-05-17)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * update webrtc package ([63d003c](https://github.com/dgreif/ring/commit/63d003c1517c158663d230e6daf911c7fc765c55)), closes [#930](https://github.com/dgreif/ring/issues/930)
11
+
5
12
  ## [11.0.0](https://github.com/dgreif/ring/compare/v10.0.0...v11.0.0) (2022-05-08)
6
13
 
7
14
 
@@ -1,4 +1,4 @@
1
- import { ConnectionState, MediaStreamTrack, RTCIceCandidate, RtcpPacket, RtpPacket } from '@koush/werift';
1
+ import { ConnectionState, MediaStreamTrack, RTCIceCandidate, RtcpPacket, RtpPacket } from 'werift';
2
2
  import { Observable, ReplaySubject, Subject } from 'rxjs';
3
3
  export interface BasicPeerConnection {
4
4
  createOffer(): Promise<{
@@ -27,11 +27,11 @@ export declare class WeriftPeerConnection implements BasicPeerConnection {
27
27
  onConnectionState: ReplaySubject<"failed" | "closed" | "connected" | "connecting" | "new" | "disconnected">;
28
28
  returnAudioTrack: MediaStreamTrack;
29
29
  constructor();
30
- createOffer(): Promise<import("@koush/werift").RTCSessionDescription>;
30
+ createOffer(): Promise<import("werift").RTCSessionDescription>;
31
31
  createAnswer(offer: {
32
32
  type: 'offer';
33
33
  sdp: string;
34
- }): Promise<import("@koush/werift").RTCSessionDescription>;
34
+ }): Promise<import("werift").RTCSessionDescription>;
35
35
  acceptAnswer(answer: {
36
36
  type: 'answer';
37
37
  sdp: string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WeriftPeerConnection = void 0;
4
- const werift_1 = require("@koush/werift");
4
+ const werift_1 = require("werift");
5
5
  const rxjs_1 = require("rxjs");
6
6
  const util_1 = require("../util");
7
7
  const debug = false, ringIceServers = [
@@ -1,7 +1,7 @@
1
1
  import { BasicPeerConnection } from './peer-connection';
2
2
  import { Subscribed } from '../subscribed';
3
3
  import { WebSocket } from 'ws';
4
- import { RtpPacket } from '@koush/werift';
4
+ import { RtpPacket } from 'werift';
5
5
  import { ReplaySubject, Subject } from 'rxjs';
6
6
  export interface StreamingConnectionOptions {
7
7
  createPeerConnection?: () => BasicPeerConnection;
@@ -1,4 +1,4 @@
1
- import { RtpPacket } from '@koush/werift';
1
+ import { RtpPacket } from 'werift';
2
2
  import { ReplaySubject, Subject } from 'rxjs';
3
3
  import { RingEdgeConnection } from './ring-edge-connection';
4
4
  import { WebrtcConnection } from './webrtc-connection';
@@ -9,7 +9,7 @@ const rxjs_1 = require("rxjs");
9
9
  const fs_1 = require("fs");
10
10
  const util_2 = require("util");
11
11
  const ffmpeg_1 = require("../api/ffmpeg");
12
- const werift_1 = require("@koush/werift");
12
+ const werift_1 = require("werift");
13
13
  const readFileAsync = (0, util_2.promisify)(fs_1.readFile), cameraOfflinePath = require.resolve('../../media/camera-offline.jpg'), snapshotsBlockedPath = require.resolve('../../media/snapshots-blocked.jpg');
14
14
  function getDurationSeconds(start) {
15
15
  return (Date.now() - start) / 1000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-ring",
3
- "version": "11.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Homebridge plugin for Ring doorbells, cameras, security alarm system and smart lighting",
5
5
  "main": "lib/homebridge/index.js",
6
6
  "bin": {
@@ -42,33 +42,33 @@
42
42
  "@eneris/push-receiver": "^3.0.1",
43
43
  "@homebridge/camera-utils": "^2.1.0",
44
44
  "@homebridge/plugin-ui-utils": "^0.0.19",
45
- "@koush/werift": "0.14.5-beta9",
45
+ "werift": "^0.15.0",
46
46
  "@types/socket.io-client": "1.4.36",
47
47
  "colors": "^1.4.0",
48
48
  "debug": "^4.3.4",
49
49
  "got": "^11.8.3",
50
50
  "rxjs": "^7.5.5",
51
51
  "socket.io-client": "^2.4.0",
52
- "systeminformation": "^5.11.14",
52
+ "systeminformation": "^5.11.15",
53
53
  "uuid": "^8.3.2",
54
54
  "ws": "^8.6.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@swc-node/register": "^1.5.1",
58
58
  "@types/debug": "4.1.7",
59
- "@types/jest": "27.5.0",
60
- "@types/node": "17.0.31",
59
+ "@types/jest": "27.5.1",
60
+ "@types/node": "17.0.34",
61
61
  "@types/uuid": "8.3.4",
62
62
  "@types/ws": "^8.5.3",
63
- "@typescript-eslint/eslint-plugin": "5.22.0",
64
- "@typescript-eslint/parser": "5.22.0",
65
- "concurrently": "^7.1.0",
63
+ "@typescript-eslint/eslint-plugin": "5.25.0",
64
+ "@typescript-eslint/parser": "5.25.0",
65
+ "concurrently": "^7.2.0",
66
66
  "conventional-github-releaser": "3.1.5",
67
- "dotenv": "16.0.0",
68
- "esbuild": "^0.14.38",
69
- "eslint": "8.14.0",
67
+ "dotenv": "16.0.1",
68
+ "esbuild": "^0.14.39",
69
+ "eslint": "8.15.0",
70
70
  "eslint-config-prettier": "8.5.0",
71
- "eslint-plugin-jest": "26.1.5",
71
+ "eslint-plugin-jest": "26.2.2",
72
72
  "eslint-plugin-prettier": "4.0.0",
73
73
  "express": "4.18.1",
74
74
  "homebridge": "1.4.1",
@@ -76,8 +76,8 @@
76
76
  "prettier": "2.6.2",
77
77
  "reflect-metadata": "0.1.13",
78
78
  "rimraf": "3.0.2",
79
- "standard-version": "9.3.2",
80
- "ts-jest": "28.0.1",
79
+ "standard-version": "9.5.0",
80
+ "ts-jest": "28.0.2",
81
81
  "typescript": "4.6.4"
82
82
  },
83
83
  "engines": {