@openfin/fdc3-api 41.102.7 → 41.102.8

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.
@@ -6958,6 +6958,7 @@ declare class InteropBroker extends Base {
6958
6958
  private sessionContextGroupMap;
6959
6959
  private channel;
6960
6960
  private logging;
6961
+ private privateChannelProviderMap;
6961
6962
  /* Excluded from this release type: __constructor */
6962
6963
  private getProvider;
6963
6964
  static createClosedConstructor(...args: ConstructorParameters<typeof InteropBroker>): {
@@ -6958,6 +6958,7 @@ declare class InteropBroker extends Base {
6958
6958
  private sessionContextGroupMap;
6959
6959
  private channel;
6960
6960
  private logging;
6961
+ private privateChannelProviderMap;
6961
6962
  /* Excluded from this release type: __constructor */
6962
6963
  private getProvider;
6963
6964
  static createClosedConstructor(...args: ConstructorParameters<typeof InteropBroker>): {
@@ -6958,6 +6958,7 @@ declare class InteropBroker extends Base {
6958
6958
  private sessionContextGroupMap;
6959
6959
  private channel;
6960
6960
  private logging;
6961
+ private privateChannelProviderMap;
6961
6962
  /* Excluded from this release type: __constructor */
6962
6963
  private getProvider;
6963
6964
  static createClosedConstructor(...args: ConstructorParameters<typeof InteropBroker>): {
package/out/fdc3-api.d.ts CHANGED
@@ -7064,6 +7064,7 @@ declare class InteropBroker extends Base {
7064
7064
  private sessionContextGroupMap;
7065
7065
  private channel;
7066
7066
  private logging;
7067
+ private privateChannelProviderMap;
7067
7068
  /**
7068
7069
  * @internal
7069
7070
  */
package/out/fdc3-api.js CHANGED
@@ -1537,6 +1537,12 @@ class FDC3ModuleBase {
1537
1537
  this.wire.sendAction('fdc3-get-or-create-channel').catch((e) => {
1538
1538
  // we do not want to expose this error, just continue if this analytics-only call fails
1539
1539
  });
1540
+ const hasChannelIdBeenUsed = await InteropClient_1$1.InteropClient.ferryFdc3Call(this.client, 'isIdUsedByPrivateChannel', {
1541
+ channelId
1542
+ });
1543
+ if (hasChannelIdBeenUsed) {
1544
+ throw new Error(utils_1$2.ChannelError.AccessDenied);
1545
+ }
1540
1546
  const systemChannels = await this._getChannels();
1541
1547
  const userChannel = systemChannels.find((channel) => channel.id === channelId);
1542
1548
  if (userChannel) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "41.102.7",
3
+ "version": "41.102.8",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,