@openfin/node-adapter 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.
- package/out/node-adapter-alpha.d.ts +17 -9
- package/out/node-adapter-beta.d.ts +17 -9
- package/out/node-adapter-public.d.ts +17 -9
- package/out/node-adapter.d.ts +17 -9
- package/out/node-adapter.js +79 -66
- package/package.json +1 -1
@@ -5317,7 +5317,9 @@ declare class InteropBroker extends Base {
|
|
5317
5317
|
* });
|
5318
5318
|
* ```
|
5319
5319
|
*/
|
5320
|
-
handleFiredIntent(intent: OpenFin.Intent, clientIdentity: OpenFin.ClientIdentity
|
5320
|
+
handleFiredIntent(intent: OpenFin.Intent, clientIdentity: OpenFin.ClientIdentity & {
|
5321
|
+
entityType: OpenFin.EntityType;
|
5322
|
+
}): Promise<unknown>;
|
5321
5323
|
/**
|
5322
5324
|
* Should be called in {@link InteropBroker#handleFiredIntent InteropBroker.handleFiredIntent}.
|
5323
5325
|
* While handleFiredIntent is responsible for launching applications, setIntentTarget is used to tell the InteropBroker which application should receive the intent when it is ready.
|
@@ -5346,7 +5348,7 @@ declare class InteropBroker extends Base {
|
|
5346
5348
|
* More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
|
5347
5349
|
*
|
5348
5350
|
* @param options
|
5349
|
-
* @param
|
5351
|
+
* @param clientIdentity Identity of the Client making the request.
|
5350
5352
|
*
|
5351
5353
|
* @example
|
5352
5354
|
* ```js
|
@@ -5362,7 +5364,9 @@ declare class InteropBroker extends Base {
|
|
5362
5364
|
* });
|
5363
5365
|
* ```
|
5364
5366
|
*/
|
5365
|
-
handleInfoForIntent(options: OpenFin.InfoForIntentOptions, clientIdentity: OpenFin.ClientIdentity
|
5367
|
+
handleInfoForIntent(options: OpenFin.InfoForIntentOptions, clientIdentity: OpenFin.ClientIdentity & {
|
5368
|
+
entityType: OpenFin.EntityType;
|
5369
|
+
}): Promise<unknown>;
|
5366
5370
|
/**
|
5367
5371
|
* Responsible for returning information on which Intents are meant to handle a specific Context.
|
5368
5372
|
* Must be overridden.
|
@@ -5403,7 +5407,9 @@ declare class InteropBroker extends Base {
|
|
5403
5407
|
* });
|
5404
5408
|
* ```
|
5405
5409
|
*/
|
5406
|
-
handleInfoForIntentsByContext(context: OpenFin.Context | OpenFin.FindIntentsByContextOptions, clientIdentity: OpenFin.ClientIdentity
|
5410
|
+
handleInfoForIntentsByContext(context: OpenFin.Context | OpenFin.FindIntentsByContextOptions, clientIdentity: OpenFin.ClientIdentity & {
|
5411
|
+
entityType: OpenFin.EntityType;
|
5412
|
+
}): Promise<unknown>;
|
5407
5413
|
/**
|
5408
5414
|
* Responsible for resolving an Intent based on a specific Context.
|
5409
5415
|
* Must be overridden.
|
@@ -5425,7 +5431,7 @@ declare class InteropBroker extends Base {
|
|
5425
5431
|
* More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
|
5426
5432
|
*
|
5427
5433
|
* @param contextForIntent Data passed between entities and applications.
|
5428
|
-
* @param
|
5434
|
+
* @param clientIdentity Identity of the Client making the request.
|
5429
5435
|
*
|
5430
5436
|
* @example
|
5431
5437
|
* ```js
|
@@ -5441,7 +5447,9 @@ declare class InteropBroker extends Base {
|
|
5441
5447
|
* });
|
5442
5448
|
* ```
|
5443
5449
|
*/
|
5444
|
-
handleFiredIntentForContext(contextForIntent: OpenFin.ContextForIntent, clientIdentity: OpenFin.ClientIdentity
|
5450
|
+
handleFiredIntentForContext(contextForIntent: OpenFin.ContextForIntent, clientIdentity: OpenFin.ClientIdentity & {
|
5451
|
+
entityType: OpenFin.EntityType;
|
5452
|
+
}): Promise<unknown>;
|
5445
5453
|
/**
|
5446
5454
|
* Provides the identity of any Interop Client that disconnects from the Interop Broker. It is meant to be overriden.
|
5447
5455
|
* @param clientIdentity
|
@@ -5475,7 +5483,7 @@ declare class InteropBroker extends Base {
|
|
5475
5483
|
/**
|
5476
5484
|
* Responsible for resolving the fdc3.findInstances call.
|
5477
5485
|
* Must be overridden
|
5478
|
-
* @param
|
5486
|
+
* @param app AppIdentifier that was passed to fdc3.findInstances
|
5479
5487
|
* @param clientIdentity Identity of the Client making the request.
|
5480
5488
|
*/
|
5481
5489
|
fdc3HandleFindInstances(app: AppIdentifier, clientIdentity: OpenFin.ClientIdentity): Promise<unknown>;
|
@@ -5500,7 +5508,7 @@ declare class InteropBroker extends Base {
|
|
5500
5508
|
* fin.Platform.init({
|
5501
5509
|
* interopOverride: async (InteropBroker) => {
|
5502
5510
|
* class Override extends InteropBroker {
|
5503
|
-
* async invokeContextHandler(
|
5511
|
+
* async invokeContextHandler(clientIdentity, handlerId, context) {
|
5504
5512
|
* return super.invokeContextHandler(clientIdentity, handlerId, {
|
5505
5513
|
* ...context,
|
5506
5514
|
* contextMetadata: {
|
@@ -5532,7 +5540,7 @@ declare class InteropBroker extends Base {
|
|
5532
5540
|
* fin.Platform.init({
|
5533
5541
|
* interopOverride: async (InteropBroker) => {
|
5534
5542
|
* class Override extends InteropBroker {
|
5535
|
-
* async invokeIntentHandler(
|
5543
|
+
* async invokeIntentHandler(clientIdentity, handlerId, context) {
|
5536
5544
|
* const { context } = intent;
|
5537
5545
|
* return super.invokeIntentHandler(clientIdentity, handlerId, {
|
5538
5546
|
* ...intent,
|
@@ -5317,7 +5317,9 @@ declare class InteropBroker extends Base {
|
|
5317
5317
|
* });
|
5318
5318
|
* ```
|
5319
5319
|
*/
|
5320
|
-
handleFiredIntent(intent: OpenFin.Intent, clientIdentity: OpenFin.ClientIdentity
|
5320
|
+
handleFiredIntent(intent: OpenFin.Intent, clientIdentity: OpenFin.ClientIdentity & {
|
5321
|
+
entityType: OpenFin.EntityType;
|
5322
|
+
}): Promise<unknown>;
|
5321
5323
|
/**
|
5322
5324
|
* Should be called in {@link InteropBroker#handleFiredIntent InteropBroker.handleFiredIntent}.
|
5323
5325
|
* While handleFiredIntent is responsible for launching applications, setIntentTarget is used to tell the InteropBroker which application should receive the intent when it is ready.
|
@@ -5346,7 +5348,7 @@ declare class InteropBroker extends Base {
|
|
5346
5348
|
* More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
|
5347
5349
|
*
|
5348
5350
|
* @param options
|
5349
|
-
* @param
|
5351
|
+
* @param clientIdentity Identity of the Client making the request.
|
5350
5352
|
*
|
5351
5353
|
* @example
|
5352
5354
|
* ```js
|
@@ -5362,7 +5364,9 @@ declare class InteropBroker extends Base {
|
|
5362
5364
|
* });
|
5363
5365
|
* ```
|
5364
5366
|
*/
|
5365
|
-
handleInfoForIntent(options: OpenFin.InfoForIntentOptions, clientIdentity: OpenFin.ClientIdentity
|
5367
|
+
handleInfoForIntent(options: OpenFin.InfoForIntentOptions, clientIdentity: OpenFin.ClientIdentity & {
|
5368
|
+
entityType: OpenFin.EntityType;
|
5369
|
+
}): Promise<unknown>;
|
5366
5370
|
/**
|
5367
5371
|
* Responsible for returning information on which Intents are meant to handle a specific Context.
|
5368
5372
|
* Must be overridden.
|
@@ -5403,7 +5407,9 @@ declare class InteropBroker extends Base {
|
|
5403
5407
|
* });
|
5404
5408
|
* ```
|
5405
5409
|
*/
|
5406
|
-
handleInfoForIntentsByContext(context: OpenFin.Context | OpenFin.FindIntentsByContextOptions, clientIdentity: OpenFin.ClientIdentity
|
5410
|
+
handleInfoForIntentsByContext(context: OpenFin.Context | OpenFin.FindIntentsByContextOptions, clientIdentity: OpenFin.ClientIdentity & {
|
5411
|
+
entityType: OpenFin.EntityType;
|
5412
|
+
}): Promise<unknown>;
|
5407
5413
|
/**
|
5408
5414
|
* Responsible for resolving an Intent based on a specific Context.
|
5409
5415
|
* Must be overridden.
|
@@ -5425,7 +5431,7 @@ declare class InteropBroker extends Base {
|
|
5425
5431
|
* More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
|
5426
5432
|
*
|
5427
5433
|
* @param contextForIntent Data passed between entities and applications.
|
5428
|
-
* @param
|
5434
|
+
* @param clientIdentity Identity of the Client making the request.
|
5429
5435
|
*
|
5430
5436
|
* @example
|
5431
5437
|
* ```js
|
@@ -5441,7 +5447,9 @@ declare class InteropBroker extends Base {
|
|
5441
5447
|
* });
|
5442
5448
|
* ```
|
5443
5449
|
*/
|
5444
|
-
handleFiredIntentForContext(contextForIntent: OpenFin.ContextForIntent, clientIdentity: OpenFin.ClientIdentity
|
5450
|
+
handleFiredIntentForContext(contextForIntent: OpenFin.ContextForIntent, clientIdentity: OpenFin.ClientIdentity & {
|
5451
|
+
entityType: OpenFin.EntityType;
|
5452
|
+
}): Promise<unknown>;
|
5445
5453
|
/**
|
5446
5454
|
* Provides the identity of any Interop Client that disconnects from the Interop Broker. It is meant to be overriden.
|
5447
5455
|
* @param clientIdentity
|
@@ -5475,7 +5483,7 @@ declare class InteropBroker extends Base {
|
|
5475
5483
|
/**
|
5476
5484
|
* Responsible for resolving the fdc3.findInstances call.
|
5477
5485
|
* Must be overridden
|
5478
|
-
* @param
|
5486
|
+
* @param app AppIdentifier that was passed to fdc3.findInstances
|
5479
5487
|
* @param clientIdentity Identity of the Client making the request.
|
5480
5488
|
*/
|
5481
5489
|
fdc3HandleFindInstances(app: AppIdentifier, clientIdentity: OpenFin.ClientIdentity): Promise<unknown>;
|
@@ -5500,7 +5508,7 @@ declare class InteropBroker extends Base {
|
|
5500
5508
|
* fin.Platform.init({
|
5501
5509
|
* interopOverride: async (InteropBroker) => {
|
5502
5510
|
* class Override extends InteropBroker {
|
5503
|
-
* async invokeContextHandler(
|
5511
|
+
* async invokeContextHandler(clientIdentity, handlerId, context) {
|
5504
5512
|
* return super.invokeContextHandler(clientIdentity, handlerId, {
|
5505
5513
|
* ...context,
|
5506
5514
|
* contextMetadata: {
|
@@ -5532,7 +5540,7 @@ declare class InteropBroker extends Base {
|
|
5532
5540
|
* fin.Platform.init({
|
5533
5541
|
* interopOverride: async (InteropBroker) => {
|
5534
5542
|
* class Override extends InteropBroker {
|
5535
|
-
* async invokeIntentHandler(
|
5543
|
+
* async invokeIntentHandler(clientIdentity, handlerId, context) {
|
5536
5544
|
* const { context } = intent;
|
5537
5545
|
* return super.invokeIntentHandler(clientIdentity, handlerId, {
|
5538
5546
|
* ...intent,
|
@@ -5317,7 +5317,9 @@ declare class InteropBroker extends Base {
|
|
5317
5317
|
* });
|
5318
5318
|
* ```
|
5319
5319
|
*/
|
5320
|
-
handleFiredIntent(intent: OpenFin.Intent, clientIdentity: OpenFin.ClientIdentity
|
5320
|
+
handleFiredIntent(intent: OpenFin.Intent, clientIdentity: OpenFin.ClientIdentity & {
|
5321
|
+
entityType: OpenFin.EntityType;
|
5322
|
+
}): Promise<unknown>;
|
5321
5323
|
/**
|
5322
5324
|
* Should be called in {@link InteropBroker#handleFiredIntent InteropBroker.handleFiredIntent}.
|
5323
5325
|
* While handleFiredIntent is responsible for launching applications, setIntentTarget is used to tell the InteropBroker which application should receive the intent when it is ready.
|
@@ -5346,7 +5348,7 @@ declare class InteropBroker extends Base {
|
|
5346
5348
|
* More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
|
5347
5349
|
*
|
5348
5350
|
* @param options
|
5349
|
-
* @param
|
5351
|
+
* @param clientIdentity Identity of the Client making the request.
|
5350
5352
|
*
|
5351
5353
|
* @example
|
5352
5354
|
* ```js
|
@@ -5362,7 +5364,9 @@ declare class InteropBroker extends Base {
|
|
5362
5364
|
* });
|
5363
5365
|
* ```
|
5364
5366
|
*/
|
5365
|
-
handleInfoForIntent(options: OpenFin.InfoForIntentOptions, clientIdentity: OpenFin.ClientIdentity
|
5367
|
+
handleInfoForIntent(options: OpenFin.InfoForIntentOptions, clientIdentity: OpenFin.ClientIdentity & {
|
5368
|
+
entityType: OpenFin.EntityType;
|
5369
|
+
}): Promise<unknown>;
|
5366
5370
|
/**
|
5367
5371
|
* Responsible for returning information on which Intents are meant to handle a specific Context.
|
5368
5372
|
* Must be overridden.
|
@@ -5403,7 +5407,9 @@ declare class InteropBroker extends Base {
|
|
5403
5407
|
* });
|
5404
5408
|
* ```
|
5405
5409
|
*/
|
5406
|
-
handleInfoForIntentsByContext(context: OpenFin.Context | OpenFin.FindIntentsByContextOptions, clientIdentity: OpenFin.ClientIdentity
|
5410
|
+
handleInfoForIntentsByContext(context: OpenFin.Context | OpenFin.FindIntentsByContextOptions, clientIdentity: OpenFin.ClientIdentity & {
|
5411
|
+
entityType: OpenFin.EntityType;
|
5412
|
+
}): Promise<unknown>;
|
5407
5413
|
/**
|
5408
5414
|
* Responsible for resolving an Intent based on a specific Context.
|
5409
5415
|
* Must be overridden.
|
@@ -5425,7 +5431,7 @@ declare class InteropBroker extends Base {
|
|
5425
5431
|
* More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
|
5426
5432
|
*
|
5427
5433
|
* @param contextForIntent Data passed between entities and applications.
|
5428
|
-
* @param
|
5434
|
+
* @param clientIdentity Identity of the Client making the request.
|
5429
5435
|
*
|
5430
5436
|
* @example
|
5431
5437
|
* ```js
|
@@ -5441,7 +5447,9 @@ declare class InteropBroker extends Base {
|
|
5441
5447
|
* });
|
5442
5448
|
* ```
|
5443
5449
|
*/
|
5444
|
-
handleFiredIntentForContext(contextForIntent: OpenFin.ContextForIntent, clientIdentity: OpenFin.ClientIdentity
|
5450
|
+
handleFiredIntentForContext(contextForIntent: OpenFin.ContextForIntent, clientIdentity: OpenFin.ClientIdentity & {
|
5451
|
+
entityType: OpenFin.EntityType;
|
5452
|
+
}): Promise<unknown>;
|
5445
5453
|
/**
|
5446
5454
|
* Provides the identity of any Interop Client that disconnects from the Interop Broker. It is meant to be overriden.
|
5447
5455
|
* @param clientIdentity
|
@@ -5475,7 +5483,7 @@ declare class InteropBroker extends Base {
|
|
5475
5483
|
/**
|
5476
5484
|
* Responsible for resolving the fdc3.findInstances call.
|
5477
5485
|
* Must be overridden
|
5478
|
-
* @param
|
5486
|
+
* @param app AppIdentifier that was passed to fdc3.findInstances
|
5479
5487
|
* @param clientIdentity Identity of the Client making the request.
|
5480
5488
|
*/
|
5481
5489
|
fdc3HandleFindInstances(app: AppIdentifier, clientIdentity: OpenFin.ClientIdentity): Promise<unknown>;
|
@@ -5500,7 +5508,7 @@ declare class InteropBroker extends Base {
|
|
5500
5508
|
* fin.Platform.init({
|
5501
5509
|
* interopOverride: async (InteropBroker) => {
|
5502
5510
|
* class Override extends InteropBroker {
|
5503
|
-
* async invokeContextHandler(
|
5511
|
+
* async invokeContextHandler(clientIdentity, handlerId, context) {
|
5504
5512
|
* return super.invokeContextHandler(clientIdentity, handlerId, {
|
5505
5513
|
* ...context,
|
5506
5514
|
* contextMetadata: {
|
@@ -5532,7 +5540,7 @@ declare class InteropBroker extends Base {
|
|
5532
5540
|
* fin.Platform.init({
|
5533
5541
|
* interopOverride: async (InteropBroker) => {
|
5534
5542
|
* class Override extends InteropBroker {
|
5535
|
-
* async invokeIntentHandler(
|
5543
|
+
* async invokeIntentHandler(clientIdentity, handlerId, context) {
|
5536
5544
|
* const { context } = intent;
|
5537
5545
|
* return super.invokeIntentHandler(clientIdentity, handlerId, {
|
5538
5546
|
* ...intent,
|
package/out/node-adapter.d.ts
CHANGED
@@ -5454,7 +5454,9 @@ declare class InteropBroker extends Base {
|
|
5454
5454
|
* });
|
5455
5455
|
* ```
|
5456
5456
|
*/
|
5457
|
-
handleFiredIntent(intent: OpenFin.Intent, clientIdentity: OpenFin.ClientIdentity
|
5457
|
+
handleFiredIntent(intent: OpenFin.Intent, clientIdentity: OpenFin.ClientIdentity & {
|
5458
|
+
entityType: OpenFin.EntityType;
|
5459
|
+
}): Promise<unknown>;
|
5458
5460
|
/**
|
5459
5461
|
* Should be called in {@link InteropBroker#handleFiredIntent InteropBroker.handleFiredIntent}.
|
5460
5462
|
* While handleFiredIntent is responsible for launching applications, setIntentTarget is used to tell the InteropBroker which application should receive the intent when it is ready.
|
@@ -5483,7 +5485,7 @@ declare class InteropBroker extends Base {
|
|
5483
5485
|
* More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
|
5484
5486
|
*
|
5485
5487
|
* @param options
|
5486
|
-
* @param
|
5488
|
+
* @param clientIdentity Identity of the Client making the request.
|
5487
5489
|
*
|
5488
5490
|
* @example
|
5489
5491
|
* ```js
|
@@ -5499,7 +5501,9 @@ declare class InteropBroker extends Base {
|
|
5499
5501
|
* });
|
5500
5502
|
* ```
|
5501
5503
|
*/
|
5502
|
-
handleInfoForIntent(options: OpenFin.InfoForIntentOptions, clientIdentity: OpenFin.ClientIdentity
|
5504
|
+
handleInfoForIntent(options: OpenFin.InfoForIntentOptions, clientIdentity: OpenFin.ClientIdentity & {
|
5505
|
+
entityType: OpenFin.EntityType;
|
5506
|
+
}): Promise<unknown>;
|
5503
5507
|
/**
|
5504
5508
|
* Responsible for returning information on which Intents are meant to handle a specific Context.
|
5505
5509
|
* Must be overridden.
|
@@ -5540,7 +5544,9 @@ declare class InteropBroker extends Base {
|
|
5540
5544
|
* });
|
5541
5545
|
* ```
|
5542
5546
|
*/
|
5543
|
-
handleInfoForIntentsByContext(context: OpenFin.Context | OpenFin.FindIntentsByContextOptions, clientIdentity: OpenFin.ClientIdentity
|
5547
|
+
handleInfoForIntentsByContext(context: OpenFin.Context | OpenFin.FindIntentsByContextOptions, clientIdentity: OpenFin.ClientIdentity & {
|
5548
|
+
entityType: OpenFin.EntityType;
|
5549
|
+
}): Promise<unknown>;
|
5544
5550
|
/**
|
5545
5551
|
* Responsible for resolving an Intent based on a specific Context.
|
5546
5552
|
* Must be overridden.
|
@@ -5562,7 +5568,7 @@ declare class InteropBroker extends Base {
|
|
5562
5568
|
* More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
|
5563
5569
|
*
|
5564
5570
|
* @param contextForIntent Data passed between entities and applications.
|
5565
|
-
* @param
|
5571
|
+
* @param clientIdentity Identity of the Client making the request.
|
5566
5572
|
*
|
5567
5573
|
* @example
|
5568
5574
|
* ```js
|
@@ -5578,7 +5584,9 @@ declare class InteropBroker extends Base {
|
|
5578
5584
|
* });
|
5579
5585
|
* ```
|
5580
5586
|
*/
|
5581
|
-
handleFiredIntentForContext(contextForIntent: OpenFin.ContextForIntent, clientIdentity: OpenFin.ClientIdentity
|
5587
|
+
handleFiredIntentForContext(contextForIntent: OpenFin.ContextForIntent, clientIdentity: OpenFin.ClientIdentity & {
|
5588
|
+
entityType: OpenFin.EntityType;
|
5589
|
+
}): Promise<unknown>;
|
5582
5590
|
/**
|
5583
5591
|
* Provides the identity of any Interop Client that disconnects from the Interop Broker. It is meant to be overriden.
|
5584
5592
|
* @param clientIdentity
|
@@ -5612,7 +5620,7 @@ declare class InteropBroker extends Base {
|
|
5612
5620
|
/**
|
5613
5621
|
* Responsible for resolving the fdc3.findInstances call.
|
5614
5622
|
* Must be overridden
|
5615
|
-
* @param
|
5623
|
+
* @param app AppIdentifier that was passed to fdc3.findInstances
|
5616
5624
|
* @param clientIdentity Identity of the Client making the request.
|
5617
5625
|
*/
|
5618
5626
|
fdc3HandleFindInstances(app: AppIdentifier, clientIdentity: OpenFin.ClientIdentity): Promise<unknown>;
|
@@ -5637,7 +5645,7 @@ declare class InteropBroker extends Base {
|
|
5637
5645
|
* fin.Platform.init({
|
5638
5646
|
* interopOverride: async (InteropBroker) => {
|
5639
5647
|
* class Override extends InteropBroker {
|
5640
|
-
* async invokeContextHandler(
|
5648
|
+
* async invokeContextHandler(clientIdentity, handlerId, context) {
|
5641
5649
|
* return super.invokeContextHandler(clientIdentity, handlerId, {
|
5642
5650
|
* ...context,
|
5643
5651
|
* contextMetadata: {
|
@@ -5669,7 +5677,7 @@ declare class InteropBroker extends Base {
|
|
5669
5677
|
* fin.Platform.init({
|
5670
5678
|
* interopOverride: async (InteropBroker) => {
|
5671
5679
|
* class Override extends InteropBroker {
|
5672
|
-
* async invokeIntentHandler(
|
5680
|
+
* async invokeIntentHandler(clientIdentity, handlerId, context) {
|
5673
5681
|
* const { context } = intent;
|
5674
5682
|
* return super.invokeIntentHandler(clientIdentity, handlerId, {
|
5675
5683
|
* ...intent,
|
package/out/node-adapter.js
CHANGED
@@ -3546,12 +3546,12 @@ function requireView () {
|
|
3546
3546
|
/**
|
3547
3547
|
* Entry points for the OpenFin `View` API.
|
3548
3548
|
*
|
3549
|
-
* In the previous version of the API documentation, both static methods involving `View` and instance properties of the
|
3550
|
-
* `View` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
3551
|
-
*
|
3552
3549
|
* * {@link ViewModule} contains static methods relating to the `View` type, accessible through `fin.View`.
|
3553
3550
|
* * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
|
3554
3551
|
*
|
3552
|
+
* 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),
|
3553
|
+
* both of these were documented on the same page.
|
3554
|
+
*
|
3555
3555
|
* @packageDocumentation
|
3556
3556
|
*/
|
3557
3557
|
__exportStar(requireFactory$3(), exports);
|
@@ -4681,12 +4681,12 @@ function requireApplication () {
|
|
4681
4681
|
/**
|
4682
4682
|
* Entry points for the OpenFin `Application` API.
|
4683
4683
|
*
|
4684
|
-
* In the previous version of the API documentation, both static methods involving `Application` and instance properties of the
|
4685
|
-
* `Application` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
4686
|
-
*
|
4687
4684
|
* * {@link ApplicationModule} contains static methods relating to the `Application` type, accessible through `fin.Application`.
|
4688
4685
|
* * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
|
4689
4686
|
*
|
4687
|
+
* 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),
|
4688
|
+
* both of these were documented on the same page.
|
4689
|
+
*
|
4690
4690
|
* @packageDocumentation
|
4691
4691
|
*/
|
4692
4692
|
__exportStar(requireFactory$2(), exports);
|
@@ -6724,12 +6724,12 @@ function requireWindow () {
|
|
6724
6724
|
/**
|
6725
6725
|
* Entry points for the OpenFin `Window` API.
|
6726
6726
|
*
|
6727
|
-
* In the previous version of the API documentation, both static methods involving `Window` and instance properties of the
|
6728
|
-
* `Window` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
6729
|
-
*
|
6730
6727
|
* * {@link _WindowModule} contains static methods relating to the `Window` type, accessible through `fin.Window`.
|
6731
6728
|
* * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
|
6732
6729
|
*
|
6730
|
+
* 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),
|
6731
|
+
* both of these were documented on the same page.
|
6732
|
+
*
|
6733
6733
|
* Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
|
6734
6734
|
*
|
6735
6735
|
* @packageDocumentation
|
@@ -11381,12 +11381,12 @@ Factory$5.ExternalApplicationModule = ExternalApplicationModule;
|
|
11381
11381
|
/**
|
11382
11382
|
* Entry points for the OpenFin `ExternalApplication` API.
|
11383
11383
|
*
|
11384
|
-
* In the previous version of the API documentation, both static methods involving `ExternalApplication` and instance properties of the
|
11385
|
-
* `ExternalApplication` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
11386
|
-
*
|
11387
11384
|
* * {@link ExternalApplicationModule} contains static methods relating to the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
|
11388
11385
|
* * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
|
11389
11386
|
*
|
11387
|
+
* 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),
|
11388
|
+
* both of these were documented on the same page.
|
11389
|
+
*
|
11390
11390
|
* @packageDocumentation
|
11391
11391
|
*/
|
11392
11392
|
__exportStar(Factory$5, exports);
|
@@ -11629,12 +11629,12 @@ Factory$4._FrameModule = _FrameModule;
|
|
11629
11629
|
/**
|
11630
11630
|
* Entry points for the OpenFin `Frame` API.
|
11631
11631
|
*
|
11632
|
-
* In the previous version of the API documentation, both static methods involving `Frame` and instance properties of the
|
11633
|
-
* `Frame` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
11634
|
-
*
|
11635
11632
|
* * {@link _FrameModule} contains static methods relating to the `Frame` type, accessible through `fin.Frame`.
|
11636
11633
|
* * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
|
11637
11634
|
*
|
11635
|
+
* 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),
|
11636
|
+
* both of these were documented on the same page.
|
11637
|
+
*
|
11638
11638
|
* Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
|
11639
11639
|
*
|
11640
11640
|
* @packageDocumentation
|
@@ -13057,11 +13057,13 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap();
|
|
13057
13057
|
|
13058
13058
|
(function (exports) {
|
13059
13059
|
/**
|
13060
|
-
* Entry point for the OpenFin Layout namespace.
|
13060
|
+
* Entry point for the OpenFin `Layout` namespace.
|
13061
13061
|
*
|
13062
|
-
*
|
13063
|
-
*
|
13064
|
-
*
|
13062
|
+
* * {@link LayoutModule} contains static methods relating to the `Layout` type, accessible through `fin.Platform.Layout`.
|
13063
|
+
* * {@link Layout} describes an instance of an OpenFin Layout, e.g. as returned by `fin.Platform.Layout.getCurrent`.
|
13064
|
+
*
|
13065
|
+
* 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),
|
13066
|
+
* both of these were documented on the same page.
|
13065
13067
|
*
|
13066
13068
|
* @packageDocumentation
|
13067
13069
|
*
|
@@ -13460,12 +13462,12 @@ Factory$3.PlatformModule = PlatformModule;
|
|
13460
13462
|
/**
|
13461
13463
|
* Entry points for the OpenFin `Platform` API.
|
13462
13464
|
*
|
13463
|
-
* In the previous version of the API documentation, both static methods involving `Platform` and instance properties of the
|
13464
|
-
* `Platform` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
13465
|
-
*
|
13466
13465
|
* * {@link PlatformModule} contains static methods relating to the `Platform` type, accessible through `fin.Platform`.
|
13467
13466
|
* * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
|
13468
13467
|
*
|
13468
|
+
* 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),
|
13469
|
+
* both of these were documented on the same page.
|
13470
|
+
*
|
13469
13471
|
* @packageDocumentation
|
13470
13472
|
*/
|
13471
13473
|
__exportStar(Factory$3, exports);
|
@@ -14716,7 +14718,8 @@ function requireInteropBroker () {
|
|
14716
14718
|
* ```
|
14717
14719
|
*/
|
14718
14720
|
// eslint-disable-next-line class-methods-use-this
|
14719
|
-
async handleFiredIntent(intent, clientIdentity)
|
14721
|
+
async handleFiredIntent(intent, clientIdentity // TODO(CORE-811): remove inline intersected type
|
14722
|
+
) {
|
14720
14723
|
const warning = (0, utils_1.generateOverrideWarning)('fdc3.raiseIntent', 'InteropBroker.handleFiredIntent', clientIdentity, 'interopClient.fireIntent');
|
14721
14724
|
console.warn(warning);
|
14722
14725
|
throw new Error(utils_1.BROKER_ERRORS.fireIntent);
|
@@ -14783,7 +14786,7 @@ function requireInteropBroker () {
|
|
14783
14786
|
* More information on the AppIntent type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/AppIntent).
|
14784
14787
|
*
|
14785
14788
|
* @param options
|
14786
|
-
* @param
|
14789
|
+
* @param clientIdentity Identity of the Client making the request.
|
14787
14790
|
*
|
14788
14791
|
* @example
|
14789
14792
|
* ```js
|
@@ -14800,7 +14803,8 @@ function requireInteropBroker () {
|
|
14800
14803
|
* ```
|
14801
14804
|
*/
|
14802
14805
|
// eslint-disable-next-line class-methods-use-this
|
14803
|
-
async handleInfoForIntent(options, clientIdentity)
|
14806
|
+
async handleInfoForIntent(options, clientIdentity // TODO(CORE-811): remove inline intersected type
|
14807
|
+
) {
|
14804
14808
|
const warning = (0, utils_1.generateOverrideWarning)('fdc3.findIntent', 'InteropBroker.handleInfoForIntent', clientIdentity, 'interopClient.getInfoForIntent');
|
14805
14809
|
console.warn(warning);
|
14806
14810
|
throw new Error(utils_1.BROKER_ERRORS.getInfoForIntent);
|
@@ -14846,7 +14850,8 @@ function requireInteropBroker () {
|
|
14846
14850
|
* ```
|
14847
14851
|
*/
|
14848
14852
|
// eslint-disable-next-line class-methods-use-this
|
14849
|
-
async handleInfoForIntentsByContext(context, clientIdentity)
|
14853
|
+
async handleInfoForIntentsByContext(context, clientIdentity // TODO(CORE-811): remove inline intersected type
|
14854
|
+
) {
|
14850
14855
|
const warning = (0, utils_1.generateOverrideWarning)('fdc3.findIntentsByContext', 'InteropBroker.handleInfoForIntentsByContext', clientIdentity, 'interopClient.getInfoForIntentsByContext');
|
14851
14856
|
console.warn(warning);
|
14852
14857
|
throw new Error(utils_1.BROKER_ERRORS.getInfoForIntentsByContext);
|
@@ -14872,7 +14877,7 @@ function requireInteropBroker () {
|
|
14872
14877
|
* More information on the IntentResolution type can be found in the [FDC3 documentation](https://fdc3.finos.org/docs/api/ref/IntentResolution).
|
14873
14878
|
*
|
14874
14879
|
* @param contextForIntent Data passed between entities and applications.
|
14875
|
-
* @param
|
14880
|
+
* @param clientIdentity Identity of the Client making the request.
|
14876
14881
|
*
|
14877
14882
|
* @example
|
14878
14883
|
* ```js
|
@@ -14933,7 +14938,7 @@ function requireInteropBroker () {
|
|
14933
14938
|
/**
|
14934
14939
|
* Responsible for resolving the fdc3.findInstances call.
|
14935
14940
|
* Must be overridden
|
14936
|
-
* @param
|
14941
|
+
* @param app AppIdentifier that was passed to fdc3.findInstances
|
14937
14942
|
* @param clientIdentity Identity of the Client making the request.
|
14938
14943
|
*/
|
14939
14944
|
// eslint-disable-next-line class-methods-use-this
|
@@ -14968,7 +14973,7 @@ function requireInteropBroker () {
|
|
14968
14973
|
* fin.Platform.init({
|
14969
14974
|
* interopOverride: async (InteropBroker) => {
|
14970
14975
|
* class Override extends InteropBroker {
|
14971
|
-
* async invokeContextHandler(
|
14976
|
+
* async invokeContextHandler(clientIdentity, handlerId, context) {
|
14972
14977
|
* return super.invokeContextHandler(clientIdentity, handlerId, {
|
14973
14978
|
* ...context,
|
14974
14979
|
* contextMetadata: {
|
@@ -15008,7 +15013,7 @@ function requireInteropBroker () {
|
|
15008
15013
|
* fin.Platform.init({
|
15009
15014
|
* interopOverride: async (InteropBroker) => {
|
15010
15015
|
* class Override extends InteropBroker {
|
15011
|
-
* async invokeIntentHandler(
|
15016
|
+
* async invokeIntentHandler(clientIdentity, handlerId, context) {
|
15012
15017
|
* const { context } = intent;
|
15013
15018
|
* return super.invokeIntentHandler(clientIdentity, handlerId, {
|
15014
15019
|
* ...intent,
|
@@ -15347,7 +15352,8 @@ function requireInteropBroker () {
|
|
15347
15352
|
}
|
15348
15353
|
// Setup Channel Connection Logic
|
15349
15354
|
wireChannel(channel) {
|
15350
|
-
channel.onConnection(async (clientIdentity,
|
15355
|
+
channel.onConnection(async (clientIdentity, // TODO(CORE-811): remove inline intersected type
|
15356
|
+
payload) => {
|
15351
15357
|
if (!(await this.isConnectionAuthorized(clientIdentity, payload))) {
|
15352
15358
|
throw new Error(`Connection not authorized for ${clientIdentity.uuid}, ${clientIdentity.name}`);
|
15353
15359
|
}
|
@@ -16227,39 +16233,46 @@ class InteropClient extends base_1$2.Base {
|
|
16227
16233
|
InteropClient$1.InteropClient = InteropClient;
|
16228
16234
|
_InteropClient_clientPromise = new WeakMap(), _InteropClient_sessionContextGroups = new WeakMap();
|
16229
16235
|
|
16230
|
-
var overrideCheck
|
16236
|
+
var overrideCheck = {};
|
16231
16237
|
|
16232
|
-
|
16233
|
-
|
16234
|
-
|
16235
|
-
|
16236
|
-
|
16237
|
-
|
16238
|
-
|
16239
|
-
|
16240
|
-
|
16241
|
-
|
16242
|
-
|
16243
|
-
|
16244
|
-
|
16245
|
-
|
16246
|
-
|
16247
|
-
|
16248
|
-
|
16249
|
-
|
16250
|
-
|
16251
|
-
|
16252
|
-
|
16253
|
-
|
16254
|
-
|
16255
|
-
|
16256
|
-
|
16257
|
-
|
16258
|
-
|
16259
|
-
|
16260
|
-
|
16238
|
+
var hasRequiredOverrideCheck;
|
16239
|
+
|
16240
|
+
function requireOverrideCheck () {
|
16241
|
+
if (hasRequiredOverrideCheck) return overrideCheck;
|
16242
|
+
hasRequiredOverrideCheck = 1;
|
16243
|
+
Object.defineProperty(overrideCheck, "__esModule", { value: true });
|
16244
|
+
overrideCheck.overrideCheck = overrideCheck.getDefaultViewFdc3VersionFromAppInfo = void 0;
|
16245
|
+
const InteropBroker_1 = requireInteropBroker();
|
16246
|
+
function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
|
16247
|
+
var _a, _b, _c, _d;
|
16248
|
+
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;
|
16249
|
+
return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
|
16250
|
+
}
|
16251
|
+
overrideCheck.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
|
16252
|
+
// TODO: Unit test this
|
16253
|
+
function overrideCheck$1(overriddenBroker, fdc3InteropApi) {
|
16254
|
+
if (fdc3InteropApi && fdc3InteropApi === '2.0') {
|
16255
|
+
const mustOverrideAPIs = [
|
16256
|
+
'fdc3HandleFindInstances',
|
16257
|
+
'handleInfoForIntent',
|
16258
|
+
'handleInfoForIntentsByContext',
|
16259
|
+
'fdc3HandleGetAppMetadata',
|
16260
|
+
'fdc3HandleGetInfo',
|
16261
|
+
'fdc3HandleOpen',
|
16262
|
+
'handleFiredIntent',
|
16263
|
+
'handleFiredIntentForContext'
|
16264
|
+
];
|
16265
|
+
const notOverridden = mustOverrideAPIs.filter((api) => {
|
16266
|
+
return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
|
16267
|
+
});
|
16268
|
+
if (notOverridden.length > 0) {
|
16269
|
+
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')}`);
|
16270
|
+
}
|
16271
|
+
}
|
16272
|
+
}
|
16273
|
+
overrideCheck.overrideCheck = overrideCheck$1;
|
16274
|
+
return overrideCheck;
|
16261
16275
|
}
|
16262
|
-
overrideCheck$1.overrideCheck = overrideCheck;
|
16263
16276
|
|
16264
16277
|
var hasRequiredFactory;
|
16265
16278
|
|
@@ -16273,7 +16286,7 @@ function requireFactory () {
|
|
16273
16286
|
const base_1 = base;
|
16274
16287
|
const InteropBroker_1 = requireInteropBroker();
|
16275
16288
|
const InteropClient_1 = InteropClient$1;
|
16276
|
-
const overrideCheck_1 =
|
16289
|
+
const overrideCheck_1 = requireOverrideCheck();
|
16277
16290
|
const common_utils_1 = commonUtils;
|
16278
16291
|
const defaultOverride = (Class) => new Class();
|
16279
16292
|
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.';
|
@@ -16657,12 +16670,12 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
|
|
16657
16670
|
/**
|
16658
16671
|
* Entry points for the OpenFin `SnapshotSource` API.
|
16659
16672
|
*
|
16660
|
-
* In the previous version of the API documentation, both static methods involving `SnapshotSource` and instance properties of the
|
16661
|
-
* `SnapshotSource` type itself were documented on the same page. These are separate code entities, and are now documented separately:
|
16662
|
-
*
|
16663
16673
|
* * {@link SnapshotSourceModule} contains static methods relating to the `SnapshotSource` type, accessible through `fin.SnapshotSource`.
|
16664
16674
|
* * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.getCurrent`.
|
16665
16675
|
*
|
16676
|
+
* 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),
|
16677
|
+
* both of these were documented on the same page.
|
16678
|
+
*
|
16666
16679
|
* @packageDocumentation
|
16667
16680
|
*/
|
16668
16681
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|