aes70 2.0.16 → 2.0.17

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/AES70.es5.js CHANGED
@@ -29188,7 +29188,8 @@
29188
29188
  if (failed.length) {
29189
29189
  const timeoutError = new Error('Timeout.');
29190
29190
 
29191
- failed.forEach(([handle, pendingCommand]) => {
29191
+ failed.forEach((pendingCommand) => {
29192
+ const handle = pendingCommand.handle;
29192
29193
  pendingCommands.delete(handle);
29193
29194
  pendingCommand.reject(timeoutError);
29194
29195
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aes70",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "A controller library for the AES70 protocol.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -207,7 +207,8 @@ export class AbstractUDPConnection extends ClientConnection {
207
207
  if (failed.length) {
208
208
  const timeoutError = new Error('Timeout.');
209
209
 
210
- failed.forEach(([handle, pendingCommand]) => {
210
+ failed.forEach((pendingCommand) => {
211
+ const handle = pendingCommand.handle;
211
212
  pendingCommands.delete(handle);
212
213
  pendingCommand.reject(timeoutError);
213
214
  });