0.4.2
- Add options to set threshold and duration to active check. 8e621e6
- Remove Error when not connected, this break WH-C06 without GATT service. 8e621e6
active(
(isActive) => {
console.log(isActive)
},
// Optionally using a weight threshold and duration
{ threshold: 2.5, duration: 1000 },
)
Full Changelog: 0.4.1...0.4.2