@interopio/desktop 6.13.0 → 6.13.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/changelog.md CHANGED
@@ -1,3 +1,5 @@
1
+ 6.13.1
2
+ - fix: windows - group.onClosing throws an unhandledrejection error when the group is closed before the event is subscribed
1
3
  6.13.0
2
4
  - feat: windows - group.reload method added
3
5
  6.12.0
@@ -15412,6 +15412,8 @@
15412
15412
  }
15413
15413
  nonWindowHandlersCore(targetId, type, isGroup, callback) {
15414
15414
  const id = `${targetId}-${type}`;
15415
+ const noOperationHandler = () => {
15416
+ };
15415
15417
  const unsub = () => {
15416
15418
  var _a;
15417
15419
  if (this.unsubCallbacks[id]) {
@@ -15430,13 +15432,13 @@
15430
15432
  this.executeGroup(type, {
15431
15433
  groupId: targetId,
15432
15434
  options
15433
- });
15435
+ }).catch(noOperationHandler);
15434
15436
  }
15435
15437
  else {
15436
15438
  this.execute(type, {
15437
15439
  windowId: targetId,
15438
15440
  options
15439
- });
15441
+ }).catch(noOperationHandler);
15440
15442
  }
15441
15443
  }
15442
15444
  };
@@ -15448,10 +15450,10 @@
15448
15450
  this.unsubCallbacks[id] = [callback];
15449
15451
  }
15450
15452
  if (isGroup) {
15451
- this.executeGroup(type, { groupId: targetId });
15453
+ this.executeGroup(type, { groupId: targetId }).catch(noOperationHandler);
15452
15454
  }
15453
15455
  else {
15454
- this.execute(type, { windowId: targetId });
15456
+ this.execute(type, { windowId: targetId }).catch(noOperationHandler);
15455
15457
  }
15456
15458
  return unsub;
15457
15459
  }
@@ -19181,7 +19183,7 @@
19181
19183
  };
19182
19184
  }
19183
19185
 
19184
- var version = "6.13.0";
19186
+ var version = "6.13.1";
19185
19187
 
19186
19188
  var prepareConfig = (options) => {
19187
19189
  function getLibConfig(value, defaultMode, trueMode) {