@openfin/core 37.81.17 → 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.
@@ -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;
@@ -5088,7 +5088,7 @@ declare type Event_4 = (WebContentsEvents.Event<'view'> & {
5088
5088
  */
5089
5089
  declare type Event_5<Topic extends string> = {
5090
5090
  topic: Topic;
5091
- } & (BlurredEvent | CertificateSelectionShownEvent | CrashedEvent_2 | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | PageFaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent | FoundInPageEvent | CertificateErrorEvent | ContentBlockedEvent);
5091
+ } & (BlurredEvent | CertificateSelectionShownEvent | CrashedEvent_2 | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | PageFaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent | FoundInPageEvent | CertificateErrorEvent | ContentBlockedEvent | WillRedirectEvent);
5092
5092
 
5093
5093
  /**
5094
5094
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link Window}. Events are
@@ -7508,9 +7508,7 @@ declare class InteropClient extends Base {
7508
7508
  * ```
7509
7509
  *
7510
7510
  *
7511
- * We are also testing the ability to add a context handler for specific contexts. If you would like to use
7512
- * this, please make sure you add your context handlers at the top level of your application, on a page that
7513
- * does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
7511
+ * Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
7514
7512
  *
7515
7513
  * ```js
7516
7514
  * function handleInstrumentContext(contextInfo) {
@@ -9818,6 +9816,7 @@ declare namespace OpenFin_2 {
9818
9816
  AppVersionError,
9819
9817
  AppVersionRuntimeInfo,
9820
9818
  LaunchEmitter,
9819
+ UserAppConfigArgs,
9821
9820
  RvmLaunchOptions,
9822
9821
  ShortCutConfig,
9823
9822
  TerminateExternalRequestType,
@@ -12625,7 +12624,7 @@ declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
12625
12624
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12626
12625
  topic: 'application';
12627
12626
  type: 'run-requested';
12628
- userAppConfigArgs: Record<string, any>;
12627
+ userAppConfigArgs: OpenFin_2.UserAppConfigArgs;
12629
12628
  manifest: OpenFin_2.Manifest;
12630
12629
  };
12631
12630
 
@@ -12740,7 +12739,7 @@ declare type RvmLaunchOptions = {
12740
12739
  * True if no UI when launching
12741
12740
  */
12742
12741
  noUi?: boolean;
12743
- userAppConfigArgs?: object;
12742
+ userAppConfigArgs?: UserAppConfigArgs;
12744
12743
  /**
12745
12744
  * Timeout in seconds until RVM launch request expires.
12746
12745
  */
@@ -15238,6 +15237,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15238
15237
  httpStatusText: string;
15239
15238
  });
15240
15239
 
15240
+ /**
15241
+ * @interface
15242
+ */
15243
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15244
+
15241
15245
  /**
15242
15246
  * A general user bounds change event without event type.
15243
15247
  * @interface
@@ -17082,7 +17086,8 @@ declare namespace WebContentsEvents {
17082
17086
  Event_5 as Event,
17083
17087
  WebContentsEvent,
17084
17088
  WillPropagateWebContentsEvent,
17085
- NonPropagatedWebContentsEvent
17089
+ NonPropagatedWebContentsEvent,
17090
+ WillRedirectEvent
17086
17091
  }
17087
17092
  }
17088
17093
 
@@ -17160,14 +17165,15 @@ declare type WillPropagateWebContentsEvent = Event_5<string>;
17160
17165
  declare type WillPropagateWindowEvent = WindowSourcedEvent;
17161
17166
 
17162
17167
  /**
17163
- * Generated when window is being redirected as per contentRedirect allowlist/denylist rules.
17168
+ * Generated whenever a redirection occurs.
17164
17169
  * @interface
17165
17170
  */
