@seamapi/react 4.13.2 → 4.13.3
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/README.md +2 -2
- package/dist/elements.js +2 -2
- package/dist/elements.js.map +1 -1
- package/lib/seam/locks/lock-device.js +2 -2
- package/lib/seam/locks/lock-device.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/lib/seam/locks/lock-device.ts +2 -2
- package/src/lib/version.ts +1 -1
|
@@ -2,8 +2,8 @@ export const isLockDevice = (device) => {
|
|
|
2
2
|
return ('locked' in device.properties ||
|
|
3
3
|
'can_remotely_lock' in device ||
|
|
4
4
|
'can_remotely_unlock' in device ||
|
|
5
|
-
'
|
|
6
|
-
'
|
|
5
|
+
'can_program_online_access_codes' in device ||
|
|
6
|
+
'can_program_offline_access_codes' in device ||
|
|
7
7
|
device.properties.online_access_codes_enabled === true ||
|
|
8
8
|
device.properties.offline_access_codes_enabled === true);
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lock-device.js","sourceRoot":"","sources":["../../../src/lib/seam/locks/lock-device.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAc,EAAwB,EAAE;IACnE,OAAO,CACL,QAAQ,IAAI,MAAM,CAAC,UAAU;QAC7B,mBAAmB,IAAI,MAAM;QAC7B,qBAAqB,IAAI,MAAM;QAC/B,
|
|
1
|
+
{"version":3,"file":"lock-device.js","sourceRoot":"","sources":["../../../src/lib/seam/locks/lock-device.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAc,EAAwB,EAAE;IACnE,OAAO,CACL,QAAQ,IAAI,MAAM,CAAC,UAAU;QAC7B,mBAAmB,IAAI,MAAM;QAC7B,qBAAqB,IAAI,MAAM;QAC/B,iCAAiC,IAAI,MAAM;QAC3C,kCAAkC,IAAI,MAAM;QAC5C,MAAM,CAAC,UAAU,CAAC,2BAA2B,KAAK,IAAI;QACtD,MAAM,CAAC,UAAU,CAAC,4BAA4B,KAAK,IAAI,CACxD,CAAA;AACH,CAAC,CAAA"}
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const seamapiReactVersion = "4.13.
|
|
1
|
+
declare const seamapiReactVersion = "4.13.3";
|
|
2
2
|
export default seamapiReactVersion;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -10,8 +10,8 @@ export const isLockDevice = (device: Device): device is LockDevice => {
|
|
|
10
10
|
'locked' in device.properties ||
|
|
11
11
|
'can_remotely_lock' in device ||
|
|
12
12
|
'can_remotely_unlock' in device ||
|
|
13
|
-
'
|
|
14
|
-
'
|
|
13
|
+
'can_program_online_access_codes' in device ||
|
|
14
|
+
'can_program_offline_access_codes' in device ||
|
|
15
15
|
device.properties.online_access_codes_enabled === true ||
|
|
16
16
|
device.properties.offline_access_codes_enabled === true
|
|
17
17
|
)
|
package/src/lib/version.ts
CHANGED