From 716eeb7347521dd2e4ba28077228a7843680bc26 Mon Sep 17 00:00:00 2001 From: Marcus Davies <55892693+marcus-j-davies@users.noreply.github.com> Date: Wed, 6 Dec 2023 16:47:16 +0000 Subject: [PATCH] Maintenance --- CHANGELOG.md | 7 +++++++ package.json | 8 ++++---- zwave-js/zwave-js.js | 22 +++++++++++----------- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c046e16..4fb52224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # node-red-contrib-zwave-js Change Log + + - 9.0.3 + + **Maintenance Release** + - Update dependencies + - Update Node/UI status with regards to Route Rebuilding + - 9.0.2 **Bug Fixes** diff --git a/package.json b/package.json index 3c0514bd..6f80d3bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-zwave-js", - "version": "9.0.2", + "version": "9.0.3", "license": "MIT", "description": "The most powerful, high performing and highly polished Z-Wave node for Node-RED based on Z-Wave JS. If you want a fully featured Z-Wave framework in your Node-RED instance, you have found it.", "dependencies": { @@ -8,11 +8,11 @@ "lodash": "^4.17.21", "winston": "^3.11.0", "winston-transport": "^4.6.0", - "zwave-js": "^12.1.1" + "zwave-js": "^12.4.0" }, "devDependencies": { - "eslint": "^8.51.0", - "prettier": "^3.0.3" + "eslint": "^8.55.0", + "prettier": "^3.1.0" }, "scripts": { "validate": "node-red-dev validate -o validation_result.json" diff --git a/zwave-js/zwave-js.js b/zwave-js/zwave-js.js index cc690023..181afda6 100644 --- a/zwave-js/zwave-js.js +++ b/zwave-js/zwave-js.js @@ -1212,9 +1212,9 @@ module.exports = function (RED) { SetFlowNodeStatus({ fill: 'yellow', shape: 'dot', - text: 'Node Heal Started: ' + Params[0] + text: 'Rebuild Node Routes Started: ' + Params[0] }); - UI.Status('Node Heal Started: ' + Params[0]); + UI.Status('Rebuild Node Routes Started: ' + Params[0]); const HealResponse = await Driver.controller.rebuildNodeRoutes( Params[0] ); @@ -1222,16 +1222,16 @@ module.exports = function (RED) { SetFlowNodeStatus({ fill: 'green', shape: 'dot', - text: 'Node Heal Successful: ' + Params[0] + text: 'Rebuild Node Routes Successful: ' + Params[0] }); - UI.Status('Node Heal Successful: ' + Params[0]); + UI.Status('Rebuild Node Routes Successful ' + Params[0]); } else { SetFlowNodeStatus({ fill: 'red', shape: 'dot', - text: 'Node Heal Unsuccessful: ' + Params[0] + text: 'Rebuild Node Routes Unsuccessful: ' + Params[0] }); - UI.Status('Node Heal Unsuccessful: ' + Params[0]); + UI.Status('Rebuild Node Routes Unsuccessful: ' + Params[0]); } Send( ReturnNode, @@ -1248,9 +1248,9 @@ module.exports = function (RED) { SetFlowNodeStatus({ fill: 'yellow', shape: 'dot', - text: 'Network Heal Started.' + text: 'Route Rebuilding Started.' }); - UI.Status('Network Heal Started.'); + UI.Status('Route Rebuilding Started.'); break; case 'stopRebuildingRoutes': @@ -1259,9 +1259,9 @@ module.exports = function (RED) { SetFlowNodeStatus({ fill: 'blue', shape: 'dot', - text: 'Network Heal Stopped.' + text: 'Route Rebuilding Stopped.' }); - UI.Status('Network Heal Stopped.'); + UI.Status('Route Rebuilding Stopped.'); RestoreReadyStatus(); break; @@ -1930,7 +1930,7 @@ module.exports = function (RED) { 'VALUE_ID_LIST', 'GET_VALUE_RESPONSE', 'GET_VALUE_METADATA_RESPONSE', - "VALUE_TIMESTAMP" + 'VALUE_TIMESTAMP' ]; const TimestampSubjects = [