@openfin/node-adapter 38.82.61 → 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.
- package/out/node-adapter.js +14 -2
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -6131,7 +6131,8 @@ class System extends base_1$i.EmitterBase {
|
|
6131
6131
|
return this.wire.sendAction('get-rvm-info').then(({ payload }) => payload.data);
|
6132
6132
|
}
|
6133
6133
|
/**
|
6134
|
-
* Retrieves system information.
|
6134
|
+
* Retrieves general system information. If you need more detailed information about the
|
6135
|
+
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
6135
6136
|
*
|
6136
6137
|
* @example
|
6137
6138
|
* ```js
|
@@ -6141,6 +6142,17 @@ class System extends base_1$i.EmitterBase {
|
|
6141
6142
|
getHostSpecs() {
|
6142
6143
|
return this.wire.sendAction('get-host-specs').then(({ payload }) => payload.data);
|
6143
6144
|
}
|
6145
|
+
/**
|
6146
|
+
* Retrieves information about the OS and the currently logged in user.
|
6147
|
+
*
|
6148
|
+
* @example
|
6149
|
+
* ```js
|
6150
|
+
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
6151
|
+
* ```
|
6152
|
+
*/
|
6153
|
+
getOSInfo() {
|
6154
|
+
return this.wire.sendAction('get-os-info').then(({ payload }) => payload.data);
|
6155
|
+
}
|
6144
6156
|
/**
|
6145
6157
|
* Runs an executable or batch file. A path to the file must be included in options.
|
6146
6158
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -17432,7 +17444,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17432
17444
|
};
|
17433
17445
|
}
|
17434
17446
|
getAdapterVersionSync() {
|
17435
|
-
return "38.82.
|
17447
|
+
return "38.82.62";
|
17436
17448
|
}
|
17437
17449
|
observeBounds(element, onChange) {
|
17438
17450
|
throw new Error('Method not implemented.');
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "38.82.
|
3
|
+
"version": "38.82.62",
|
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": "38.82.
|
26
|
+
"@openfin/core": "38.82.62",
|
27
27
|
"lodash": "^4.17.21",
|
28
28
|
"ws": "^7.3.0"
|
29
29
|
}
|