Skip to content

Commit

Permalink
Merge branch 'hotfix/0.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Daisuke Baba committed Apr 17, 2018
2 parents 533cdfb + 2aa673d commit 87e9d28
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ $ rm -fr node_modules; \

# Revision History

* 0.3.1
- Fix an issue where Object.value function was missing on Node.js v6

* 0.3.0
- Add the mac property only when it's available
- Fix an issue where some of events didn't contain the mac address
Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-smartmesh",
"version": "0.3.0",
"version": "0.3.1",
"description": "Node-RED nodes for Analog Devices' SmartMesh® IP Motes and Manager",
"license": "Apache-2.0",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/smartmesh-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class SmartMeshClientProxy {
}

getActiveMotes() {
return Object.values(this.motes).filter(mote => mote.active);
return Object.keys(this.motes).filter(mac => this.motes[mac].active);
}

getActiveMoteCount() {
Expand Down

0 comments on commit 87e9d28

Please sign in to comment.