@openfin/remote-adapter 36.80.11 → 36.80.25
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-alpha.d.ts +156 -1078
- package/out/remote-adapter-beta.d.ts +156 -1078
- package/out/remote-adapter-public.d.ts +156 -1078
- package/out/remote-adapter.d.ts +156 -1078
- package/out/remote-adapter.js +8 -3
- package/package.json +2 -2
package/out/remote-adapter.js
CHANGED
|
@@ -6926,7 +6926,7 @@ function requireInstance$1 () {
|
|
|
6926
6926
|
// don't expose
|
|
6927
6927
|
});
|
|
6928
6928
|
const opts = await this.getOptions();
|
|
6929
|
-
if (!opts.layout
|
|
6929
|
+
if (!opts.layout && !opts.layoutSnapshot) {
|
|
6930
6930
|
throw new Error('Window does not have a Layout');
|
|
6931
6931
|
}
|
|
6932
6932
|
return this.fin.Platform.Layout.wrap(layoutIdentity ?? this.identity);
|
|
@@ -8230,9 +8230,14 @@ function requireInstance () {
|
|
|
8230
8230
|
// don't expose
|
|
8231
8231
|
});
|
|
8232
8232
|
const layoutWindow = await this.getCurrentWindow();
|
|
8233
|
+
let layoutWindowIdentity = layoutWindow.identity;
|
|
8234
|
+
// TODO: CORE-1857 - when we tearout active layout or drag a view out of a window, the above identity includes the whole window info.
|
|
8235
|
+
if (layoutWindowIdentity.identity) {
|
|
8236
|
+
layoutWindowIdentity = layoutWindowIdentity.identity;
|
|
8237
|
+
}
|
|
8233
8238
|
try {
|
|
8234
8239
|
const providerChannelClient = await __classPrivateFieldGet(this, _View_providerChannelClient, "f").getValue();
|
|
8235
|
-
const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID,
|
|
8240
|
+
const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID, layoutWindowIdentity);
|
|
8236
8241
|
const layoutIdentity = await client.getLayoutIdentityForViewOrThrow(this.identity);
|
|
8237
8242
|
return this.fin.Platform.Layout.wrap(layoutIdentity);
|
|
8238
8243
|
}
|
|
@@ -8245,7 +8250,7 @@ function requireInstance () {
|
|
|
8245
8250
|
throw e;
|
|
8246
8251
|
}
|
|
8247
8252
|
// fallback logic for missing endpoint
|
|
8248
|
-
return this.fin.Platform.Layout.wrap(
|
|
8253
|
+
return this.fin.Platform.Layout.wrap(layoutWindowIdentity);
|
|
8249
8254
|
}
|
|
8250
8255
|
};
|
|
8251
8256
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "36.80.
|
|
3
|
+
"version": "36.80.25",
|
|
4
4
|
"description": "Establish intermachine runtime connections using webRTC.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"private": false,
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@rollup/plugin-commonjs": "25.0.2",
|
|
21
21
|
"@rollup/plugin-node-resolve": "15.1.0",
|
|
22
22
|
"@rollup/plugin-typescript": "11.1.1",
|
|
23
|
-
"@types/node": "^20.
|
|
23
|
+
"@types/node": "^20.14.2",
|
|
24
24
|
"rollup": "3.24.1",
|
|
25
25
|
"typescript": "4.9.5"
|
|
26
26
|
},
|