ring-client-api 10.0.0 → 11.0.2-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 +64 -0
- package/lib/api/api.js +79 -96
- package/lib/api/device-data.js +20 -31
- package/lib/api/location.js +125 -157
- package/lib/api/refresh-token.js +23 -36
- package/lib/api/rest-client.js +159 -165
- package/lib/api/ring-camera.js +121 -157
- package/lib/api/ring-chime.js +32 -51
- package/lib/api/ring-device.js +4 -1
- package/lib/api/streaming/peer-connection.d.ts +3 -3
- package/lib/api/streaming/peer-connection.js +18 -27
- package/lib/api/streaming/ring-edge-connection.js +56 -65
- package/lib/api/streaming/simple-webrtc-session.js +27 -42
- package/lib/api/streaming/streaming-connection-base.d.ts +1 -1
- package/lib/api/streaming/streaming-connection-base.js +12 -25
- package/lib/api/streaming/streaming-session.d.ts +2 -1
- package/lib/api/streaming/streaming-session.js +60 -74
- package/lib/api/streaming/webrtc-connection.js +22 -30
- package/lib/api/util.js +26 -39
- package/package.json +21 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ring-client-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.2-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": {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"lint": "eslint '**/*.ts' --fix",
|
|
16
16
|
"build": "rm -rf lib && tsc --declaration",
|
|
17
17
|
"build-quick": "rm -rf lib && esbuild ./{api,examples,homebridge}/*.ts ./api/streaming/*.ts --target=es2017 --format=cjs --outdir=lib",
|
|
18
|
-
"example": "node -r @swc-node/register ./
|
|
19
|
-
"api-example": "node -r @swc-node/register ./
|
|
20
|
-
"record-example": "node -r @swc-node/register ./
|
|
21
|
-
"return-audio-example": "node -r @swc-node/register ./
|
|
22
|
-
"stream-example": "node -r @swc-node/register ./
|
|
23
|
-
"browser-example": "node -r @swc-node/register ./
|
|
18
|
+
"example": "node -r @swc-node/register ./examples/example.ts",
|
|
19
|
+
"api-example": "node -r @swc-node/register ./examples/api-example.ts",
|
|
20
|
+
"record-example": "node -r @swc-node/register ./examples/record-example.ts",
|
|
21
|
+
"return-audio-example": "node -r @swc-node/register ./examples/return-audio-example.ts",
|
|
22
|
+
"stream-example": "node -r @swc-node/register ./examples/stream-example.ts",
|
|
23
|
+
"browser-example": "node -r @swc-node/register ./examples/browser-example.ts",
|
|
24
24
|
"auth-cli": "npm run build-quick && ./ring-auth-cli.js",
|
|
25
25
|
"device-data-cli": "npm run build-quick && ./ring-device-data-cli.js",
|
|
26
26
|
"hb": "npm run build-quick && ./build/package-homebridge.sh && homebridge -P ./release-homebridge -U ./.homebridge",
|
|
@@ -58,33 +58,33 @@
|
|
|
58
58
|
"@eneris/push-receiver": "^3.0.1",
|
|
59
59
|
"@homebridge/camera-utils": "^2.1.0",
|
|
60
60
|
"@homebridge/plugin-ui-utils": "^0.0.19",
|
|
61
|
-
"
|
|
61
|
+
"werift": "^0.15.1",
|
|
62
62
|
"@types/socket.io-client": "1.4.36",
|
|
63
63
|
"colors": "^1.4.0",
|
|
64
64
|
"debug": "^4.3.4",
|
|
65
65
|
"got": "^11.8.3",
|
|
66
66
|
"rxjs": "^7.5.5",
|
|
67
67
|
"socket.io-client": "^2.4.0",
|
|
68
|
-
"systeminformation": "^5.11.
|
|
68
|
+
"systeminformation": "^5.11.15",
|
|
69
69
|
"uuid": "^8.3.2",
|
|
70
70
|
"ws": "^8.6.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@swc-node/register": "^1.5.1",
|
|
74
74
|
"@types/debug": "4.1.7",
|
|
75
|
-
"@types/jest": "27.5.
|
|
76
|
-
"@types/node": "17.0.
|
|
75
|
+
"@types/jest": "27.5.1",
|
|
76
|
+
"@types/node": "17.0.34",
|
|
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.25.0",
|
|
80
|
+
"@typescript-eslint/parser": "5.25.0",
|
|
81
|
+
"concurrently": "^7.2.0",
|
|
82
82
|
"conventional-github-releaser": "3.1.5",
|
|
83
|
-
"dotenv": "16.0.
|
|
84
|
-
"esbuild": "^0.14.
|
|
85
|
-
"eslint": "8.
|
|
83
|
+
"dotenv": "16.0.1",
|
|
84
|
+
"esbuild": "^0.14.39",
|
|
85
|
+
"eslint": "8.15.0",
|
|
86
86
|
"eslint-config-prettier": "8.5.0",
|
|
87
|
-
"eslint-plugin-jest": "26.
|
|
87
|
+
"eslint-plugin-jest": "26.2.2",
|
|
88
88
|
"eslint-plugin-prettier": "4.0.0",
|
|
89
89
|
"express": "4.18.1",
|
|
90
90
|
"homebridge": "1.4.1",
|
|
@@ -92,12 +92,12 @@
|
|
|
92
92
|
"prettier": "2.6.2",
|
|
93
93
|
"reflect-metadata": "0.1.13",
|
|
94
94
|
"rimraf": "3.0.2",
|
|
95
|
-
"standard-version": "9.
|
|
96
|
-
"ts-jest": "28.0.
|
|
95
|
+
"standard-version": "9.5.0",
|
|
96
|
+
"ts-jest": "28.0.2",
|
|
97
97
|
"typescript": "4.6.4"
|
|
98
98
|
},
|
|
99
99
|
"engines": {
|
|
100
|
-
"node": "^
|
|
100
|
+
"node": "^16",
|
|
101
101
|
"homebridge": ">=1.4.0"
|
|
102
102
|
},
|
|
103
103
|
"bugs": {
|