ring-client-api 11.8.0-beta.0 → 11.8.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/lib/ring-types.js +7 -7
- package/package.json +11 -11
package/lib/ring-types.js
CHANGED
|
@@ -47,7 +47,7 @@ var RingDeviceType;
|
|
|
47
47
|
RingDeviceType["OnvifCamera"] = "onvif_camera";
|
|
48
48
|
RingDeviceType["ThirdPartyGarageDoorOpener"] = "third_party_gdo";
|
|
49
49
|
RingDeviceType["IntercomHandsetAudio"] = "intercom_handset_audio";
|
|
50
|
-
})(RingDeviceType
|
|
50
|
+
})(RingDeviceType || (exports.RingDeviceType = RingDeviceType = {}));
|
|
51
51
|
// eslint-disable-next-line no-shadow
|
|
52
52
|
var RingDeviceCategory;
|
|
53
53
|
(function (RingDeviceCategory) {
|
|
@@ -68,7 +68,7 @@ var RingDeviceCategory;
|
|
|
68
68
|
RingDeviceCategory[RingDeviceCategory["Keypads"] = 33] = "Keypads";
|
|
69
69
|
RingDeviceCategory[RingDeviceCategory["Sirens"] = 34] = "Sirens";
|
|
70
70
|
RingDeviceCategory[RingDeviceCategory["PanicButtons"] = 35] = "PanicButtons";
|
|
71
|
-
})(RingDeviceCategory
|
|
71
|
+
})(RingDeviceCategory || (exports.RingDeviceCategory = RingDeviceCategory = {}));
|
|
72
72
|
// eslint-disable-next-line no-shadow
|
|
73
73
|
var RingCameraKind;
|
|
74
74
|
(function (RingCameraKind) {
|
|
@@ -102,7 +102,7 @@ var RingCameraKind;
|
|
|
102
102
|
RingCameraKind["cocoa_floodlight"] = "cocoa_floodlight";
|
|
103
103
|
RingCameraKind["stickup_cam_mini"] = "stickup_cam_mini";
|
|
104
104
|
RingCameraKind["onvif_camera"] = "onvif_camera";
|
|
105
|
-
})(RingCameraKind
|
|
105
|
+
})(RingCameraKind || (exports.RingCameraKind = RingCameraKind = {}));
|
|
106
106
|
exports.RingCameraModel = {
|
|
107
107
|
doorbot: 'Doorbell',
|
|
108
108
|
doorbell: 'Doorbell',
|
|
@@ -162,7 +162,7 @@ var DoorbellType;
|
|
|
162
162
|
DoorbellType[DoorbellType["Mechanical"] = 0] = "Mechanical";
|
|
163
163
|
DoorbellType[DoorbellType["Digital"] = 1] = "Digital";
|
|
164
164
|
DoorbellType[DoorbellType["None"] = 2] = "None";
|
|
165
|
-
})(DoorbellType
|
|
165
|
+
})(DoorbellType || (exports.DoorbellType = DoorbellType = {}));
|
|
166
166
|
// eslint-disable-next-line no-shadow
|
|
167
167
|
var NotificationDetectionType;
|
|
168
168
|
(function (NotificationDetectionType) {
|
|
@@ -173,7 +173,7 @@ var NotificationDetectionType;
|
|
|
173
173
|
NotificationDetectionType["OtherMotion"] = "other_motion";
|
|
174
174
|
NotificationDetectionType["NotAvailable"] = "null";
|
|
175
175
|
NotificationDetectionType["StreamBroken"] = "stream_broken";
|
|
176
|
-
})(NotificationDetectionType
|
|
176
|
+
})(NotificationDetectionType || (exports.NotificationDetectionType = NotificationDetectionType = {}));
|
|
177
177
|
// eslint-disable-next-line no-shadow
|
|
178
178
|
var PushNotificationAction;
|
|
179
179
|
(function (PushNotificationAction) {
|
|
@@ -181,13 +181,13 @@ var PushNotificationAction;
|
|
|
181
181
|
PushNotificationAction["Motion"] = "com.ring.push.HANDLE_NEW_motion";
|
|
182
182
|
PushNotificationAction["LowBattery"] = "com.ring.push.LOW_BATTERY_ALERT";
|
|
183
183
|
PushNotificationAction["IntercomUnlock"] = "com.ring.push.INTERCOM_UNLOCK_FROM_APP";
|
|
184
|
-
})(PushNotificationAction
|
|
184
|
+
})(PushNotificationAction || (exports.PushNotificationAction = PushNotificationAction = {}));
|
|
185
185
|
// eslint-disable-next-line no-shadow
|
|
186
186
|
var DispatchSignalType;
|
|
187
187
|
(function (DispatchSignalType) {
|
|
188
188
|
DispatchSignalType["Burglar"] = "user-verified-burglar-xa";
|
|
189
189
|
DispatchSignalType["Fire"] = "user-verified-fire-xa";
|
|
190
|
-
})(DispatchSignalType
|
|
190
|
+
})(DispatchSignalType || (exports.DispatchSignalType = DispatchSignalType = {}));
|
|
191
191
|
exports.disabledLocationModes = ['disabled', 'unset'];
|
|
192
192
|
function isWebSocketSupportedAsset({ kind }) {
|
|
193
193
|
return kind.startsWith('base_station') || kind.startsWith('beams_bridge');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ring-client-api",
|
|
3
|
-
"version": "11.8.0
|
|
3
|
+
"version": "11.8.0",
|
|
4
4
|
"description": "Unofficial API for Ring doorbells, cameras, security alarm system and smart lighting",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -27,26 +27,26 @@
|
|
|
27
27
|
"got": "^11.8.5",
|
|
28
28
|
"json-bigint": "^1.0.0",
|
|
29
29
|
"msw": "^1.2.1",
|
|
30
|
-
"rxjs": "^7.8.
|
|
30
|
+
"rxjs": "^7.8.1",
|
|
31
31
|
"socket.io-client": "^2.5.0",
|
|
32
|
-
"systeminformation": "^5.
|
|
32
|
+
"systeminformation": "^5.18.2",
|
|
33
33
|
"uuid": "^9.0.0",
|
|
34
34
|
"webcrypto-core": "^1.7.7",
|
|
35
|
-
"werift": "0.18.
|
|
35
|
+
"werift": "0.18.3",
|
|
36
36
|
"ws": "^8.13.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/debug": "4.1.
|
|
40
|
-
"@types/jest": "29.5.
|
|
39
|
+
"@types/debug": "4.1.8",
|
|
40
|
+
"@types/jest": "29.5.2",
|
|
41
41
|
"@types/json-bigint": "^1.0.1",
|
|
42
|
-
"@types/node": "
|
|
43
|
-
"@types/uuid": "9.0.
|
|
44
|
-
"@types/ws": "^8.5.
|
|
42
|
+
"@types/node": "20.2.5",
|
|
43
|
+
"@types/uuid": "9.0.2",
|
|
44
|
+
"@types/ws": "^8.5.5",
|
|
45
45
|
"eslint-config-shared": "*",
|
|
46
46
|
"jest": "29.5.0",
|
|
47
|
-
"ts-jest": "29.0
|
|
47
|
+
"ts-jest": "29.1.0",
|
|
48
48
|
"tsconfig": "*",
|
|
49
|
-
"typescript": "5.
|
|
49
|
+
"typescript": "5.1.3"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": "^16 || ^18 || ^20"
|