17166
- declare type WillRedirectEvent = BaseEvent_5 & {
17171
+ declare type WillRedirectEvent = NamedEvent & {
17167
17172
  type: 'will-redirect';
17168
17173
  blocked: boolean;
17169
17174
  isInPlace: boolean;
17170
17175
  url: string;
17176
+ isMainFrame: boolean;
17171
17177
  };
17172
17178
 
17173
17179
  /**
@@ -18312,7 +18318,6 @@ declare namespace WindowEvents {
18312
18318
  AlertRequestedEvent,
18313
18319
  AuthRequestedEvent,
18314
18320
  EndLoadEvent,
18315
- WillRedirectEvent,
18316
18321
  ReloadedEvent,
18317
18322
  OptionsChangedEvent,
18318
18323
  WindowOptionsChangedEvent_2 as WindowOptionsChangedEvent,
@@ -18568,7 +18573,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
18568
18573
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
18569
18574
  * from {@link OpenFin.ViewEvents}.
18570
18575
  */
18571
- declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
18576
+ declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
18572
18577
 
18573
18578
  /**
18574
18579
  * Generated when a child window starts loading.
@@ -18623,6 +18628,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18623
18628
  positioningOptions?: OpenFin_2.PositioningOptions;
18624
18629
  };
18625
18630
 
18631
+ declare type WithUserAppConfigArgs = {
18632
+ /**
18633
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18634
+ * that launches this application.
18635
+ *
18636
+ * @remarks
18637
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18638
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18639
+ *
18640
+ * Results in the following object:
18641
+ * ```json
18642
+ * {
18643
+ * "use-last-configuration": true"
18644
+ * }
18645
+ * ```
18646
+ *
18647
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18648
+ * ```typescript
18649
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18650
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18651
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18652
+ * ```
18653
+ */
18654
+ userAppConfigArgs?: UserAppConfigArgs;
18655
+ };
18656
+
18626
18657
  /* Excluded from this release type: WorkspacePlatformOptions */
18627
18658
 
18628
18659
  /**
@@ -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;
@@ -5088,7 +5088,7 @@ declare type Event_4 = (WebContentsEvents.Event<'view'> & {
5088
5088
  */
5089
5089
  declare type Event_5<Topic extends string> = {
5090
5090
  topic: Topic;
5091
- } & (BlurredEvent | CertificateSelectionShownEvent | CrashedEvent_2 | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | PageFaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent | FoundInPageEvent | CertificateErrorEvent | ContentBlockedEvent);
5091
+ } & (BlurredEvent | CertificateSelectionShownEvent | CrashedEvent_2 | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | PageFaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent | FoundInPageEvent | CertificateErrorEvent | ContentBlockedEvent | WillRedirectEvent);
5092
5092
 
5093
5093
  /**
5094
5094
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link Window}. Events are
@@ -7508,9 +7508,7 @@ declare class InteropClient extends Base {
7508
7508
  * ```
7509
7509
  *
7510
7510
  *
7511
- * We are also testing the ability to add a context handler for specific contexts. If you would like to use
7512
- * this, please make sure you add your context handlers at the top level of your application, on a page that
7513
- * does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
7511
+ * Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
7514
7512
  *
7515
7513
  * ```js
7516
7514
  * function handleInstrumentContext(contextInfo) {
@@ -9818,6 +9816,7 @@ declare namespace OpenFin_2 {
9818
9816
  AppVersionError,
9819
9817
  AppVersionRuntimeInfo,
9820
9818
  LaunchEmitter,
9819
+ UserAppConfigArgs,
9821
9820
  RvmLaunchOptions,
9822
9821
  ShortCutConfig,
9823
9822
  TerminateExternalRequestType,
@@ -12625,7 +12624,7 @@ declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
12625
12624
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12626
12625
  topic: 'application';
12627
12626
  type: 'run-requested';
12628
- userAppConfigArgs: Record<string, any>;
12627
+ userAppConfigArgs: OpenFin_2.UserAppConfigArgs;
12629
12628
  manifest: OpenFin_2.Manifest;
12630
12629
  };
12631
12630
 
@@ -12740,7 +12739,7 @@ declare type RvmLaunchOptions = {
12740
12739
  * True if no UI when launching
12741
12740
  */
12742
12741
  noUi?: boolean;
12743
- userAppConfigArgs?: object;
12742
+ userAppConfigArgs?: UserAppConfigArgs;
12744
12743
  /**
12745
12744
  * Timeout in seconds until RVM launch request expires.
12746
12745
  */
@@ -15238,6 +15237,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15238
15237
  httpStatusText: string;
15239
15238
  });
15240
15239
 
