@openfin/node-adapter 38.82.54 → 38.82.55

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.
@@ -11903,6 +11903,10 @@ class LayoutModule extends base_1$4.Base {
11903
11903
  if (__classPrivateFieldGet$3(this, _LayoutModule_layoutInitializationAttempted, "f")) {
11904
11904
  throw new Error('Layout.init was already called, please use Layout.create to add additional layouts.');
11905
11905
  }
11906
+ if (this.wire.environment.type === 'openfin') {
11907
+ // preload the client
11908
+ await this.fin.Platform.getCurrentSync().getClient();
11909
+ }
11906
11910
  __classPrivateFieldSet$3(this, _LayoutModule_layoutInitializationAttempted, true, "f");
11907
11911
  // TODO: rename to createLayoutManager
11908
11912
  __classPrivateFieldSet$3(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
@@ -17428,7 +17432,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17428
17432
  };
17429
17433
  }
17430
17434
  getAdapterVersionSync() {
17431
- return "38.82.54";
17435
+ return "38.82.55";
17432
17436
  }
17433
17437
  observeBounds(element, onChange) {
17434
17438
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "38.82.54",
3
+ "version": "38.82.55",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -23,7 +23,7 @@
23
23
  "author": "OpenFin",
24
24
  "dependencies": {
25
25
  "@types/node": "^20.14.2",
26
- "@openfin/core": "38.82.54",
26
+ "@openfin/core": "38.82.55",
27
27
  "lodash": "^4.17.21",
28
28
  "ws": "^7.3.0"
29
29
  }