@openfin/remote-adapter 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.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin.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;
@@ -3456,6 +3456,13 @@ declare type ConstViewOptions = {
3456
3456
  * Initial bounds given relative to the window.
3457
3457
  */
3458
3458
  bounds: Bounds;
3459
+ /**
3460
+ * API permissions for code running in the view.
3461
+ *
3462
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3463
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3464
+ * to the source of the page content than to the context rendering it.
3465
+ */
3459
3466
  permissions: Partial<Permissions_2>;
3460
3467
  /**
3461
3468
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3656,6 +3663,13 @@ declare type ConstWindowOptions = {
3656
3663
  * The name of the window.
3657
3664
  */
3658
3665
  name: string;
3666
+ /**
3667
+ * API permissions for code running in the window.
3668
+ *
3669
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3670
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3671
+ * to the source of the page content than to the context rendering it.
3672
+ */
3659
3673
  permissions: Partial<Permissions_2>;
3660
3674
  /**
3661
3675
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4736,6 +4750,10 @@ declare type DomainSettings = {
4736
4750
  rules: DomainSettingsRule[];
4737
4751
  /**
4738
4752
  * Default values for settings in {@link DomainSettingsRule}.
4753
+ *
4754
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4755
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4756
+ * more information, see the documentation for the individual properties.
4739
4757
  */
4740
4758
  default?: PerDomainSettings;
4741
4759
  };
@@ -9942,6 +9960,7 @@ declare namespace OpenFin {
9942
9960
  AppVersionError,
9943
9961
  AppVersionRuntimeInfo,
9944
9962
  LaunchEmitter,
9963
+ UserAppConfigArgs,
9945
9964
  RvmLaunchOptions,
9946
9965
  ShortCutConfig,
9947
9966
  TerminateExternalRequestType,
@@ -10250,7 +10269,7 @@ declare type PerDomainSettings = {
10250
10269
  * Whether DOM content can be loaded (by navigation or redirect).
10251
10270
  *
10252
10271
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10253
- * {@link ContentRedirect} will be **ignored**.
10272
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10254
10273
  */
10255
10274
  content?: ContentPermission;
10256
10275
  };
@@ -12767,7 +12786,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
12767
12786
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12768
12787
  topic: 'application';
12769
12788
  type: 'run-requested';
12770
- userAppConfigArgs: Record<string, any>;
12789
+ userAppConfigArgs: OpenFin.UserAppConfigArgs;
12771
12790
  manifest: OpenFin.Manifest;
12772
12791
  };
12773
12792
 
@@ -12882,7 +12901,7 @@ declare type RvmLaunchOptions = {
12882
12901
  * True if no UI when launching
12883
12902
  */
12884
12903
  noUi?: boolean;
12885
- userAppConfigArgs?: object;
12904
+ userAppConfigArgs?: UserAppConfigArgs;
12886
12905
  /**
12887
12906
  * Timeout in seconds until RVM launch request expires.
12888
12907
  */
@@ -15411,6 +15430,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15411
15430
  httpStatusText: string;
15412
15431
  });
15413
15432
 
15433
+ /**
15434
+ * @interface
15435
+ */
15436
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15437
+
15414
15438
  /**
15415
15439
  * A general user bounds change event without event type.
15416
15440
  * @interface
@@ -18817,6 +18841,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18817
18841
  positioningOptions?: OpenFin.PositioningOptions;
18818
18842
  };
18819
18843
 
18844
+ declare type WithUserAppConfigArgs = {
18845
+ /**
18846
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18847
+ * that launches this application.
18848
+ *
18849
+ * @remarks
18850
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18851
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18852
+ *
18853
+ * Results in the following object:
18854
+ * ```json
18855
+ * {
18856
+ * "use-last-configuration": true"
18857
+ * }
18858
+ * ```
18859
+ *
18860
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18861
+ * ```typescript
18862
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18863
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18864
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18865
+ * ```
18866
+ */
18867
+ userAppConfigArgs?: UserAppConfigArgs;
18868
+ };
18869
+
18820
18870
  /* Excluded from this release type: WorkspacePlatformOptions */
18821
18871
 
18822
18872
  /**
@@ -825,7 +825,7 @@ declare class Application extends EmitterBase<OpenFin.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin.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;
@@ -3456,6 +3456,13 @@ declare type ConstViewOptions = {
3456
3456
  * Initial bounds given relative to the window.
3457
3457
  */
3458
3458
  bounds: Bounds;
