node-red-contrib-boolean-logic-ultimate
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -10,3 +10,3 @@ | ||
node.topic = config.topic || "Inject"; | ||
node.outputJSON = config.outputJSON === undefined ? "{}" : config.outputJSON; | ||
node.outputJSON = (config.outputJSON === undefined || config.outputJSON === '') ? '{ \n\t"payload":"hello",\n\t"topic":"1"\n}' : config.outputJSON; | ||
setNodeStatus({ fill: "grey", shape: "dot", text: "Waiting" }); | ||
@@ -41,4 +41,4 @@ | ||
} catch (error) { | ||
setNodeStatus({ fill: "red", shape: "dot", text: "JSON error " + error.message }); | ||
RED.log.error("node.outputJSON = JSON.parse(node.outputJSON) error:" + error.message); | ||
setNodeStatus({ fill: "red", shape: "dot", text: "JSON error " + error.trace }); | ||
RED.log.error("injectUltimate: node.outputJSON = JSON.parse(node.outputJSON) error:" + error.trace); | ||
} | ||
@@ -45,0 +45,0 @@ node.send([msgTrue, msgFalse, msgToggled, node.outputJSON]); |
@@ -7,2 +7,6 @@ # node-red-contrib-boolean-logic-ultimate | ||
<p> | ||
<b>Version 1.1.12</b> Mai 2024<br/> | ||
- FIX: fixed the empty JSON for old injectUltimate nodes.</br> | ||
</p> | ||
<p> | ||
<b>Version 1.1.11</b> Mai 2024<br/> | ||
@@ -9,0 +13,0 @@ - NEW: inject node now can inject a JSON as well.</br> |
{ | ||
"name": "node-red-contrib-boolean-logic-ultimate", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "A set of Node-RED enhanced boolean logic and utility nodes, flow interruption, blinker, invert, filter, toggle etc.., with persistent values after reboot. Compatible also with Homeassistant values.", | ||
@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1320362