@openfin/core 38.82.53 → 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.
- package/out/mock.js +4 -0
- package/package.json +1 -1
package/out/mock.js
CHANGED
@@ -12154,6 +12154,10 @@ class LayoutModule extends base_1$4.Base {
|
|
12154
12154
|
if (__classPrivateFieldGet$3(this, _LayoutModule_layoutInitializationAttempted, "f")) {
|
12155
12155
|
throw new Error('Layout.init was already called, please use Layout.create to add additional layouts.');
|
12156
12156
|
}
|
12157
|
+
if (this.wire.environment.type === 'openfin') {
|
12158
|
+
// preload the client
|
12159
|
+
await this.fin.Platform.getCurrentSync().getClient();
|
12160
|
+
}
|
12157
12161
|
__classPrivateFieldSet$3(this, _LayoutModule_layoutInitializationAttempted, true, "f");
|
12158
12162
|
// TODO: rename to createLayoutManager
|
12159
12163
|
__classPrivateFieldSet$3(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
|