@openfin/workspace-platform 9.1.3 → 9.1.6

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.
@@ -7,7 +7,7 @@ export declare function getLastFocusedBrowserWindow(): Promise<OpenFin.Identity
7
7
  /**
8
8
  * Set the OpenFin identity of the last focused browser window.
9
9
  */
10
- export declare function setLastFocusedBrowserWindow(identity?: OpenFin.Identity): void;
10
+ export declare function setLastFocusedBrowserWindow(identity?: OpenFin.Identity): Promise<void>;
11
11
  /**
12
12
  * Listen for a browser window to be focused.
13
13
  * When a browser window is focused, store it in local storage as the last focused browser window.
@@ -54,6 +54,9 @@ export declare function getOriginWithPath(origin: string, path: string): string;
54
54
  * @returns the query parameters.
55
55
  */
56
56
  export declare function getQuery(): URLSearchParams;
57
+ export declare const getUrlParams: (path: string) => {
58
+ [k: string]: string;
59
+ };
57
60
  export declare function getPathnameWithBasePath(pathname: string): string;
58
61
  /**
59
62
  * Get the current route.
@@ -7,7 +7,8 @@ export declare enum WindowName {
7
7
  HomeInternal = "openfin-home-internal",
8
8
  BrowserMenu = "openfin-browser-menu",
9
9
  BrowserIndicator = "openfin-browser-indicator",
10
- BrowserWindow = "internal-generated-window"
10
+ BrowserWindow = "internal-generated-window",
11
+ ClassicWindow = "internal-generated-classic-window"
11
12
  }
12
13
  export declare enum WindowEvent {
13
14
  Shown = "shown",
@@ -121,11 +122,11 @@ export declare function restoreWindowSize(): Promise<void>;
121
122
  export declare function setSize(width: number, height: number): Promise<void>;
122
123
  export declare function animateSize(width: number, height: number): Promise<void>;
123
124
  /**
124
- * Returns true if the window name is that of a browser window.
125
- * @param name the window name.
126
- * @returns true if the name is that of a browser window's.
125
+ * Returns true if the window identity is that of a browser window.
126
+ * @param identity the window identity
127
+ * @returns boolean
127
128
  */
128
- export declare const isBrowserWindow: (name: string) => boolean;
129
+ export declare const isBrowserWindow: (identity: OpenFin.Identity) => Promise<boolean>;
129
130
  /**
130
131
  * Force document body size. Called when resizing or on scaling changes.
131
132
  */