@openfin/node-adapter 41.100.28 → 41.100.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -1835,6 +1835,21 @@ class WebContents extends base_1$j.EmitterBase {
1835
1835
  });
1836
1836
  return payload.data;
1837
1837
  }
1838
+ /**
1839
+ *
1840
+ * Get the screen capture permission for this content.
1841
+ *
1842
+ * @example
1843
+ * ```js
1844
+ * const { permission } = await fin.me.getScreenCapturePermission();
1845
+ *
1846
+ * console.log(`This content is currently ${permission}ed in screen captures.`);
1847
+ *
1848
+ * ```
1849
+ */
1850
+ async getScreenCapturePermission() {
1851
+ return (await this.wire.sendAction('get-screen-capture-permissions', this.identity)).payload.data;
1852
+ }
1838
1853
  }
1839
1854
  main.WebContents = WebContents;
1840
1855
 
@@ -17780,7 +17795,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17780
17795
  };
17781
17796
  }
17782
17797
  getAdapterVersionSync() {
17783
- return "41.100.28";
17798
+ return "41.100.29";
17784
17799
  }
17785
17800
  observeBounds(element, onChange) {
17786
17801
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "41.100.28",
3
+ "version": "41.100.29",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -24,7 +24,7 @@
24
24
  "author": "OpenFin",
25
25
  "dependencies": {
26
26
  "@types/node": "^20.14.2",
27
- "@openfin/core": "41.100.28",
27
+ "@openfin/core": "41.100.29",
28
28
  "lodash": "^4.17.21",
29
29
  "ws": "^7.3.0"
30
30
  }