@openfin/core 25.68.29 → 25.68.30

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.
package/OpenFin.d.ts CHANGED
@@ -246,7 +246,7 @@ declare namespace OpenFin {
246
246
  name: string;
247
247
  };
248
248
 
249
- export type UpdateableWindowOptions = Partial<MutableWindowOptions>;
249
+ export type UpdatableWindowOptions = Partial<MutableWindowOptions>;
250
250
 
251
251
  export type DefaultWindowOptions = WindowOptions & {
252
252
  permissions: Partial<Permissions>;
@@ -456,13 +456,16 @@ declare namespace OpenFin {
456
456
  url: string;
457
457
  favicons: string[];
458
458
  };
459
+
460
+ export type UpdatableViewOptions = Partial<MutableViewOptions>;
461
+
459
462
  export type ViewCreationOptions = Partial<ViewOptions> & {
460
463
  name: string;
461
464
  url: string;
462
465
  target: Identity;
463
466
  };
464
467
 
465
- export type UpdatableViewOptions = {
468
+ export type MutableViewOptions = {
466
469
  autoResize: AutoResizeOptions;
467
470
  contextMenuSettings: ContextMenuSettings;
468
471
  backgroundColor: string;
@@ -481,7 +484,9 @@ declare namespace OpenFin {
481
484
  permissions: Partial<Permissions>;
482
485
  };
483
486
 
484
- export type ViewOptions = UpdatableViewOptions & {
487
+ export type ViewOptions = ConstViewOptions & MutableViewOptions;
488
+
489
+ export type ConstViewOptions = {
485
490
  name: string;
486
491
  url: string;
487
492
  target: Identity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "25.68.29",
3
+ "version": "25.68.30",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./src/mock.js",
6
6
  "types": "./src/mock.d.ts",
@@ -2,6 +2,7 @@ import { WebContents } from '../webcontents/main';
2
2
  import Transport from '../../transport/transport';
3
3
  import { Layout } from '../platform/layout';
4
4
  import ViewEvents = OpenFin.ViewEvents;
5
+ import UpdatableViewOptions = OpenFin.UpdatableViewOptions;
5
6
  /**
6
7
  * @typedef {object} View~options
7
8
  * @summary View creation options.
@@ -369,7 +370,7 @@ export declare class View extends WebContents<ViewEvents> {
369
370
  * @tutorial View.updateOptions
370
371
  * @experimental
371
372
  */
372
- updateOptions: (options: Partial<OpenFin.UpdatableViewOptions>) => Promise<void>;
373
+ updateOptions: (options: UpdatableViewOptions) => Promise<void>;
373
374
  /**
374
375
  * Retrieves the window the view is currently attached to.
375
376
  * @return {Promise.<_Window>}
@@ -916,7 +916,7 @@ export declare class _Window extends WebContents<WindowEvents> {
916
916
  * @return {Promise.<void>}
917
917
  * @tutorial Window.updateOptions
918
918
  */
919
- updateOptions(options: OpenFin.UpdateableWindowOptions): Promise<void>;
919
+ updateOptions(options: OpenFin.UpdatableWindowOptions): Promise<void>;
920
920
  /**
921
921
  * Provides credentials to authentication requests
922
922
  * @param { string } userName userName to provide to the authentication challenge