@openfin/core 38.81.29 → 38.81.31

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.
@@ -825,7 +825,7 @@ declare class Application extends EmitterBase<OpenFin_2.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin_2.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin_2.MenuResult<Data>>;
827
827
  /**
828
- * CLoses the tray icon menu.
828
+ * Closes the tray icon menu.
829
829
  *
830
830
  * @throws if the application has no tray icon set
831
831
  * @example
@@ -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;
@@ -3432,6 +3432,13 @@ declare type ConstViewOptions = {
3432
3432
  * Initial bounds given relative to the window.
3433
3433
  */
3434
3434
  bounds: Bounds;
3435
+ /**
3436
+ * API permissions for code running in the view.
3437
+ *
3438
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3439
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3440
+ * to the source of the page content than to the context rendering it.
3441
+ */
3435
3442
  permissions: Partial<Permissions_2>;
3436
3443
  /**
3437
3444
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3632,6 +3639,13 @@ declare type ConstWindowOptions = {
3632
3639
  * The name of the window.
3633
3640
  */
3634
3641
  name: string;
3642
+ /**
3643
+ * API permissions for code running in the window.
3644
+ *
3645
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3646
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3647
+ * to the source of the page content than to the context rendering it.
3648
+ */
3635
3649
  permissions: Partial<Permissions_2>;
3636
3650
  /**
3637
3651
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4712,6 +4726,10 @@ declare type DomainSettings = {
4712
4726
  rules: DomainSettingsRule[];
4713
4727
  /**
4714
4728
  * Default values for settings in {@link DomainSettingsRule}.
4729
+ *
4730
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4731
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4732
+ * more information, see the documentation for the individual properties.
4715
4733
  */
4716
4734
  default?: PerDomainSettings;
4717
4735
  };
@@ -9899,6 +9917,7 @@ declare namespace OpenFin_2 {
9899
9917
  AppVersionError,
9900
9918
  AppVersionRuntimeInfo,
9901
9919
  LaunchEmitter,
9920
+ UserAppConfigArgs,
9902
9921
  RvmLaunchOptions,
9903
9922
  ShortCutConfig,
9904
9923
  TerminateExternalRequestType,
@@ -10208,7 +10227,7 @@ declare type PerDomainSettings = {
10208
10227
  * Whether DOM content can be loaded (by navigation or redirect).
10209
10228
  *
10210
10229
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10211
- * {@link ContentRedirect} will be **ignored**.
10230
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10212
10231
  */
10213
10232
  content?: ContentPermission;
10214
10233
  };
@@ -12725,7 +12744,7 @@ declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
12725
12744
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12726
12745
  topic: 'application';
12727
12746
  type: 'run-requested';
12728
- userAppConfigArgs: Record<string, any>;
12747
+ userAppConfigArgs: OpenFin_2.UserAppConfigArgs;
12729
12748
  manifest: OpenFin_2.Manifest;
12730
12749
  };
12731
12750
 
@@ -12840,7 +12859,7 @@ declare type RvmLaunchOptions = {
12840
12859
  * True if no UI when launching
12841
12860
  */
12842
12861
  noUi?: boolean;
12843
- userAppConfigArgs?: object;
12862
+ userAppConfigArgs?: UserAppConfigArgs;
12844
12863
  /**
12845
12864
  * Timeout in seconds until RVM launch request expires.
12846
12865
  */
@@ -15369,6 +15388,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15369
15388
  httpStatusText: string;
15370
15389
  });
15371
15390
 
15391
+ /**
15392
+ * @interface
15393
+ */
15394
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15395
+
15372
15396
  /**
15373
15397
  * A general user bounds change event without event type.
15374
15398
  * @interface
@@ -18775,6 +18799,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18775
18799
  positioningOptions?: OpenFin_2.PositioningOptions;
18776
18800
  };
18777
18801
 
18802
+ declare type WithUserAppConfigArgs = {
18803
+ /**
18804
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18805
+ * that launches this application.
18806
+ *
18807
+ * @remarks
18808
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18809
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18810
+ *
18811
+ * Results in the following object:
18812
+ * ```json
18813
+ * {
18814
+ * "use-last-configuration": true"
18815
+ * }
18816
+ * ```
18817
+ *
18818
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18819
+ * ```typescript
18820
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18821
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18822
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18823
+ * ```
18824
+ */
18825
+ userAppConfigArgs?: UserAppConfigArgs;
18826
+ };
18827
+
18778
18828
  /* Excluded from this release type: WorkspacePlatformOptions */
18779
18829
 
