homebridge-smartsystem 6.1.1 → 6.1.2
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/duotecno/types.js +1 -1
- package/duotecno/types.ts +1 -1
- package/package.json +1 -1
package/duotecno/types.js
CHANGED
|
@@ -110,7 +110,7 @@ exports.logSettings = {
|
|
|
110
110
|
exports.logFunction = console.log;
|
|
111
111
|
function setLogFunction(F) {
|
|
112
112
|
console.log(">>>>>>>>> changing logfunction to: " + F.name + " <<<<<<<<<<");
|
|
113
|
-
exports.logFunction = F;
|
|
113
|
+
exports.logFunction = (m) => { F(m); };
|
|
114
114
|
}
|
|
115
115
|
exports.setLogFunction = setLogFunction;
|
|
116
116
|
function err(type, message) {
|
package/duotecno/types.ts
CHANGED
|
@@ -62,7 +62,7 @@ export const logSettings = {
|
|
|
62
62
|
export let logFunction = console.log;
|
|
63
63
|
export function setLogFunction(F) {
|
|
64
64
|
console.log(">>>>>>>>> changing logfunction to: " + F.name + " <<<<<<<<<<");
|
|
65
|
-
logFunction = F;
|
|
65
|
+
logFunction = (m) => { F(m) };
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export function err(type: string, message: string | object) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-smartsystem",
|
|
3
3
|
"displayname": "Duotecno Bridge",
|
|
4
|
-
"version": "6.1.
|
|
4
|
+
"version": "6.1.2",
|
|
5
5
|
"description": "SmartServer (Proxy Websockets to TCP sockets, Smappee MQTT, Duotecno IP Nodes, Homekit interface)",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"author": "Johan Coppieters",
|