homebridge-ring 14.0.0 → 14.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 +9 -0
- package/lib/camera-source.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# homebridge-ring
|
|
2
2
|
|
|
3
|
+
## 14.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`dde2a6d`](https://github.com/dgreif/ring/commit/dde2a6d14b078145218b5c1dab305e4573bb36cd) Thanks [@dgreif](https://github.com/dgreif)! - Properly load snapshot placeholder images in all environments. Fixes #1610
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- ring-client-api@14.0.1
|
|
11
|
+
|
|
3
12
|
## 14.0.0
|
|
4
13
|
|
|
5
14
|
### Major Changes
|
package/lib/camera-source.js
CHANGED
|
@@ -8,7 +8,7 @@ import { promisify } from 'util';
|
|
|
8
8
|
import { getFfmpegPath } from 'ring-client-api/ffmpeg';
|
|
9
9
|
import { RtcpSenderInfo, RtcpSrPacket, RtpPacket, SrtpSession, SrtcpSession, } from 'werift';
|
|
10
10
|
import path from 'node:path';
|
|
11
|
-
const __dirname = new URL('.', import.meta.url).pathname, mediaDirectory = path.join(__dirname.replace(
|
|
11
|
+
const __dirname = new URL('.', import.meta.url).pathname, mediaDirectory = path.join(__dirname.replace(/\/lib\/?$/, ''), 'media'), readFileAsync = promisify(readFile), cameraOfflinePath = path.join(mediaDirectory, 'camera-offline.jpg'), snapshotsBlockedPath = path.join(mediaDirectory, 'snapshots-blocked.jpg');
|
|
12
12
|
function getDurationSeconds(start) {
|
|
13
13
|
return (Date.now() - start) / 1000;
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-ring",
|
|
3
3
|
"displayName": "Ring",
|
|
4
|
-
"version": "14.0.
|
|
4
|
+
"version": "14.0.1",
|
|
5
5
|
"description": "Homebridge plugin for Ring doorbells, cameras, security alarm system and smart lighting",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@homebridge/camera-utils": "^3.0.0",
|
|
17
17
|
"@homebridge/plugin-ui-utils": "^2.0.2",
|
|
18
|
-
"ring-client-api": "14.0.
|
|
18
|
+
"ring-client-api": "14.0.1",
|
|
19
19
|
"werift": "0.22.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|