@openfin/remote-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.
@@ -6073,7 +6073,7 @@ class WebContents extends base_1$i.EmitterBase {
6073
6073
  * bounds: {top: 10, left: 10, width: 200, height: 200}
6074
6074
  * });
6075
6075
  *
6076
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
6076
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
6077
6077
  *
6078
6078
  * const sharedWorkers = await view.getSharedWorkers();
6079
6079
  * ```
@@ -6084,7 +6084,7 @@ class WebContents extends base_1$i.EmitterBase {
6084
6084
  * name:'child',
6085
6085
  * defaultWidth: 300,
6086
6086
  * defaultHeight: 300,
6087
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
6087
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
6088
6088
  * frame: true,
6089
6089
  * autoShow: true
6090
6090
  * };
@@ -6111,7 +6111,7 @@ class WebContents extends base_1$i.EmitterBase {
6111
6111
  * bounds: {top: 10, left: 10, width: 200, height: 200}
6112
6112
  * });
6113
6113
  *
6114
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
6114
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
6115
6115
  *
6116
6116
  * await view.inspectSharedWorker();
6117
6117
  * ```
@@ -6122,7 +6122,7 @@ class WebContents extends base_1$i.EmitterBase {
6122
6122
  * name:'child',
6123
6123
  * defaultWidth: 300,
6124
6124
  * defaultHeight: 300,
6125
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
6125
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
6126
6126
  * frame: true,
6127
6127
  * autoShow: true
6128
6128
  * };
@@ -6150,7 +6150,7 @@ class WebContents extends base_1$i.EmitterBase {
6150
6150
  * bounds: {top: 10, left: 10, width: 200, height: 200}
6151
6151
  * });
6152
6152
  *
6153
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
6153
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
6154
6154
  *
6155
6155
  * const sharedWorkers = await view.getSharedWorkers();
6156
6156
  * await view.inspectSharedWorkerById(sharedWorkers[0].id);
@@ -6162,7 +6162,7 @@ class WebContents extends base_1$i.EmitterBase {
6162
6162
  * name:'child',
6163
6163
  * defaultWidth: 300,
6164
6164
  * defaultHeight: 300,
6165
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
6165
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
6166
6166
  * frame: true,
6167
6167
  * autoShow: true
6168
6168
  * };
@@ -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.75",
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.75"
22
+ "@openfin/core": "38.83.77"
23
23
  }
24
24
  }