@openfin/node-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.
@@ -7603,7 +7603,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7603
7603
|
* @interface
|
7604
7604
|
*/
|
7605
7605
|
declare type InteropBrokerOptions = {
|
7606
|
-
contextGroups?: ContextGroupInfo;
|
7606
|
+
contextGroups?: ContextGroupInfo[];
|
7607
7607
|
logging?: InteropLoggingOptions;
|
7608
7608
|
};
|
7609
7609
|
|
@@ -7603,7 +7603,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7603
7603
|
* @interface
|
7604
7604
|
*/
|
7605
7605
|
declare type InteropBrokerOptions = {
|
7606
|
-
contextGroups?: ContextGroupInfo;
|
7606
|
+
contextGroups?: ContextGroupInfo[];
|
7607
7607
|
logging?: InteropLoggingOptions;
|
7608
7608
|
};
|
7609
7609
|
|
@@ -7603,7 +7603,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7603
7603
|
* @interface
|
7604
7604
|
*/
|
7605
7605
|
declare type InteropBrokerOptions = {
|
7606
|
-
contextGroups?: ContextGroupInfo;
|
7606
|
+
contextGroups?: ContextGroupInfo[];
|
7607
7607
|
logging?: InteropLoggingOptions;
|
7608
7608
|
};
|
7609
7609
|
|
package/out/node-adapter.d.ts
CHANGED
@@ -7718,7 +7718,7 @@ declare type InteropBrokerDisconnectionEvent = {
|
|
7718
7718
|
* @interface
|
7719
7719
|
*/
|
7720
7720
|
declare type InteropBrokerOptions = {
|
7721
|
-
contextGroups?: ContextGroupInfo;
|
7721
|
+
contextGroups?: ContextGroupInfo[];
|
7722
7722
|
logging?: InteropLoggingOptions;
|
7723
7723
|
};
|
7724
7724
|
|
package/out/node-adapter.js
CHANGED
@@ -11735,7 +11735,7 @@ var __classPrivateFieldSet$4 = (commonjsGlobal && commonjsGlobal.__classPrivateF
|
|
11735
11735
|
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");
|
11736
11736
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
11737
11737
|
};
|
11738
|
-
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getSafeLayoutManager;
|
11738
|
+
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getLayoutManagerSpy, _LayoutModule_getSafeLayoutManager;
|
11739
11739
|
Object.defineProperty(Factory$2, "__esModule", { value: true });
|
11740
11740
|
Factory$2.LayoutModule = void 0;
|
11741
11741
|
const base_1$5 = base$1;
|
@@ -11807,10 +11807,31 @@ class LayoutModule extends base_1$5.Base {
|
|
11807
11807
|
// in single-layout case, we return the undocumented layoutManager type (deprecate with CORE-1081)
|
11808
11808
|
const layoutIdentity = { layoutName: layout_constants_1.DEFAULT_LAYOUT_KEY, ...this.fin.me.identity };
|
11809
11809
|
const layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
|
11810
|
-
return
|
11810
|
+
return __classPrivateFieldGet$4(this, _LayoutModule_getLayoutManagerSpy, "f").call(this, layoutIdentity, layoutManager);
|
11811
11811
|
}
|
11812
11812
|
return this.wrapSync(this.fin.me.identity);
|
11813
11813
|
};
|
11814
|
+
_LayoutModule_getLayoutManagerSpy.set(this, (layoutIdentity, layoutManager) => {
|
11815
|
+
const msg = '[Layout] You are using a deprecated property `layoutManager` - it will be removed in v39.';
|
11816
|
+
const managerProxy = new Proxy(layoutManager, {
|
11817
|
+
get(target, key) {
|
11818
|
+
console.warn(`[Layout-mgr-proxy] accessing ${key.toString()}`);
|
11819
|
+
console.warn(msg);
|
11820
|
+
return target[key];
|
11821
|
+
}
|
11822
|
+
});
|
11823
|
+
const layout = Object.assign(this.wrapSync(layoutIdentity), { layoutManager: managerProxy });
|
11824
|
+
const layoutProxy = new Proxy(layout, {
|
11825
|
+
get(target, key) {
|
11826
|
+
if (key === 'layoutManager') {
|
11827
|
+
console.warn(`[Layout-proxy] accessing ${key.toString()}`);
|
11828
|
+
console.warn(msg);
|
11829
|
+
}
|
11830
|
+
return target[key];
|
11831
|
+
}
|
11832
|
+
});
|
11833
|
+
return layoutProxy;
|
11834
|
+
});
|
11814
11835
|
/**
|
11815
11836
|
* Returns the layout manager for the current window
|
11816
11837
|
* @returns
|
@@ -11920,7 +11941,7 @@ class LayoutModule extends base_1$5.Base {
|
|
11920
11941
|
}
|
11921
11942
|
}
|
11922
11943
|
Factory$2.LayoutModule = LayoutModule;
|
11923
|
-
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_getSafeLayoutManager = function _LayoutModule_getSafeLayoutManager(method) {
|
11944
|
+
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_getLayoutManagerSpy = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_getSafeLayoutManager = function _LayoutModule_getSafeLayoutManager(method) {
|
11924
11945
|
if (!__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")) {
|
11925
11946
|
throw new Error(`You must call init before using the API ${method}`);
|
11926
11947
|
}
|