@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.
- package/out/fdc3-api-alpha.d.ts +1 -0
- package/out/fdc3-api-beta.d.ts +1 -0
- package/out/fdc3-api-public.d.ts +1 -0
- package/out/fdc3-api.d.ts +1 -0
- package/out/fdc3-api.js +6 -0
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -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-beta.d.ts
CHANGED
|
@@ -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-public.d.ts
CHANGED
|
@@ -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
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) {
|