@openfin/remote-adapter 38.82.60 → 38.82.62

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.
@@ -10972,7 +10972,8 @@ class System extends base_1$d.EmitterBase {
10972
10972
  return this.wire.sendAction('get-rvm-info').then(({ payload }) => payload.data);
10973
10973
  }
10974
10974
  /**
10975
- * Retrieves system information.
10975
+ * Retrieves general system information. If you need more detailed information about the
10976
+ * OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
10976
10977
  *
10977
10978
  * @example
10978
10979
  * ```js
@@ -10982,6 +10983,17 @@ class System extends base_1$d.EmitterBase {
10982
10983
  getHostSpecs() {
10983
10984
  return this.wire.sendAction('get-host-specs').then(({ payload }) => payload.data);
10984
10985
  }
10986
+ /**
10987
+ * Retrieves information about the OS and the currently logged in user.
10988
+ *
10989
+ * @example
10990
+ * ```js
10991
+ * fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
10992
+ * ```
10993
+ */
10994
+ getOSInfo() {
10995
+ return this.wire.sendAction('get-os-info').then(({ payload }) => payload.data);
10996
+ }
10985
10997
  /**
10986
10998
  * Runs an executable or batch file. A path to the file must be included in options.
10987
10999
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "38.82.60",
3
+ "version": "38.82.62",
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": "38.82.60"
22
+ "@openfin/core": "38.82.62"
23
23
  }
24
24
  }