3459
+ /**
3460
+ * API permissions for code running in the view.
3461
+ *
3462
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3463
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3464
+ * to the source of the page content than to the context rendering it.
3465
+ */
3459
3466
  permissions: Partial<Permissions_2>;
3460
3467
  /**
3461
3468
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3656,6 +3663,13 @@ declare type ConstWindowOptions = {
3656
3663
  * The name of the window.
3657
3664
  */
3658
3665
  name: string;
3666
+ /**
3667
+ * API permissions for code running in the window.
3668
+ *
3669
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3670
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3671
+ * to the source of the page content than to the context rendering it.
3672
+ */
3659
3673
  permissions: Partial<Permissions_2>;
3660
3674
  /**
3661
3675
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4736,6 +4750,10 @@ declare type DomainSettings = {
4736
4750
  rules: DomainSettingsRule[];
4737
4751
  /**
4738
4752
  * Default values for settings in {@link DomainSettingsRule}.
4753
+ *
4754
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4755
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4756
+ * more information, see the documentation for the individual properties.
4739
4757
  */
4740
4758
  default?: PerDomainSettings;
4741
4759
  };
@@ -9942,6 +9960,7 @@ declare namespace OpenFin {
9942
9960
  AppVersionError,
9943
9961
  AppVersionRuntimeInfo,
9944
9962
  LaunchEmitter,
9963
+ UserAppConfigArgs,
9945
9964
  RvmLaunchOptions,
9946
9965
  ShortCutConfig,
9947
9966
  TerminateExternalRequestType,
@@ -10250,7 +10269,7 @@ declare type PerDomainSettings = {
10250
10269
  * Whether DOM content can be loaded (by navigation or redirect).
10251
10270
  *
10252
10271
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10253
- * {@link ContentRedirect} will be **ignored**.
10272
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10254
10273
  */
10255
10274
  content?: ContentPermission;
10256
10275
  };
@@ -12767,7 +12786,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
12767
12786
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12768
12787
  topic: 'application';
12769
12788
  type: 'run-requested';
12770
- userAppConfigArgs: Record<string, any>;
12789
+ userAppConfigArgs: OpenFin.UserAppConfigArgs;
12771
12790
  manifest: OpenFin.Manifest;
12772
12791
  };
12773
12792
 
@@ -12882,7 +12901,7 @@ declare type RvmLaunchOptions = {
12882
12901
  * True if no UI when launching
12883
12902
  */
12884
12903
  noUi?: boolean;
12885
- userAppConfigArgs?: object;
12904
+ userAppConfigArgs?: UserAppConfigArgs;
12886
12905
  /**
12887
12906
  * Timeout in seconds until RVM launch request expires.
12888
12907
  */
@@ -15411,6 +15430,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15411
15430
  httpStatusText: string;
15412
15431
  });
15413
15432
 
15433
+ /**
15434
+ * @interface
15435
+ */
15436
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15437
+
15414
15438
  /**
15415
15439
  * A general user bounds change event without event type.
15416
15440
  * @interface
@@ -18817,6 +18841,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18817
18841
  positioningOptions?: OpenFin.PositioningOptions;
18818
18842
  };
18819
18843
 
18844
+ declare type WithUserAppConfigArgs = {
18845
+ /**
18846
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18847
+ * that launches this application.
18848
+ *
18849
+ * @remarks
18850
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18851
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18852
+ *
18853
+ * Results in the following object:
18854
+ * ```json
18855
+ * {
18856
+ * "use-last-configuration": true"
18857
+ * }
18858
+ * ```
18859
+ *
18860
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18861
+ * ```typescript
18862
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18863
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18864
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18865
+ * ```
18866
+ */
18867
+ userAppConfigArgs?: UserAppConfigArgs;
18868
+ };
18869
+
18820
18870
  /* Excluded from this release type: WorkspacePlatformOptions */
18821
18871
 
18822
18872
  /**
@@ -825,7 +825,7 @@ declare class Application extends EmitterBase<OpenFin.ApplicationEvent> {
825
825
  */
