@openfin/fdc3-api 36.79.18 → 36.80.1

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.
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
966
966
  * @interface
967
967
  */
968
968
  declare type ApplicationInfo = {
969
- initialOptions: ApplicationCreationOptions;
969
+ initialOptions: ApplicationCreationOptions | PlatformOptions;
970
970
  launchMode: string;
971
971
  manifest: Manifest & {
972
972
  [key: string]: any;
@@ -1280,6 +1280,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1280
1280
  * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
1281
1281
  */
1282
1282
  domainSettings: DomainSettings;
1283
+ /**
1284
+ * The permissions for secured APIs.
1285
+ */
1286
+ permissions?: Partial<Permissions_2>;
1283
1287
  /**
1284
1288
  * @defaultValue false
1285
1289
  *
@@ -3835,6 +3839,10 @@ declare type ConstWindowOptions = {
3835
3839
  * _Platform Windows Only_. Controls behavior for showing views when they are being resized by the user.
3836
3840
  */
3837
3841
  viewVisibility?: ViewVisibilityOptions;
3842
+ /**
3843
+ * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3844
+ */
3845
+ inheritance?: Partial<InheritableOptions>;
3838
3846
  };
3839
3847
 
3840
3848
  declare interface Container extends EventEmitter_2 {
@@ -6223,6 +6231,8 @@ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
6223
6231
  * Returns a frame info object representing the window that the referenced iframe is
6224
6232
  * currently embedded in.
6225
6233
  *
6234
+ * @remarks If the frame is embedded in a view, this will return an invalid stub with empty fields.
6235
+ *
6226
6236
  * @example
6227
6237
  * ```js
6228
6238
  * async function getParentWindow() {
@@ -7068,6 +7078,13 @@ declare type InfoForIntentOptions<MetadataType = IntentMetadata_3> = {
7068
7078
  metadata?: MetadataType;
7069
7079
  };
7070
7080
 
7081
+ declare type InheritableOptions = {
7082
+ customContext: boolean;
7083
+ customData: boolean;
7084
+ icon: boolean;
7085
+ preloadScripts: boolean;
7086
+ };
7087
+
7071
7088
  /**
7072
7089
  * Generated when an application has initialized.
7073
7090
  * @interface
@@ -8669,6 +8686,7 @@ declare type LaunchExternalProcessRule = {
8669
8686
  */
8670
8687
  declare type LaunchIntoPlatformPayload = {
8671
8688
  manifest: any;
8689
+ manifestUrl?: string;
8672
8690
  };
8673
8691
 
8674
8692
  /**
@@ -10299,6 +10317,7 @@ declare namespace OpenFin {
10299
10317
  WindowState,
10300
10318
  AutoplayPolicyOptions,
10301
10319
  ConstWindowOptions,
10320
+ InheritableOptions,
10302
10321
  MutableWindowOptions,
10303
10322
  WorkspacePlatformOptions,
10304
10323
  WebRequestHeader,
@@ -11535,9 +11554,13 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11535
11554
  */
11536
11555
  providerUrl?: string;
11537
11556
  /**
11538
- * The permissions for secured APIs.
11557
+ * @defaultValue true
11558
+ *
11559
+ * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11560
+ *
11561
+ * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11539
11562
  */
11540
- permissions?: Partial<Permissions_2>;
11563
+ allowLaunchIntoPlatform?: boolean;
11541
11564
  };
11542
11565
 
11543
11566
  /**
@@ -12297,7 +12320,7 @@ declare type PreloadScriptInfoRunning = {
12297
12320
  * @interface
12298
12321
  */
12299
12322
  declare type PreloadScriptsStateChangedEvent = PreloadScriptsStateChangeEvent & {
12300
- type: 'preload-script-state-changed';
12323
+ type: 'preload-scripts-state-changed';
12301
12324
  };
12302
12325
 
12303
12326
  /**
@@ -12314,7 +12337,7 @@ declare type PreloadScriptsStateChangeEvent = BaseEvent_5 & {
12314
12337
  * @interface
12315
12338
  */
12316
12339
  declare type PreloadScriptsStateChangingEvent = PreloadScriptsStateChangeEvent & {
12317
- type: 'preload-script-state-changing';
12340
+ type: 'preload-scripts-state-changing';
12318
12341
  };
12319
12342
 
12320
12343
  declare type PresetLayoutOptions = OpenFin.PresetLayoutOptions;
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
966
966
  * @interface
967
967
  */
968
968
  declare type ApplicationInfo = {
969
- initialOptions: ApplicationCreationOptions;
969
+ initialOptions: ApplicationCreationOptions | PlatformOptions;
970
970
  launchMode: string;
971
971
  manifest: Manifest & {
972
972
  [key: string]: any;
@@ -1280,6 +1280,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1280
1280
  * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
1281
1281
  */
1282
1282
  domainSettings: DomainSettings;
1283
+ /**
1284
+ * The permissions for secured APIs.
1285
+ */
1286
+ permissions?: Partial<Permissions_2>;
1283
1287
  /**
1284
1288
  * @defaultValue false
1285
1289
  *
@@ -3835,6 +3839,10 @@ declare type ConstWindowOptions = {
3835
3839
  * _Platform Windows Only_. Controls behavior for showing views when they are being resized by the user.
3836
3840
  */
3837
3841
  viewVisibility?: ViewVisibilityOptions;
3842
+ /**
3843
+ * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3844
+ */
3845
+ inheritance?: Partial<InheritableOptions>;
3838
3846
  };
3839
3847
 
3840
3848
  declare interface Container extends EventEmitter_2 {
@@ -6223,6 +6231,8 @@ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
6223
6231
  * Returns a frame info object representing the window that the referenced iframe is
6224
6232
  * currently embedded in.
6225
6233
  *
6234
+ * @remarks If the frame is embedded in a view, this will return an invalid stub with empty fields.
6235
+ *
6226
6236
  * @example
6227
6237
  * ```js
6228
6238
  * async function getParentWindow() {
@@ -7068,6 +7078,13 @@ declare type InfoForIntentOptions<MetadataType = IntentMetadata_3> = {
7068
7078
  metadata?: MetadataType;
7069
7079
  };
7070
7080
 
7081
+ declare type InheritableOptions = {
7082
+ customContext: boolean;
7083
+ customData: boolean;
7084
+ icon: boolean;
7085
+ preloadScripts: boolean;
7086
+ };
7087
+
7071
7088
  /**
7072
7089
  * Generated when an application has initialized.
7073
7090
  * @interface
@@ -8669,6 +8686,7 @@ declare type LaunchExternalProcessRule = {
8669
8686
  */
8670
8687
  declare type LaunchIntoPlatformPayload = {
8671
8688
  manifest: any;
8689
+ manifestUrl?: string;
8672
8690
  };
8673
8691
 
8674
8692
  /**
@@ -10299,6 +10317,7 @@ declare namespace OpenFin {
10299
10317
  WindowState,
10300
10318
  AutoplayPolicyOptions,
10301
10319
  ConstWindowOptions,
10320
+ InheritableOptions,
10302
10321
  MutableWindowOptions,
10303
10322
  WorkspacePlatformOptions,
10304
10323
  WebRequestHeader,
@@ -11535,9 +11554,13 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11535
11554
  */
11536
11555
  providerUrl?: string;
11537
11556
  /**
11538
- * The permissions for secured APIs.
11557
+ * @defaultValue true
11558
+ *
11559
+ * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11560
+ *
11561
+ * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11539
11562
  */
11540
- permissions?: Partial<Permissions_2>;
11563
+ allowLaunchIntoPlatform?: boolean;
11541
11564
  };
11542
11565
 
11543
11566
  /**
@@ -12297,7 +12320,7 @@ declare type PreloadScriptInfoRunning = {
12297
12320
  * @interface
12298
12321
  */
12299
12322
  declare type PreloadScriptsStateChangedEvent = PreloadScriptsStateChangeEvent & {
12300
- type: 'preload-script-state-changed';
12323
+ type: 'preload-scripts-state-changed';
12301
12324
  };
12302
12325
 
12303
12326
  /**
@@ -12314,7 +12337,7 @@ declare type PreloadScriptsStateChangeEvent = BaseEvent_5 & {
12314
12337
  * @interface
12315
12338
  */
12316
12339
  declare type PreloadScriptsStateChangingEvent = PreloadScriptsStateChangeEvent & {
12317
- type: 'preload-script-state-changing';
12340
+ type: 'preload-scripts-state-changing';
12318
12341
  };
12319
12342
 
12320
12343
  declare type PresetLayoutOptions = OpenFin.PresetLayoutOptions;
@@ -966,7 +966,7 @@ declare type ApplicationIdentity_2 = {
966
966
  * @interface
967
967
  */
968
968
  declare type ApplicationInfo = {
969
- initialOptions: ApplicationCreationOptions;
969
+ initialOptions: ApplicationCreationOptions | PlatformOptions;
970
970
  launchMode: string;
971
971
  manifest: Manifest & {
972
972
  [key: string]: any;
@@ -1280,6 +1280,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1280
1280
  * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
1281
1281
  */
1282
1282
  domainSettings: DomainSettings;
1283
+ /**
1284
+ * The permissions for secured APIs.
1285
+ */
1286
+ permissions?: Partial<Permissions_2>;
1283
1287
  /**
1284
1288
  * @defaultValue false
1285
1289
  *
@@ -3835,6 +3839,10 @@ declare type ConstWindowOptions = {
3835
3839
  * _Platform Windows Only_. Controls behavior for showing views when they are being resized by the user.
3836
3840
  */
3837
3841
  viewVisibility?: ViewVisibilityOptions;
3842
+ /**
3843
+ * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3844
+ */
3845
+ inheritance?: Partial<InheritableOptions>;
3838
3846
  };
3839
3847
 
3840
3848
  declare interface Container extends EventEmitter_2 {
@@ -6223,6 +6231,8 @@ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
6223
6231
  * Returns a frame info object representing the window that the referenced iframe is
6224
6232
  * currently embedded in.
6225
6233
  *
6234
+ * @remarks If the frame is embedded in a view, this will return an invalid stub with empty fields.
6235
+ *
6226
6236
  * @example
6227
6237
  * ```js
6228
6238
  * async function getParentWindow() {
@@ -7068,6 +7078,13 @@ declare type InfoForIntentOptions<MetadataType = IntentMetadata_3> = {
7068
7078
  metadata?: MetadataType;
7069
7079
  };
7070
7080
 
7081
+ declare type InheritableOptions = {
7082
+ customContext: boolean;
7083
+ customData: boolean;
7084
+ icon: boolean;
7085
+ preloadScripts: boolean;
7086
+ };
7087
+
7071
7088
  /**
7072
7089
  * Generated when an application has initialized.
7073
7090
  * @interface
@@ -8669,6 +8686,7 @@ declare type LaunchExternalProcessRule = {
8669
8686
  */
8670
8687
  declare type LaunchIntoPlatformPayload = {
8671
8688
  manifest: any;
8689
+ manifestUrl?: string;
8672
8690
  };
8673
8691
 
8674
8692
  /**
@@ -10299,6 +10317,7 @@ declare namespace OpenFin {
10299
10317
  WindowState,
10300
10318
  AutoplayPolicyOptions,
10301
10319
  ConstWindowOptions,
10320
+ InheritableOptions,
10302
10321
  MutableWindowOptions,
10303
10322
  WorkspacePlatformOptions,
10304
10323
  WebRequestHeader,
@@ -11535,9 +11554,13 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11535
11554
  */
11536
11555
  providerUrl?: string;
11537
11556
  /**
11538
- * The permissions for secured APIs.
11557
+ * @defaultValue true
11558
+ *
11559
+ * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11560
+ *
11561
+ * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11539
11562
  */
11540
- permissions?: Partial<Permissions_2>;
11563
+ allowLaunchIntoPlatform?: boolean;
11541
11564
  };
11542
11565
 
11543
11566
  /**
@@ -12297,7 +12320,7 @@ declare type PreloadScriptInfoRunning = {
12297
12320
  * @interface
12298
12321
  */
12299
12322
  declare type PreloadScriptsStateChangedEvent = PreloadScriptsStateChangeEvent & {
12300
- type: 'preload-script-state-changed';
12323
+ type: 'preload-scripts-state-changed';
12301
12324
  };
12302
12325
 
12303
12326
  /**
@@ -12314,7 +12337,7 @@ declare type PreloadScriptsStateChangeEvent = BaseEvent_5 & {
12314
12337
  * @interface
12315
12338
  */
12316
12339
  declare type PreloadScriptsStateChangingEvent = PreloadScriptsStateChangeEvent & {
12317
- type: 'preload-script-state-changing';
12340
+ type: 'preload-scripts-state-changing';
12318
12341
  };
12319
12342
 
12320
12343
  declare type PresetLayoutOptions = OpenFin.PresetLayoutOptions;
package/out/fdc3-api.d.ts CHANGED
@@ -972,7 +972,7 @@ declare type ApplicationIdentity_2 = {
972
972
  * @interface
973
973
  */
974
974
  declare type ApplicationInfo = {
975
- initialOptions: ApplicationCreationOptions;
975
+ initialOptions: ApplicationCreationOptions | PlatformOptions;
976
976
  launchMode: string;
977
977
  manifest: Manifest & {
978
978
  [key: string]: any;
@@ -1286,6 +1286,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1286
1286
  * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
1287
1287
  */
1288
1288
  domainSettings: DomainSettings;
1289
+ /**
1290
+ * The permissions for secured APIs.
1291
+ */
1292
+ permissions?: Partial<Permissions_2>;
1289
1293
  /**
1290
1294
  * @defaultValue false
1291
1295
  *
@@ -3890,6 +3894,10 @@ declare type ConstWindowOptions = {
3890
3894
  * _Platform Windows Only_. Controls behavior for showing views when they are being resized by the user.
3891
3895
  */
3892
3896
  viewVisibility?: ViewVisibilityOptions;
3897
+ /**
3898
+ * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3899
+ */
3900
+ inheritance?: Partial<InheritableOptions>;
3893
3901
  };
3894
3902
 
3895
3903
  declare interface Container extends EventEmitter_2 {
@@ -6307,6 +6315,8 @@ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
6307
6315
  * Returns a frame info object representing the window that the referenced iframe is
6308
6316
  * currently embedded in.
6309
6317
  *
6318
+ * @remarks If the frame is embedded in a view, this will return an invalid stub with empty fields.
6319
+ *
6310
6320
  * @example
6311
6321
  * ```js
6312
6322
  * async function getParentWindow() {
@@ -7158,6 +7168,13 @@ declare type InfoForIntentOptions<MetadataType = IntentMetadata_3> = {
7158
7168
  metadata?: MetadataType;
7159
7169
  };
7160
7170
 
7171
+ declare type InheritableOptions = {
7172
+ customContext: boolean;
7173
+ customData: boolean;
7174
+ icon: boolean;
7175
+ preloadScripts: boolean;
7176
+ };
7177
+
7161
7178
  /**
7162
7179
  * Generated when an application has initialized.
7163
7180
  * @interface
@@ -8782,6 +8799,7 @@ declare type LaunchExternalProcessRule = {
8782
8799
  */
8783
8800
  declare type LaunchIntoPlatformPayload = {
8784
8801
  manifest: any;
8802
+ manifestUrl?: string;
8785
8803
  };
8786
8804
 
8787
8805
  /**
@@ -10610,6 +10628,7 @@ declare namespace OpenFin {
10610
10628
  WindowState,
10611
10629
  AutoplayPolicyOptions,
10612
10630
  ConstWindowOptions,
10631
+ InheritableOptions,
10613
10632
  MutableWindowOptions,
10614
10633
  WorkspacePlatformOptions,
10615
10634
  WebRequestHeader,
@@ -11879,9 +11898,13 @@ declare type PlatformOptions = ApplicationCreationOptions & {
11879
11898
  */
11880
11899
  providerUrl?: string;
11881
11900
  /**
11882
- * The permissions for secured APIs.
11901
+ * @defaultValue true
11902
+ *
11903
+ * Controls whether it is allowed to launch content manifests into the Platform. If omitted, defaults to `true`.
11904
+ *
11905
+ * NOTE: Starting in v38, the default value will change to `false` and content launching must be explicitly opted into.
11883
11906
  */
11884
- permissions?: Partial<Permissions_2>;
11907
+ allowLaunchIntoPlatform?: boolean;
11885
11908
  };
11886
11909
 
11887
11910
  /**
@@ -12686,7 +12709,7 @@ declare type PreloadScriptInfoRunning = {
12686
12709
  * @interface
12687
12710
  */
12688
12711
  declare type PreloadScriptsStateChangedEvent = PreloadScriptsStateChangeEvent & {
12689
- type: 'preload-script-state-changed';
12712
+ type: 'preload-scripts-state-changed';
12690
12713
  };
12691
12714
 
12692
12715
  /**
@@ -12703,7 +12726,7 @@ declare type PreloadScriptsStateChangeEvent = BaseEvent_5 & {
12703
12726
  * @interface
12704
12727
  */
12705
12728
  declare type PreloadScriptsStateChangingEvent = PreloadScriptsStateChangeEvent & {
12706
- type: 'preload-script-state-changing';
12729
+ type: 'preload-scripts-state-changing';
12707
12730
  };
12708
12731
 
12709
12732
  declare type PresetLayoutOptions = OpenFin.PresetLayoutOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "36.79.18",
3
+ "version": "36.80.1",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "private": false,