dt-common-device 11.0.3 → 11.0.4

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.
@@ -7,6 +7,7 @@ export declare const CONNECTION_PROVIDERS: {
7
7
  readonly SENSIBO: "Sensibo";
8
8
  readonly VERDANT: "Verdant";
9
9
  readonly SALTOKS: "SaltoKS";
10
+ readonly SALTOSPACE: "SaltoSpace";
10
11
  readonly SCHLAGE: "Schlage";
11
12
  readonly SMARTTHINGS: "Smartthings";
12
13
  readonly TTLOCK: "TTLock";
@@ -13,6 +13,7 @@ exports.CONNECTION_PROVIDERS = {
13
13
  VERDANT: "Verdant",
14
14
  // LOCKS
15
15
  SALTOKS: "SaltoKS",
16
+ SALTOSPACE: "SaltoSpace",
16
17
  SCHLAGE: "Schlage",
17
18
  SMARTTHINGS: "Smartthings",
18
19
  TTLOCK: "TTLock",
@@ -19,6 +19,7 @@ export declare enum ConnectionProvider {
19
19
  Verdant = "Verdant",
20
20
  Smartthings = "Smartthings",
21
21
  SaltoKS = "SaltoKS",
22
+ SaltoSpace = "SaltoSpace",
22
23
  TTLock = "TTLock",
23
24
  Tuya = "Tuya",
24
25
  Schlage = "Schlage",
@@ -9,6 +9,7 @@ var ConnectionProvider;
9
9
  // Locks
10
10
  ConnectionProvider["Smartthings"] = "Smartthings";
11
11
  ConnectionProvider["SaltoKS"] = "SaltoKS";
12
+ ConnectionProvider["SaltoSpace"] = "SaltoSpace";
12
13
  ConnectionProvider["TTLock"] = "TTLock";
13
14
  ConnectionProvider["Tuya"] = "Tuya";
14
15
  ConnectionProvider["Schlage"] = "Schlage";
@@ -42,6 +42,7 @@ export declare enum EntitySubType {
42
42
  DUSAW = "DUSAW",
43
43
  YALEWIFI = "YALEWIFI",
44
44
  SALTOKS = "SALTOKS",
45
+ SALTOSPACE = "SALTOSPACE",
45
46
  SCHLAGE = "SCHLAGE",
46
47
  LOCKLY = "LOCKLY"
47
48
  }
@@ -52,6 +52,7 @@ var EntitySubType;
52
52
  EntitySubType["DUSAW"] = "DUSAW";
53
53
  EntitySubType["YALEWIFI"] = "YALEWIFI";
54
54
  EntitySubType["SALTOKS"] = "SALTOKS";
55
+ EntitySubType["SALTOSPACE"] = "SALTOSPACE";
55
56
  EntitySubType["SCHLAGE"] = "SCHLAGE";
56
57
  EntitySubType["LOCKLY"] = "LOCKLY";
57
58
  })(EntitySubType || (exports.EntitySubType = EntitySubType = {}));
@@ -99,6 +99,12 @@ class RateLimitUtils {
99
99
  provider: constants_1.CONNECTION_PROVIDERS.SALTOKS,
100
100
  maxTimeoutWindowMs: 120000,
101
101
  });
102
+ configs.set(constants_1.CONNECTION_PROVIDERS.SALTOSPACE, {
103
+ maxRequests: 5,
104
+ windowMs: 60000,
105
+ provider: constants_1.CONNECTION_PROVIDERS.SALTOSPACE,
106
+ maxTimeoutWindowMs: 120000,
107
+ });
102
108
  configs.set(constants_1.CONNECTION_PROVIDERS.VERDANT, {
103
109
  maxRequests: 5,
104
110
  windowMs: 60000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "11.0.3",
3
+ "version": "11.0.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [