From 15c70e2b2d5bbde79461c8230ba02bf4f16ef2d3 Mon Sep 17 00:00:00 2001 From: Skylar Sadlier Date: Thu, 26 Aug 2021 09:39:04 -0600 Subject: [PATCH] Fixed issue with node-localstorage being a dev dependency when it shouldn't be. Also added informational text to matrix-server-config.html --- package.json | 10 ++++------ src/matrix-server-config.html | 9 ++++++++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index f01a0ef..3650806 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { "name": "node-red-contrib-matrix-chat", - "version": "0.1.5", + "version": "0.1.6", "description": "Matrix chat server client for Node-RED", "dependencies": { "got": "^11.8.2", "isomorphic-webcrypto": "^2.3.8", "matrix-js-sdk": "^12.2.0", "olm": "https://packages.matrix.org/npm/olm/olm-3.1.4.tgz", - "utf8": "^3.0.0" + "utf8": "^3.0.0", + "node-localstorage": "^2.2.1" }, "node-red": { "nodes": { @@ -47,8 +48,5 @@ "name": "Skylar Sadlier", "url": "https://skylar.tech" }, - "license": "SEE LICENSE FILE", - "devDependencies": { - "node-localstorage": "^2.2.1" - } + "license": "SEE LICENSE FILE" } diff --git a/src/matrix-server-config.html b/src/matrix-server-config.html index befdb78..6589bdf 100644 --- a/src/matrix-server-config.html +++ b/src/matrix-server-config.html @@ -33,12 +33,15 @@ +
+ View the node docs to figure out how to generate an Access Token. You can also generate them using the Shared Secret Registration node. +
- View the node docs to figure out how to generate an Access Token & Device ID. You can also generate them using the Shared Secret Registration node. + This can either be an existing Device ID attached to the above Access Token or you can enter a unique value to set a new one.
@@ -64,6 +67,10 @@ Enable end-to-end encryption (requires DeviceID)
+ +
+ E2ee requires a Device ID to be set. +