@openfin/fdc3-api 40.82.16 → 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,6 +7962,7 @@ declare class Layout extends Base {
7964
7962
  * ```
7965
7963
  */
7966
7964
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
7965
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7967
7966
  /**
7968
7967
  * Replaces the specified view with a view with the provided configuration.
7969
7968
  *
@@ -9959,6 +9958,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
9959
9958
  private _channel;
9960
9959
  Application: OpenFin.Application;
9961
9960
  identity: OpenFin.ApplicationIdentity;
9961
+ /* Excluded from this release type: clientMap */
9962
9962
  /* Excluded from this release type: __constructor */
9963
9963
  getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
9964
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,6 +7962,7 @@ declare class Layout extends Base {
7964
7962
  * ```
7965
7963
  */
7966
7964
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
7965
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7967
7966
  /**
7968
7967
  * Replaces the specified view with a view with the provided configuration.
7969
7968
  *
@@ -9959,6 +9958,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
9959
9958
  private _channel;
9960
9959
  Application: OpenFin.Application;
9961
9960
  identity: OpenFin.ApplicationIdentity;
9961
+ /* Excluded from this release type: clientMap */
9962
9962
  /* Excluded from this release type: __constructor */
9963
9963
  getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
9964
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,6 +7962,7 @@ declare class Layout extends Base {
7964
7962
  * ```
7965
7963
  */
7966
7964
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
7965
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7967
7966
  /**
7968
7967
  * Replaces the specified view with a view with the provided configuration.
7969
7968
  *
@@ -9959,6 +9958,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
9959
9958
  private _channel;
9960
9959
  Application: OpenFin.Application;
9961
9960
  identity: OpenFin.ApplicationIdentity;
9961
+ /* Excluded from this release type: clientMap */
9962
9962
  /* Excluded from this release type: __constructor */
9963
9963
  getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
9964
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,6 +8085,7 @@ declare class Layout extends Base {
8087
8085
  * ```
8088
8086
  */
8089
8087
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
8088
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
8090
8089
  /**
8091
8090
  * Replaces the specified view with a view with the provided configuration.
8092
8091
  *
@@ -10274,10 +10273,16 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
10274
10273
  private _channel;
10275
10274
  Application: OpenFin.Application;
10276
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;
10277
10282
  /**
10278
10283
  * @internal
10279
10284
  */
10280
- constructor(identity: OpenFin.ApplicationIdentity, channel: Channel_3);
10285
+ constructor(wire: Transport, identity: OpenFin.ApplicationIdentity, channelName?: string);
10281
10286
  getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
10282
10287
  /**
10283
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.16",
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,