@theotherwillembotha/node-red-nginxproxymanager 0.0.55 → 0.1.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.
package/build/Nodes.html CHANGED
@@ -509,11 +509,14 @@ Connection configuration for an Nginx Proxy Manager instance. Referenced by all
509
509
  width: 120px !important;
510
510
  }
511
511
 
512
- .towb_editorfield {
512
+ input.towb_editorfield,
513
+ select.towb_editorfield,
514
+ textarea.towb_editorfield {
513
515
  width: 70% !important;
514
516
  }
515
517
 
516
- .towb_editorfield_short {
518
+ input.towb_editorfield_short,
519
+ select.towb_editorfield_short {
517
520
  width: 30% !important;
518
521
  }
519
522
 
@@ -992,11 +995,14 @@ The original message is forwarded unchanged after the operation completes.
992
995
  width: 120px !important;
993
996
  }
994
997
 
995
- .towb_editorfield {
998
+ input.towb_editorfield,
999
+ select.towb_editorfield,
1000
+ textarea.towb_editorfield {
996
1001
  width: 70% !important;
997
1002
  }
998
1003
 
999
- .towb_editorfield_short {
1004
+ input.towb_editorfield_short,
1005
+ select.towb_editorfield_short {
1000
1006
  width: 30% !important;
1001
1007
  }
1002
1008
 
package/build/Plugins.js CHANGED
@@ -26,7 +26,6 @@ module.exports = function (RED) {
26
26
  let plugin = RED.plugins.get(pluginID);
27
27
 
28
28
  if(addedPlugin && plugin.instantiate && !plugin.instance){
29
- console.log("Deploying instance of: " + plugin.id);
30
29
  plugin.instance = new plugin.class();
31
30
 
32
31
  // instantiate the plugin.
@@ -46,5 +46,8 @@ class NginxProxyManagerClient {
46
46
  forwardPort: h.forward_port,
47
47
  }));
48
48
  }
49
+ async deleteHost(id) {
50
+ await this._client.deleteProxyHost(id);
51
+ }
49
52
  }
50
53
  exports.NginxProxyManagerClient = NginxProxyManagerClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theotherwillembotha/node-red-nginxproxymanager",
3
- "version": "0.0.55",
3
+ "version": "0.1.0",
4
4
  "description": "Node-RED nodes for managing Nginx Proxy Manager hosts, built on node-red-plugincore.",
5
5
  "author": "Willem Botha (@theotherwillembotha)",
6
6
  "license": "ISC",
@@ -40,7 +40,7 @@
40
40
  "nodered": ">=4.0.0"
41
41
  },
42
42
  "dependencies": {
43
- "@theotherwillembotha/node-red-plugincore": "^0.0.55"
43
+ "@theotherwillembotha/node-red-plugincore": "^0.1.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@theotherwillembotha/node-red-plugincore": "../nodered_plugincore",