node-red-contrib-mobius-flow-base 3.4.0-beta.2 → 3.5.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.
@@ -30,7 +30,7 @@ POSSIBILITY OF SUCH DAMAGE.
30
30
  <input class="input-append-left" type="text" id="node-config-input-host" placeholder="e.g. localhost" style="width: 70%;" >
31
31
  </div>
32
32
  <p style="text-align:center"> Ensure port number is included in host path if required</p>
33
- <p style="text-align:center"> e.g. <b>myHostname:8443</b></p>
33
+ <p style="text-align:center"> e.g. <b>myHostname:8442</b></p>
34
34
  <hr>
35
35
  <div class="form-row">
36
36
  <label for="node-config-input-username"><i class="fa fa-user"></i> Username</label>
@@ -49,25 +49,25 @@ POSSIBILITY OF SUCH DAMAGE.
49
49
  </script>
50
50
 
51
51
  <script type="text/javascript">
52
- hostLabel = 'test';
53
- RED.nodes.registerType('mobius connection', {
54
- category: 'config',
52
+ hostLabel = "test";
53
+ RED.nodes.registerType("mobius connection", {
54
+ category: "config",
55
55
  defaults: {
56
- host: { required: true, value: 'mobius:8443' },
57
- username: { required: true, value: '' },
58
- password: { required: true, value: '' },
56
+ host: { required: true, value: "mobius:8442" },
57
+ username: { required: true, value: "" },
58
+ password: { required: true, value: "" },
59
59
  secure: { required: true, value: false },
60
60
  },
61
61
  label: function () {
62
62
  return `${this.host}`;
63
63
  },
64
64
  oneditprepare: function () {
65
- $('#node-config-input-secure').change(function () {
66
- let secure = $('#node-config-input-secure').is(':checked');
65
+ $("#node-config-input-secure").change(function () {
66
+ let secure = $("#node-config-input-secure").is(":checked");
67
67
  if (secure) {
68
- document.getElementById('hostLabel').innerHTML = 'https://';
68
+ document.getElementById("hostLabel").innerHTML = "https://";
69
69
  } else {
70
- document.getElementById('hostLabel').innerHTML = 'http://';
70
+ document.getElementById("hostLabel").innerHTML = "http://";
71
71
  }
72
72
  });
73
73
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-mobius-flow-base",
3
- "version": "3.4.0-beta.2",
3
+ "version": "3.5.0",
4
4
  "description": "Node-RED base nodes for Mobius Flow",
5
5
  "main": "index.js",
6
6
  "types": "dist/index.d.ts",