18780
18830
  /**
@@ -825,7 +825,7 @@ declare class Application extends EmitterBase<OpenFin_2.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin_2.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin_2.MenuResult<Data>>;
827
827
  /**
828
- * CLoses the tray icon menu.
828
+ * Closes the tray icon menu.
829
829
  *
830
830
  * @throws if the application has no tray icon set
831
831
  * @example
@@ -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;
@@ -3432,6 +3432,13 @@ declare type ConstViewOptions = {
3432
3432
  * Initial bounds given relative to the window.
3433
3433
  */
3434
3434
  bounds: Bounds;
3435
+ /**
3436
+ * API permissions for code running in the view.
3437
+ *
3438
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3439
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3440
+ * to the source of the page content than to the context rendering it.
3441
+ */
3435
3442
  permissions: Partial<Permissions_2>;
3436
3443
  /**
3437
3444
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3632,6 +3639,13 @@ declare type ConstWindowOptions = {
3632
3639
  * The name of the window.
3633
3640
  */
3634
3641
  name: string;
3642
+ /**
3643
+ * API permissions for code running in the window.
3644
+ *
3645
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3646
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3647
+ * to the source of the page content than to the context rendering it.
3648
+ */
3635
3649
  permissions: Partial<Permissions_2>;
3636
3650
  /**
3637
3651
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4712,6 +4726,10 @@ declare type DomainSettings = {
4712
4726
  rules: DomainSettingsRule[];
4713
4727
  /**
4714
4728
  * Default values for settings in {@link DomainSettingsRule}.
4729
+ *
4730
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4731
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4732
+ * more information, see the documentation for the individual properties.
4715
4733
  */
4716
4734
  default?: PerDomainSettings;
4717
4735
  };
@@ -9899,6 +9917,7 @@ declare namespace OpenFin_2 {
9899
9917
  AppVersionError,
9900
9918
  AppVersionRuntimeInfo,
9901
9919
  LaunchEmitter,
9920
+ UserAppConfigArgs,
9902
9921
  RvmLaunchOptions,
9903
9922
  ShortCutConfig,
9904
9923
  TerminateExternalRequestType,
@@ -10208,7 +10227,7 @@ declare type PerDomainSettings = {
10208
10227
  * Whether DOM content can be loaded (by navigation or redirect).
10209
10228
  *
10210
10229
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10211
- * {@link ContentRedirect} will be **ignored**.
10230
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10212
10231
  */
10213
10232
  content?: ContentPermission;
10214
10233
  };
@@ -12725,7 +12744,7 @@ declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
12725
12744
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12726
12745
  topic: 'application';
12727
12746
  type: 'run-requested';
12728
- userAppConfigArgs: Record<string, any>;
12747
+ userAppConfigArgs: OpenFin_2.UserAppConfigArgs;
12729
12748
  manifest: OpenFin_2.Manifest;
12730
12749
  };
12731
12750
 
@@ -12840,7 +12859,7 @@ declare type RvmLaunchOptions = {
12840
12859
  * True if no UI when launching
12841
12860
  */
12842
12861
  noUi?: boolean;
12843
- userAppConfigArgs?: object;
12862
+ userAppConfigArgs?: UserAppConfigArgs;
12844
12863
  /**
12845
12864
  * Timeout in seconds until RVM launch request expires.
12846
12865
  */
@@ -15369,6 +15388,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15369
15388
  httpStatusText: string;
15370
15389
  });
15371
15390
 
15391
+ /**
15392
+ * @interface
15393
+ */
15394
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15395
+
15372
15396
  /**
15373
15397
  * A general user bounds change event without event type.
15374
15398
  * @interface
@@ -18775,6 +18799,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18775
18799
  positioningOptions?: OpenFin_2.PositioningOptions;
18776
18800
  };
18777
18801
 
18802
+ declare type WithUserAppConfigArgs = {
18803
+ /**
18804
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18805
+ * that launches this application.
18806
+ *
18807
+ * @remarks
18808
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18809
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18810
+ *
18811
+ * Results in the following object:
18812
+ * ```json
18813
+ * {
18814
+ * "use-last-configuration": true"
18815
+ * }
18816
+ * ```
18817
+ *
18818
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18819
+ * ```typescript
18820
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18821
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18822
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18823
+ * ```
18824
+ */
18825
+ userAppConfigArgs?: UserAppConfigArgs;
18826
+ };
18827
+
18778
18828
  /* Excluded from this release type: WorkspacePlatformOptions */
18779
18829
 
18780
18830
  /**
@@ -825,7 +825,7 @@ declare class Application extends EmitterBase<OpenFin_2.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin_2.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin_2.MenuResult<Data>>;
827
827
  /**
828
- * CLoses the tray icon menu.
828
+ * Closes the tray icon menu.
829
829
  *
830
830
  * @throws if the application has no tray icon set
831
831
  * @example
@@ -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;
@@ -3432,6 +3432,13 @@ declare type ConstViewOptions = {
3432
3432
  * Initial bounds given relative to the window.
3433
3433
  */
