@interopio/desktop 6.0.1 → 6.0.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.
package/changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ 6.0.2
2
+ - fix: windows - memory leak
3
+ - chore: remove postinstall script
1
4
  6.0.1
2
5
  - fix: version 6 should work with Glue42 3.X
3
6
  6.0.0
@@ -3619,7 +3619,7 @@
3619
3619
  }
3620
3620
  };
3621
3621
 
3622
- var version$2 = "6.0.2";
3622
+ var version$2 = "6.1.0";
3623
3623
 
3624
3624
  function prepareConfig$1 (configuration, ext, glue42gd) {
3625
3625
  var _a, _b, _c, _d;
@@ -15733,10 +15733,12 @@
15733
15733
  get finished() {
15734
15734
  return this._finished;
15735
15735
  }
15736
- init(agm, instance, config) {
15736
+ get configuration() {
15737
+ return this._configuration;
15738
+ }
15739
+ init(agm, instance) {
15737
15740
  this.agm = agm;
15738
15741
  this.agmTarget = instance;
15739
- this._configuration = config;
15740
15742
  this._registry.add("event", (data) => {
15741
15743
  if (data.type === "Closed") {
15742
15744
  const keys = Object.keys(this.unsubCallbacks);
@@ -15749,6 +15751,9 @@
15749
15751
  }
15750
15752
  });
15751
15753
  }
15754
+ setConfiguration(config) {
15755
+ this._configuration = config;
15756
+ }
15752
15757
  handleEvent(data) {
15753
15758
  this._registry.execute("event", data);
15754
15759
  }
@@ -15764,7 +15769,7 @@
15764
15769
  }
15765
15770
  const id = result.returned.id;
15766
15771
  const win = await windowStore.waitFor(id);
15767
- if (!this._configuration || this._configuration.windowAvailableOnURLChanged) {
15772
+ if (!this.configuration || this.configuration.windowAvailableOnURLChanged) {
15768
15773
  setTimeout(() => {
15769
15774
  if (win.API.windowType === "electron") {
15770
15775
  win.Events.handleUrlChanged(win.API.url);
@@ -16618,11 +16623,11 @@
16618
16623
  onData: (streamData) => {
16619
16624
  if (streamData.data.type === "Configuration") {
16620
16625
  this._configuration = streamData.data;
16626
+ executor.setConfiguration(this._configuration);
16621
16627
  return;
16622
16628
  }
16623
16629
  this.updateWindow(streamData.data, resolve);
16624
16630
  executor.handleEvent(streamData.data);
16625
- executor.init(this._agm, this._agmInstance, this._configuration);
16626
16631
  },
16627
16632
  onConnected: (instance) => {
16628
16633
  this._agmInstance = instance;
@@ -19013,7 +19018,7 @@
19013
19018
  };
19014
19019
  }
19015
19020
 
19016
- var version = "6.0.1";
19021
+ var version = "6.0.2";
19017
19022
 
19018
19023
  var prepareConfig = (options) => {
19019
19024
  function getLibConfig(value, defaultMode, trueMode) {