@interopio/fdc3 2.4.2 → 2.4.3

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
+ 2.4.3
2
+ fix: leaving channel from io api was not reflected in the fdc3 api
3
+ chore: unfroze the fdc3 api
1
4
  2.4.2
2
5
  fix: fdc3.raiseIntent with target { appId } starts a new instance
3
6
  fix: context passed to io.intents.raise
@@ -2679,7 +2679,7 @@ class DesktopAgent {
2679
2679
  raiseIntent: this.raiseIntent.bind(this),
2680
2680
  raiseIntentForContext: this.raiseIntentForContext.bind(this),
2681
2681
  };
2682
- return Object.freeze(api);
2682
+ return api;
2683
2683
  }
2684
2684
  async open(target, context) {
2685
2685
  targetAppDecoder.runWithException(target);
@@ -4336,6 +4336,7 @@ class ChannelsBaseController {
4336
4336
  }
4337
4337
  async handleOnChannelChanged(channelId) {
4338
4338
  if (!channelId) {
4339
+ this.stateStore.currentChannel = null;
4339
4340
  return;
4340
4341
  }
4341
4342
  const isFdc3ChannelName = fdc3ChannelNames.includes(channelId);
@@ -4690,7 +4691,7 @@ const fdc3Factory = () => {
4690
4691
  return ioc.fdc3;
4691
4692
  };
4692
4693
 
4693
- var version = "2.4.2";
4694
+ var version = "2.4.3";
4694
4695
 
4695
4696
  let globalFdc3 = window.fdc3;
4696
4697
  window.fdc3Info = {
@@ -2685,7 +2685,7 @@
2685
2685
  raiseIntent: this.raiseIntent.bind(this),
2686
2686
  raiseIntentForContext: this.raiseIntentForContext.bind(this),
2687
2687
  };
2688
- return Object.freeze(api);
2688
+ return api;
2689
2689
  }
2690
2690
  async open(target, context) {
2691
2691
  targetAppDecoder.runWithException(target);
@@ -4342,6 +4342,7 @@
4342
4342
  }
4343
4343
  async handleOnChannelChanged(channelId) {
4344
4344
  if (!channelId) {
4345
+ this.stateStore.currentChannel = null;
4345
4346
  return;
4346
4347
  }
4347
4348
  const isFdc3ChannelName = fdc3ChannelNames.includes(channelId);
@@ -4696,7 +4697,7 @@
4696
4697
  return ioc.fdc3;
4697
4698
  };
4698
4699
 
4699
- var version = "2.4.2";
4700
+ var version = "2.4.3";
4700
4701
 
4701
4702
  let globalFdc3 = window.fdc3;
4702
4703
  window.fdc3Info = {
package/dist/fdc3.es.js CHANGED
@@ -2668,7 +2668,7 @@ class DesktopAgent {
2668
2668
  raiseIntent: this.raiseIntent.bind(this),
2669
2669
  raiseIntentForContext: this.raiseIntentForContext.bind(this),
2670
2670
  };
2671
- return Object.freeze(api);
2671
+ return api;
2672
2672
  }
2673
2673
  async open(target, context) {
2674
2674
  targetAppDecoder.runWithException(target);
@@ -4325,6 +4325,7 @@ class ChannelsBaseController {
4325
4325
  }
4326
4326
  async handleOnChannelChanged(channelId) {
4327
4327
  if (!channelId) {
4328
+ this.stateStore.currentChannel = null;
4328
4329
  return;
4329
4330
  }
4330
4331
  const isFdc3ChannelName = fdc3ChannelNames.includes(channelId);
@@ -4679,7 +4680,7 @@ const fdc3Factory = () => {
4679
4680
  return ioc.fdc3;
4680
4681
  };
4681
4682
 
4682
- var version = "2.4.2";
4683
+ var version = "2.4.3";
4683
4684
 
4684
4685
  let globalFdc3 = window.fdc3;
4685
4686
  window.fdc3Info = {
package/dist/fdc3.umd.js CHANGED
@@ -2674,7 +2674,7 @@
2674
2674
  raiseIntent: this.raiseIntent.bind(this),
2675
2675
  raiseIntentForContext: this.raiseIntentForContext.bind(this),
2676
2676
  };
2677
- return Object.freeze(api);
2677
+ return api;
2678
2678
  }
2679
2679
  async open(target, context) {
2680
2680
  targetAppDecoder.runWithException(target);
@@ -4331,6 +4331,7 @@
4331
4331
  }
4332
4332
  async handleOnChannelChanged(channelId) {
4333
4333
  if (!channelId) {
4334
+ this.stateStore.currentChannel = null;
4334
4335
  return;
4335
4336
  }
4336
4337
  const isFdc3ChannelName = fdc3ChannelNames.includes(channelId);
@@ -4685,7 +4686,7 @@
4685
4686
  return ioc.fdc3;
4686
4687
  };
4687
4688
 
4688
- var version = "2.4.2";
4689
+ var version = "2.4.3";
4689
4690
 
4690
4691
  let globalFdc3 = window.fdc3;
4691
4692
  window.fdc3Info = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interopio/fdc3",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "IO Connect implementation of the FDC3 standard",
5
5
  "main": "dist/fdc3.umd.js",
6
6
  "module": "dist/fdc3.es.js",
@@ -41,5 +41,5 @@
41
41
  "@interopio:registry": "https://registry.npmjs.org",
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "b190408346eec7b2eae403cee6ea92e8d71599e9"
44
+ "gitHead": "9f1b8ec1615dd165712cdabc26f0cb7a25e7be4f"
45
45
  }