@openfin/fdc3-api 40.105.3 → 40.105.4

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.
@@ -5369,6 +5369,10 @@ declare namespace FDC3 {
5369
5369
  }
5370
5370
  }
5371
5371
 
5372
+ declare type FDC3Factory = typeof fdc3Factory;
5373
+
5374
+ declare const fdc3Factory: (version: '1.2' | '2.0', interopClient: OpenFin.InteropClient, wire: Transport<'unknown'>) => OpenFin.FDC3.v2_0.DesktopAgent | OpenFin.FDC3.v1_2.DesktopAgent;
5375
+
5372
5376
  export declare function fdc3FromFin(fin: OpenFin.Fin<OpenFin.EntityType>, { fdc3Version }?: {
5373
5377
  fdc3Version?: Fdc3Version;
5374
5378
  }): Promise<Fdc3Module | Fdc3Module2>;
@@ -7366,7 +7370,7 @@ declare class InteropBroker extends Base {
7366
7370
  };
7367
7371
  private getClientState;
7368
7372
  private static toObject;
7369
- static checkContextIntegrity(context: OpenFin.Context): {
7373
+ static checkContextIntegrity: (context: OpenFin.Context) => {
7370
7374
  isValid: true;
7371
7375
  } | {
7372
7376
  isValid: false;
@@ -5369,6 +5369,10 @@ declare namespace FDC3 {
5369
5369
  }
5370
5370
  }
5371
5371
 
5372
+ declare type FDC3Factory = typeof fdc3Factory;
5373
+
5374
+ declare const fdc3Factory: (version: '1.2' | '2.0', interopClient: OpenFin.InteropClient, wire: Transport<'unknown'>) => OpenFin.FDC3.v2_0.DesktopAgent | OpenFin.FDC3.v1_2.DesktopAgent;
5375
+
5372
5376
  export declare function fdc3FromFin(fin: OpenFin.Fin<OpenFin.EntityType>, { fdc3Version }?: {
5373
5377
  fdc3Version?: Fdc3Version;
5374
5378
  }): Promise<Fdc3Module | Fdc3Module2>;
@@ -7366,7 +7370,7 @@ declare class InteropBroker extends Base {
7366
7370
  };
7367
7371
  private getClientState;
7368
7372
  private static toObject;
7369
- static checkContextIntegrity(context: OpenFin.Context): {
7373
+ static checkContextIntegrity: (context: OpenFin.Context) => {
7370
7374
  isValid: true;
7371
7375
  } | {
7372
7376
  isValid: false;
@@ -5369,6 +5369,10 @@ declare namespace FDC3 {
5369
5369
  }
5370
5370
  }
5371
5371
 
5372
+ declare type FDC3Factory = typeof fdc3Factory;
5373
+
5374
+ declare const fdc3Factory: (version: '1.2' | '2.0', interopClient: OpenFin.InteropClient, wire: Transport<'unknown'>) => OpenFin.FDC3.v2_0.DesktopAgent | OpenFin.FDC3.v1_2.DesktopAgent;
5375
+
5372
5376
  export declare function fdc3FromFin(fin: OpenFin.Fin<OpenFin.EntityType>, { fdc3Version }?: {
5373
5377
  fdc3Version?: Fdc3Version;
5374
5378
  }): Promise<Fdc3Module | Fdc3Module2>;
@@ -7366,7 +7370,7 @@ declare class InteropBroker extends Base {
7366
7370
  };
7367
7371
  private getClientState;
7368
7372
  private static toObject;
7369
- static checkContextIntegrity(context: OpenFin.Context): {
7373
+ static checkContextIntegrity: (context: OpenFin.Context) => {
7370
7374
  isValid: true;
7371
7375
  } | {
7372
7376
  isValid: false;
package/out/fdc3-api.d.ts CHANGED
@@ -5454,6 +5454,10 @@ declare namespace FDC3 {
5454
5454
  }
5455
5455
  }
5456
5456
 
5457
+ declare type FDC3Factory = typeof fdc3Factory;
5458
+
5459
+ declare const fdc3Factory: (version: '1.2' | '2.0', interopClient: OpenFin.InteropClient, wire: Transport<'unknown'>) => OpenFin.FDC3.v2_0.DesktopAgent | OpenFin.FDC3.v1_2.DesktopAgent;
5460
+
5457
5461
  export declare function fdc3FromFin(fin: OpenFin.Fin<OpenFin.EntityType>, { fdc3Version }?: {
5458
5462
  fdc3Version?: Fdc3Version;
5459
5463
  }): Promise<Fdc3Module | Fdc3Module2>;
@@ -7475,7 +7479,7 @@ declare class InteropBroker extends Base {
7475
7479
  };
7476
7480
  private getClientState;
7477
7481
  private static toObject;
7478
- static checkContextIntegrity(context: OpenFin.Context): {
7482
+ static checkContextIntegrity: (context: OpenFin.Context) => {
7479
7483
  isValid: true;
7480
7484
  } | {
7481
7485
  isValid: false;
@@ -7574,7 +7578,7 @@ declare class InteropClient extends Base {
7574
7578
  /**
7575
7579
  * @internal
7576
7580
  */
7577
- constructor(wire: Transport, clientPromise: Promise<OpenFin.ChannelClient>);
7581
+ constructor(wire: Transport, clientPromise: Promise<OpenFin.ChannelClient>, fdc3Factory: FDC3Factory);
7578
7582
  /**
7579
7583
  * Sets a context for the context group of the current entity.
7580
7584
  *