15240
+ /**
15241
+ * @interface
15242
+ */
15243
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15244
+
15241
15245
  /**
15242
15246
  * A general user bounds change event without event type.
15243
15247
  * @interface
@@ -17082,7 +17086,8 @@ declare namespace WebContentsEvents {
17082
17086
  Event_5 as Event,
17083
17087
  WebContentsEvent,
17084
17088
  WillPropagateWebContentsEvent,
17085
- NonPropagatedWebContentsEvent
17089
+ NonPropagatedWebContentsEvent,
17090
+ WillRedirectEvent
17086
17091
  }
17087
17092
  }
17088
17093
 
@@ -17160,14 +17165,15 @@ declare type WillPropagateWebContentsEvent = Event_5<string>;
17160
17165
  declare type WillPropagateWindowEvent = WindowSourcedEvent;
17161
17166
 
17162
17167
  /**
17163
- * Generated when window is being redirected as per contentRedirect allowlist/denylist rules.
17168
+ * Generated whenever a redirection occurs.
17164
17169
  * @interface
17165
17170
  */
17166
- declare type WillRedirectEvent = BaseEvent_5 & {
17171
+ declare type WillRedirectEvent = NamedEvent & {
17167
17172
  type: 'will-redirect';
17168
17173
  blocked: boolean;
17169
17174
  isInPlace: boolean;
17170
17175
  url: string;
17176
+ isMainFrame: boolean;
17171
17177
  };
17172
17178
 
17173
17179
  /**
@@ -18312,7 +18318,6 @@ declare namespace WindowEvents {
18312
18318
  AlertRequestedEvent,
18313
18319
  AuthRequestedEvent,
18314
18320
  EndLoadEvent,
18315
- WillRedirectEvent,
18316
18321
  ReloadedEvent,
18317
18322
  OptionsChangedEvent,
18318
18323
  WindowOptionsChangedEvent_2 as WindowOptionsChangedEvent,
@@ -18568,7 +18573,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
18568
18573
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
18569
18574
  * from {@link OpenFin.ViewEvents}.
18570
18575
  */
18571
- declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
18576
+ declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
18572
18577
 
18573
18578
  /**
18574
18579
  * Generated when a child window starts loading.
@@ -18623,6 +18628,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18623
18628
  positioningOptions?: OpenFin_2.PositioningOptions;
18624
18629
  };
18625
18630
 
18631
+ declare type WithUserAppConfigArgs = {
18632
+ /**
18633
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18634
+ * that launches this application.
18635
+ *
18636
+ * @remarks
18637
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18638
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18639
+ *
18640
+ * Results in the following object:
18641
+ * ```json
18642
+ * {
18643
+ * "use-last-configuration": true"
18644
+ * }
18645
+ * ```
18646
+ *
18647
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18648
+ * ```typescript
18649
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18650
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18651
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18652
+ * ```
18653
+ */
18654
+ userAppConfigArgs?: UserAppConfigArgs;
18655
+ };
18656
+
18626
18657
  /* Excluded from this release type: WorkspacePlatformOptions */
18627
18658
 
18628
18659
  /**
@@ -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;
@@ -5088,7 +5088,7 @@ declare type Event_4 = (WebContentsEvents.Event<'view'> & {
5088
5088
  */
5089
5089
  declare type Event_5<Topic extends string> = {
5090
5090
  topic: Topic;
5091
- } & (BlurredEvent | CertificateSelectionShownEvent | CrashedEvent_2 | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | PageFaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent | FoundInPageEvent | CertificateErrorEvent | ContentBlockedEvent);
5091
+ } & (BlurredEvent | CertificateSelectionShownEvent | CrashedEvent_2 | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | PageFaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent | FoundInPageEvent | CertificateErrorEvent | ContentBlockedEvent | WillRedirectEvent);
5092
5092
 
5093
5093
  /**
5094
5094
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link Window}. Events are
@@ -7508,9 +7508,7 @@ declare class InteropClient extends Base {
7508
7508
  * ```
7509
7509
  *
7510
7510
  *
7511
- * We are also testing the ability to add a context handler for specific contexts. If you would like to use
7512
- * this, please make sure you add your context handlers at the top level of your application, on a page that
7513
- * does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
7511
+ * Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
7514
7512
  *
7515
7513
  * ```js
7516
7514
  * function handleInstrumentContext(contextInfo) {
@@ -9818,6 +9816,7 @@ declare namespace OpenFin_2 {
9818
9816
  AppVersionError,
9819
9817
  AppVersionRuntimeInfo,
9820
9818
  LaunchEmitter,
9819
+ UserAppConfigArgs,
9821
9820
  RvmLaunchOptions,
9822
9821
  ShortCutConfig,
9823
9822
  TerminateExternalRequestType,
@@ -12625,7 +12624,7 @@ declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
12625
12624
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
12626
12625
  topic: 'application';
12627
12626
  type: 'run-requested';
12628
- userAppConfigArgs: Record<string, any>;
12627
+ userAppConfigArgs: OpenFin_2.UserAppConfigArgs;
12629
12628
  manifest: OpenFin_2.Manifest;
12630
12629
  };
12631
12630
 
@@ -12740,7 +12739,7 @@ declare type RvmLaunchOptions = {
12740
12739
  * True if no UI when launching
12741
12740
  */
