@openfin/remote-adapter 38.83.76 → 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.
@@ -10819,7 +10819,9 @@ class System extends base_1$d.EmitterBase {
10819
10819
  .then(({ payload }) => payload.data);
10820
10820
  }
10821
10821
  /**
10822
- * Get current focused window.
10822
+ * Get currently focused Window.
10823
+ * If a View currently has focus, returns the identity of View's parent Window.
10824
+ * Use {@link Window._Window#getFocusedContent Window.getFocusedContent} to directly access currently focused Window or View.
10823
10825
  *
10824
10826
  * @example
10825
10827
  * ```js
@@ -10829,6 +10831,17 @@ class System extends base_1$d.EmitterBase {
10829
10831
  getFocusedWindow() {
10830
10832
  return this.wire.sendAction('get-focused-window').then(({ payload }) => payload.data);
10831
10833
  }
10834
+ /**
10835
+ * Get currently focused content. Returns identity of entity with `entityType`.
10836
+ *
10837
+ * @example
10838
+ * ```js
10839
+ * fin.System.getFocusedContent().then(contentIdentity => console.log(contentIdentity)).catch(err => console.log(err));
10840
+ * ```
10841
+ */
10842
+ getFocusedContent() {
10843
+ return this.wire.sendAction('get-focused-content').then(({ payload }) => payload.data);
10844
+ }
10832
10845
  /**
10833
10846
  * Returns information about the given app's certification status
10834
10847
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "38.83.76",
3
+ "version": "38.83.77",
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.83.76"
22
+ "@openfin/core": "38.83.77"
23
23
  }
24
24
  }