electron 13.5.2 → 13.6.3
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.
- package/electron.d.ts +7 -3
- package/package.json +1 -1
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 13.
|
|
1
|
+
// Type definitions for Electron 13.6.3
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/electron-typescript-definitions
|
|
@@ -2254,9 +2254,9 @@ Calling `event.preventDefault()` will prevent the menu from being displayed.
|
|
|
2254
2254
|
*/
|
|
2255
2255
|
getOpacity(): number;
|
|
2256
2256
|
/**
|
|
2257
|
-
* The parent window.
|
|
2257
|
+
* The parent window or `null` if there is no parent.
|
|
2258
2258
|
*/
|
|
2259
|
-
getParentWindow(): BrowserWindow;
|
|
2259
|
+
getParentWindow(): (BrowserWindow) | (null);
|
|
2260
2260
|
/**
|
|
2261
2261
|
* Contains the window's current position.
|
|
2262
2262
|
*/
|
|
@@ -13832,6 +13832,10 @@ See webContents.sendInputEvent for detailed description of `event` object.
|
|
|
13832
13832
|
* The url of the `openExternal` request.
|
|
13833
13833
|
*/
|
|
13834
13834
|
externalURL?: string;
|
|
13835
|
+
/**
|
|
13836
|
+
* The security origin of the `media` request.
|
|
13837
|
+
*/
|
|
13838
|
+
securityOrigin?: string;
|
|
13835
13839
|
/**
|
|
13836
13840
|
* The types of media access being requested, elements can be `video` or `audio`
|
|
13837
13841
|
*/
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "13.
|
|
19
|
+
"version": "13.6.3",
|
|
20
20
|
"repository": "https://github.com/electron/electron",
|
|
21
21
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
22
|
"license": "MIT",
|