12742
12741
  noUi?: boolean;
12743
- userAppConfigArgs?: object;
12742
+ userAppConfigArgs?: UserAppConfigArgs;
12744
12743
  /**
12745
12744
  * Timeout in seconds until RVM launch request expires.
12746
12745
  */
@@ -15238,6 +15237,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15238
15237
  httpStatusText: string;
15239
15238
  });
15240
15239
 
15240
+ /**
15241
+ * @interface
15242
+ */
15243
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15244
+
15241
15245
  /**
15242
15246
  * A general user bounds change event without event type.
15243
15247
  * @interface
@@ -17082,7 +17086,8 @@ declare namespace WebContentsEvents {
17082
17086
  Event_5 as Event,
17083
17087
  WebContentsEvent,
17084
17088
  WillPropagateWebContentsEvent,
17085
- NonPropagatedWebContentsEvent
17089
+ NonPropagatedWebContentsEvent,
17090
+ WillRedirectEvent
17086
17091
  }
17087
17092
  }
17088
17093
 
@@ -17160,14 +17165,15 @@ declare type WillPropagateWebContentsEvent = Event_5<string>;
17160
17165
  declare type WillPropagateWindowEvent = WindowSourcedEvent;
17161
17166
 
17162
17167
  /**
17163
- * Generated when window is being redirected as per contentRedirect allowlist/denylist rules.
17168
+ * Generated whenever a redirection occurs.
17164
17169
  * @interface
17165
17170
  */
17166
- declare type WillRedirectEvent = BaseEvent_5 & {
17171
+ declare type WillRedirectEvent = NamedEvent & {
17167
17172
  type: 'will-redirect';
17168
17173
  blocked: boolean;
17169
17174
  isInPlace: boolean;
17170
17175
  url: string;
17176
+ isMainFrame: boolean;
17171
17177
  };
17172
17178
 
17173
17179
  /**
@@ -18312,7 +18318,6 @@ declare namespace WindowEvents {
18312
18318
  AlertRequestedEvent,
18313
18319
  AuthRequestedEvent,
18314
18320
  EndLoadEvent,
18315
- WillRedirectEvent,
18316
18321
  ReloadedEvent,
18317
18322
  OptionsChangedEvent,
18318
18323
  WindowOptionsChangedEvent_2 as WindowOptionsChangedEvent,
@@ -18568,7 +18573,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
18568
18573
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
18569
18574
  * from {@link OpenFin.ViewEvents}.
18570
18575
  */
18571
- declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
18576
+ declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
18572
18577
 
18573
18578
  /**
18574
18579
  * Generated when a child window starts loading.
@@ -18623,6 +18628,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
18623
18628
  positioningOptions?: OpenFin_2.PositioningOptions;
18624
18629
  };
18625
18630
 
18631
+ declare type WithUserAppConfigArgs = {
18632
+ /**
18633
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
18634
+ * that launches this application.
18635
+ *
18636
+ * @remarks
18637
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
18638
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
18639
+ *
18640
+ * Results in the following object:
18641
+ * ```json
18642
+ * {
18643
+ * "use-last-configuration": true"
18644
+ * }
18645
+ * ```
18646
+ *
18647
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
18648
+ * ```typescript
18649
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
18650
+ * const { userAppConfigArgs } = appInfo.initialOptions;
18651
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
18652
+ * ```
18653
+ */
18654
+ userAppConfigArgs?: UserAppConfigArgs;
18655
+ };
18656
+
18626
18657
  /* Excluded from this release type: WorkspacePlatformOptions */
18627
18658
 
18628
18659
  /**
package/out/mock.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;
@@ -5152,7 +5152,7 @@ declare type Event_4 = (WebContentsEvents.Event<'view'> & {
5152
5152
  */
