@vitormnm/node-red-simple-opcua 1.4.1 → 1.4.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.
@@ -26,19 +26,13 @@ const { OpcUaClientSubscriptionIdService } = require("./lib/opcua-client-subscri
26
26
  const path = require("path");
27
27
 
28
28
 
29
- const fs = require("fs");
30
- const arquivo = path.join(__dirname, "testClient.json");
31
29
 
32
30
  module.exports = function (RED) {
33
31
  function OpcUaClientNode(config) {
34
32
  RED.nodes.createNode(this, config);
35
33
  const node = this;
36
34
 
37
- fs.writeFileSync(
38
- arquivo,
39
- JSON.stringify(config, null, 2),
40
- "utf8"
41
- );
35
+
42
36
 
43
37
  node.name = (config.name || "").trim();
44
38
  node.connection = RED.nodes.getNode(config.connection);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitormnm/node-red-simple-opcua",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,18 +0,0 @@
1
- {
2
- "id": "72c8a9a049a63b1c",
3
- "type": "opcua-client",
4
- "z": "7a59646bfdbe5f29",
5
- "name": "client browse",
6
- "connection": "b09a1570957d3c44",
7
- "mode": "browse",
8
- "selectedItems": "[\n {\n \"name\": \"myServer1\",\n \"nodeID\": \"ns=2;s=myServer1\",\n \"nodeClass\": \"Object\",\n \"valueProperty\": \"payload\",\n \"valuePropertyType\": \"msg\"\n }\n]",
9
- "samplingInterval": 250,
10
- "publishingInterval": 250,
11
- "x": 590,
12
- "y": 1200,
13
- "wires": [
14
- [
15
- "ac4d1f63af2598d4"
16
- ]
17
- ]
18
- }