electron 12.0.11 → 12.0.15
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 +12 -2
- package/package.json +1 -1
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 12.0.
|
|
1
|
+
// Type definitions for Electron 12.0.15
|
|
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
|
|
@@ -4249,6 +4249,9 @@ Send given command to the debugging target.
|
|
|
4249
4249
|
* Can be `available`, `unavailable`, `unknown`.
|
|
4250
4250
|
*/
|
|
4251
4251
|
accelerometerSupport: ('available' | 'unavailable' | 'unknown');
|
|
4252
|
+
/**
|
|
4253
|
+
* the bounds of the display in DIP points.
|
|
4254
|
+
*/
|
|
4252
4255
|
bounds: Rectangle;
|
|
4253
4256
|
/**
|
|
4254
4257
|
* The number of bits per pixel.
|
|
@@ -4292,6 +4295,9 @@ Send given command to the debugging target.
|
|
|
4292
4295
|
* Can be `available`, `unavailable`, `unknown`.
|
|
4293
4296
|
*/
|
|
4294
4297
|
touchSupport: ('available' | 'unavailable' | 'unknown');
|
|
4298
|
+
/**
|
|
4299
|
+
* the work area of the display in DIP points.
|
|
4300
|
+
*/
|
|
4295
4301
|
workArea: Rectangle;
|
|
4296
4302
|
workAreaSize: Size;
|
|
4297
4303
|
}
|
|
@@ -11204,6 +11210,11 @@ The `callback` has to be called with a `response` object.
|
|
|
11204
11210
|
*/
|
|
11205
11211
|
addEventListener(event: 'did-stop-loading', listener: (event: Event) => void, useCapture?: boolean): this;
|
|
11206
11212
|
removeEventListener(event: 'did-stop-loading', listener: (event: Event) => void): this;
|
|
11213
|
+
/**
|
|
11214
|
+
* Fired when attached to the embedder web contents.
|
|
11215
|
+
*/
|
|
11216
|
+
addEventListener(event: 'did-attach', listener: (event: Event) => void, useCapture?: boolean): this;
|
|
11217
|
+
removeEventListener(event: 'did-attach', listener: (event: Event) => void): this;
|
|
11207
11218
|
/**
|
|
11208
11219
|
* Fired when document in the given frame is loaded.
|
|
11209
11220
|
*/
|
|
@@ -13541,7 +13552,6 @@ See webContents.sendInputEvent for detailed description of `event` object.
|
|
|
13541
13552
|
timestamp: number;
|
|
13542
13553
|
statusLine: string;
|
|
13543
13554
|
statusCode: number;
|
|
13544
|
-
requestHeaders: Record<string, string>;
|
|
13545
13555
|
responseHeaders?: Record<string, string[]>;
|
|
13546
13556
|
}
|
|
13547
13557
|
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "12.0.
|
|
19
|
+
"version": "12.0.15",
|
|
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",
|