@openfin/remote-adapter 40.82.1 → 40.82.3

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.
@@ -10969,7 +10969,8 @@ class System extends base_1$d.EmitterBase {
10969
10969
  return this.wire.sendAction('get-rvm-info').then(({ payload }) => payload.data);
10970
10970
  }
10971
10971
  /**
10972
- * Retrieves system information.
10972
+ * Retrieves general system information. If you need more detailed information about the
10973
+ * OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
10973
10974
  *
10974
10975
  * @example
10975
10976
  * ```js
@@ -10979,6 +10980,17 @@ class System extends base_1$d.EmitterBase {
10979
10980
  getHostSpecs() {
10980
10981
  return this.wire.sendAction('get-host-specs').then(({ payload }) => payload.data);
10981
10982
  }
10983
+ /**
10984
+ * Retrieves information about the OS and the currently logged in user.
10985
+ *
10986
+ * @example
10987
+ * ```js
10988
+ * fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
10989
+ * ```
10990
+ */
10991
+ getOSInfo() {
10992
+ return this.wire.sendAction('get-os-info').then(({ payload }) => payload.data);
10993
+ }
10982
10994
  /**
10983
10995
  * Runs an executable or batch file. A path to the file must be included in options.
10984
10996
  * <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": "40.82.1",
3
+ "version": "40.82.3",
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.1"
22
+ "@openfin/core": "40.82.3"
23
23
  }
24
24
  }