@openfin/core 31.74.29 → 31.74.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "31.74.29",
3
+ "version": "31.74.31",
4
4
  "license": "SEE LICENSE IN LICENSE.MD",
5
5
  "main": "./src/mock.js",
6
6
  "types": "./src/mock.d.ts",
@@ -136,7 +136,7 @@ class LayoutModule extends base_1.Base {
136
136
  const { client, ofWindow } = ManagerConstructor.getClientAndWindow(__classPrivateFieldGet(this, _LayoutModule_layoutManager, "f"));
137
137
  // expose LayoutEntitiesController instance for API consumption
138
138
  const channelStrategy = new api_exposer_1.ChannelsExposer(client);
139
- await new api_exposer_1.ApiExposer(channelStrategy).exposeInstance(new layout_entities_controller_1.LayoutEntitiesController(__classPrivateFieldGet(this, _LayoutModule_layoutManager, "f"), ofWindow.identity.uuid, contentItemCache), { id: layout_constants_1.LAYOUT_CONTROLLER_ID });
139
+ await new api_exposer_1.ApiExposer(channelStrategy).exposeInstance(new layout_entities_controller_1.LayoutEntitiesController(__classPrivateFieldGet(this, _LayoutModule_layoutManager, "f"), contentItemCache), { id: layout_constants_1.LAYOUT_CONTROLLER_ID });
140
140
  // Adding this to the returned instance undocumented/typed for Browser.
141
141
  return Object.assign(this.getCurrentSync(), { layoutManager: __classPrivateFieldGet(this, _LayoutModule_layoutManager, "f") });
142
142
  };
@@ -8,9 +8,8 @@ type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOp
8
8
  */
9
9
  export declare class LayoutEntitiesController {
10
10
  private layoutManager;
11
- private uuid;
12
11
  private layoutContentCache;
13
- constructor(layoutManager: any, uuid: string, layoutContentCache: LayoutContentCache);
12
+ constructor(layoutManager: any, layoutContentCache: LayoutContentCache);
14
13
  /**
15
14
  * @internal
16
15
  * @returns the root contentItem of the layout.
@@ -17,9 +17,8 @@ const layout_traversal_1 = require("../utils/layout-traversal");
17
17
  class LayoutEntitiesController {
18
18
  constructor(
19
19
  // workaround to prevent importing entire GoldenLayouts, also re-written at build time to type any
20
- layoutManager, uuid, layoutContentCache) {
20
+ layoutManager, layoutContentCache) {
21
21
  this.layoutManager = layoutManager;
22
- this.uuid = uuid;
23
22
  this.layoutContentCache = layoutContentCache;
24
23
  /**
25
24
  * @internal
@@ -69,7 +68,7 @@ class LayoutEntitiesController {
69
68
  var _a;
70
69
  return ({
71
70
  name: (_a = ci.config.componentState) === null || _a === void 0 ? void 0 : _a.name,
72
- uuid: this.uuid
71
+ uuid: this.layoutManager.ofWindow.identity.uuid
73
72
  });
74
73
  });
75
74
  return views;