@openfin/node-adapter 40.102.2 → 40.103.1
Sign up to get free protection for your applications and to get access to all the features.
- package/out/node-adapter.js +16 -1
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -1859,6 +1859,21 @@ class WebContents extends base_1$j.EmitterBase {
|
|
1859
1859
|
});
|
1860
1860
|
return payload.data;
|
1861
1861
|
}
|
1862
|
+
/**
|
1863
|
+
*
|
1864
|
+
* Get the screen capture permission for this content.
|
1865
|
+
*
|
1866
|
+
* @example
|
1867
|
+
* ```js
|
1868
|
+
* const { permission } = await fin.me.getScreenCapturePermission();
|
1869
|
+
*
|
1870
|
+
* console.log(`This content is currently ${permission}ed in screen captures.`);
|
1871
|
+
*
|
1872
|
+
* ```
|
1873
|
+
*/
|
1874
|
+
async getScreenCapturePermission() {
|
1875
|
+
return (await this.wire.sendAction('get-screen-capture-permissions', this.identity)).payload.data;
|
1876
|
+
}
|
1862
1877
|
}
|
1863
1878
|
main.WebContents = WebContents;
|
1864
1879
|
|
@@ -17786,7 +17801,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17786
17801
|
};
|
17787
17802
|
}
|
17788
17803
|
getAdapterVersionSync() {
|
17789
|
-
return "40.
|
17804
|
+
return "40.103.1";
|
17790
17805
|
}
|
17791
17806
|
observeBounds(element, onChange) {
|
17792
17807
|
throw new Error('Method not implemented.');
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "40.
|
3
|
+
"version": "40.103.1",
|
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": "40.
|
27
|
+
"@openfin/core": "40.103.1",
|
28
28
|
"lodash": "^4.17.21",
|
29
29
|
"ws": "^7.3.0"
|
30
30
|
}
|