5153
5153
  declare type Event_5<Topic extends string> = {
5154
5154
  topic: Topic;
5155
- } & (BlurredEvent | CertificateSelectionShownEvent | CrashedEvent_2 | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | PageFaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent | FoundInPageEvent | CertificateErrorEvent | ContentBlockedEvent);
5155
+ } & (BlurredEvent | CertificateSelectionShownEvent | CrashedEvent_2 | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | PageFaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent | FoundInPageEvent | CertificateErrorEvent | ContentBlockedEvent | WillRedirectEvent);
5156
5156
 
5157
5157
  /**
5158
5158
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by a {@link Window}. Events are
@@ -7620,9 +7620,7 @@ declare class InteropClient extends Base {
7620
7620
  * ```
7621
7621
  *
7622
7622
  *
7623
- * We are also testing the ability to add a context handler for specific contexts. If you would like to use
7624
- * this, please make sure you add your context handlers at the top level of your application, on a page that
7625
- * does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
7623
+ * Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
7626
7624
  *
7627
7625
  * ```js
7628
7626
  * function handleInstrumentContext(contextInfo) {
@@ -10133,6 +10131,7 @@ declare namespace OpenFin_2 {
10133
10131
  AppVersionError,
10134
10132
  AppVersionRuntimeInfo,
10135
10133
  LaunchEmitter,
10134
+ UserAppConfigArgs,
10136
10135
  RvmLaunchOptions,
10137
10136
  ShortCutConfig,
10138
10137
  TerminateExternalRequestType,
@@ -13018,7 +13017,7 @@ declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
13018
13017
  declare type RunRequestedEvent_2 = BaseEvents.IdentityEvent & {
13019
13018
  topic: 'application';
13020
13019
  type: 'run-requested';
13021
- userAppConfigArgs: Record<string, any>;
13020
+ userAppConfigArgs: OpenFin_2.UserAppConfigArgs;
13022
13021
  manifest: OpenFin_2.Manifest;
13023
13022
  };
13024
13023
 
@@ -13133,7 +13132,7 @@ declare type RvmLaunchOptions = {
13133
13132
  * True if no UI when launching
13134
13133
  */
13135
13134
  noUi?: boolean;
13136
- userAppConfigArgs?: object;
13135
+ userAppConfigArgs?: UserAppConfigArgs;
13137
13136
  /**
13138
13137
  * Timeout in seconds until RVM launch request expires.
13139
13138
  */
@@ -15644,6 +15643,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15644
15643
  httpStatusText: string;
15645
15644
  });
15646
15645
 
15646
+ /**
15647
+ * @interface
15648
+ */
15649
+ declare type UserAppConfigArgs = Record<string, string | string[]>;
15650
+
15647
15651
  /**
15648
15652
  * A general user bounds change event without event type.
15649
15653
  * @interface
@@ -17525,7 +17529,8 @@ declare namespace WebContentsEvents {
17525
17529
  Event_5 as Event,
17526
17530
  WebContentsEvent,
17527
17531
  WillPropagateWebContentsEvent,
17528
- NonPropagatedWebContentsEvent
17532
+ NonPropagatedWebContentsEvent,
17533
+ WillRedirectEvent
17529
17534
  }
17530
17535
  }
17531
17536
 
@@ -17603,14 +17608,15 @@ declare type WillPropagateWebContentsEvent = Event_5<string>;
17603
17608
  declare type WillPropagateWindowEvent = WindowSourcedEvent;
17604
17609
 
17605
17610
  /**
17606
- * Generated when window is being redirected as per contentRedirect allowlist/denylist rules.
17611
+ * Generated whenever a redirection occurs.
17607
17612
  * @interface
17608
17613
  */
