@mschaeffler/node-red-logic 0.5.1 → 0.6.0

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.
package/math_reduce.html CHANGED
@@ -122,6 +122,8 @@
122
122
  <dd> result of combining of all input topics.</dd>
123
123
  <dt>count <span class="property-type">number</span></dt>
124
124
  <dd> number of data elements.</dd>
125
+ <dt>data <span class="property-type">object</span></dt>
126
+ <dd> actual input data.</dd>
125
127
  </dl>
126
128
 
127
129
  <h3>Parameter</h3>
package/math_reduce.js CHANGED
@@ -34,6 +34,7 @@ module.exports = function(RED) {
34
34
 
35
35
  msg.topic = node.topic;
36
36
  msg.count = 0;
37
+ msg.data = data;
37
38
  switch( node.algo )
38
39
  {
39
40
  case "add":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mschaeffler/node-red-logic",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "nodes for simple operations.",
5
5
  "license": "LGPL-2.1",
6
6
  "homepage": "https://github.com/m-schaeffler/node-red-my-nodes/tree/main/node-red-logic",