@openfin/node-adapter 39.83.5 → 39.83.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -6811,6 +6811,22 @@ class System extends base_1$i.EmitterBase {
6811
6811
  async setDomainSettings(domainSettings) {
6812
6812
  await this.wire.sendAction('set-domain-settings', { domainSettings, ...this.identity });
6813
6813
  }
6814
+ /**
6815
+ * Attempts to install and enable extensions for the security realm. Users may want to call this function in response
6816
+ * to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
6817
+ * will be installed/enabled.
6818
+ */
6819
+ async refreshExtensions() {
6820
+ const { payload } = await this.wire.sendAction('refresh-extensions');
6821
+ return payload.data;
6822
+ }
6823
+ /**
6824
+ * Gets the currently-installed
6825
+ */
6826
+ async getInstalledExtensions() {
6827
+ const { payload } = await this.wire.sendAction('get-installed-extensions');
6828
+ return payload.data;
6829
+ }
6814
6830
  }
6815
6831
  system.System = System;
6816
6832
 
@@ -17569,7 +17585,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17569
17585
  };
17570
17586
  }
17571
17587
  getAdapterVersionSync() {
17572
- return "39.83.5";
17588
+ return "39.83.7";
17573
17589
  }
17574
17590
  observeBounds(element, onChange) {
17575
17591
  throw new Error('Method not implemented.');
@@ -18010,7 +18026,7 @@ async function loadConfig(config) {
18010
18026
  return await readLocalConfig(config.manifestUrl);
18011
18027
  }
18012
18028
  catch (error) {
18013
- throw new Error(`Could not locate JSON at supplied manifestUrl: ${config.manifestUrl}`);
18029
+ throw new Error(`Could not fetch and read local JSON at supplied manifestUrl: ${config.manifestUrl} Error caught: ${error.stack}`);
18014
18030
  }
18015
18031
  }
18016
18032
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "39.83.5",
3
+ "version": "39.83.7",
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": "39.83.5",
26
+ "@openfin/core": "39.83.7",
27
27
  "lodash": "^4.17.21",
28
28
  "ws": "^7.3.0"
29
29
  }