826
826
  showTrayIconPopupMenu<Data>(options: OpenFin.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin.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;
@@ -3456,6 +3456,13 @@ declare type ConstViewOptions = {
3456
3456
  * Initial bounds given relative to the window.
3457
3457
  */
3458
3458
  bounds: Bounds;
3459
+ /**
3460
+ * API permissions for code running in the view.
3461
+ *
3462
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3463
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3464
+ * to the source of the page content than to the context rendering it.
3465
+ */
3459
3466
  permissions: Partial<Permissions_2>;
3460
3467
  /**
3461
3468
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3656,6 +3663,13 @@ declare type ConstWindowOptions = {
3656
3663
  * The name of the window.
3657
3664
  */
3658
3665
  name: string;
3666
+ /**
3667
+ * API permissions for code running in the window.
3668
+ *
3669
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3670
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3671
+ * to the source of the page content than to the context rendering it.
3672
+ */
3659
3673
  permissions: Partial<Permissions_2>;
3660
3674
  /**
3661
3675
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4736,6 +4750,10 @@ declare type DomainSettings = {
4736
4750
  rules: DomainSettingsRule[];
4737
4751
  /**
4738
4752
  * Default values for settings in {@link DomainSettingsRule}.
4753
+ *
4754
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4755
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4756
+ * more information, see the documentation for the individual properties.
4739
4757
  */
4740
4758
  default?: PerDomainSettings;
4741
4759
  };
@@ -9942,6 +9960,7 @@ declare namespace OpenFin {
9942
9960
  AppVersionError,
9943
9961
  AppVersionRuntimeInfo,
9944
9962
  LaunchEmitter,
9963
+ UserAppConfigArgs,
9945
9964
  RvmLaunchOptions,
9946
9965
  ShortCutConfig,
9947
9966
  TerminateExternalRequestType,
@@ -10250,7 +10269,7 @@ declare type PerDomainSettings = {
10250
10269
  * Whether DOM content can be loaded (by navigation or redirect).
10251
10270
  *
10252
10271
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10253
- * {@link ContentRedirect} will be **ignored**.
10272
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10254
10273
  */
10255
10274
  content?: ContentPermission;
10256
10275
  };
@@ -12767,7 +12786,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
12767
12786
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12768
12787
  topic: 'application';
12769
12788
  type: 'run-requested';
12770
- userAppConfigArgs: Record<string, any>;
12789
+ userAppConfigArgs: OpenFin.UserAppConfigArgs;
12771
12790
  manifest: OpenFin.Manifest;
12772
12791
  };
12773
12792
 
@@ -12882,7 +12901,7 @@ declare type RvmLaunchOptions = {
12882
12901
  * True if no UI when launching
12883
12902
  */
12884
12903
  noUi?: boolean;
12885
- userAppConfigArgs?: object;
12904
+ userAppConfigArgs?: UserAppConfigArgs;
12886
12905
  /**
12887
12906
  * Timeout in seconds until RVM launch request expires.
12888
12907
  */
@@ -15411,6 +15430,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15411
15430
  httpStatusText: string;
15412
15431
  });
15413
15432
 
15433
+ /**
15434
+ * @interface
15435
+ */
15436
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15437
+
15414
15438
  /**
15415
15439
  * A general user bounds change event without event type.
15416
15440
  * @interface
@@ -18817,6 +18841,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18817
18841
  positioningOptions?: OpenFin.PositioningOptions;
18818
18842
  };
18819
18843
 
18844
+ declare type WithUserAppConfigArgs = {
18845
+ /**
18846
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18847
+ * that launches this application.
18848
+ *
18849
+ * @remarks
18850
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18851
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18852
+ *
18853
+ * Results in the following object:
18854
+ * ```json
18855
+ * {
18856
+ * "use-last-configuration": true"
18857
+ * }
18858
+ * ```
18859
+ *
18860
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18861
+ * ```typescript
18862
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18863
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18864
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18865
+ * ```
18866
+ */
18867
+ userAppConfigArgs?: UserAppConfigArgs;
18868
+ };
18869
+
18820
18870
  /* Excluded from this release type: WorkspacePlatformOptions */
18821
18871
 
18822
18872
  /**
@@ -831,7 +831,7 @@ declare class Application extends EmitterBase<OpenFin.ApplicationEvent> {
831
831
  */
832
832
  showTrayIconPopupMenu<Data>(options: OpenFin.ShowTrayIconPopupMenuOptions<Data>): Promise<OpenFin.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;
