@openfin/node-adapter 38.83.75 → 38.83.77
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 +21 -8
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -1978,7 +1978,7 @@ class WebContents extends base_1$j.EmitterBase {
|
|
1978
1978
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
1979
1979
|
* });
|
1980
1980
|
*
|
1981
|
-
* await view.navigate('
|
1981
|
+
* await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
|
1982
1982
|
*
|
1983
1983
|
* const sharedWorkers = await view.getSharedWorkers();
|
1984
1984
|
* ```
|
@@ -1989,7 +1989,7 @@ class WebContents extends base_1$j.EmitterBase {
|
|
1989
1989
|
* name:'child',
|
1990
1990
|
* defaultWidth: 300,
|
1991
1991
|
* defaultHeight: 300,
|
1992
|
-
* url: '
|
1992
|
+
* url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
|
1993
1993
|
* frame: true,
|
1994
1994
|
* autoShow: true
|
1995
1995
|
* };
|
@@ -2016,7 +2016,7 @@ class WebContents extends base_1$j.EmitterBase {
|
|
2016
2016
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
2017
2017
|
* });
|
2018
2018
|
*
|
2019
|
-
* await view.navigate('
|
2019
|
+
* await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
|
2020
2020
|
*
|
2021
2021
|
* await view.inspectSharedWorker();
|
2022
2022
|
* ```
|
@@ -2027,7 +2027,7 @@ class WebContents extends base_1$j.EmitterBase {
|
|
2027
2027
|
* name:'child',
|
2028
2028
|
* defaultWidth: 300,
|
2029
2029
|
* defaultHeight: 300,
|
2030
|
-
* url: '
|
2030
|
+
* url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
|
2031
2031
|
* frame: true,
|
2032
2032
|
* autoShow: true
|
2033
2033
|
* };
|
@@ -2055,7 +2055,7 @@ class WebContents extends base_1$j.EmitterBase {
|
|
2055
2055
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
2056
2056
|
* });
|
2057
2057
|
*
|
2058
|
-
* await view.navigate('
|
2058
|
+
* await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
|
2059
2059
|
*
|
2060
2060
|
* const sharedWorkers = await view.getSharedWorkers();
|
2061
2061
|
* await view.inspectSharedWorkerById(sharedWorkers[0].id);
|
@@ -2067,7 +2067,7 @@ class WebContents extends base_1$j.EmitterBase {
|
|
2067
2067
|
* name:'child',
|
2068
2068
|
* defaultWidth: 300,
|
2069
2069
|
* defaultHeight: 300,
|
2070
|
-
* url: '
|
2070
|
+
* url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
|
2071
2071
|
* frame: true,
|
2072
2072
|
* autoShow: true
|
2073
2073
|
* };
|
@@ -5937,7 +5937,9 @@ class System extends base_1$i.EmitterBase {
|
|
5937
5937
|
.then(({ payload }) => payload.data);
|
5938
5938
|
}
|
5939
5939
|
/**
|
5940
|
-
* Get
|
5940
|
+
* Get currently focused Window.
|
5941
|
+
* If a View currently has focus, returns the identity of View's parent Window.
|
5942
|
+
* Use {@link Window._Window#getFocusedContent Window.getFocusedContent} to directly access currently focused Window or View.
|
5941
5943
|
*
|
5942
5944
|
* @example
|
5943
5945
|
* ```js
|
@@ -5947,6 +5949,17 @@ class System extends base_1$i.EmitterBase {
|
|
5947
5949
|
getFocusedWindow() {
|
5948
5950
|
return this.wire.sendAction('get-focused-window').then(({ payload }) => payload.data);
|
5949
5951
|
}
|
5952
|
+
/**
|
5953
|
+
* Get currently focused content. Returns identity of entity with `entityType`.
|
5954
|
+
*
|
5955
|
+
* @example
|
5956
|
+
* ```js
|
5957
|
+
* fin.System.getFocusedContent().then(contentIdentity => console.log(contentIdentity)).catch(err => console.log(err));
|
5958
|
+
* ```
|
5959
|
+
*/
|
5960
|
+
getFocusedContent() {
|
5961
|
+
return this.wire.sendAction('get-focused-content').then(({ payload }) => payload.data);
|
5962
|
+
}
|
5950
5963
|
/**
|
5951
5964
|
* Returns information about the given app's certification status
|
5952
5965
|
*
|
@@ -17509,7 +17522,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17509
17522
|
};
|
17510
17523
|
}
|
17511
17524
|
getAdapterVersionSync() {
|
17512
|
-
return "38.83.
|
17525
|
+
return "38.83.77";
|
17513
17526
|
}
|
17514
17527
|
observeBounds(element, onChange) {
|
17515
17528
|
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.83.
|
3
|
+
"version": "38.83.77",
|
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.83.
|
26
|
+
"@openfin/core": "38.83.77",
|
27
27
|
"lodash": "^4.17.21",
|
28
28
|
"ws": "^7.3.0"
|
29
29
|
}
|