@letis009/node-red-contrib-tdn-report 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -14,3 +14,7 @@ Restart Node-RED afterwards.
14
14
  ## Usage
15
15
 
16
16
  Drag the `tdn-report` node from the palette and wire it to any payload that contains format data. It outputs a formatted string report.
17
+
18
+ ## Support
19
+
20
+ npm.switchpoint@gmail.com
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letis009/node-red-contrib-tdn-report",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "TDN Deposit Report Formatter Node",
5
5
  "main": "tdn-report.js",
6
6
  "node-red": {
@@ -15,6 +15,9 @@
15
15
  ],
16
16
  "author": "Switch Point",
17
17
  "license": "MIT",
18
+ "bugs": {
19
+ "email": "npm.switchpoint@gmail.com"
20
+ },
18
21
  "repository": {
19
22
  "type": "git",
20
23
  "url": "https://github.com/letis009/node-red-contrib-reportsFile.git"
package/report-logic.js CHANGED
@@ -1,11 +1,2 @@
1
1
  module.exports = function(msg, RED, node) {
2
- // const printStringArray = [];
3
- const global = {
4
- get: (key) => {
5
- if (key === "prod.enabledDevice") return "ANALOGUE";
6
- if (key === "prod.reportFormat") return "SBV+Rej";
7
- return undefined;
8
- }
9
- };
10
- /* Full report logic from user’s function goes here */
11
2
  };