@@ -3515,6 +3515,13 @@ declare type ConstViewOptions = {
3515
3515
  * Initial bounds given relative to the window.
3516
3516
  */
3517
3517
  bounds: Bounds;
3518
+ /**
3519
+ * API permissions for code running in the view.
3520
+ *
3521
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3522
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3523
+ * to the source of the page content than to the context rendering it.
3524
+ */
3518
3525
  permissions: Partial<Permissions_2>;
3519
3526
  /**
3520
3527
  * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
@@ -3715,6 +3722,13 @@ declare type ConstWindowOptions = {
3715
3722
  * The name of the window.
3716
3723
  */
3717
3724
  name: string;
3725
+ /**
3726
+ * API permissions for code running in the window.
3727
+ *
3728
+ * @remarks Superseded by {@link DomainSettings.default.api.permissions} - if present, this setting will be **ignored**.
3729
+ * It is recommended for users to migrate to a domain-based security model, since it is more natural to assign trust
3730
+ * to the source of the page content than to the context rendering it.
3731
+ */
3718
3732
  permissions: Partial<Permissions_2>;
3719
3733
  /**
3720
3734
  * Scripts that run before page load. When omitted, inherits from the parent application.
@@ -4795,6 +4809,10 @@ declare type DomainSettings = {
4795
4809
  rules: DomainSettingsRule[];
4796
4810
  /**
4797
4811
  * Default values for settings in {@link DomainSettingsRule}.
4812
+ *
4813
+ * @remarks If {@link PerDomainSettings.content} or {@link PerDomainSettings.api.fin} are given a default value
4814
+ * here, they will supersede any equivalent functionality in {@link WindowOptions} or {@link ViewOptions}. For
4815
+ * more information, see the documentation for the individual properties.
4798
4816
  */
4799
4817
  default?: PerDomainSettings;
4800
4818
  };
@@ -10257,6 +10275,7 @@ declare namespace OpenFin {
10257
10275
  AppVersionError,
10258
10276
  AppVersionRuntimeInfo,
10259
10277
  LaunchEmitter,
10278
+ UserAppConfigArgs,
10260
10279
  RvmLaunchOptions,
10261
10280
  ShortCutConfig,
10262
10281
  TerminateExternalRequestType,
@@ -10565,7 +10584,7 @@ declare type PerDomainSettings = {
10565
10584
  * Whether DOM content can be loaded (by navigation or redirect).
10566
10585
  *
10567
10586
  * @remarks If this is included in {@link DomainSettings.default}, then {@link ContentNavigation} and
10568
- * {@link ContentRedirect} will be **ignored**.
10587
+ * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10569
10588
  */
10570
10589
  content?: ContentPermission;
10571
10590
  };
@@ -13160,7 +13179,7 @@ declare type RunRequestedEvent = OpenFin.ApplicationEvents.RunRequestedEvent;
13160
13179
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
13161
13180
  topic: 'application';
13162
13181
  type: 'run-requested';
13163
- userAppConfigArgs: Record<string, any>;
13182
+ userAppConfigArgs: OpenFin.UserAppConfigArgs;
13164
13183
  manifest: OpenFin.Manifest;
13165
13184
  };
13166
13185
 
@@ -13275,7 +13294,7 @@ declare type RvmLaunchOptions = {
13275
13294
  * True if no UI when launching
13276
13295
  */
13277
13296
  noUi?: boolean;
13278
- userAppConfigArgs?: object;
13297
+ userAppConfigArgs?: UserAppConfigArgs;
13279
13298
  /**
13280
13299
  * Timeout in seconds until RVM launch request expires.
13281
13300
  */
@@ -15817,6 +15836,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15817
15836
  httpStatusText: string;
15818
15837
  });
15819
15838
 
15839
+ /**
15840
+ * @interface
15841
+ */
15842
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15843
+
15820
15844
  /**
15821
15845
  * A general user bounds change event without event type.
15822
15846
  * @interface
@@ -19269,6 +19293,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
19269
19293
  positioningOptions?: OpenFin.PositioningOptions;
19270
19294
  };
19271
19295
 
19296
+ declare type WithUserAppConfigArgs = {
19297
+ /**
19298
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
19299
+ * that launches this application.
19300
+ *
19301
+ * @remarks
19302
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
19303
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
19304
+ *
19305
+ * Results in the following object:
19306
+ * ```json
19307
+ * {
19308
+ * "use-last-configuration": true"
19309
+ * }
19310
+ * ```
19311
+ *
19312
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
19313
+ * ```typescript
19314
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
19315
+ * const { userAppConfigArgs } = appInfo.initialOptions;
19316
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
19317
+ * ```
19318
+ */
19319
+ userAppConfigArgs?: UserAppConfigArgs;
19320
+ };
19321
+
19272
19322
  /**
19273
19323
  * @internal
19274
19324
  * @interface
@@ -7259,7 +7259,7 @@ function requireInstance$2 () {
7259
7259
  return payload.data;
7260
7260
  }
7261
7261
  /**
7262
- * CLoses the tray icon menu.
7262
+ * Closes the tray icon menu.
7263
7263
  *
7264
7264
  * @throws if the application has no tray icon set
7265
7265
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "38.81.29",
3
+ "version": "38.81.31",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,