mcbe-ipc 3.4.1 → 3.4.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.
Files changed (2) hide show
  1. package/dist/ipc.js +1 -4
  2. package/package.json +1 -1
package/dist/ipc.js CHANGED
@@ -514,17 +514,14 @@ export var NET;
514
514
  if (listeners !== undefined && PROTO.MIPS.is_valid(serialized_header)) {
515
515
  const header_stream = yield* PROTO.MIPS.deserialize(serialized_header);
516
516
  const header = yield* Header.deserialize(header_stream);
517
- const errors = [];
518
517
  for (const listener of [...listeners]) {
519
518
  try {
520
519
  yield* listener(header, event.message);
521
520
  }
522
521
  catch (e) {
523
- errors.push(e);
522
+ console.error(`[MCBE-IPC] listener error while handling packet on "${endpoint}":`, e);
524
523
  }
525
524
  }
526
- if (errors.length > 0)
527
- throw new AggregateError(errors, 'one or more listeners failed');
528
525
  }
529
526
  })());
530
527
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "OmniacDev",
4
4
  "description": "IPC system for MCBE Script API projects",
5
5
  "license": "MIT",
6
- "version": "3.4.1",
6
+ "version": "3.4.2",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/OmniacDev/MCBE-IPC.git"