@openfin/workspace-platform 13.0.2 → 13.0.3

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.
@@ -244,15 +244,6 @@ export interface DockProviderConfigWithIdentity extends ProviderInfo, DockProvid
244
244
  * ```
245
245
  */
246
246
  export interface DockProvider extends DockProviderConfigWithIdentity {
247
- /**
248
- * Function that is invoked when the configuration of the Dock changes.
249
- *
250
- * This may be triggered by users reordering the buttons;
251
- *
252
- * @param config The new Dock configuration.
253
- * @returns Promise that resolves when the callback completes.
254
- */
255
- onDockProviderConfigChanged?: (config: DockProviderConfig) => Promise<void> | void;
256
247
  /**
257
248
  * By default, the Dock will save the user's configuration and restore it on the next launch.
258
249
  *
@@ -1,13 +1,7 @@
1
1
  import type OpenFin from '@openfin/core';
2
- import type { AttachedPage, Page, PageLayout, PageWithUpdatableRuntimeAttribs } from './shapes';
2
+ import type { AttachedPage, Page, PageWithUpdatableRuntimeAttribs } from './shapes';
3
3
  export declare function getLegacyPages(): Promise<Page[]>;
4
4
  export declare function cleanPage<T extends AttachedPage | Page>(page: T): T;
5
- /**
6
- * Get a page layout.
7
- * @param layout the layout to add details to.
8
- * @returns the layout with extra details.
9
- */
10
- export declare const getPageLayout: (layout: PageLayout) => Promise<PageLayout>;
11
5
  /**
12
6
  * Generates a Page object which represents a page.
13
7
  * @param title the title for the page.
@@ -10,11 +10,6 @@ export declare type SnapshotExtended = {
10
10
  export declare type ApplySnapshotOptionsExtended = OpenFin.ApplySnapshotOptions & {
11
11
  attachToExistingWindow: boolean;
12
12
  };
13
- /**
14
- * Set a friendly name of the current machine.
15
- * @param name the friendly name.
16
- */
17
- export declare function setMachineName(name: string): void;
18
13
  /**
19
14
  * Get the machine's friendly name.
20
15
  * @returns the machine's friendly name.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Generates a random UUID.
3
+ *
4
+ * Works in insecure contexts (e.g. HTTP).
5
+ *
6
+ * @returns A random UUID.
7
+ */
8
+ export declare function randomUUID(): string;