zwave-js 15.3.1 → 15.4.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/build/cjs/lib/_version.d.ts +1 -1
- package/build/cjs/lib/_version.js +1 -1
- package/build/cjs/lib/_version.js.map +1 -1
- package/build/cjs/lib/driver/Driver.js +5 -5
- package/build/cjs/lib/driver/Driver.js.map +2 -2
- package/build/cjs/lib/driver/ZWaveOptions.d.ts +9 -4
- package/build/cjs/lib/driver/ZWaveOptions.js +3 -2
- package/build/cjs/lib/driver/ZWaveOptions.js.map +2 -2
- package/build/cjs/lib/node/Node.js +2 -2
- package/build/cjs/lib/node/Node.js.map +2 -2
- package/build/esm/lib/_version.d.ts +1 -1
- package/build/esm/lib/_version.js +1 -1
- package/build/esm/lib/driver/Driver.d.ts.map +1 -1
- package/build/esm/lib/driver/Driver.js +9 -5
- package/build/esm/lib/driver/Driver.js.map +1 -1
- package/build/esm/lib/driver/ZWaveOptions.d.ts +9 -4
- package/build/esm/lib/driver/ZWaveOptions.d.ts.map +1 -1
- package/build/esm/lib/driver/ZWaveOptions.js +3 -2
- package/build/esm/lib/driver/ZWaveOptions.js.map +1 -1
- package/build/esm/lib/node/Node.d.ts.map +1 -1
- package/build/esm/lib/node/Node.js +3 -4
- package/build/esm/lib/node/Node.js.map +1 -1
- package/package.json +16 -16
|
@@ -22,7 +22,7 @@ __export(version_exports, {
|
|
|
22
22
|
PACKAGE_VERSION: () => PACKAGE_VERSION
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(version_exports);
|
|
25
|
-
const PACKAGE_VERSION = "15.
|
|
25
|
+
const PACKAGE_VERSION = "15.4.0";
|
|
26
26
|
const PACKAGE_NAME = "zwave-js";
|
|
27
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
28
|
0 && (module.exports = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/lib/_version.ts"],
|
|
4
|
-
"sourcesContent": ["// This file is auto-generated by the codegen maintenance script\nexport const PACKAGE_VERSION = \"15.
|
|
4
|
+
"sourcesContent": ["// This file is auto-generated by the codegen maintenance script\nexport const PACKAGE_VERSION = \"15.4.0\";\nexport const PACKAGE_NAME = \"zwave-js\";\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;;;;;;AACO,MAAM,kBAAkB;AACxB,MAAM,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -117,8 +117,8 @@ const defaultOptions = {
|
|
|
117
117
|
softReset: !(0, import_shared.getenv)("ZWAVEJS_DISABLE_SOFT_RESET"),
|
|
118
118
|
// By default enable the unresponsive controller recovery unless the env variable is set
|
|
119
119
|
unresponsiveControllerRecovery: !(0, import_shared.getenv)("ZWAVEJS_DISABLE_UNRESPONSIVE_CONTROLLER_RECOVERY"),
|
|
120
|
-
// By default
|
|
121
|
-
watchdog:
|
|
120
|
+
// By default disable the watchdog
|
|
121
|
+
watchdog: false
|
|
122
122
|
},
|
|
123
123
|
// By default, try to recover from bootloader mode
|
|
124
124
|
bootloaderMode: "recover",
|
|
@@ -3069,9 +3069,6 @@ ${handlers.length} left`);
|
|
|
3069
3069
|
if (msg.command instanceof import_cc.Security2CCNonceGet) {
|
|
3070
3070
|
return this.handleSecurity2NonceGet(node);
|
|
3071
3071
|
}
|
|
3072
|
-
if (msg.command instanceof import_cc.Security2CCNonceReport) {
|
|
3073
|
-
return this.handleSecurity2NonceReport(node, msg.command);
|
|
3074
|
-
}
|
|
3075
3072
|
if (msg.command instanceof import_cc.Security2CCCommandsSupportedGet) {
|
|
3076
3073
|
return this.handleSecurity2CommandsSupportedGet(node, msg.command);
|
|
3077
3074
|
}
|
|
@@ -3138,6 +3135,9 @@ ${handlers.length} left`);
|
|
|
3138
3135
|
return;
|
|
3139
3136
|
}
|
|
3140
3137
|
}
|
|
3138
|
+
if (msg.command instanceof import_cc.Security2CCNonceReport) {
|
|
3139
|
+
return this.handleSecurity2NonceReport(node, msg.command);
|
|
3140
|
+
}
|
|
3141
3141
|
if (msg.command instanceof import_cc.Security2CCMessageEncapsulation && msg.command.encapsulated == void 0) {
|
|
3142
3142
|
await reply(import_core.SupervisionStatus.Success);
|
|
3143
3143
|
return;
|