ring-client-api 9.22.1 → 9.25.0-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ring-client-api",
3
- "version": "9.22.1",
3
+ "version": "9.25.0-beta.1",
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": {
@@ -14,14 +14,16 @@
14
14
  "watch:tests": "jest --watch",
15
15
  "lint": "eslint '**/*.ts' --fix",
16
16
  "build": "rm -rf lib && tsc --declaration",
17
- "example": "npm run build && node ./lib/examples/example.js",
18
- "api-example": "npm run build && node ./lib/examples/api-example.js",
19
- "record-example": "npm run build && node ./lib/examples/record-example.js",
20
- "stream-example": "npm run build && node ./lib/examples/stream-example.js",
21
- "browser-example": "npm run build && node ./lib/examples/browser-example.js",
22
- "auth-cli": "npm run build && ./ring-auth-cli.js",
23
- "device-data-cli": "npm run build && ./ring-device-data-cli.js",
24
- "hb": "npm run build && ./build/package-homebridge.sh && homebridge -P ./release-homebridge -U ./.homebridge",
17
+ "build-quick": "rm -rf lib && esbuild ./{api,examples,homebridge}/*.ts ./api/*.js --target=es2017 --format=cjs --outdir=lib",
18
+ "example": "npm run build-quick && node ./lib/examples/example.js",
19
+ "api-example": "npm run build-quick && node ./lib/examples/api-example.js",
20
+ "record-example": "npm run build-quick && node ./lib/examples/record-example.js",
21
+ "return-audio-example": "npm run build-quick && node ./lib/examples/return-audio-example.js",
22
+ "stream-example": "npm run build-quick && node ./lib/examples/stream-example.js",
23
+ "browser-example": "npm run build-quick && node ./lib/examples/browser-example.js",
24
+ "auth-cli": "npm run build-quick && ./ring-auth-cli.js",
25
+ "device-data-cli": "npm run build-quick && ./ring-device-data-cli.js",
26
+ "hb": "npm run build-quick && ./build/package-homebridge.sh && homebridge -P ./release-homebridge -U ./.homebridge",
25
27
  "prepare-npm-packages": "./build/package-api.sh && ./build/package-homebridge.sh",
26
28
  "push-with-tags": "git push --follow-tags && node ./build/github-releaser.js",
27
29
  "deploy": "git pull -r && standard-version && npm publish ./release-api && npm publish ./release-homebridge && npm run push-with-tags",
@@ -53,42 +55,46 @@
53
55
  "author": "dgreif",
54
56
  "license": "MIT",
55
57
  "dependencies": {
56
- "@homebridge/camera-utils": "2.0.4",
58
+ "@homebridge/camera-utils": "2.1.0",
57
59
  "@homebridge/plugin-ui-utils": "0.0.19",
60
+ "@koush/werift": "0.14.5-beta5",
58
61
  "@types/socket.io-client": "1.4.36",
59
62
  "colors": "1.4.0",
60
- "debug": "4.3.2",
61
- "got": "11.8.2",
62
- "rxjs": "7.3.1",
63
+ "debug": "4.3.3",
64
+ "got": "11.8.3",
65
+ "rxjs": "7.5.2",
63
66
  "sdp": "3.0.3",
64
67
  "socket.io-client": "2.4.0",
65
68
  "stun": "2.1.0",
66
- "systeminformation": "5.9.4",
67
- "uuid": "8.3.2"
69
+ "systeminformation": "5.10.7",
70
+ "uuid": "8.3.2",
71
+ "ws": "8.4.2"
68
72
  },
69
73
  "devDependencies": {
70
74
  "@types/debug": "4.1.7",
71
- "@types/jest": "27.0.2",
72
- "@types/node": "16.10.2",
73
- "@types/uuid": "8.3.1",
74
- "@typescript-eslint/eslint-plugin": "4.32.0",
75
- "@typescript-eslint/parser": "4.32.0",
76
- "concurrently": "^6.2.2",
75
+ "@types/jest": "27.4.0",
76
+ "@types/node": "17.0.10",
77
+ "@types/uuid": "8.3.4",
78
+ "@types/ws": "^8.2.2",
79
+ "@typescript-eslint/eslint-plugin": "5.10.0",
80
+ "@typescript-eslint/parser": "5.10.0",
81
+ "concurrently": "^7.0.0",
77
82
  "conventional-github-releaser": "3.1.5",
78
- "dotenv": "10.0.0",
79
- "eslint": "7.32.0",
83
+ "dotenv": "14.2.0",
84
+ "esbuild": "^0.14.19",
85
+ "eslint": "8.7.0",
80
86
  "eslint-config-prettier": "8.3.0",
81
- "eslint-plugin-jest": "24.5.0",
87
+ "eslint-plugin-jest": "25.7.0",
82
88
  "eslint-plugin-prettier": "4.0.0",
83
- "express": "4.17.1",
84
- "homebridge": "1.3.4",
85
- "jest": "27.2.4",
86
- "prettier": "2.4.1",
89
+ "express": "4.17.2",
90
+ "homebridge": "1.4.0",
91
+ "jest": "27.4.7",
92
+ "prettier": "2.5.1",
87
93
  "reflect-metadata": "0.1.13",
88
94
  "rimraf": "3.0.2",
89
- "standard-version": "9.3.1",
90
- "ts-jest": "27.0.5",
91
- "typescript": "4.4.3"
95
+ "standard-version": "9.3.2",
96
+ "ts-jest": "27.1.3",
97
+ "typescript": "4.5.5"
92
98
  },
93
99
  "engines": {
94
100
  "node": "^10 || ^12.20 || ^14 || ^16",