@openfin/core 34.78.5 → 34.78.7

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.
@@ -5293,7 +5293,9 @@ declare class InteropBroker extends Base {
5293
5293
  * });
5294
5294
  * ```
5295
5295
  */
5296
- handleFiredIntent(intent: OpenFin_2.Intent, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5296
+ handleFiredIntent(intent: OpenFin_2.Intent, clientIdentity: OpenFin_2.ClientIdentity & {
5297
+ entityType: OpenFin_2.EntityType;
5298
+ }): Promise<unknown>;
5297
5299
  /**
5298
5300
  * Should be called in {@link InteropBroker#handleFiredIntent InteropBroker.handleFiredIntent}.
5299
5301
  * While handleFiredIntent is responsible for launching applications, setIntentTarget is used to tell the InteropBroker which application should receive the intent when it is ready.
@@ -5322,7 +5324,7 @@ declare class InteropBroker extends Base {
5322
5324
  * More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
5323
5325
  *
5324
5326
  * @param options
5325
- * @param clientIdentity Identity of the Client making the request.
5327
+ * @param clientIdentity Identity of the Client making the request.
5326
5328
  *
5327
5329
  * @example
5328
5330
  * ```js
@@ -5338,7 +5340,9 @@ declare class InteropBroker extends Base {
5338
5340
  * });
5339
5341
  * ```
5340
5342
  */
5341
- handleInfoForIntent(options: OpenFin_2.InfoForIntentOptions, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5343
+ handleInfoForIntent(options: OpenFin_2.InfoForIntentOptions, clientIdentity: OpenFin_2.ClientIdentity & {
5344
+ entityType: OpenFin_2.EntityType;
5345
+ }): Promise<unknown>;
5342
5346
  /**
5343
5347
  * Responsible for returning information on which Intents are meant to handle a specific Context.
5344
5348
  * Must be overridden.
@@ -5379,7 +5383,9 @@ declare class InteropBroker extends Base {
5379
5383
  * });
5380
5384
  * ```
5381
5385
  */
