@openfin/fdc3-api 40.82.17 → 40.82.19

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.
@@ -2262,8 +2262,6 @@ declare class Channel extends EmitterBase<ChannelEvent> {
2262
2262
 
2263
2263
  declare type Channel_2 = OpenFin.Fin['InterApplicationBus']['Channel'];
2264
2264
 
2265
- declare type Channel_3 = OpenFin.Fin['InterApplicationBus']['Channel'];
2266
-
2267
2265
  declare type ChannelAction = OpenFin.ChannelAction;
2268
2266
 
2269
2267
  declare type ChannelAction_2 = (payload: unknown, id: ProviderIdentity_4 | ClientIdentity) => unknown;
@@ -7964,7 +7962,7 @@ declare class Layout extends Base {
7964
7962
  * ```
7965
7963
  */
7966
7964
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
7967
- getStackByView(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7965
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7968
7966
  /**
7969
7967
  * Replaces the specified view with a view with the provided configuration.
7970
7968
  *
@@ -9960,6 +9958,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
9960
9958
  private _channel;
9961
9959
  Application: OpenFin.Application;
9962
9960
  identity: OpenFin.ApplicationIdentity;
9961
+ /* Excluded from this release type: clientMap */
9963
9962
  /* Excluded from this release type: __constructor */
9964
9963
  getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
9965
9964
  /**
@@ -2262,8 +2262,6 @@ declare class Channel extends EmitterBase<ChannelEvent> {
2262
2262
 
2263
2263
  declare type Channel_2 = OpenFin.Fin['InterApplicationBus']['Channel'];
2264
2264
 
2265
- declare type Channel_3 = OpenFin.Fin['InterApplicationBus']['Channel'];
2266
-
2267
2265
  declare type ChannelAction = OpenFin.ChannelAction;
2268
2266
 
2269
2267
  declare type ChannelAction_2 = (payload: unknown, id: ProviderIdentity_4 | ClientIdentity) => unknown;
@@ -7964,7 +7962,7 @@ declare class Layout extends Base {
7964
7962
  * ```
7965
7963
  */
7966
7964
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
7967
- getStackByView(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7965
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7968
7966
  /**
7969
7967
  * Replaces the specified view with a view with the provided configuration.
7970
7968
  *
@@ -9960,6 +9958,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
9960
9958
  private _channel;
9961
9959
  Application: OpenFin.Application;
9962
9960
  identity: OpenFin.ApplicationIdentity;
9961
+ /* Excluded from this release type: clientMap */
9963
9962
  /* Excluded from this release type: __constructor */
9964
9963
  getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
9965
9964
  /**
@@ -2262,8 +2262,6 @@ declare class Channel extends EmitterBase<ChannelEvent> {
2262
2262
 
2263
2263
  declare type Channel_2 = OpenFin.Fin['InterApplicationBus']['Channel'];
2264
2264
 
2265
- declare type Channel_3 = OpenFin.Fin['InterApplicationBus']['Channel'];
2266
-
2267
2265
  declare type ChannelAction = OpenFin.ChannelAction;
2268
2266
 
2269
2267
  declare type ChannelAction_2 = (payload: unknown, id: ProviderIdentity_4 | ClientIdentity) => unknown;
@@ -7964,7 +7962,7 @@ declare class Layout extends Base {
7964
7962
  * ```
7965
7963
  */
7966
7964
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
7967
- getStackByView(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7965
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7968
7966
  /**
7969
7967
  * Replaces the specified view with a view with the provided configuration.
7970
7968
  *
@@ -9960,6 +9958,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
9960
9958
  private _channel;
9961
9959
  Application: OpenFin.Application;
9962
9960
  identity: OpenFin.ApplicationIdentity;
9961
+ /* Excluded from this release type: clientMap */
9963
9962
  /* Excluded from this release type: __constructor */
9964
9963
  getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
9965
9964
  /**
package/out/fdc3-api.d.ts CHANGED
@@ -2301,8 +2301,6 @@ declare class Channel extends EmitterBase<ChannelEvent> {
2301
2301
 
2302
2302
  declare type Channel_2 = OpenFin.Fin['InterApplicationBus']['Channel'];
2303
2303
 
2304
- declare type Channel_3 = OpenFin.Fin['InterApplicationBus']['Channel'];
2305
-
2306
2304
  declare type ChannelAction = OpenFin.ChannelAction;
2307
2305
 
2308
2306
  declare type ChannelAction_2 = (payload: unknown, id: ProviderIdentity_4 | ClientIdentity) => unknown;
@@ -8087,7 +8085,7 @@ declare class Layout extends Base {
8087
8085
  * ```
8088
8086
  */
8089
8087
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
8090
- getStackByView(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
8088
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
8091
8089
  /**
8092
8090
  * Replaces the specified view with a view with the provided configuration.
8093
8091
  *
@@ -10275,10 +10273,16 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
10275
10273
  private _channel;
10276
10274
  Application: OpenFin.Application;
10277
10275
  identity: OpenFin.ApplicationIdentity;
10276
+ /**
10277
+ * @internal
10278
+ * Reuse clients to avoid overwriting already-registered client in provider
10279
+ * This ensures that only channel client is created per channel name per `fin` instance
10280
+ */
10281
+ private static clientMap;
10278
10282
  /**
10279
10283
  * @internal
10280
10284
  */
10281
- constructor(identity: OpenFin.ApplicationIdentity, channel: Channel_3);
10285
+ constructor(wire: Transport, identity: OpenFin.ApplicationIdentity, channelName?: string);
10282
10286
  getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
10283
10287
  /**
10284
10288
  * Creates a new view and attaches it to a specified target window.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "40.82.17",
3
+ "version": "40.82.19",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,