@openfin/remote-adapter 40.82.25 → 40.82.27
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 +20 -0
- package/package.json +2 -2
package/out/remote-adapter.js
CHANGED
|
@@ -11803,6 +11803,22 @@ class System extends base_1$d.EmitterBase {
|
|
|
11803
11803
|
async setDomainSettings(domainSettings) {
|
|
11804
11804
|
await this.wire.sendAction('set-domain-settings', { domainSettings, ...this.identity });
|
|
11805
11805
|
}
|
|
11806
|
+
/**
|
|
11807
|
+
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
|
11808
|
+
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
|
11809
|
+
* will be installed/enabled.
|
|
11810
|
+
*/
|
|
11811
|
+
async refreshExtensions() {
|
|
11812
|
+
const { payload } = await this.wire.sendAction('refresh-extensions');
|
|
11813
|
+
return payload.data;
|
|
11814
|
+
}
|
|
11815
|
+
/**
|
|
11816
|
+
* Gets the currently-installed
|
|
11817
|
+
*/
|
|
11818
|
+
async getInstalledExtensions() {
|
|
11819
|
+
const { payload } = await this.wire.sendAction('get-installed-extensions');
|
|
11820
|
+
return payload.data;
|
|
11821
|
+
}
|
|
11806
11822
|
}
|
|
11807
11823
|
system.System = System;
|
|
11808
11824
|
|
|
@@ -16823,6 +16839,10 @@ class LayoutModule extends base_1$3.Base {
|
|
|
16823
16839
|
if (!allowedErrors.some((m) => e.message.includes(m))) {
|
|
16824
16840
|
throw e;
|
|
16825
16841
|
}
|
|
16842
|
+
// If a view is attached to provider window, return null
|
|
16843
|
+
if (layoutWindowIdentity.uuid === layoutWindowIdentity.name) {
|
|
16844
|
+
throw new Error(`View identity ${JSON.stringify(viewIdentity)} is not attached to any layout in provider window ${JSON.stringify(layoutWindowIdentity)}.`);
|
|
16845
|
+
}
|
|
16826
16846
|
// fallback logic for missing endpoint in older runtimes
|
|
16827
16847
|
return this.wrapSync(layoutWindowIdentity);
|
|
16828
16848
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "40.82.
|
|
3
|
+
"version": "40.82.27",
|
|
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": "40.82.
|
|
22
|
+
"@openfin/core": "40.82.27"
|
|
23
23
|
}
|
|
24
24
|
}
|