From e02d2d7b66a684890ae70e36c050730dab3f2b7b Mon Sep 17 00:00:00 2001 From: LynnL4 Date: Thu, 17 Oct 2024 14:52:11 +0800 Subject: [PATCH] chore: release v0.0.6 --- nodes/sscma.html | 2 +- nodes/stream.js | 8 ++++---- package.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nodes/sscma.html b/nodes/sscma.html index e3f0bb1..19a259a 100644 --- a/nodes/sscma.html +++ b/nodes/sscma.html @@ -57,6 +57,6 @@ } }); RED.events.on('config:add', function (node) { - console.log(node) + console.log(node) }); \ No newline at end of file diff --git a/nodes/stream.js b/nodes/stream.js index b4ca7d8..0f3fba4 100644 --- a/nodes/stream.js +++ b/nodes/stream.js @@ -11,15 +11,15 @@ module.exports = function (RED) { password: config.password } - node.receive = function(msg) { - + node.receive = function (msg) { + } if (node.client) { node.client.register(node); } - - node.on('close', function(removed, done) { + + node.on('close', function (removed, done) { if (node.client) { node.client.deregister(node, done, removed); node.client = null; diff --git a/package.json b/package.json index ebf7797..e5596cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-sscma", - "version": "0.0.5", + "version": "0.0.6", "description": "Node-RED nodes for SSCMA", "repository": { "type": "git", @@ -29,4 +29,4 @@ "engines": { "node": ">=12" } -} \ No newline at end of file +}