@openfin/core 32.75.1 → 32.75.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "32.75.1",
3
+ "version": "32.75.2",
4
4
  "license": "SEE LICENSE IN LICENSE.MD",
5
5
  "main": "./src/mock.js",
6
6
  "types": "./src/mock.d.ts",
package/src/OpenFin.d.ts CHANGED
@@ -48,17 +48,18 @@ export type ClientIdentity = Identity & {
48
48
  */
49
49
  export type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
50
50
  /**
51
- * Indicates if the client belongs to a Window or View
51
+ * Indicates if the client belongs to a Window, View or IFrame
52
52
  */
53
53
  entityType: EntityType;
54
54
  /**
55
- * URL of the View or Window at the time of connection to the Channel Provider.
55
+ * URL of the Window, View or IFrame at the time of connection to the Channel Provider.
56
56
  */
57
57
  connectionUrl: string;
58
58
  };
59
59
  export type ClientIdentityMultiRuntime = ClientIdentity & {
60
60
  runtimeUuid: string;
61
61
  };
62
+ export type ClientConnectionPayload = ClientIdentity & ClientInfo;
62
63
  export type EntityInfo = {
63
64
  uuid: string;
64
65
  name: string;
@@ -6,19 +6,18 @@ type ProviderIdentity = OpenFin.ProviderIdentity;
6
6
  type ClientIdentity = OpenFin.ClientIdentity;
7
7
  export type ConnectionListener = (identity: ClientIdentity, connectionMessage?: any) => Promise<any> | any;
8
8
  export type DisconnectionListener = (identity: ClientIdentity) => any;
9
- type ClientConnectionPayload = OpenFin.ClientIdentity & OpenFin.ClientInfo;
10
9
  export declare class ChannelProvider extends ChannelBase {
11
10
  #private;
12
11
  private static removalMap;
13
12
  private connectListener;
14
13
  private disconnectListener;
15
- get connections(): ClientConnectionPayload[];
14
+ get connections(): OpenFin.ClientConnectionPayload[];
16
15
  static handleClientDisconnection(channel: ChannelProvider, payload: any): void;
17
16
  static setProviderRemoval(provider: ChannelProvider, remove: Function): void;
18
17
  constructor(providerIdentity: ProviderIdentity, wire: Transport, strategy: AnyStrategy);
19
18
  dispatch(to: OpenFin.ClientIdentity | OpenFin.Identity, action: string, payload?: any): Promise<any>;
20
19
  protected processAction: (action: string, payload: any, senderIdentity: OpenFin.ClientIdentity | OpenFin.ClientIdentityMultiRuntime) => Promise<any>;
21
- processConnection(senderId: ClientConnectionPayload, payload: any): Promise<any>;
20
+ processConnection(senderId: OpenFin.ClientConnectionPayload, payload: any): Promise<any>;
22
21
  publish(action: string, payload: any): Promise<any>[];
23
22
  onConnection(listener: ConnectionListener): void;
24
23
  onDisconnection(listener: DisconnectionListener): void;