node-switchbot 1.6.0-beta.10 → 1.6.0-beta.11

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.
@@ -255,12 +255,10 @@ class SwitchbotAdvertising {
255
255
  return null;
256
256
  }
257
257
 
258
-
259
258
  let byte1 = buf.readUInt8(1);
260
259
  let byte2 = buf.readUInt8(2);
261
260
  let byte5 = buf.readUInt8(5);
262
261
 
263
-
264
262
  let tested = byte1 & 0b10000000 ? true : false;
265
263
  let movement = byte1 & 0b01000000 ? true : false;
266
264
  let battery = byte2 & 0b01111111;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-switchbot",
3
- "version": "1.6.0-beta.10",
3
+ "version": "1.6.0-beta.11",
4
4
  "description": "The node-switchbot is a Node.js module which allows you to control your Switchbot Devices through Bluetooth (BLE).",
5
5
  "main": "./lib/switchbot.js",
6
6
  "files": [