@openfin/remote-adapter 36.79.11 → 36.79.13
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.
|
@@ -7638,7 +7638,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
|
7638
7638
|
* @interface
|
|
7639
7639
|
*/
|
|
7640
7640
|
declare type InteropBrokerOptions = {
|
|
7641
|
-
contextGroups?: ContextGroupInfo;
|
|
7641
|
+
contextGroups?: ContextGroupInfo[];
|
|
7642
7642
|
logging?: InteropLoggingOptions;
|
|
7643
7643
|
};
|
|
7644
7644
|
|
|
@@ -7638,7 +7638,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
|
7638
7638
|
* @interface
|
|
7639
7639
|
*/
|
|
7640
7640
|
declare type InteropBrokerOptions = {
|
|
7641
|
-
contextGroups?: ContextGroupInfo;
|
|
7641
|
+
contextGroups?: ContextGroupInfo[];
|
|
7642
7642
|
logging?: InteropLoggingOptions;
|
|
7643
7643
|
};
|
|
7644
7644
|
|
|
@@ -7638,7 +7638,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
|
7638
7638
|
* @interface
|
|
7639
7639
|
*/
|
|
7640
7640
|
declare type InteropBrokerOptions = {
|
|
7641
|
-
contextGroups?: ContextGroupInfo;
|
|
7641
|
+
contextGroups?: ContextGroupInfo[];
|
|
7642
7642
|
logging?: InteropLoggingOptions;
|
|
7643
7643
|
};
|
|
7644
7644
|
|
package/out/remote-adapter.d.ts
CHANGED
|
@@ -7731,7 +7731,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
|
7731
7731
|
* @interface
|
|
7732
7732
|
*/
|
|
7733
7733
|
declare type InteropBrokerOptions = {
|
|
7734
|
-
contextGroups?: ContextGroupInfo;
|
|
7734
|
+
contextGroups?: ContextGroupInfo[];
|
|
7735
7735
|
logging?: InteropLoggingOptions;
|
|
7736
7736
|
};
|
|
7737
7737
|
|
package/out/remote-adapter.js
CHANGED
|
@@ -12329,7 +12329,7 @@ var __classPrivateFieldSet$3 = (commonjsGlobal && commonjsGlobal.__classPrivateF
|
|
|
12329
12329
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12330
12330
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12331
12331
|
};
|
|
12332
|
-
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getSafeLayoutManager;
|
|
12332
|
+
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getLayoutManagerSpy, _LayoutModule_getSafeLayoutManager;
|
|
12333
12333
|
Object.defineProperty(Factory$2, "__esModule", { value: true });
|
|
12334
12334
|
Factory$2.LayoutModule = void 0;
|
|
12335
12335
|
const base_1$5 = base;
|
|
@@ -12401,10 +12401,31 @@ class LayoutModule extends base_1$5.Base {
|
|
|
12401
12401
|
// in single-layout case, we return the undocumented layoutManager type (deprecate with CORE-1081)
|
|
12402
12402
|
const layoutIdentity = { layoutName: layout_constants_1.DEFAULT_LAYOUT_KEY, ...this.fin.me.identity };
|
|
12403
12403
|
const layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$3(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
|
|
12404
|
-
return
|
|
12404
|
+
return __classPrivateFieldGet$3(this, _LayoutModule_getLayoutManagerSpy, "f").call(this, layoutIdentity, layoutManager);
|
|
12405
12405
|
}
|
|
12406
12406
|
return this.wrapSync(this.fin.me.identity);
|
|
12407
12407
|
};
|
|
12408
|
+
_LayoutModule_getLayoutManagerSpy.set(this, (layoutIdentity, layoutManager) => {
|
|
12409
|
+
const msg = '[Layout] You are using a deprecated property `layoutManager` - it will be removed in v39.';
|
|
12410
|
+
const managerProxy = new Proxy(layoutManager, {
|
|
12411
|
+
get(target, key) {
|
|
12412
|
+
console.warn(`[Layout-mgr-proxy] accessing ${key.toString()}`);
|
|
12413
|
+
console.warn(msg);
|
|
12414
|
+
return target[key];
|
|
12415
|
+
}
|
|
12416
|
+
});
|
|
12417
|
+
const layout = Object.assign(this.wrapSync(layoutIdentity), { layoutManager: managerProxy });
|
|
12418
|
+
const layoutProxy = new Proxy(layout, {
|
|
12419
|
+
get(target, key) {
|
|
12420
|
+
if (key === 'layoutManager') {
|
|
12421
|
+
console.warn(`[Layout-proxy] accessing ${key.toString()}`);
|
|
12422
|
+
console.warn(msg);
|
|
12423
|
+
}
|
|
12424
|
+
return target[key];
|
|
12425
|
+
}
|
|
12426
|
+
});
|
|
12427
|
+
return layoutProxy;
|
|
12428
|
+
});
|
|
12408
12429
|
/**
|
|
12409
12430
|
* Returns the layout manager for the current window
|
|
12410
12431
|
* @returns
|
|
@@ -12514,7 +12535,7 @@ class LayoutModule extends base_1$5.Base {
|
|
|
12514
12535
|
}
|
|
12515
12536
|
}
|
|
12516
12537
|
Factory$2.LayoutModule = LayoutModule;
|
|
12517
|
-
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_getSafeLayoutManager = function _LayoutModule_getSafeLayoutManager(method) {
|
|
12538
|
+
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_getLayoutManagerSpy = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_getSafeLayoutManager = function _LayoutModule_getSafeLayoutManager(method) {
|
|
12518
12539
|
if (!__classPrivateFieldGet$3(this, _LayoutModule_layoutManager, "f")) {
|
|
12519
12540
|
throw new Error(`You must call init before using the API ${method}`);
|
|
12520
12541
|
}
|