@openfin/fdc3-api 37.81.19 → 37.81.20
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/fdc3-api-alpha.d.ts +36 -6
- package/out/fdc3-api-beta.d.ts +36 -6
- package/out/fdc3-api-public.d.ts +36 -6
- package/out/fdc3-api.d.ts +36 -6
- package/out/fdc3-api.js +1 -4
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -934,7 +934,7 @@ declare type ApplicationIdentity_2 = {
|
|
|
934
934
|
* @interface
|
|
935
935
|
*/
|
|
936
936
|
declare type ApplicationInfo = {
|
|
937
|
-
initialOptions: ApplicationCreationOptions | PlatformOptions;
|
|
937
|
+
initialOptions: WithUserAppConfigArgs & (ApplicationCreationOptions | PlatformOptions);
|
|
938
938
|
launchMode: string;
|
|
939
939
|
manifest: Manifest & {
|
|
940
940
|
[key: string]: any;
|
|
@@ -7852,9 +7852,7 @@ declare class InteropClient extends Base {
|
|
|
7852
7852
|
* ```
|
|
7853
7853
|
*
|
|
7854
7854
|
*
|
|
7855
|
-
*
|
|
7856
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7857
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7855
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7858
7856
|
*
|
|
7859
7857
|
* ```js
|
|
7860
7858
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -10162,6 +10160,7 @@ declare namespace OpenFin {
|
|
|
10162
10160
|
AppVersionError,
|
|
10163
10161
|
AppVersionRuntimeInfo,
|
|
10164
10162
|
LaunchEmitter,
|
|
10163
|
+
UserAppConfigArgs,
|
|
10165
10164
|
RvmLaunchOptions,
|
|
10166
10165
|
ShortCutConfig,
|
|
10167
10166
|
TerminateExternalRequestType,
|
|
@@ -12968,7 +12967,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
|
|
|
12968
12967
|
declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
|
|
12969
12968
|
topic: 'application';
|
|
12970
12969
|
type: 'run-requested';
|
|
12971
|
-
userAppConfigArgs:
|
|
12970
|
+
userAppConfigArgs: OpenFin.UserAppConfigArgs;
|
|
12972
12971
|
manifest: OpenFin.Manifest;
|
|
12973
12972
|
};
|
|
12974
12973
|
|
|
@@ -13083,7 +13082,7 @@ declare type RvmLaunchOptions = {
|
|
|
13083
13082
|
* True if no UI when launching
|
|
13084
13083
|
*/
|
|
13085
13084
|
noUi?: boolean;
|
|
13086
|
-
userAppConfigArgs?:
|
|
13085
|
+
userAppConfigArgs?: UserAppConfigArgs;
|
|
13087
13086
|
/**
|
|
13088
13087
|
* Timeout in seconds until RVM launch request expires.
|
|
13089
13088
|
*/
|
|
@@ -15581,6 +15580,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15581
15580
|
httpStatusText: string;
|
|
15582
15581
|
});
|
|
15583
15582
|
|
|
15583
|
+
/**
|
|
15584
|
+
* @interface
|
|
15585
|
+
*/
|
|
15586
|
+
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15587
|
+
|
|
15584
15588
|
/**
|
|
15585
15589
|
* A general user bounds change event without event type.
|
|
15586
15590
|
* @interface
|
|
@@ -18967,6 +18971,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
|
|
|
18967
18971
|
positioningOptions?: OpenFin.PositioningOptions;
|
|
18968
18972
|
};
|
|
18969
18973
|
|
|
18974
|
+
declare type WithUserAppConfigArgs = {
|
|
18975
|
+
/**
|
|
18976
|
+
* Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
|
|
18977
|
+
* that launches this application.
|
|
18978
|
+
*
|
|
18979
|
+
* @remarks
|
|
18980
|
+
* In the link, user defined parameters are separated by the `$$` delimeter, for example:
|
|
18981
|
+
* `fins://path.to/app/manifest.json?$$use-last-configuration=true`
|
|
18982
|
+
*
|
|
18983
|
+
* Results in the following object:
|
|
18984
|
+
* ```json
|
|
18985
|
+
* {
|
|
18986
|
+
* "use-last-configuration": true"
|
|
18987
|
+
* }
|
|
18988
|
+
* ```
|
|
18989
|
+
*
|
|
18990
|
+
* These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
|
|
18991
|
+
* ```typescript
|
|
18992
|
+
* const appInfo = await fin.Application.getCurrentSync().getInfo();
|
|
18993
|
+
* const { userAppConfigArgs } = appInfo.initialOptions;
|
|
18994
|
+
* console.log(userAppConfigArgs['use-last-configuration']); // 'true'
|
|
18995
|
+
* ```
|
|
18996
|
+
*/
|
|
18997
|
+
userAppConfigArgs?: UserAppConfigArgs;
|
|
18998
|
+
};
|
|
18999
|
+
|
|
18970
19000
|
/* Excluded from this release type: WorkspacePlatformOptions */
|
|
18971
19001
|
|
|
18972
19002
|
/**
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -934,7 +934,7 @@ declare type ApplicationIdentity_2 = {
|
|
|
934
934
|
* @interface
|
|
935
935
|
*/
|
|
936
936
|
declare type ApplicationInfo = {
|
|
937
|
-
initialOptions: ApplicationCreationOptions | PlatformOptions;
|
|
937
|
+
initialOptions: WithUserAppConfigArgs & (ApplicationCreationOptions | PlatformOptions);
|
|
938
938
|
launchMode: string;
|
|
939
939
|
manifest: Manifest & {
|
|
940
940
|
[key: string]: any;
|
|
@@ -7852,9 +7852,7 @@ declare class InteropClient extends Base {
|
|
|
7852
7852
|
* ```
|
|
7853
7853
|
*
|
|
7854
7854
|
*
|
|
7855
|
-
*
|
|
7856
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7857
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7855
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7858
7856
|
*
|
|
7859
7857
|
* ```js
|
|
7860
7858
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -10162,6 +10160,7 @@ declare namespace OpenFin {
|
|
|
10162
10160
|
AppVersionError,
|
|
10163
10161
|
AppVersionRuntimeInfo,
|
|
10164
10162
|
LaunchEmitter,
|
|
10163
|
+
UserAppConfigArgs,
|
|
10165
10164
|
RvmLaunchOptions,
|
|
10166
10165
|
ShortCutConfig,
|
|
10167
10166
|
TerminateExternalRequestType,
|
|
@@ -12968,7 +12967,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
|
|
|
12968
12967
|
declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
|
|
12969
12968
|
topic: 'application';
|
|
12970
12969
|
type: 'run-requested';
|
|
12971
|
-
userAppConfigArgs:
|
|
12970
|
+
userAppConfigArgs: OpenFin.UserAppConfigArgs;
|
|
12972
12971
|
manifest: OpenFin.Manifest;
|
|
12973
12972
|
};
|
|
12974
12973
|
|
|
@@ -13083,7 +13082,7 @@ declare type RvmLaunchOptions = {
|
|
|
13083
13082
|
* True if no UI when launching
|
|
13084
13083
|
*/
|
|
13085
13084
|
noUi?: boolean;
|
|
13086
|
-
userAppConfigArgs?:
|
|
13085
|
+
userAppConfigArgs?: UserAppConfigArgs;
|
|
13087
13086
|
/**
|
|
13088
13087
|
* Timeout in seconds until RVM launch request expires.
|
|
13089
13088
|
*/
|
|
@@ -15581,6 +15580,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15581
15580
|
httpStatusText: string;
|
|
15582
15581
|
});
|
|
15583
15582
|
|
|
15583
|
+
/**
|
|
15584
|
+
* @interface
|
|
15585
|
+
*/
|
|
15586
|
+
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15587
|
+
|
|
15584
15588
|
/**
|
|
15585
15589
|
* A general user bounds change event without event type.
|
|
15586
15590
|
* @interface
|
|
@@ -18967,6 +18971,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
|
|
|
18967
18971
|
positioningOptions?: OpenFin.PositioningOptions;
|
|
18968
18972
|
};
|
|
18969
18973
|
|
|
18974
|
+
declare type WithUserAppConfigArgs = {
|
|
18975
|
+
/**
|
|
18976
|
+
* Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
|
|
18977
|
+
* that launches this application.
|
|
18978
|
+
*
|
|
18979
|
+
* @remarks
|
|
18980
|
+
* In the link, user defined parameters are separated by the `$$` delimeter, for example:
|
|
18981
|
+
* `fins://path.to/app/manifest.json?$$use-last-configuration=true`
|
|
18982
|
+
*
|
|
18983
|
+
* Results in the following object:
|
|
18984
|
+
* ```json
|
|
18985
|
+
* {
|
|
18986
|
+
* "use-last-configuration": true"
|
|
18987
|
+
* }
|
|
18988
|
+
* ```
|
|
18989
|
+
*
|
|
18990
|
+
* These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
|
|
18991
|
+
* ```typescript
|
|
18992
|
+
* const appInfo = await fin.Application.getCurrentSync().getInfo();
|
|
18993
|
+
* const { userAppConfigArgs } = appInfo.initialOptions;
|
|
18994
|
+
* console.log(userAppConfigArgs['use-last-configuration']); // 'true'
|
|
18995
|
+
* ```
|
|
18996
|
+
*/
|
|
18997
|
+
userAppConfigArgs?: UserAppConfigArgs;
|
|
18998
|
+
};
|
|
18999
|
+
|
|
18970
19000
|
/* Excluded from this release type: WorkspacePlatformOptions */
|
|
18971
19001
|
|
|
18972
19002
|
/**
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -934,7 +934,7 @@ declare type ApplicationIdentity_2 = {
|
|
|
934
934
|
* @interface
|
|
935
935
|
*/
|
|
936
936
|
declare type ApplicationInfo = {
|
|
937
|
-
initialOptions: ApplicationCreationOptions | PlatformOptions;
|
|
937
|
+
initialOptions: WithUserAppConfigArgs & (ApplicationCreationOptions | PlatformOptions);
|
|
938
938
|
launchMode: string;
|
|
939
939
|
manifest: Manifest & {
|
|
940
940
|
[key: string]: any;
|
|
@@ -7852,9 +7852,7 @@ declare class InteropClient extends Base {
|
|
|
7852
7852
|
* ```
|
|
7853
7853
|
*
|
|
7854
7854
|
*
|
|
7855
|
-
*
|
|
7856
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7857
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7855
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7858
7856
|
*
|
|
7859
7857
|
* ```js
|
|
7860
7858
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -10162,6 +10160,7 @@ declare namespace OpenFin {
|
|
|
10162
10160
|
AppVersionError,
|
|
10163
10161
|
AppVersionRuntimeInfo,
|
|
10164
10162
|
LaunchEmitter,
|
|
10163
|
+
UserAppConfigArgs,
|
|
10165
10164
|
RvmLaunchOptions,
|
|
10166
10165
|
ShortCutConfig,
|
|
10167
10166
|
TerminateExternalRequestType,
|
|
@@ -12968,7 +12967,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
|
|
|
12968
12967
|
declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
|
|
12969
12968
|
topic: 'application';
|
|
12970
12969
|
type: 'run-requested';
|
|
12971
|
-
userAppConfigArgs:
|
|
12970
|
+
userAppConfigArgs: OpenFin.UserAppConfigArgs;
|
|
12972
12971
|
manifest: OpenFin.Manifest;
|
|
12973
12972
|
};
|
|
12974
12973
|
|
|
@@ -13083,7 +13082,7 @@ declare type RvmLaunchOptions = {
|
|
|
13083
13082
|
* True if no UI when launching
|
|
13084
13083
|
*/
|
|
13085
13084
|
noUi?: boolean;
|
|
13086
|
-
userAppConfigArgs?:
|
|
13085
|
+
userAppConfigArgs?: UserAppConfigArgs;
|
|
13087
13086
|
/**
|
|
13088
13087
|
* Timeout in seconds until RVM launch request expires.
|
|
13089
13088
|
*/
|
|
@@ -15581,6 +15580,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15581
15580
|
httpStatusText: string;
|
|
15582
15581
|
});
|
|
15583
15582
|
|
|
15583
|
+
/**
|
|
15584
|
+
* @interface
|
|
15585
|
+
*/
|
|
15586
|
+
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15587
|
+
|
|
15584
15588
|
/**
|
|
15585
15589
|
* A general user bounds change event without event type.
|
|
15586
15590
|
* @interface
|
|
@@ -18967,6 +18971,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
|
|
|
18967
18971
|
positioningOptions?: OpenFin.PositioningOptions;
|
|
18968
18972
|
};
|
|
18969
18973
|
|
|
18974
|
+
declare type WithUserAppConfigArgs = {
|
|
18975
|
+
/**
|
|
18976
|
+
* Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
|
|
18977
|
+
* that launches this application.
|
|
18978
|
+
*
|
|
18979
|
+
* @remarks
|
|
18980
|
+
* In the link, user defined parameters are separated by the `$$` delimeter, for example:
|
|
18981
|
+
* `fins://path.to/app/manifest.json?$$use-last-configuration=true`
|
|
18982
|
+
*
|
|
18983
|
+
* Results in the following object:
|
|
18984
|
+
* ```json
|
|
18985
|
+
* {
|
|
18986
|
+
* "use-last-configuration": true"
|
|
18987
|
+
* }
|
|
18988
|
+
* ```
|
|
18989
|
+
*
|
|
18990
|
+
* These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
|
|
18991
|
+
* ```typescript
|
|
18992
|
+
* const appInfo = await fin.Application.getCurrentSync().getInfo();
|
|
18993
|
+
* const { userAppConfigArgs } = appInfo.initialOptions;
|
|
18994
|
+
* console.log(userAppConfigArgs['use-last-configuration']); // 'true'
|
|
18995
|
+
* ```
|
|
18996
|
+
*/
|
|
18997
|
+
userAppConfigArgs?: UserAppConfigArgs;
|
|
18998
|
+
};
|
|
18999
|
+
|
|
18970
19000
|
/* Excluded from this release type: WorkspacePlatformOptions */
|
|
18971
19001
|
|
|
18972
19002
|
/**
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -940,7 +940,7 @@ declare type ApplicationIdentity_2 = {
|
|
|
940
940
|
* @interface
|
|
941
941
|
*/
|
|
942
942
|
declare type ApplicationInfo = {
|
|
943
|
-
initialOptions: ApplicationCreationOptions | PlatformOptions;
|
|
943
|
+
initialOptions: WithUserAppConfigArgs & (ApplicationCreationOptions | PlatformOptions);
|
|
944
944
|
launchMode: string;
|
|
945
945
|
manifest: Manifest & {
|
|
946
946
|
[key: string]: any;
|
|
@@ -7964,9 +7964,7 @@ declare class InteropClient extends Base {
|
|
|
7964
7964
|
* ```
|
|
7965
7965
|
*
|
|
7966
7966
|
*
|
|
7967
|
-
*
|
|
7968
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
7969
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
7967
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
7970
7968
|
*
|
|
7971
7969
|
* ```js
|
|
7972
7970
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -10477,6 +10475,7 @@ declare namespace OpenFin {
|
|
|
10477
10475
|
AppVersionError,
|
|
10478
10476
|
AppVersionRuntimeInfo,
|
|
10479
10477
|
LaunchEmitter,
|
|
10478
|
+
UserAppConfigArgs,
|
|
10480
10479
|
RvmLaunchOptions,
|
|
10481
10480
|
ShortCutConfig,
|
|
10482
10481
|
TerminateExternalRequestType,
|
|
@@ -13361,7 +13360,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
|
|
|
13361
13360
|
declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
|
|
13362
13361
|
topic: 'application';
|
|
13363
13362
|
type: 'run-requested';
|
|
13364
|
-
userAppConfigArgs:
|
|
13363
|
+
userAppConfigArgs: OpenFin.UserAppConfigArgs;
|
|
13365
13364
|
manifest: OpenFin.Manifest;
|
|
13366
13365
|
};
|
|
13367
13366
|
|
|
@@ -13476,7 +13475,7 @@ declare type RvmLaunchOptions = {
|
|
|
13476
13475
|
* True if no UI when launching
|
|
13477
13476
|
*/
|
|
13478
13477
|
noUi?: boolean;
|
|
13479
|
-
userAppConfigArgs?:
|
|
13478
|
+
userAppConfigArgs?: UserAppConfigArgs;
|
|
13480
13479
|
/**
|
|
13481
13480
|
* Timeout in seconds until RVM launch request expires.
|
|
13482
13481
|
*/
|
|
@@ -15987,6 +15986,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15987
15986
|
httpStatusText: string;
|
|
15988
15987
|
});
|
|
15989
15988
|
|
|
15989
|
+
/**
|
|
15990
|
+
* @interface
|
|
15991
|
+
*/
|
|
15992
|
+
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15993
|
+
|
|
15990
15994
|
/**
|
|
15991
15995
|
* A general user bounds change event without event type.
|
|
15992
15996
|
* @interface
|
|
@@ -19419,6 +19423,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
|
|
|
19419
19423
|
positioningOptions?: OpenFin.PositioningOptions;
|
|
19420
19424
|
};
|
|
19421
19425
|
|
|
19426
|
+
declare type WithUserAppConfigArgs = {
|
|
19427
|
+
/**
|
|
19428
|
+
* Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
|
|
19429
|
+
* that launches this application.
|
|
19430
|
+
*
|
|
19431
|
+
* @remarks
|
|
19432
|
+
* In the link, user defined parameters are separated by the `$$` delimeter, for example:
|
|
19433
|
+
* `fins://path.to/app/manifest.json?$$use-last-configuration=true`
|
|
19434
|
+
*
|
|
19435
|
+
* Results in the following object:
|
|
19436
|
+
* ```json
|
|
19437
|
+
* {
|
|
19438
|
+
* "use-last-configuration": true"
|
|
19439
|
+
* }
|
|
19440
|
+
* ```
|
|
19441
|
+
*
|
|
19442
|
+
* These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
|
|
19443
|
+
* ```typescript
|
|
19444
|
+
* const appInfo = await fin.Application.getCurrentSync().getInfo();
|
|
19445
|
+
* const { userAppConfigArgs } = appInfo.initialOptions;
|
|
19446
|
+
* console.log(userAppConfigArgs['use-last-configuration']); // 'true'
|
|
19447
|
+
* ```
|
|
19448
|
+
*/
|
|
19449
|
+
userAppConfigArgs?: UserAppConfigArgs;
|
|
19450
|
+
};
|
|
19451
|
+
|
|
19422
19452
|
/**
|
|
19423
19453
|
* @internal
|
|
19424
19454
|
* @interface
|
package/out/fdc3-api.js
CHANGED
|
@@ -1292,9 +1292,7 @@ function requireInteropClient () {
|
|
|
1292
1292
|
* ```
|
|
1293
1293
|
*
|
|
1294
1294
|
*
|
|
1295
|
-
*
|
|
1296
|
-
* this, please make sure you add your context handlers at the top level of your application, on a page that
|
|
1297
|
-
* does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
|
|
1295
|
+
* Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
|
|
1298
1296
|
*
|
|
1299
1297
|
* ```js
|
|
1300
1298
|
* function handleInstrumentContext(contextInfo) {
|
|
@@ -1323,7 +1321,6 @@ function requireInteropClient () {
|
|
|
1323
1321
|
let handlerId;
|
|
1324
1322
|
if (contextType) {
|
|
1325
1323
|
handlerId = `invokeContextHandler-${contextType}-${(0, utils_1.generateId)()}`;
|
|
1326
|
-
console.warn(`Warning: By providing a contextType (${contextType}), you are using the experimental addContextHandler. To avoid issues, make sure you are adding your context handlers at the top level in your application.`);
|
|
1327
1324
|
}
|
|
1328
1325
|
else {
|
|
1329
1326
|
handlerId = 'invokeContextHandler';
|