17609
- declare type WillRedirectEvent = BaseEvent_5 & {
17614
+ declare type WillRedirectEvent = NamedEvent & {
17610
17615
  type: 'will-redirect';
17611
17616
  blocked: boolean;
17612
17617
  isInPlace: boolean;
17613
17618
  url: string;
17619
+ isMainFrame: boolean;
17614
17620
  };
17615
17621
 
17616
17622
  /**
@@ -18758,7 +18764,6 @@ declare namespace WindowEvents {
18758
18764
  AlertRequestedEvent,
18759
18765
  AuthRequestedEvent,
18760
18766
  EndLoadEvent,
18761
- WillRedirectEvent,
18762
18767
  ReloadedEvent,
18763
18768
  OptionsChangedEvent,
18764
18769
  WindowOptionsChangedEvent_2 as WindowOptionsChangedEvent,
@@ -19014,7 +19019,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
19014
19019
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
19015
19020
  * from {@link OpenFin.ViewEvents}.
19016
19021
  */
19017
- declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
19022
+ declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
19018
19023
 
19019
19024
  /**
19020
19025
  * Generated when a child window starts loading.
@@ -19075,6 +19080,32 @@ declare type WithPositioningOptions<T extends {} = {}> = T & {
19075
19080
  positioningOptions?: OpenFin_2.PositioningOptions;
19076
19081
  };
19077
19082
 
19083
+ declare type WithUserAppConfigArgs = {
19084
+ /**
19085
+ * Represents the key-value pairs for the parameters passed into any fin:// or fins:// link
19086
+ * that launches this application.
19087
+ *
19088
+ * @remarks
19089
+ * In the link, user defined parameters are separated by the `$$` delimeter, for example:
19090
+ * `fins://path.to/app/manifest.json?$$use-last-configuration=true`
19091
+ *
19092
+ * Results in the following object:
19093
+ * ```json
19094
+ * {
19095
+ * "use-last-configuration": true"
19096
+ * }
19097
+ * ```
19098
+ *
19099
+ * These args can be accessed via the {@link ApplicationInfo.initialOptions} object:
19100
+ * ```typescript
19101
+ * const appInfo = await fin.Application.getCurrentSync().getInfo();
19102
+ * const { userAppConfigArgs } = appInfo.initialOptions;
19103
+ * console.log(userAppConfigArgs['use-last-configuration']); // 'true'
19104
+ * ```
19105
+ */
19106
+ userAppConfigArgs?: UserAppConfigArgs;
19107
+ };
19108
+
19078
19109
  /**
19079
19110
  * @internal
19080
19111
  * @interface
package/out/mock.js CHANGED
@@ -15909,9 +15909,7 @@ function requireInteropClient () {
15909
15909
  * ```
15910
15910
  *
15911
15911
  *
15912
- * We are also testing the ability to add a context handler for specific contexts. If you would like to use
15913
- * this, please make sure you add your context handlers at the top level of your application, on a page that
15914
- * does not navigate/reload/re-render, to avoid memory leaks. This feature is experimental:
15912
+ * Passing in a context type as the second parameter will cause the handler to only be invoked with that context type.
15915
15913
  *
15916
15914
  * ```js
15917
15915
  * function handleInstrumentContext(contextInfo) {
@@ -15940,7 +15938,6 @@ function requireInteropClient () {
15940
15938
  let handlerId;
15941
15939
  if (contextType) {
15942
15940
  handlerId = `invokeContextHandler-${contextType}-${(0, utils_1.generateId)()}`;
15943
- 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.`);
15944
15941
  }
15945
15942
  else {
15946
15943
  handlerId = 'invokeContextHandler';
@@ -16371,42 +16368,49 @@ function requireInteropClient () {
16371
16368
  return InteropClient;
16372
16369
  }
16373
16370
 
16374
- var overrideCheck$1 = {};
16371
+ var overrideCheck = {};
16375
16372
 
16376
- Object.defineProperty(overrideCheck$1, "__esModule", { value: true });
16377
- overrideCheck$1.overrideCheck = overrideCheck$1.checkFDC32Overrides = overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = void 0;
16378
- const InteropBroker_1 = requireInteropBroker();
16379
- function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
16380
- const setVersion = manifest?.platform?.defaultViewOptions?.fdc3InteropApi ?? initialOptions.defaultViewOptions?.fdc3InteropApi;
16381
- return ['1.2', '2.0'].includes(setVersion ?? '') ? setVersion : undefined;
16382
- }
16383
- overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
16384
- function checkFDC32Overrides(overriddenBroker) {
16385
- // These are the APIs that must be overridden for FDC3 2.0 compliance
16386
- const mustOverrideAPIs = [
16387
- 'fdc3HandleFindInstances',
16388
- 'handleInfoForIntent',
16389
- 'handleInfoForIntentsByContext',
16390
- 'fdc3HandleGetAppMetadata',
16391
- 'fdc3HandleGetInfo',
16392
- 'fdc3HandleOpen',
16393
- 'handleFiredIntent',
16394
- 'handleFiredIntentForContext'
16395
- ];
16396
- return mustOverrideAPIs.filter((api) => {
16397
- return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
16398
- });
16399
- }
16400
- overrideCheck$1.checkFDC32Overrides = checkFDC32Overrides;
16401
- function overrideCheck(overriddenBroker, fdc3InteropApi) {
16402
- if (fdc3InteropApi && fdc3InteropApi === '2.0') {
16403
- const notOverridden = checkFDC32Overrides(overriddenBroker);
16404
- if (notOverridden.length > 0) {
16405
- 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')}`);
16406
- }
16407
- }
16373
+ var hasRequiredOverrideCheck;
16374
+
16375
+ function requireOverrideCheck () {
16376
+ if (hasRequiredOverrideCheck) return overrideCheck;
16377
+ hasRequiredOverrideCheck = 1;
16378
+ Object.defineProperty(overrideCheck, "__esModule", { value: true });
16379
+ overrideCheck.overrideCheck = overrideCheck.checkFDC32Overrides = overrideCheck.getDefaultViewFdc3VersionFromAppInfo = void 0;
16380
+ const InteropBroker_1 = requireInteropBroker();
16381
+ function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
16382
+ const setVersion = manifest?.platform?.defaultViewOptions?.fdc3InteropApi ?? initialOptions.defaultViewOptions?.fdc3InteropApi;
16383
+ return ['1.2', '2.0'].includes(setVersion ?? '') ? setVersion : undefined;
16384
+ }
16385
+ overrideCheck.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
16386
+ function checkFDC32Overrides(overriddenBroker) {
16387
+ // These are the APIs that must be overridden for FDC3 2.0 compliance
16388
+ const mustOverrideAPIs = [
16389
+ 'fdc3HandleFindInstances',
16390
+ 'handleInfoForIntent',
16391
+ 'handleInfoForIntentsByContext',
16392
+ 'fdc3HandleGetAppMetadata',
16393
+ 'fdc3HandleGetInfo',
16394
+ 'fdc3HandleOpen',
16395
+ 'handleFiredIntent',
16396
+ 'handleFiredIntentForContext'
16397
+ ];
16398
+ return mustOverrideAPIs.filter((api) => {
16399
+ return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
16400
+ });
16401
+ }
16402
+ overrideCheck.checkFDC32Overrides = checkFDC32Overrides;
16403
+ function overrideCheck$1(overriddenBroker, fdc3InteropApi) {
16404
+ if (fdc3InteropApi && fdc3InteropApi === '2.0') {
16405
+ const notOverridden = checkFDC32Overrides(overriddenBroker);
16406
+ if (notOverridden.length > 0) {
16407
+ 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')}`);
16408
+ }
16409
+ }
16410
+ }
16411
+ overrideCheck.overrideCheck = overrideCheck$1;
16412
+ return overrideCheck;
16408
16413
  }
16409
- overrideCheck$1.overrideCheck = overrideCheck;
16410
16414
 
16411
16415
  var hasRequiredFactory;
16412
16416
 
@@ -16420,7 +16424,7 @@ function requireFactory () {
16420
16424
  const base_1 = base;
16421
16425
  const InteropBroker_1 = requireInteropBroker();
16422
16426
  const InteropClient_1 = requireInteropClient();
16423
- const overrideCheck_1 = overrideCheck$1;
16427
+ const overrideCheck_1 = requireOverrideCheck();
16424
16428
  const common_utils_1 = commonUtils;
16425
16429
  const defaultOverride = (Class) => new Class();
16426
16430
  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.';
package/package.json CHANGED
@@ -1,11 +1,26 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "37.81.17",
3
+ "version": "37.81.20",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",
7
7
  "types": "out/mock.d.ts",
8
8
  "private": false,
9
+ "scripts": {
10
+ "prebuild": "rimraf ./out",
11
+ "build:rollup": "rollup --config",
12
+ "build:copy": "cpy src/GlobalOpenFin.d.ts out --flat",
13
+ "build": "run-p build:*",
14
+ "dev:rollup": "npm run build:rollup -- --environment MODE:development",
15
+ "dev:copy": "npm run build:copy",
16
+ "dev": "run-p dev:*",
17
+ "watch": "run-p watch:*",
18
+ "watch:rollup": "npm run dev:rollup -- --watch",
19
+ "watch:copy": "npm run dev:copy",
20
+ "ci:prepublish": "of-npm prepublish",
21
+ "ci:postpublish": "of-npm postpublish",
22
+ "ci:publish": "npm publish"
23
+ },
9
24
  "files": [
10
25
  "out/*",
11
26
  "OpenFin.d.ts",