node-red-contrib-tcp-escpos 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/nodes/node.html +1 -1
  2. package/package.json +1 -1
package/nodes/node.html CHANGED
@@ -13,7 +13,7 @@
13
13
  payload: { value: "I'm Mr. Printer.\nLook at me!" },
14
14
  },
15
15
  label: function () {
16
- return this.name || 'tcp escpos'
16
+ return this.name || this.host || 'tcp escpos'
17
17
  },
18
18
  })
19
19
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-tcp-escpos",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Escpos over TCP/IP node for Node-RED",
5
5
  "devDependencies": {
6
6
  "@types/node": "^18.14.0",