3434
3434
  bounds: Bounds;
3435
+ /**
3436
+ * API permissions for code running in the view.
3437
+ *
3438
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3439
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3440
+ * to the source of the page content than to the context rendering it.
3441
+ */
3435
3442
  permissions: Partial<Permissions_2>;
3436
3443
  /**
3437
3444
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3632,6 +3639,13 @@ declare type ConstWindowOptions = {
3632
3639
  * The name of the window.
3633
3640
  */
3634
3641
  name: string;
3642
+ /**
3643
+ * API permissions for code running in the window.
3644
+ *
3645
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3646
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3647
+ * to the source of the page content than to the context rendering it.
3648
+ */
3635
3649
  permissions: Partial<Permissions_2>;
3636
3650
  /**
3637
3651
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4712,6 +4726,10 @@ declare type DomainSettings = {
4712
4726
  rules: DomainSettingsRule[];
4713
4727
  /**
4714
4728
  * Default values for settings in {@link DomainSettingsRule}.
4729
+ *
4730
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4731
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4732
+ * more information, see the documentation for the individual properties.
4715
4733
  */
4716
4734
  default?: PerDomainSettings;
4717
4735
  };
@@ -9899,6 +9917,7 @@ declare namespace OpenFin_2 {
9899
9917
  AppVersionError,
9900
9918
  AppVersionRuntimeInfo,
9901
9919
  LaunchEmitter,
9920
+ UserAppConfigArgs,
9902
9921
  RvmLaunchOptions,
9903
9922
  ShortCutConfig,
9904
9923
  TerminateExternalRequestType,
@@ -10208,7 +10227,7 @@ declare type PerDomainSettings = {
10208
10227
  * Whether DOM content can be loaded (by navigation or redirect).
10209
10228
  *
10210
10229
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10211
- * {@link ContentRedirect} will be **ignored**.
10230
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10212
10231
  */
10213
10232
  content?: ContentPermission;
10214
10233
  };
@@ -12725,7 +12744,7 @@ declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
12725
12744
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12726
12745
  topic: 'application';
12727
12746
  type: 'run-requested';
12728
- userAppConfigArgs: Record<string, any>;
12747
+ userAppConfigArgs: OpenFin_2.UserAppConfigArgs;
12729
12748
  manifest: OpenFin_2.Manifest;
12730
12749
  };
12731
12750
 
@@ -12840,7 +12859,7 @@ declare type RvmLaunchOptions = {
12840
12859
  * True if no UI when launching
12841
12860
  */
12842
12861
  noUi?: boolean;
12843
- userAppConfigArgs?: object;
12862
+ userAppConfigArgs?: UserAppConfigArgs;
12844
12863
  /**
12845
12864
  * Timeout in seconds until RVM launch request expires.
12846
12865
  */
@@ -15369,6 +15388,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15369
15388
  httpStatusText: string;
15370
15389
  });
15371
15390
 
15391
+ /**
15392
+ * @interface
15393
+ */
15394
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15395
+
15372
15396
  /**
15373
15397
  * A general user bounds change event without event type.
15374
15398
  * @interface
@@ -18775,6 +18799,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18775
18799
  positioningOptions?: OpenFin_2.PositioningOptions;
18776
18800
  };
18777
18801
 
18802
+ declare type WithUserAppConfigArgs = {
18803
+ /**
18804
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18805
+ * that launches this application.
18806
+ *
18807
+ * @remarks
18808
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18809
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18810
+ *
18811
+ * Results in the following object:
18812
+ * ```json
18813
+ * {
18814
+ * "use-last-configuration": true"
18815
+ * }
18816
+ * ```
18817
+ *
18818
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18819
+ * ```typescript
18820
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18821
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18822
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18823
+ * ```
18824
+ */
18825
+ userAppConfigArgs?: UserAppConfigArgs;
18826
+ };
18827
+
18778
18828
  /* Excluded from this release type: WorkspacePlatformOptions */
18779
18829
 
18780
18830
  /**
package/out/mock.d.ts CHANGED
@@ -831,7 +831,7 @@ declare class Application extends EmitterBase<OpenFin_2.ApplicationEvent> {
831
831
  */
