Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-hikvision-ultimate

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-hikvision-ultimate - npm Package Compare versions

Comparing version 1.0.50 to 1.0.51

4

CHANGELOG.md

@@ -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/>

6

nodes/hikvisionUltimateXML.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc