@openfin/remote-adapter 41.100.27 → 41.100.29

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.
@@ -5934,6 +5934,21 @@ class WebContents extends base_1$i.EmitterBase {
5934
5934
  });
5935
5935
  return payload.data;
5936
5936
  }
5937
+ /**
5938
+ *
5939
+ * Get the screen capture permission for this content.
5940
+ *
5941
+ * @example
5942
+ * ```js
5943
+ * const { permission } = await fin.me.getScreenCapturePermission();
5944
+ *
5945
+ * console.log(`This content is currently ${permission}ed in screen captures.`);
5946
+ *
5947
+ * ```
5948
+ */
5949
+ async getScreenCapturePermission() {
5950
+ return (await this.wire.sendAction('get-screen-capture-permissions', this.identity)).payload.data;
5951
+ }
5937
5952
  }
5938
5953
  main.WebContents = WebContents;
5939
5954
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "41.100.27",
3
+ "version": "41.100.29",
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": "41.100.27"
23
+ "@openfin/core": "41.100.29"
24
24
  }
25
25
  }