zwave-js 15.17.0 → 15.17.1
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 -3
- package/build/cjs/lib/driver/Driver.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 +8 -5
- package/build/esm/lib/driver/Driver.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.17.
|
|
25
|
+
const PACKAGE_VERSION = "15.17.1";
|
|
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.17.
|
|
4
|
+
"sourcesContent": ["// This file is auto-generated by the codegen maintenance script\nexport const PACKAGE_VERSION = \"15.17.1\";\nexport const PACKAGE_NAME = \"zwave-js\";\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;;;;;;AACO,MAAM,kBAAkB;AACxB,MAAM,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3131,9 +3131,11 @@ ${handlers.length} left`);
|
|
|
3131
3131
|
const nodeId = msg.getNodeId();
|
|
3132
3132
|
const currentTransaction = this.queue.currentTransaction;
|
|
3133
3133
|
const currentMessage = currentTransaction?.getCurrentMessage();
|
|
3134
|
-
const
|
|
3134
|
+
const isS2NonceReportSOS = msg.command instanceof import_cc.Security2CCNonceReport && msg.command.SOS && !!msg.command.receiverEI;
|
|
3135
|
+
const isS0NonceReport = msg.command instanceof import_cc.SecurityCCNonceReport;
|
|
3136
|
+
const isNonceReport = isS0NonceReport || isS2NonceReportSOS;
|
|
3135
3137
|
if (currentMessage && currentMessage.expectsNodeUpdate(this) && currentMessage.isExpectedNodeUpdate(this, msg)) {
|
|
3136
|
-
if (
|
|
3138
|
+
if (isNonceReport) {
|
|
3137
3139
|
currentMessage.prematureNodeUpdate = msg;
|
|
3138
3140
|
}
|
|
3139
3141
|
if ((0, import_serialapi.isSendData)(currentMessage)) {
|
|
@@ -3144,7 +3146,7 @@ ${handlers.length} left`);
|
|
|
3144
3146
|
});
|
|
3145
3147
|
void this.abortSendData();
|
|
3146
3148
|
}
|
|
3147
|
-
if (!
|
|
3149
|
+
if (!isNonceReport)
|
|
3148
3150
|
currentTransaction.abort(msg);
|
|
3149
3151
|
return;
|
|
3150
3152
|
}
|