@genesislcap/foundation-fdc3 14.302.1-alpha-945e484.0 → 14.302.1-alpha-ecc0cfb.0

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 (56) hide show
  1. package/dist/dts/fdc3-channel-event.d.ts +223 -264
  2. package/dist/dts/fdc3-channel-event.d.ts.map +1 -1
  3. package/dist/dts/tsdoc-metadata.json +1 -1
  4. package/dist/dts/util/fdc3-intent-listener.d.ts +223 -264
  5. package/dist/dts/util/fdc3-intent-listener.d.ts.map +1 -1
  6. package/dist/dts/util/fdc3-raise-intent.d.ts +223 -264
  7. package/dist/dts/util/fdc3-raise-intent.d.ts.map +1 -1
  8. package/dist/dts/util/fdc3-system-channel-listener.d.ts +223 -264
  9. package/dist/dts/util/fdc3-system-channel-listener.d.ts.map +1 -1
  10. package/dist/dts/util/fdc3-util.d.ts.map +1 -1
  11. package/dist/esm/fdc3.js +4 -4
  12. package/dist/foundation-fdc3.api.json +167 -834
  13. package/dist/foundation-fdc3.d.ts +892 -1056
  14. package/docs/api/foundation-fdc3.fdc3.addchannellistener.md +5 -65
  15. package/docs/api/foundation-fdc3.fdc3.addintentlisteners.md +3 -33
  16. package/docs/api/foundation-fdc3.fdc3.addsystemchannellistener.md +4 -49
  17. package/docs/api/foundation-fdc3.fdc3.broadcastonchannel.md +5 -65
  18. package/docs/api/foundation-fdc3.fdc3.broadcastonchanneleventhandler.md +4 -49
  19. package/docs/api/foundation-fdc3.fdc3.broadcastoncurrentchannel.md +4 -49
  20. package/docs/api/foundation-fdc3.fdc3.findintent.md +4 -49
  21. package/docs/api/foundation-fdc3.fdc3.findintentsbycontext.md +3 -33
  22. package/docs/api/foundation-fdc3.fdc3.getorcreatechannel.md +3 -33
  23. package/docs/api/foundation-fdc3.fdc3.handlechannelcurrentcontext.md +5 -65
  24. package/docs/api/foundation-fdc3.fdc3.joinchannel.md +3 -33
  25. package/docs/api/foundation-fdc3.fdc3.md +22 -264
  26. package/docs/api/foundation-fdc3.fdc3.raiseintent.md +4 -49
  27. package/docs/api/foundation-fdc3.fdc3.raiseintentforcontext.md +3 -33
  28. package/docs/api/foundation-fdc3.interopfoundationnotificationlistener.md +1 -41
  29. package/docs/api/foundation-fdc3.interopnotificationslistener.md +6 -70
  30. package/docs/api/foundation-fdc3.interopnotificationslistener.shownotificationtoast.md +3 -31
  31. package/docs/api/foundation-fdc3.md +18 -236
  32. package/docs/api/index.md +3 -21
  33. package/package.json +15 -15
  34. package/docs/api/foundation-fdc3.appchannellistenerconfig.channelname.md +0 -14
  35. package/docs/api/foundation-fdc3.appchannellistenerconfig.md +0 -62
  36. package/docs/api/foundation-fdc3.fdc3contextlistener.config.md +0 -14
  37. package/docs/api/foundation-fdc3.fdc3contextlistener.md +0 -62
  38. package/docs/api/foundation-fdc3.fdc3intentlistener.fdc3.md +0 -14
  39. package/docs/api/foundation-fdc3.fdc3intentlistener.intentconfig.md +0 -14
  40. package/docs/api/foundation-fdc3.fdc3intentlistener.md +0 -81
  41. package/docs/api/foundation-fdc3.fdc3raiseintent.eventname.md +0 -14
  42. package/docs/api/foundation-fdc3.fdc3raiseintent.fdc3.md +0 -14
  43. package/docs/api/foundation-fdc3.fdc3raiseintent.intentname.md +0 -14
  44. package/docs/api/foundation-fdc3.fdc3raiseintent.intenttype.md +0 -14
  45. package/docs/api/foundation-fdc3.fdc3raiseintent.mappingfunction.md +0 -14
  46. package/docs/api/foundation-fdc3.fdc3raiseintent.md +0 -138
  47. package/docs/api/foundation-fdc3.fdc3systemchannellistener.config.md +0 -14
  48. package/docs/api/foundation-fdc3.fdc3systemchannellistener.fdc3.md +0 -14
  49. package/docs/api/foundation-fdc3.fdc3systemchannellistener.md +0 -81
  50. package/docs/api/foundation-fdc3.intentconfig.callback.md +0 -14
  51. package/docs/api/foundation-fdc3.intentconfig.intent.md +0 -14
  52. package/docs/api/foundation-fdc3.intentconfig.md +0 -80
  53. package/docs/api/foundation-fdc3.systemchannellistenerconfig.callback.md +0 -14
  54. package/docs/api/foundation-fdc3.systemchannellistenerconfig.channeltype.md +0 -14
  55. package/docs/api/foundation-fdc3.systemchannellistenerconfig.md +0 -80
  56. package/docs/api-report.md.api.md +0 -281
package/dist/esm/fdc3.js CHANGED
@@ -72,8 +72,8 @@ export class DefaultFDC3 {
72
72
  }
73
73
  }
74
74
  joinChannel(channelId) {
75
+ var _a;
75
76
  return __awaiter(this, void 0, void 0, function* () {
76
- var _a;
77
77
  logger.debug(`fdc3 joinChannel '${channelId}'`);
78
78
  if (((_a = this._currentChannel) === null || _a === void 0 ? void 0 : _a.id) === channelId) {
79
79
  return;
@@ -158,15 +158,15 @@ export class DefaultFDC3 {
158
158
  });
159
159
  }
160
160
  handleInteropChannelChanges() {
161
+ var _a, _b;
161
162
  return __awaiter(this, void 0, void 0, function* () {
162
- var _a, _b;
163
163
  if (this.isInteropFdc3()) {
164
164
  // Listen to changes from the io channel selector.
165
165
  // This can be done on the interop container window which is outside this app scope
166
166
  // Any changes made there will be emitted here and keep channel state in sync
167
167
  (_b = (_a = window.io) === null || _a === void 0 ? void 0 : _a.channels) === null || _b === void 0 ? void 0 : _b.onChanged((channelColor) => __awaiter(this, void 0, void 0, function* () {
168
- var _a, _b;
169
- if (((_b = (_a = this._currentChannel) === null || _a === void 0 ? void 0 : _a.displayMetadata) === null || _b === void 0 ? void 0 : _b.color) === channelColor) {
168
+ var _c, _d;
169
+ if (((_d = (_c = this._currentChannel) === null || _c === void 0 ? void 0 : _c.displayMetadata) === null || _d === void 0 ? void 0 : _d.color) === channelColor) {
170
170
  return;
171
171
  }
172
172
  logger.debug(`fdc3 interop.io channel changed '${channelColor}'`);