@openfin/remote-adapter 40.83.7 → 40.83.8
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/remote-adapter.js +14 -1
- package/package.json +2 -2
package/out/remote-adapter.js
CHANGED
|
@@ -10230,7 +10230,9 @@ class System extends base_1$d.EmitterBase {
|
|
|
10230
10230
|
.then(({ payload }) => payload.data);
|
|
10231
10231
|
}
|
|
10232
10232
|
/**
|
|
10233
|
-
* Get
|
|
10233
|
+
* Get currently focused Window.
|
|
10234
|
+
* If a View currently has focus, returns the identity of View's parent Window.
|
|
10235
|
+
* Use {@link Window._Window#getFocusedContent Window.getFocusedContent} to directly access currently focused Window or View.
|
|
10234
10236
|
*
|
|
10235
10237
|
* @example
|
|
10236
10238
|
* ```js
|
|
@@ -10240,6 +10242,17 @@ class System extends base_1$d.EmitterBase {
|
|
|
10240
10242
|
getFocusedWindow() {
|
|
10241
10243
|
return this.wire.sendAction('get-focused-window').then(({ payload }) => payload.data);
|
|
10242
10244
|
}
|
|
10245
|
+
/**
|
|
10246
|
+
* Get currently focused content. Returns identity of entity with `entityType`.
|
|
10247
|
+
*
|
|
10248
|
+
* @example
|
|
10249
|
+
* ```js
|
|
10250
|
+
* fin.System.getFocusedContent().then(contentIdentity => console.log(contentIdentity)).catch(err => console.log(err));
|
|
10251
|
+
* ```
|
|
10252
|
+
*/
|
|
10253
|
+
getFocusedContent() {
|
|
10254
|
+
return this.wire.sendAction('get-focused-content').then(({ payload }) => payload.data);
|
|
10255
|
+
}
|
|
10243
10256
|
/**
|
|
10244
10257
|
* Returns information about the given app's certification status
|
|
10245
10258
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "40.83.
|
|
3
|
+
"version": "40.83.8",
|
|
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.83.
|
|
22
|
+
"@openfin/core": "40.83.8"
|
|
23
23
|
}
|
|
24
24
|
}
|