@openfin/node-adapter 40.82.2 → 40.82.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6128,7 +6128,8 @@ class System extends base_1$i.EmitterBase {
6128
6128
  return this.wire.sendAction('get-rvm-info').then(({ payload }) => payload.data);
6129
6129
  }
6130
6130
  /**
6131
- * Retrieves system information.
6131
+ * Retrieves general system information. If you need more detailed information about the
6132
+ * OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
6132
6133
  *
6133
6134
  * @example
6134
6135
  * ```js
@@ -6138,6 +6139,17 @@ class System extends base_1$i.EmitterBase {
6138
6139
  getHostSpecs() {
6139
6140
  return this.wire.sendAction('get-host-specs').then(({ payload }) => payload.data);
6140
6141
  }
6142
+ /**
6143
+ * Retrieves information about the OS and the currently logged in user.
6144
+ *
6145
+ * @example
6146
+ * ```js
6147
+ * fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
6148
+ * ```
6149
+ */
6150
+ getOSInfo() {
6151
+ return this.wire.sendAction('get-os-info').then(({ payload }) => payload.data);
6152
+ }
6141
6153
  /**
6142
6154
  * Runs an executable or batch file. A path to the file must be included in options.
6143
6155
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
@@ -17429,7 +17441,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17429
17441
  };
17430
17442
  }
17431
17443
  getAdapterVersionSync() {
17432
- return "40.82.2";
17444
+ return "40.82.5";
17433
17445
  }
17434
17446
  observeBounds(element, onChange) {
17435
17447
  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.2",
3
+ "version": "40.82.5",
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.2",
26
+ "@openfin/core": "40.82.5",
27
27
  "lodash": "^4.17.21",
28
28
  "ws": "^7.3.0"
29
29
  }