832
832
  showTrayIconPopupMenu<Data>(options: OpenFin_2.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin_2.MenuResult<Data>>;
833
833
  /**
834
- * CLoses the tray icon menu.
834
+ * Closes the tray icon menu.
835
835
  *
836
836
  * @throws if the application has no tray icon set
837
837
  * @example
@@ -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;
@@ -3491,6 +3491,13 @@ declare type ConstViewOptions = {
3491
3491
  * Initial bounds given relative to the window.
3492
3492
  */
3493
3493
  bounds: Bounds;
3494
+ /**
3495
+ * API permissions for code running in the view.
3496
+ *
3497
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3498
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3499
+ * to the source of the page content than to the context rendering it.
3500
+ */
3494
3501
  permissions: Partial<Permissions_2>;
3495
3502
  /**
3496
3503
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3691,6 +3698,13 @@ declare type ConstWindowOptions = {
3691
3698
  * The name of the window.
3692
3699
  */
3693
3700
  name: string;
3701
+ /**
3702
+ * API permissions for code running in the window.
3703
+ *
3704
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3705
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3706
+ * to the source of the page content than to the context rendering it.
3707
+ */
3694
3708
  permissions: Partial<Permissions_2>;
3695
3709
  /**
3696
3710
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4771,6 +4785,10 @@ declare type DomainSettings = {
4771
4785
  rules: DomainSettingsRule[];
4772
4786
  /**
4773
4787
  * Default values for settings in {@link DomainSettingsRule}.
4788
+ *
4789
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4790
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4791
+ * more information, see the documentation for the individual properties.
4774
4792
  */
4775
4793
  default?: PerDomainSettings;
4776
4794
  };
@@ -10214,6 +10232,7 @@ declare namespace OpenFin_2 {
10214
10232
  AppVersionError,
10215
10233
  AppVersionRuntimeInfo,
10216
10234
  LaunchEmitter,
10235
+ UserAppConfigArgs,
10217
10236
  RvmLaunchOptions,
10218
10237
  ShortCutConfig,
10219
10238
  TerminateExternalRequestType,
@@ -10523,7 +10542,7 @@ declare type PerDomainSettings = {
10523
10542
  * Whether DOM content can be loaded (by navigation or redirect).
10524
10543
  *
10525
10544
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10526
- * {@link ContentRedirect} will be **ignored**.
10545
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10527
10546
  */
10528
10547
  content?: ContentPermission;
10529
10548
  };
@@ -13118,7 +13137,7 @@ declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
13118
13137
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
13119
13138
  topic: 'application';
13120
13139
  type: 'run-requested';
13121
- userAppConfigArgs: Record<string, any>;
13140
+ userAppConfigArgs: OpenFin_2.UserAppConfigArgs;
13122
13141
  manifest: OpenFin_2.Manifest;
13123
13142
  };
13124
13143
 
@@ -13233,7 +13252,7 @@ declare type RvmLaunchOptions = {
13233
13252
  * True if no UI when launching
13234
13253
  */
13235
13254
  noUi?: boolean;
13236
- userAppConfigArgs?: object;
13255
+ userAppConfigArgs?: UserAppConfigArgs;
13237
13256
  /**
13238
13257
  * Timeout in seconds until RVM launch request expires.
13239
13258
  */
@@ -15775,6 +15794,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15775
15794
  httpStatusText: string;
15776
15795
  });
15777
15796
 
15797
+ /**
15798
+ * @interface
15799
+ */
15800
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15801
+
15778
15802
  /**
15779
15803
  * A general user bounds change event without event type.
15780
15804
  * @interface
@@ -19227,6 +19251,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
19227
19251
  positioningOptions?: OpenFin_2.PositioningOptions;
19228
19252
  };
19229
19253
 
19254
+ declare type WithUserAppConfigArgs = {
19255
+ /**
19256
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
19257
+ * that launches this application.
19258
+ *
19259
+ * @remarks
19260
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
19261
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
19262
+ *
19263
+ * Results in the following object:
19264
+ * ```json
19265
+ * {
19266
+ * "use-last-configuration": true"
19267
+ * }
19268
+ * ```
19269
+ *
19270
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
19271
+ * ```typescript
19272
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
19273
+ * const { userAppConfigArgs } = appInfo.initialOptions;
19274
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
19275
+ * ```
19276
+ */
19277
+ userAppConfigArgs?: UserAppConfigArgs;
19278
+ };
19279
+
19230
19280
  /**
19231
19281
  * @internal
19232
19282
  * @interface
package/out/mock.js CHANGED
@@ -4026,7 +4026,7 @@ function requireInstance$1 () {
4026
4026
  return payload.data;
4027
4027
  }
4028
4028
  /**
4029
- * CLoses the tray icon menu.
4029
+ * Closes the tray icon menu.
4030
4030
  *
4031
4031
  * @throws if the application has no tray icon set
4032
4032
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "38.81.29",
3
+ "version": "38.81.31",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",