node-red-contrib-remote 1.3.2 → 1.3.3
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/README.md +3 -0
- package/nodes/remote-commons.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,6 +36,9 @@ You will find more information on [www.remote-red-com](https://www.remote-red.co
|
|
|
36
36
|
|
|
37
37
|
## Version History
|
|
38
38
|
|
|
39
|
+
Version 1.3.3:
|
|
40
|
+
- Improved compatibility for Windows.
|
|
41
|
+
|
|
39
42
|
Version 1.3.2:
|
|
40
43
|
- Changed the method to get the installed node version. Thanks hardillb!
|
|
41
44
|
|
package/nodes/remote-commons.js
CHANGED
|
@@ -6,8 +6,9 @@ const path = require('path');
|
|
|
6
6
|
|
|
7
7
|
module.exports = {
|
|
8
8
|
createAxiosInstance: function() {
|
|
9
|
+
var filepath = path.join(__dirname, 'resources', 'ca.cer');
|
|
9
10
|
const httpsAgent = new https.Agent({
|
|
10
|
-
ca: fs.readFileSync(
|
|
11
|
+
ca: fs.readFileSync(filepath),
|
|
11
12
|
checkServerIdentity: function(host, cert) {
|
|
12
13
|
const pubkeyPinned = 'YHGEo54+LKxdpCuSAFt+Zwx/RVSHER96vM/Rh0/zcQ4=';
|
|
13
14
|
const pubkeyServer = crypto.createHash('sha256').update(cert.pubkey).digest('base64');
|
|
@@ -20,7 +21,7 @@ module.exports = {
|
|
|
20
21
|
},
|
|
21
22
|
|
|
22
23
|
getNodeVersion: function() {
|
|
23
|
-
var filepath = path.join(__dirname, '
|
|
24
|
+
var filepath = path.join(__dirname, '..', 'package.json');
|
|
24
25
|
var pjson = require(filepath);
|
|
25
26
|
return pjson.version;
|
|
26
27
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-remote",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Remote services for Node-RED including remote access, push notifications and questions through push notifications.",
|
|
5
5
|
"author": "Thorsten Heilmann",
|
|
6
6
|
"license": "GPL-3.0",
|