node-red-contrib-hikvision-ultimate
Advanced tools
Comparing version 1.0.50 to 1.0.51
@@ -7,2 +7,6 @@ <p align="center"><img src='https://raw.githubusercontent.com/Supergiovane/node-red-contrib-hikvision-ultimate/master/img/logo.png' width="40%"></p> | ||
<p> | ||
<b>Version 1.0.51</b> August 2021<br/> | ||
- FIX: XML Node won't retain the XML text.<br/> | ||
</p> | ||
<p> | ||
<b>Version 1.0.50</b> Juli 2021<br/> | ||
@@ -9,0 +13,0 @@ - You can now connect to devices using HTTPS with a self signed certificate. Preiouusly, the node was given an SSL warning and refuse to connect.<br/> |
@@ -8,3 +8,3 @@ | ||
node.server = RED.nodes.getNode(config.server) | ||
node.XML = config.XML === undefined ? "" : config.XML; | ||
node.xmlText = config.xmlText === undefined ? "" : config.xmlText; | ||
node.path = config.path === undefined ? "" : config.path; | ||
@@ -24,3 +24,3 @@ node.method = config.method === undefined ? "PUT" : config.method; | ||
// Overrides | ||
if (msg.hasOwnProperty("XML")) node.XML = msg.XML; | ||
if (msg.hasOwnProperty("XML")) node.xmlText = msg.XML; | ||
if (msg.hasOwnProperty("path")) node.path = msg.path; | ||
@@ -32,3 +32,3 @@ if (msg.hasOwnProperty("method")) node.method = msg.method; | ||
// Params: _callerNode, _method, _URL, _body | ||
node.server.request(node, node.method, node.path, node.XML); | ||
node.server.request(node, node.method, node.path, node.xmlText); | ||
} catch (error) { | ||
@@ -35,0 +35,0 @@ |
{ | ||
"name": "node-red-contrib-hikvision-ultimate", | ||
"version": "1.0.50", | ||
"version": "1.0.51", | ||
"description": "A native set of nodes for Hikvision Cameras, Alarms, Radars etc.", | ||
@@ -5,0 +5,0 @@ "author": "Supergiovane (https://github.com/Supergiovane)", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1427388