smart-home-engine 1.7.0 → 1.8.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/dist/web/assets/{index-CloKwceI.css → index-CmpNIegY.css} +1 -1
- package/dist/web/assets/{index-Ba2WAZRy.js → index-DLsurhm_.js} +65 -65
- package/dist/web/assets/{tsMode-BXBhvzFd.js → tsMode-Ca6ze8bD.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/src/lib/mosquitto-conf.js +10 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as O}from"./monaco-langs-BW2J83t5.js";import{t as I}from"./index-
|
|
1
|
+
import{m as O}from"./monaco-langs-BW2J83t5.js";import{t as I}from"./index-DLsurhm_.js";/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
4
|
* Released under the MIT license
|
package/dist/web/index.html
CHANGED
|
@@ -172,10 +172,10 @@
|
|
|
172
172
|
}
|
|
173
173
|
})();
|
|
174
174
|
</script>
|
|
175
|
-
<script type="module" crossorigin src="/assets/index-
|
|
175
|
+
<script type="module" crossorigin src="/assets/index-DLsurhm_.js"></script>
|
|
176
176
|
<link rel="modulepreload" crossorigin href="/assets/monaco-langs-BW2J83t5.js">
|
|
177
177
|
<link rel="stylesheet" crossorigin href="/assets/monaco-langs-DyX1CsEw.css">
|
|
178
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
178
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CmpNIegY.css">
|
|
179
179
|
</head>
|
|
180
180
|
<body>
|
|
181
181
|
<div id="app"></div>
|
package/package.json
CHANGED
|
@@ -138,6 +138,8 @@ function isListenerSubkey(key) {
|
|
|
138
138
|
'tls_version',
|
|
139
139
|
'websockets_log_level',
|
|
140
140
|
'allow_anonymous',
|
|
141
|
+
'password_file',
|
|
142
|
+
'acl_file',
|
|
141
143
|
].includes(key);
|
|
142
144
|
}
|
|
143
145
|
|
|
@@ -175,6 +177,12 @@ function applyListenerKey(listener, key, value) {
|
|
|
175
177
|
case 'allow_anonymous':
|
|
176
178
|
listener.allow_anonymous = value === 'true';
|
|
177
179
|
break;
|
|
180
|
+
case 'password_file':
|
|
181
|
+
listener.password_file = value;
|
|
182
|
+
break;
|
|
183
|
+
case 'acl_file':
|
|
184
|
+
listener.acl_file = value;
|
|
185
|
+
break;
|
|
178
186
|
default:
|
|
179
187
|
break;
|
|
180
188
|
}
|
|
@@ -238,6 +246,8 @@ function serialise(conf) {
|
|
|
238
246
|
if (l.allow_anonymous !== undefined) {
|
|
239
247
|
lines.push(`allow_anonymous ${l.allow_anonymous ? 'true' : 'false'}`);
|
|
240
248
|
}
|
|
249
|
+
if (l.password_file) lines.push(`password_file ${l.password_file}`);
|
|
250
|
+
if (l.acl_file) lines.push(`acl_file ${l.acl_file}`);
|
|
241
251
|
lines.push('');
|
|
242
252
|
}
|
|
243
253
|
|