@openfin/remote-adapter 40.102.2 → 40.103.4

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.
@@ -5933,6 +5933,21 @@ class WebContents extends base_1$i.EmitterBase {
5933
5933
  });
5934
5934
  return payload.data;
5935
5935
  }
5936
+ /**
5937
+ *
5938
+ * Get the screen capture permission for this content.
5939
+ *
5940
+ * @example
5941
+ * ```js
5942
+ * const { permission } = await fin.me.getScreenCapturePermission();
5943
+ *
5944
+ * console.log(`This content is currently ${permission}ed in screen captures.`);
5945
+ *
5946
+ * ```
5947
+ */
5948
+ async getScreenCapturePermission() {
5949
+ return (await this.wire.sendAction('get-screen-capture-permissions', this.identity)).payload.data;
5950
+ }
5936
5951
  }
5937
5952
  main.WebContents = WebContents;
5938
5953
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "40.102.2",
3
+ "version": "40.103.4",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -20,6 +20,6 @@
20
20
  "author": "OpenFin",
21
21
  "dependencies": {
22
22
  "lodash": "^4.17.21",
23
- "@openfin/core": "40.102.2"
23
+ "@openfin/core": "40.103.4"
24
24
  }
25
25
  }