@openfin/remote-adapter 38.82.63 → 38.82.64
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/remote-adapter.js +7 -2
- package/package.json +2 -2
package/out/remote-adapter.js
CHANGED
|
@@ -9438,9 +9438,14 @@ function requireInstance () {
|
|
|
9438
9438
|
// don't expose
|
|
9439
9439
|
});
|
|
9440
9440
|
const layoutWindow = await this.getCurrentWindow();
|
|
9441
|
+
let layoutWindowIdentity = layoutWindow.identity;
|
|
9442
|
+
// TODO: CORE-1857 - when we tearout active layout or drag a view out of a window, the above identity includes the whole window info.
|
|
9443
|
+
if (layoutWindowIdentity.identity) {
|
|
9444
|
+
layoutWindowIdentity = layoutWindowIdentity.identity;
|
|
9445
|
+
}
|
|
9441
9446
|
try {
|
|
9442
9447
|
const providerChannelClient = await __classPrivateFieldGet(this, _View_providerChannelClient, "f").getValue();
|
|
9443
|
-
const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID,
|
|
9448
|
+
const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID, layoutWindowIdentity);
|
|
9444
9449
|
const layoutIdentity = await client.getLayoutIdentityForViewOrThrow(this.identity);
|
|
9445
9450
|
return this.fin.Platform.Layout.wrap(layoutIdentity);
|
|
9446
9451
|
}
|
|
@@ -9453,7 +9458,7 @@ function requireInstance () {
|
|
|
9453
9458
|
throw e;
|
|
9454
9459
|
}
|
|
9455
9460
|
// fallback logic for missing endpoint
|
|
9456
|
-
return this.fin.Platform.Layout.wrap(
|
|
9461
|
+
return this.fin.Platform.Layout.wrap(layoutWindowIdentity);
|
|
9457
9462
|
}
|
|
9458
9463
|
};
|
|
9459
9464
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "38.82.
|
|
3
|
+
"version": "38.82.64",
|
|
4
4
|
"description": "Establish intermachine runtime connections using webRTC.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"private": false,
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"author": "OpenFin",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
|
-
"@openfin/core": "38.82.
|
|
22
|
+
"@openfin/core": "38.82.64"
|
|
23
23
|
}
|
|
24
24
|
}
|