@openfin/node-adapter 40.82.26 → 40.82.27
Sign up to get free protection for your applications and to get access to all the features.
- package/out/node-adapter.js +21 -1
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -6910,6 +6910,22 @@ class System extends base_1$i.EmitterBase {
|
|
6910
6910
|
async setDomainSettings(domainSettings) {
|
6911
6911
|
await this.wire.sendAction('set-domain-settings', { domainSettings, ...this.identity });
|
6912
6912
|
}
|
6913
|
+
/**
|
6914
|
+
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
6915
|
+
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
6916
|
+
* will be installed/enabled.
|
6917
|
+
*/
|
6918
|
+
async refreshExtensions() {
|
6919
|
+
const { payload } = await this.wire.sendAction('refresh-extensions');
|
6920
|
+
return payload.data;
|
6921
|
+
}
|
6922
|
+
/**
|
6923
|
+
* Gets the currently-installed
|
6924
|
+
*/
|
6925
|
+
async getInstalledExtensions() {
|
6926
|
+
const { payload } = await this.wire.sendAction('get-installed-extensions');
|
6927
|
+
return payload.data;
|
6928
|
+
}
|
6913
6929
|
}
|
6914
6930
|
system.System = System;
|
6915
6931
|
|
@@ -12296,6 +12312,10 @@ class LayoutModule extends base_1$4.Base {
|
|
12296
12312
|
if (!allowedErrors.some((m) => e.message.includes(m))) {
|
12297
12313
|
throw e;
|
12298
12314
|
}
|
12315
|
+
// If a view is attached to provider window, return null
|
12316
|
+
if (layoutWindowIdentity.uuid === layoutWindowIdentity.name) {
|
12317
|
+
throw new Error(`View identity ${JSON.stringify(viewIdentity)} is not attached to any layout in provider window ${JSON.stringify(layoutWindowIdentity)}.`);
|
12318
|
+
}
|
12299
12319
|
// fallback logic for missing endpoint in older runtimes
|
12300
12320
|
return this.wrapSync(layoutWindowIdentity);
|
12301
12321
|
}
|
@@ -17727,7 +17747,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17727
17747
|
};
|
17728
17748
|
}
|
17729
17749
|
getAdapterVersionSync() {
|
17730
|
-
return "40.82.
|
17750
|
+
return "40.82.27";
|
17731
17751
|
}
|
17732
17752
|
observeBounds(element, onChange) {
|
17733
17753
|
throw new Error('Method not implemented.');
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "40.82.
|
3
|
+
"version": "40.82.27",
|
4
4
|
"description": "See README.md",
|
5
5
|
"main": "out/node-adapter.js",
|
6
6
|
"types": "out/node-adapter.d.ts",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"author": "OpenFin",
|
24
24
|
"dependencies": {
|
25
25
|
"@types/node": "^20.14.2",
|
26
|
-
"@openfin/core": "40.82.
|
26
|
+
"@openfin/core": "40.82.27",
|
27
27
|
"lodash": "^4.17.21",
|
28
28
|
"ws": "^7.3.0"
|
29
29
|
}
|