5382
- handleInfoForIntentsByContext(context: OpenFin_2.Context | OpenFin_2.FindIntentsByContextOptions, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5386
+ handleInfoForIntentsByContext(context: OpenFin_2.Context | OpenFin_2.FindIntentsByContextOptions, clientIdentity: OpenFin_2.ClientIdentity & {
5387
+ entityType: OpenFin_2.EntityType;
5388
+ }): Promise<unknown>;
5383
5389
  /**
5384
5390
  * Responsible for resolving an Intent based on a specific Context.
5385
5391
  * Must be overridden.
@@ -5401,7 +5407,7 @@ declare class InteropBroker extends Base {
5401
5407
  * More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
5402
5408
  *
5403
5409
  * @param contextForIntent Data passed between entities and applications.
5404
- * @param clientIdentity Identity of the Client making the request.
5410
+ * @param clientIdentity Identity of the Client making the request.
5405
5411
  *
5406
5412
  * @example
5407
5413
  * ```js
@@ -5417,7 +5423,9 @@ declare class InteropBroker extends Base {
5417
5423
  * });
5418
5424
  * ```
5419
5425
  */
5420
- handleFiredIntentForContext(contextForIntent: OpenFin_2.ContextForIntent, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5426
+ handleFiredIntentForContext(contextForIntent: OpenFin_2.ContextForIntent, clientIdentity: OpenFin_2.ClientIdentity & {
5427
+ entityType: OpenFin_2.EntityType;
5428
+ }): Promise<unknown>;
5421
5429
  /**
5422
5430
  * Provides the identity of any Interop Client that disconnects from the Interop Broker. It is meant to be overriden.
5423
5431
  * @param clientIdentity
@@ -5451,7 +5459,7 @@ declare class InteropBroker extends Base {
5451
5459
  /**
5452
5460
  * Responsible for resolving the fdc3.findInstances call.
5453
5461
  * Must be overridden
5454
- * @param app AppIdentifier that was passed to fdc3.findInstances
5462
+ * @param app AppIdentifier that was passed to fdc3.findInstances
5455
5463
  * @param clientIdentity Identity of the Client making the request.
5456
5464
  */
5457
5465
  fdc3HandleFindInstances(app: AppIdentifier, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
@@ -5476,7 +5484,7 @@ declare class InteropBroker extends Base {
5476
5484
  * fin.Platform.init({
5477
5485
  * interopOverride: async (InteropBroker) => {
5478
5486
  * class Override extends InteropBroker {
5479
- * async invokeContextHandler(options, clientIdentity) {
5487
+ * async invokeContextHandler(clientIdentity, handlerId, context) {
5480
5488
  * return super.invokeContextHandler(clientIdentity, handlerId, {
5481
5489
  * ...context,
5482
5490
  * contextMetadata: {
@@ -5508,7 +5516,7 @@ declare class InteropBroker extends Base {
5508
5516
  * fin.Platform.init({
5509
5517
  * interopOverride: async (InteropBroker) => {
5510
5518
  * class Override extends InteropBroker {
5511
- * async invokeIntentHandler(options, clientIdentity) {
5519
+ * async invokeIntentHandler(clientIdentity, handlerId, context) {
5512
5520
  * const { context } = intent;
5513
5521
  * return super.invokeIntentHandler(clientIdentity, handlerId, {
5514
5522
  * ...intent,
@@ -5293,7 +5293,9 @@ declare class InteropBroker extends Base {
5293
5293
  * });
5294
5294
  * ```
5295
5295
  */
5296
- handleFiredIntent(intent: OpenFin_2.Intent, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5296
+ handleFiredIntent(intent: OpenFin_2.Intent, clientIdentity: OpenFin_2.ClientIdentity & {
5297
+ entityType: OpenFin_2.EntityType;
5298
+ }): Promise<unknown>;
5297
5299
  /**
5298
5300
  * Should be called in {@link InteropBroker#handleFiredIntent InteropBroker.handleFiredIntent}.
5299
5301
  * While handleFiredIntent is responsible for launching applications, setIntentTarget is used to tell the InteropBroker which application should receive the intent when it is ready.
@@ -5322,7 +5324,7 @@ declare class InteropBroker extends Base {
5322
5324
  * More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
5323
5325
  *
5324
5326
  * @param options
5325
- * @param clientIdentity Identity of the Client making the request.
5327
+ * @param clientIdentity Identity of the Client making the request.
5326
5328
  *
5327
5329
  * @example
5328
5330
  * ```js
@@ -5338,7 +5340,9 @@ declare class InteropBroker extends Base {
5338
5340
  * });
5339
5341
  * ```
5340
5342
  */
5341
- handleInfoForIntent(options: OpenFin_2.InfoForIntentOptions, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5343
+ handleInfoForIntent(options: OpenFin_2.InfoForIntentOptions, clientIdentity: OpenFin_2.ClientIdentity & {
5344
+ entityType: OpenFin_2.EntityType;
5345
+ }): Promise<unknown>;
5342
5346
  /**
5343
5347
  * Responsible for returning information on which Intents are meant to handle a specific Context.
5344
5348
  * Must be overridden.
@@ -5379,7 +5383,9 @@ declare class InteropBroker extends Base {
5379
5383
  * });
5380
5384
  * ```
5381
5385
  */
5382
- handleInfoForIntentsByContext(context: OpenFin_2.Context | OpenFin_2.FindIntentsByContextOptions, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5386
+ handleInfoForIntentsByContext(context: OpenFin_2.Context | OpenFin_2.FindIntentsByContextOptions, clientIdentity: OpenFin_2.ClientIdentity & {
5387
+ entityType: OpenFin_2.EntityType;
5388
+ }): Promise<unknown>;
5383
5389
  /**
5384
5390
  * Responsible for resolving an Intent based on a specific Context.
5385
5391
  * Must be overridden.
@@ -5401,7 +5407,7 @@ declare class InteropBroker extends Base {
5401
5407
  * More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
5402
5408
  *
5403
5409
  * @param contextForIntent Data passed between entities and applications.
5404
- * @param clientIdentity Identity of the Client making the request.
5410
+ * @param clientIdentity Identity of the Client making the request.
5405
5411
  *
5406
5412
  * @example
5407
5413
  * ```js
@@ -5417,7 +5423,9 @@ declare class InteropBroker extends Base {
5417
5423
  * });
5418
5424
  * ```
5419
5425
  */
5420
- handleFiredIntentForContext(contextForIntent: OpenFin_2.ContextForIntent, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5426
+ handleFiredIntentForContext(contextForIntent: OpenFin_2.ContextForIntent, clientIdentity: OpenFin_2.ClientIdentity & {
5427
+ entityType: OpenFin_2.EntityType;
5428
+ }): Promise<unknown>;
5421
5429
  /**
5422
5430
  * Provides the identity of any Interop Client that disconnects from the Interop Broker. It is meant to be overriden.
5423
5431
  * @param clientIdentity
@@ -5451,7 +5459,7 @@ declare class InteropBroker extends Base {
5451
5459
  /**
5452
5460
  * Responsible for resolving the fdc3.findInstances call.
5453
5461
  * Must be overridden
5454
- * @param app AppIdentifier that was passed to fdc3.findInstances
5462
+ * @param app AppIdentifier that was passed to fdc3.findInstances
5455
5463
  * @param clientIdentity Identity of the Client making the request.
5456
5464
  */
5457
5465
  fdc3HandleFindInstances(app: AppIdentifier, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
@@ -5476,7 +5484,7 @@ declare class InteropBroker extends Base {
5476
5484
  * fin.Platform.init({
5477
5485
  * interopOverride: async (InteropBroker) => {
5478
5486
  * class Override extends InteropBroker {
5479
- * async invokeContextHandler(options, clientIdentity) {
5487
+ * async invokeContextHandler(clientIdentity, handlerId, context) {
5480
5488
  * return super.invokeContextHandler(clientIdentity, handlerId, {
5481
5489
  * ...context,
5482
5490
  * contextMetadata: {
@@ -5508,7 +5516,7 @@ declare class InteropBroker extends Base {
5508
5516
  * fin.Platform.init({
5509
5517
  * interopOverride: async (InteropBroker) => {
5510
5518
  * class Override extends InteropBroker {
5511
- * async invokeIntentHandler(options, clientIdentity) {
5519
+ * async invokeIntentHandler(clientIdentity, handlerId, context) {
5512
5520
  * const { context } = intent;
5513
5521
  * return super.invokeIntentHandler(clientIdentity, handlerId, {
5514
5522
  * ...intent,
@@ -5293,7 +5293,9 @@ declare class InteropBroker extends Base {
5293
5293
  * });
5294
5294
  * ```
5295
5295
  */
5296
- handleFiredIntent(intent: OpenFin_2.Intent, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5296
+ handleFiredIntent(intent: OpenFin_2.Intent, clientIdentity: OpenFin_2.ClientIdentity & {
5297
+ entityType: OpenFin_2.EntityType;
5298
+ }): Promise<unknown>;
5297
5299
  /**
5298
5300
  * Should be called in {@link InteropBroker#handleFiredIntent InteropBroker.handleFiredIntent}.
5299
5301
  * While handleFiredIntent is responsible for launching applications, setIntentTarget is used to tell the InteropBroker which application should receive the intent when it is ready.
@@ -5322,7 +5324,7 @@ declare class InteropBroker extends Base {
5322
5324
  * More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
5323
5325
  *
5324
5326
  * @param options
5325
- * @param clientIdentity Identity of the Client making the request.
5327
+ * @param clientIdentity Identity of the Client making the request.
5326
5328
  *
5327
5329
  * @example
5328
5330
  * ```js
@@ -5338,7 +5340,9 @@ declare class InteropBroker extends Base {
5338
5340
  * });
5339
5341
  * ```
5340
5342
  */
5341
- handleInfoForIntent(options: OpenFin_2.InfoForIntentOptions, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5343
+ handleInfoForIntent(options: OpenFin_2.InfoForIntentOptions, clientIdentity: OpenFin_2.ClientIdentity & {
5344
+ entityType: OpenFin_2.EntityType;
5345
+ }): Promise<unknown>;
5342
5346
  /**
5343
5347
  * Responsible for returning information on which Intents are meant to handle a specific Context.
5344
5348
  * Must be overridden.
@@ -5379,7 +5383,9 @@ declare class InteropBroker extends Base {
5379
5383
  * });
5380
5384
  * ```
5381
5385
  */
5382
- handleInfoForIntentsByContext(context: OpenFin_2.Context | OpenFin_2.FindIntentsByContextOptions, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5386
+ handleInfoForIntentsByContext(context: OpenFin_2.Context | OpenFin_2.FindIntentsByContextOptions, clientIdentity: OpenFin_2.ClientIdentity & {
5387
+ entityType: OpenFin_2.EntityType;
5388
+ }): Promise<unknown>;
5383
5389
  /**
5384
5390
  * Responsible for resolving an Intent based on a specific Context.
5385
5391
  * Must be overridden.
@@ -5401,7 +5407,7 @@ declare class InteropBroker extends Base {
5401
5407
  * More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
5402
5408
  *
5403
5409
  * @param contextForIntent Data passed between entities and applications.
5404
- * @param clientIdentity Identity of the Client making the request.
5410
+ * @param clientIdentity Identity of the Client making the request.
5405
5411
  *
5406
5412
  * @example
5407
5413
  * ```js
@@ -5417,7 +5423,9 @@ declare class InteropBroker extends Base {
5417
5423
  * });
5418
5424
  * ```
5419
5425
  */
5420
- handleFiredIntentForContext(contextForIntent: OpenFin_2.ContextForIntent, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5426
+ handleFiredIntentForContext(contextForIntent: OpenFin_2.ContextForIntent, clientIdentity: OpenFin_2.ClientIdentity & {
5427
+ entityType: OpenFin_2.EntityType;
5428
+ }): Promise<unknown>;
5421
5429
  /**
5422
5430
  * Provides the identity of any Interop Client that disconnects from the Interop Broker. It is meant to be overriden.
5423
5431
  * @param clientIdentity
@@ -5451,7 +5459,7 @@ declare class InteropBroker extends Base {
5451
5459
  /**
5452
5460
  * Responsible for resolving the fdc3.findInstances call.
5453
5461
  * Must be overridden
5454
- * @param app AppIdentifier that was passed to fdc3.findInstances
5462
+ * @param app AppIdentifier that was passed to fdc3.findInstances
5455
5463
  * @param clientIdentity Identity of the Client making the request.
5456
5464
  */
5457
5465
  fdc3HandleFindInstances(app: AppIdentifier, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
@@ -5476,7 +5484,7 @@ declare class InteropBroker extends Base {
5476
5484
  * fin.Platform.init({
5477
5485
  * interopOverride: async (InteropBroker) => {
5478
5486
  * class Override extends InteropBroker {
5479
- * async invokeContextHandler(options, clientIdentity) {
5487
+ * async invokeContextHandler(clientIdentity, handlerId, context) {
5480
5488
  * return super.invokeContextHandler(clientIdentity, handlerId, {
5481
5489
  * ...context,
5482
5490
  * contextMetadata: {
@@ -5508,7 +5516,7 @@ declare class InteropBroker extends Base {
5508
5516
  * fin.Platform.init({
5509
5517
  * interopOverride: async (InteropBroker) => {
5510
5518
  * class Override extends InteropBroker {
5511
- * async invokeIntentHandler(options, clientIdentity) {
5519
+ * async invokeIntentHandler(clientIdentity, handlerId, context) {
5512
5520
  * const { context } = intent;
5513
5521
  * return super.invokeIntentHandler(clientIdentity, handlerId, {
5514
5522
  * ...intent,
package/out/mock.d.ts CHANGED
@@ -5427,7 +5427,9 @@ declare class InteropBroker extends Base {
5427
5427
  * });
5428
5428
  * ```
5429
5429
  */
5430
- handleFiredIntent(intent: OpenFin_2.Intent, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5430
+ handleFiredIntent(intent: OpenFin_2.Intent, clientIdentity: OpenFin_2.ClientIdentity & {
5431
+ entityType: OpenFin_2.EntityType;
5432
+ }): Promise<unknown>;
5431
5433
  /**
5432
5434
  * Should be called in {@link InteropBroker#handleFiredIntent InteropBroker.handleFiredIntent}.
5433
5435
  * While handleFiredIntent is responsible for launching applications, setIntentTarget is used to tell the InteropBroker which application should receive the intent when it is ready.
@@ -5456,7 +5458,7 @@ declare class InteropBroker extends Base {
5456
5458
  * More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
5457
5459
  *
5458
5460
  * @param options
5459
- * @param clientIdentity Identity of the Client making the request.
5461
+ * @param clientIdentity Identity of the Client making the request.
5460
5462
  *
5461
5463
  * @example
5462
5464
  * ```js
@@ -5472,7 +5474,9 @@ declare class InteropBroker extends Base {
5472
5474
  * });
5473
5475
  * ```
5474
5476
  */
5475
- handleInfoForIntent(options: OpenFin_2.InfoForIntentOptions, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5477
+ handleInfoForIntent(options: OpenFin_2.InfoForIntentOptions, clientIdentity: OpenFin_2.ClientIdentity & {
5478
+ entityType: OpenFin_2.EntityType;
5479
+ }): Promise<unknown>;
5476
5480
  /**
5477
5481
  * Responsible for returning information on which Intents are meant to handle a specific Context.
5478
5482
  * Must be overridden.
@@ -5513,7 +5517,9 @@ declare class InteropBroker extends Base {
5513
5517
  * });
5514
5518
  * ```
5515
5519
  */
5516
- handleInfoForIntentsByContext(context: OpenFin_2.Context | OpenFin_2.FindIntentsByContextOptions, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5520
+ handleInfoForIntentsByContext(context: OpenFin_2.Context | OpenFin_2.FindIntentsByContextOptions, clientIdentity: OpenFin_2.ClientIdentity & {
5521
+ entityType: OpenFin_2.EntityType;
5522
+ }): Promise<unknown>;
5517
5523
  /**
5518
5524
  * Responsible for resolving an Intent based on a specific Context.
5519
5525
  * Must be overridden.
@@ -5535,7 +5541,7 @@ declare class InteropBroker extends Base {
5535
5541
  * More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
5536
5542
  *
5537
5543
  * @param contextForIntent Data passed between entities and applications.
5538
- * @param clientIdentity Identity of the Client making the request.
5544
+ * @param clientIdentity Identity of the Client making the request.
5539
5545
  *
5540
5546
  * @example
5541
5547
  * ```js
@@ -5551,7 +5557,9 @@ declare class InteropBroker extends Base {
5551
5557
  * });
5552
5558
  * ```
5553
5559
  */
5554
- handleFiredIntentForContext(contextForIntent: OpenFin_2.ContextForIntent, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
5560
+ handleFiredIntentForContext(contextForIntent: OpenFin_2.ContextForIntent, clientIdentity: OpenFin_2.ClientIdentity & {
5561
+ entityType: OpenFin_2.EntityType;
5562
+ }): Promise<unknown>;
5555
5563
  /**
5556
5564
  * Provides the identity of any Interop Client that disconnects from the Interop Broker. It is meant to be overriden.
5557
5565
  * @param clientIdentity
@@ -5585,7 +5593,7 @@ declare class InteropBroker extends Base {
5585
5593
  /**
5586
5594
  * Responsible for resolving the fdc3.findInstances call.
5587
5595
  * Must be overridden
5588
- * @param app AppIdentifier that was passed to fdc3.findInstances
5596
+ * @param app AppIdentifier that was passed to fdc3.findInstances
5589
5597
  * @param clientIdentity Identity of the Client making the request.
5590
5598
  */
5591
5599
  fdc3HandleFindInstances(app: AppIdentifier, clientIdentity: OpenFin_2.ClientIdentity): Promise<unknown>;
@@ -5610,7 +5618,7 @@ declare class InteropBroker extends Base {
5610
5618
  * fin.Platform.init({
5611
5619
  * interopOverride: async (InteropBroker) => {
5612
5620
  * class Override extends InteropBroker {
5613
- * async invokeContextHandler(options, clientIdentity) {
5621
+ * async invokeContextHandler(clientIdentity, handlerId, context) {
5614
5622
  * return super.invokeContextHandler(clientIdentity, handlerId, {
5615
5623
  * ...context,
5616
5624
  * contextMetadata: {
@@ -5642,7 +5650,7 @@ declare class InteropBroker extends Base {
5642
5650
  * fin.Platform.init({
5643
5651
  * interopOverride: async (InteropBroker) => {
5644
5652
  * class Override extends InteropBroker {
5645
- * async invokeIntentHandler(options, clientIdentity) {
5653
+ * async invokeIntentHandler(clientIdentity, handlerId, context) {
5646
5654
  * const { context } = intent;
5647
5655
  * return super.invokeIntentHandler(clientIdentity, handlerId, {
5648
5656
  * ...intent,
package/out/mock.js CHANGED
@@ -3526,12 +3526,12 @@ function requireView () {
3526
3526
  /**
3527
3527
  * Entry points for the OpenFin `View` API.
3528
3528
  *
3529
- * In the previous version of the API documentation, both static methods involving `View` and instance properties of the
3530
- * `View` type itself were documented on the same page. These are separate code entities, and are now documented separately:
3531
- *
3532
3529
  * * {@link ViewModule} contains static methods relating to the `View` type, accessible through `fin.View`.
3533
3530
  * * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
3534
3531
  *
3532
+ * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
3533
+ * both of these were documented on the same page.
3534
+ *
3535
3535
  * @packageDocumentation
3536
3536
  */
3537
3537
  __exportStar(requireFactory$3(), exports);
@@ -4661,12 +4661,12 @@ function requireApplication () {
4661
4661
  /**
4662
4662
  * Entry points for the OpenFin `Application` API.
4663
4663
  *
4664
- * In the previous version of the API documentation, both static methods involving `Application` and instance properties of the
4665
- * `Application` type itself were documented on the same page. These are separate code entities, and are now documented separately:
4666
- *
4667
4664
  * * {@link ApplicationModule} contains static methods relating to the `Application` type, accessible through `fin.Application`.
4668
4665
  * * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
4669
4666
  *
4667
+ * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
4668
+ * both of these were documented on the same page.
4669
+ *
4670
4670
  * @packageDocumentation
4671
4671
  */
4672
4672
  __exportStar(requireFactory$2(), exports);
@@ -6704,12 +6704,12 @@ function requireWindow () {
6704
6704
  /**
6705
6705
  * Entry points for the OpenFin `Window` API.
6706
6706
  *
6707
- * In the previous version of the API documentation, both static methods involving `Window` and instance properties of the
6708
- * `Window` type itself were documented on the same page. These are separate code entities, and are now documented separately:
6709
- *
6710
6707
  * * {@link _WindowModule} contains static methods relating to the `Window` type, accessible through `fin.Window`.
6711
6708
  * * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
6712
6709
  *
6710
+ * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
6711
+ * both of these were documented on the same page.
6712
+ *
6713
6713
  * Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
6714
6714
  *
6715
6715
  * @packageDocumentation
@@ -11361,12 +11361,12 @@ Factory$5.ExternalApplicationModule = ExternalApplicationModule;
11361
11361
  /**
11362
11362
  * Entry points for the OpenFin `ExternalApplication` API.
11363
11363
  *
11364
- * In the previous version of the API documentation, both static methods involving `ExternalApplication` and instance properties of the
11365
- * `ExternalApplication` type itself were documented on the same page. These are separate code entities, and are now documented separately:
11366
- *
11367
11364
  * * {@link ExternalApplicationModule} contains static methods relating to the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
11368
11365
  * * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
11369
11366
  *
11367
+ * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
11368
+ * both of these were documented on the same page.
11369
+ *
11370
11370
  * @packageDocumentation
11371
11371
  */
11372
11372
  __exportStar(Factory$5, exports);
@@ -11609,12 +11609,12 @@ Factory$4._FrameModule = _FrameModule;
11609
11609
  /**
11610
11610
  * Entry points for the OpenFin `Frame` API.
11611
11611
  *
11612
- * In the previous version of the API documentation, both static methods involving `Frame` and instance properties of the
11613
- * `Frame` type itself were documented on the same page. These are separate code entities, and are now documented separately:
11614
- *
11615
11612
  * * {@link _FrameModule} contains static methods relating to the `Frame` type, accessible through `fin.Frame`.
11616
11613
  * * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
11617
11614
  *
11615
+ * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
11616
+ * both of these were documented on the same page.
11617
+ *
11618
11618
  * Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
11619
11619
  *
11620
11620
  * @packageDocumentation
@@ -13037,11 +13037,13 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap();
13037
13037
 
13038
13038
  (function (exports) {
13039
13039
  /**
13040
- * Entry point for the OpenFin Layout namespace.
13040
+ * Entry point for the OpenFin `Layout` namespace.
13041
13041
  *
13042
- * Because TypeDoc does not currently support multiple modules with the same name, the module alias "LayoutModule" is used for
13043
- * the module containing static members of the `Layout` namespace (available under `fin.Platform.Layout`), while `Layout` documents
13044
- * instances of the OpenFin `Layout` class.
13042
+ * * {@link LayoutModule} contains static methods relating to the `Layout` type, accessible through `fin.Platform.Layout`.
13043
+ * * {@link Layout} describes an instance of an OpenFin Layout, e.g. as returned by `fin.Platform.Layout.getCurrent`.
13044
+ *
13045
+ * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
13046
+ * both of these were documented on the same page.
13045
13047
  *
13046
13048
  * @packageDocumentation
13047
13049
  *
@@ -13440,12 +13442,12 @@ Factory$3.PlatformModule = PlatformModule;
13440
13442
  /**
13441
13443
  * Entry points for the OpenFin `Platform` API.
13442
13444
  *
13443
- * In the previous version of the API documentation, both static methods involving `Platform` and instance properties of the
13444
- * `Platform` type itself were documented on the same page. These are separate code entities, and are now documented separately:
13445
- *
13446
13445
  * * {@link PlatformModule} contains static methods relating to the `Platform` type, accessible through `fin.Platform`.
13447
13446
  * * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
13448
13447
  *
13448
+ * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
13449
+ * both of these were documented on the same page.
13450
+ *
13449
13451
  * @packageDocumentation
13450
13452
  */
13451
13453
  __exportStar(Factory$3, exports);
@@ -14696,7 +14698,8 @@ function requireInteropBroker () {
14696
14698
  * ```
14697
14699
  */
14698
14700
  // eslint-disable-next-line class-methods-use-this
14699
- async handleFiredIntent(intent, clientIdentity) {
14701
+ async handleFiredIntent(intent, clientIdentity // TODO(CORE-811): remove inline intersected type
14702
+ ) {
14700
14703
  const warning = (0, utils_1.generateOverrideWarning)('fdc3.raiseIntent', 'InteropBroker.handleFiredIntent', clientIdentity, 'interopClient.fireIntent');
14701
14704
  console.warn(warning);
14702
14705
  throw new Error(utils_1.BROKER_ERRORS.fireIntent);
@@ -14763,7 +14766,7 @@ function requireInteropBroker () {
14763
14766
  * More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
14764
14767
  *
14765
14768
  * @param options
14766
- * @param clientIdentity Identity of the Client making the request.
14769
+ * @param clientIdentity Identity of the Client making the request.
14767
14770
  *
14768
14771
  * @example
14769
14772
  * ```js
@@ -14780,7 +14783,8 @@ function requireInteropBroker () {
14780
14783
  * ```
14781
14784
  */
14782
14785
  // eslint-disable-next-line class-methods-use-this
14783
- async handleInfoForIntent(options, clientIdentity) {
14786
+ async handleInfoForIntent(options, clientIdentity // TODO(CORE-811): remove inline intersected type
14787
+ ) {
14784
14788
  const warning = (0, utils_1.generateOverrideWarning)('fdc3.findIntent', 'InteropBroker.handleInfoForIntent', clientIdentity, 'interopClient.getInfoForIntent');
14785
14789
  console.warn(warning);
14786
14790
  throw new Error(utils_1.BROKER_ERRORS.getInfoForIntent);
@@ -14826,7 +14830,8 @@ function requireInteropBroker () {
14826
14830
  * ```
14827
14831
  */
14828
14832
  // eslint-disable-next-line class-methods-use-this
14829
- async handleInfoForIntentsByContext(context, clientIdentity) {
14833
+ async handleInfoForIntentsByContext(context, clientIdentity // TODO(CORE-811): remove inline intersected type
14834
+ ) {
14830
14835
  const warning = (0, utils_1.generateOverrideWarning)('fdc3.findIntentsByContext', 'InteropBroker.handleInfoForIntentsByContext', clientIdentity, 'interopClient.getInfoForIntentsByContext');
14831
14836
  console.warn(warning);
14832
14837
  throw new Error(utils_1.BROKER_ERRORS.getInfoForIntentsByContext);
@@ -14852,7 +14857,7 @@ function requireInteropBroker () {
14852
14857
  * More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
14853
14858
  *
14854
14859
  * @param contextForIntent Data passed between entities and applications.
14855
- * @param clientIdentity Identity of the Client making the request.
14860
+ * @param clientIdentity Identity of the Client making the request.
14856
14861
  *
14857
14862
  * @example
14858
14863
  * ```js
@@ -14913,7 +14918,7 @@ function requireInteropBroker () {
14913
14918
  /**
14914
14919
  * Responsible for resolving the fdc3.findInstances call.
14915
14920
  * Must be overridden
14916
- * @param app AppIdentifier that was passed to fdc3.findInstances
14921
+ * @param app AppIdentifier that was passed to fdc3.findInstances
14917
14922
  * @param clientIdentity Identity of the Client making the request.
14918
14923
  */
14919
14924
  // eslint-disable-next-line class-methods-use-this
@@ -14948,7 +14953,7 @@ function requireInteropBroker () {
14948
14953
  * fin.Platform.init({
14949
14954
  * interopOverride: async (InteropBroker) => {
14950
14955
  * class Override extends InteropBroker {
14951
- * async invokeContextHandler(options, clientIdentity) {
14956
+ * async invokeContextHandler(clientIdentity, handlerId, context) {
14952
14957
  * return super.invokeContextHandler(clientIdentity, handlerId, {
14953
14958
  * ...context,
14954
14959
  * contextMetadata: {
@@ -14988,7 +14993,7 @@ function requireInteropBroker () {
14988
14993
  * fin.Platform.init({
14989
14994
  * interopOverride: async (InteropBroker) => {
14990
14995
  * class Override extends InteropBroker {
14991
- * async invokeIntentHandler(options, clientIdentity) {
14996
+ * async invokeIntentHandler(clientIdentity, handlerId, context) {
14992
14997
  * const { context } = intent;
14993
14998
  * return super.invokeIntentHandler(clientIdentity, handlerId, {
14994
14999
  * ...intent,
@@ -15327,7 +15332,8 @@ function requireInteropBroker () {
15327
15332
  }
15328
15333
  // Setup Channel Connection Logic
15329
15334
  wireChannel(channel) {
15330
- channel.onConnection(async (clientIdentity, payload) => {
15335
+ channel.onConnection(async (clientIdentity, // TODO(CORE-811): remove inline intersected type
15336
+ payload) => {
15331
15337
  if (!(await this.isConnectionAuthorized(clientIdentity, payload))) {
15332
15338
  throw new Error(`Connection not authorized for ${clientIdentity.uuid}, ${clientIdentity.name}`);
15333
15339
  }
@@ -16207,39 +16213,46 @@ class InteropClient extends base_1$2.Base {
16207
16213
  InteropClient$1.InteropClient = InteropClient;
16208
16214
  _InteropClient_clientPromise = new WeakMap(), _InteropClient_sessionContextGroups = new WeakMap();
16209
16215
 
16210
- var overrideCheck$1 = {};
16216
+ var overrideCheck = {};
16211
16217
 
16212
- Object.defineProperty(overrideCheck$1, "__esModule", { value: true });
16213
- overrideCheck$1.overrideCheck = overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = void 0;
16214
- const InteropBroker_1 = requireInteropBroker();
16215
- function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
16216
- var _a, _b, _c, _d;
16217
- const setVersion = (_c = (_b = (_a = manifest.platform) === null || _a === void 0 ? void 0 : _a.defaultViewOptions) === null || _b === void 0 ? void 0 : _b.fdc3InteropApi) !== null && _c !== void 0 ? _c : (_d = initialOptions.defaultViewOptions) === null || _d === void 0 ? void 0 : _d.fdc3InteropApi;
16218
- return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
16219
- }
16220
- overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
16221
- // TODO: Unit test this
16222
- function overrideCheck(overriddenBroker, fdc3InteropApi) {
16223
- if (fdc3InteropApi && fdc3InteropApi === '2.0') {
16224
- const mustOverrideAPIs = [
16225
- 'fdc3HandleFindInstances',
16226
- 'handleInfoForIntent',
16227
- 'handleInfoForIntentsByContext',
16228
- 'fdc3HandleGetAppMetadata',
16229
- 'fdc3HandleGetInfo',
16230
- 'fdc3HandleOpen',
16231
- 'handleFiredIntent',
16232
- 'handleFiredIntentForContext'
16233
- ];
16234
- const notOverridden = mustOverrideAPIs.filter((api) => {
16235
- return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
16236
- });
16237
- if (notOverridden.length > 0) {
16238
- console.warn(`WARNING: FDC3 2.0 has been set as a default option for Views in this Platform, but the required InteropBroker APIs for FDC3 2.0 compliance have not all been overridden.\nThe following APIs need to be overridden:\n${notOverridden.join('\n')}`);
16239
- }
16240
- }
16218
+ var hasRequiredOverrideCheck;
16219
+
16220
+ function requireOverrideCheck () {
16221
+ if (hasRequiredOverrideCheck) return overrideCheck;
16222
+ hasRequiredOverrideCheck = 1;
16223
+ Object.defineProperty(overrideCheck, "__esModule", { value: true });
16224
+ overrideCheck.overrideCheck = overrideCheck.getDefaultViewFdc3VersionFromAppInfo = void 0;
16225
+ const InteropBroker_1 = requireInteropBroker();
16226
+ function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
16227
+ var _a, _b, _c, _d;
16228
+ const setVersion = (_c = (_b = (_a = manifest.platform) === null || _a === void 0 ? void 0 : _a.defaultViewOptions) === null || _b === void 0 ? void 0 : _b.fdc3InteropApi) !== null && _c !== void 0 ? _c : (_d = initialOptions.defaultViewOptions) === null || _d === void 0 ? void 0 : _d.fdc3InteropApi;
16229
+ return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
16230
+ }
16231
+ overrideCheck.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
16232
+ // TODO: Unit test this
16233
+ function overrideCheck$1(overriddenBroker, fdc3InteropApi) {
16234
+ if (fdc3InteropApi && fdc3InteropApi === '2.0') {
16235
+ const mustOverrideAPIs = [
16236
+ 'fdc3HandleFindInstances',
16237
+ 'handleInfoForIntent',
16238
+ 'handleInfoForIntentsByContext',
16239
+ 'fdc3HandleGetAppMetadata',
16240
+ 'fdc3HandleGetInfo',
16241
+ 'fdc3HandleOpen',
16242
+ 'handleFiredIntent',
16243
+ 'handleFiredIntentForContext'
16244
+ ];
16245
+ const notOverridden = mustOverrideAPIs.filter((api) => {
16246
+ return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
16247
+ });
16248
+ if (notOverridden.length > 0) {
16249
+ console.warn(`WARNING: FDC3 2.0 has been set as a default option for Views in this Platform, but the required InteropBroker APIs for FDC3 2.0 compliance have not all been overridden.\nThe following APIs need to be overridden:\n${notOverridden.join('\n')}`);
16250
+ }
16251
+ }
16252
+ }
16253
+ overrideCheck.overrideCheck = overrideCheck$1;
16254
+ return overrideCheck;
16241
16255
  }
16242
- overrideCheck$1.overrideCheck = overrideCheck;
16243
16256
 
16244
16257
  var hasRequiredFactory;
16245
16258
 
@@ -16253,7 +16266,7 @@ function requireFactory () {
16253
16266
  const base_1 = base;
16254
16267
  const InteropBroker_1 = requireInteropBroker();
16255
16268
  const InteropClient_1 = InteropClient$1;
16256
- const overrideCheck_1 = overrideCheck$1;
16269
+ const overrideCheck_1 = requireOverrideCheck();
16257
16270
  const common_utils_1 = commonUtils;
16258
16271
  const defaultOverride = (Class) => new Class();
16259
16272
  const BrokerParamAccessError = 'You have attempted to use or modify InteropBroker parameters, which is not allowed. You are likely using an older InteropBroker override scheme. Please consult our Interop docs for guidance on migrating to the new override scheme.';
@@ -16637,12 +16650,12 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
16637
16650
  /**
16638
16651
  * Entry points for the OpenFin `SnapshotSource` API.
16639
16652
  *
16640
- * In the previous version of the API documentation, both static methods involving `SnapshotSource` and instance properties of the
16641
- * `SnapshotSource` type itself were documented on the same page. These are separate code entities, and are now documented separately:
16642
- *
16643
16653
  * * {@link SnapshotSourceModule} contains static methods relating to the `SnapshotSource` type, accessible through `fin.SnapshotSource`.
16644
16654
  * * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.getCurrent`.
16645
16655
  *
16656
+ * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
16657
+ * both of these were documented on the same page.
16658
+ *
16646
16659
  * @packageDocumentation
16647
16660
  */
16648
16661
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "34.78.5",
3
+ "version": "34.78.7",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "main": "out/mock.js",