zigbee-clusters 2.4.0 → 2.4.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/lib/Cluster.js +1 -1
- package/package.json +1 -1
package/lib/Cluster.js
CHANGED
|
@@ -958,7 +958,7 @@ class Cluster extends EventEmitter {
|
|
|
958
958
|
|
|
959
959
|
async _awaitPacket(trxSequenceNumber, timeout = 25000) {
|
|
960
960
|
if (this._trxHandlers[trxSequenceNumber]) {
|
|
961
|
-
throw new
|
|
961
|
+
throw new Error(`already waiting for this trx: ${trxSequenceNumber}`);
|
|
962
962
|
}
|
|
963
963
|
return new Promise((resolve, reject) => {
|
|
964
964
|
const t = setTimeout(() => {
|