electron 25.0.0-alpha.4 → 25.0.0-alpha.5
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/checksums.json +75 -75
- package/electron.d.ts +138 -32
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v25.0.0-alpha.
|
|
3
|
-
"chromedriver-v25.0.0-alpha.
|
|
4
|
-
"chromedriver-v25.0.0-alpha.
|
|
5
|
-
"chromedriver-v25.0.0-alpha.
|
|
6
|
-
"chromedriver-v25.0.0-alpha.
|
|
7
|
-
"chromedriver-v25.0.0-alpha.
|
|
8
|
-
"chromedriver-v25.0.0-alpha.
|
|
9
|
-
"chromedriver-v25.0.0-alpha.
|
|
10
|
-
"chromedriver-v25.0.0-alpha.
|
|
11
|
-
"chromedriver-v25.0.0-alpha.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v25.0.0-alpha.
|
|
14
|
-
"electron-v25.0.0-alpha.
|
|
15
|
-
"electron-v25.0.0-alpha.
|
|
16
|
-
"electron-v25.0.0-alpha.
|
|
17
|
-
"electron-v25.0.0-alpha.
|
|
18
|
-
"electron-v25.0.0-alpha.
|
|
19
|
-
"electron-v25.0.0-alpha.
|
|
20
|
-
"electron-v25.0.0-alpha.
|
|
21
|
-
"electron-v25.0.0-alpha.
|
|
22
|
-
"electron-v25.0.0-alpha.
|
|
23
|
-
"electron-v25.0.0-alpha.
|
|
24
|
-
"electron-v25.0.0-alpha.
|
|
25
|
-
"electron-v25.0.0-alpha.
|
|
26
|
-
"electron-v25.0.0-alpha.
|
|
27
|
-
"electron-v25.0.0-alpha.
|
|
28
|
-
"electron-v25.0.0-alpha.
|
|
29
|
-
"electron-v25.0.0-alpha.
|
|
30
|
-
"electron-v25.0.0-alpha.
|
|
31
|
-
"electron-v25.0.0-alpha.
|
|
32
|
-
"electron-v25.0.0-alpha.
|
|
33
|
-
"electron-v25.0.0-alpha.
|
|
34
|
-
"electron-v25.0.0-alpha.
|
|
35
|
-
"electron-v25.0.0-alpha.
|
|
36
|
-
"electron-v25.0.0-alpha.
|
|
37
|
-
"electron-v25.0.0-alpha.
|
|
38
|
-
"electron-v25.0.0-alpha.
|
|
39
|
-
"electron-v25.0.0-alpha.
|
|
40
|
-
"electron-v25.0.0-alpha.
|
|
41
|
-
"electron-v25.0.0-alpha.
|
|
42
|
-
"electron-v25.0.0-alpha.
|
|
43
|
-
"electron-v25.0.0-alpha.
|
|
44
|
-
"electron-v25.0.0-alpha.
|
|
45
|
-
"electron-v25.0.0-alpha.
|
|
46
|
-
"electron-v25.0.0-alpha.
|
|
47
|
-
"electron-v25.0.0-alpha.
|
|
48
|
-
"electron-v25.0.0-alpha.
|
|
49
|
-
"electron-v25.0.0-alpha.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v25.0.0-alpha.
|
|
52
|
-
"ffmpeg-v25.0.0-alpha.
|
|
53
|
-
"ffmpeg-v25.0.0-alpha.
|
|
54
|
-
"ffmpeg-v25.0.0-alpha.
|
|
55
|
-
"ffmpeg-v25.0.0-alpha.
|
|
56
|
-
"ffmpeg-v25.0.0-alpha.
|
|
57
|
-
"ffmpeg-v25.0.0-alpha.
|
|
58
|
-
"ffmpeg-v25.0.0-alpha.
|
|
59
|
-
"ffmpeg-v25.0.0-alpha.
|
|
60
|
-
"ffmpeg-v25.0.0-alpha.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v25.0.0-alpha.
|
|
63
|
-
"libcxx-objects-v25.0.0-alpha.
|
|
64
|
-
"libcxx-objects-v25.0.0-alpha.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v25.0.0-alpha.
|
|
68
|
-
"mksnapshot-v25.0.0-alpha.
|
|
69
|
-
"mksnapshot-v25.0.0-alpha.
|
|
70
|
-
"mksnapshot-v25.0.0-alpha.
|
|
71
|
-
"mksnapshot-v25.0.0-alpha.
|
|
72
|
-
"mksnapshot-v25.0.0-alpha.
|
|
73
|
-
"mksnapshot-v25.0.0-alpha.
|
|
74
|
-
"mksnapshot-v25.0.0-alpha.
|
|
75
|
-
"mksnapshot-v25.0.0-alpha.
|
|
76
|
-
"mksnapshot-v25.0.0-alpha.
|
|
2
|
+
"chromedriver-v25.0.0-alpha.5-darwin-arm64.zip": "aab044843eb0477df2840d722f7aee38031b1c5bbb0f76e8b26aeaca455b7e8d",
|
|
3
|
+
"chromedriver-v25.0.0-alpha.5-darwin-x64.zip": "5b57c7a5fd1abd4ac4c9f08384eed12015febeb7cb050cfe53d46b88fcb55796",
|
|
4
|
+
"chromedriver-v25.0.0-alpha.5-linux-arm64.zip": "f6de8725df34db6c779828aaf9eefc25a3765b6e690914c7797c966c38a47fd9",
|
|
5
|
+
"chromedriver-v25.0.0-alpha.5-linux-armv7l.zip": "e30e802c632fc616ce708fb26dd3f94483c184935cc862ead62aa5d4e7d0a865",
|
|
6
|
+
"chromedriver-v25.0.0-alpha.5-linux-x64.zip": "d0fa57125ca0418054cd1e43dd4121541b17549e8fb09ce6c7fb6b2a21b30e37",
|
|
7
|
+
"chromedriver-v25.0.0-alpha.5-mas-arm64.zip": "fb1e20f676c69a95db8922d578cfbe62664cb912f0df888336d3dfab168150f0",
|
|
8
|
+
"chromedriver-v25.0.0-alpha.5-mas-x64.zip": "03d749012ed3b7fda8034d48655f2390bf8fce490e35c2f785d1c348e93fb8e3",
|
|
9
|
+
"chromedriver-v25.0.0-alpha.5-win32-arm64.zip": "a2b9c172a7e233da959fc2e1396b158cad852dd20a07d266d272dff0c326efa1",
|
|
10
|
+
"chromedriver-v25.0.0-alpha.5-win32-ia32.zip": "787c42be8e5839e1705a2d4cbf083b8cae017ce024fe7d0fde7cf2b958c72d33",
|
|
11
|
+
"chromedriver-v25.0.0-alpha.5-win32-x64.zip": "d0387f6836cbb8faf035afb5cb22f011b2cafe8a0db901fff1457e9f8f919691",
|
|
12
|
+
"electron-api.json": "d34e262be1f26e2a843ccb31f37f0e46b032634730b34263d941c3d5b5788d95",
|
|
13
|
+
"electron-v25.0.0-alpha.5-darwin-arm64-dsym-snapshot.zip": "e7d3d614f01b0a7d261a46206360a62ffecaa9f2f29655470934ae3e5ce3474f",
|
|
14
|
+
"electron-v25.0.0-alpha.5-darwin-arm64-dsym.zip": "d410d83985dfd011a758050f5769e525e0269ce4a2f26ccb84fcf85d184439b0",
|
|
15
|
+
"electron-v25.0.0-alpha.5-darwin-arm64-symbols.zip": "379d2c356556a00f59decbb60b1d9f7fde0b41ce67e4fbfe7a1f29978295b153",
|
|
16
|
+
"electron-v25.0.0-alpha.5-darwin-arm64.zip": "64ccd1429d0d0ef4320a2af8eb85bcf40bf5c29010c70d1c9bffbe2155361c23",
|
|
17
|
+
"electron-v25.0.0-alpha.5-darwin-x64-dsym-snapshot.zip": "078185eae1220a575135920bd4dbbfe66c9f9af46ad97e5371a2aec3ff59000a",
|
|
18
|
+
"electron-v25.0.0-alpha.5-darwin-x64-dsym.zip": "11a2467691450461275f12645446949af3236642af7017376b0afe402512073f",
|
|
19
|
+
"electron-v25.0.0-alpha.5-darwin-x64-symbols.zip": "38c6b70e714c9f0c9ebb5e8cf3f413e3c844fe7a0a3a408ec9e9fdcc04f42295",
|
|
20
|
+
"electron-v25.0.0-alpha.5-darwin-x64.zip": "cb989bea603b5ff468c20e4f45b79a239f47f38fbc390c0b7f2bee85f9e47ca3",
|
|
21
|
+
"electron-v25.0.0-alpha.5-linux-arm64-debug.zip": "56bce13125e7f6977eb9816b3ca31f36ac1a0ca2edf84feabff020e64a478bd8",
|
|
22
|
+
"electron-v25.0.0-alpha.5-linux-arm64-symbols.zip": "a1e613ac2984dfefcac7c824abe83fd58c55279df1c873a4de80bcff4ae5dea4",
|
|
23
|
+
"electron-v25.0.0-alpha.5-linux-arm64.zip": "55ddfd47a00ffa4f2244fb776c00f05feb4e217cc11aacb0ecf05e7273864ed6",
|
|
24
|
+
"electron-v25.0.0-alpha.5-linux-armv7l-debug.zip": "56bce13125e7f6977eb9816b3ca31f36ac1a0ca2edf84feabff020e64a478bd8",
|
|
25
|
+
"electron-v25.0.0-alpha.5-linux-armv7l-symbols.zip": "9f2721c0cc91411bb4807f086921eedd2c7211c0c894140f577b16a57e21d0af",
|
|
26
|
+
"electron-v25.0.0-alpha.5-linux-armv7l.zip": "830008e3554e405d7e7a1e314d18b109cdd5fae08e6c2d0d988b9a841f50eea1",
|
|
27
|
+
"electron-v25.0.0-alpha.5-linux-x64-debug.zip": "444013f87e82e4073c0815615bdc2b1a53ade98c07a651b5e6736c410672c495",
|
|
28
|
+
"electron-v25.0.0-alpha.5-linux-x64-symbols.zip": "ebf302d49a3f5fb88ab7e651b168d7f77d377e450a574c4398f2fe63d2912f38",
|
|
29
|
+
"electron-v25.0.0-alpha.5-linux-x64.zip": "642723276b858ac73d8894048a40eaab853bc854736c022404f953833cf78f05",
|
|
30
|
+
"electron-v25.0.0-alpha.5-mas-arm64-dsym-snapshot.zip": "e7d3d614f01b0a7d261a46206360a62ffecaa9f2f29655470934ae3e5ce3474f",
|
|
31
|
+
"electron-v25.0.0-alpha.5-mas-arm64-dsym.zip": "e7a259db2b8db33ba23df469a2ae5de7faa0416e7b32429e1119a2d433c573b6",
|
|
32
|
+
"electron-v25.0.0-alpha.5-mas-arm64-symbols.zip": "c6f1e3afe75da6de6e9b0121d88c86c772ee4719eb684e6e023fd3e39a13aefc",
|
|
33
|
+
"electron-v25.0.0-alpha.5-mas-arm64.zip": "509220c050a5b0b5a579e6aa7caf63a7e360c5f23ea171f0efa96a25371778e0",
|
|
34
|
+
"electron-v25.0.0-alpha.5-mas-x64-dsym-snapshot.zip": "3ddf60e6d23e9a0fbae8b64f5ec2f10938daeeeb759ccc7ad357bf4d37e65edc",
|
|
35
|
+
"electron-v25.0.0-alpha.5-mas-x64-dsym.zip": "7f05430248cc66db73b646e693485a1f872aafa7ebc0e11fb7c63d79046f253e",
|
|
36
|
+
"electron-v25.0.0-alpha.5-mas-x64-symbols.zip": "ef67d5e5034e17974d8a554f8176f6fb4860211bf2fb5717e1894eff5df11d6b",
|
|
37
|
+
"electron-v25.0.0-alpha.5-mas-x64.zip": "07b9c4d8ac582becc07c499f59c3ac1f5a2a96721a3c7d7f0fb6872b6873b2a8",
|
|
38
|
+
"electron-v25.0.0-alpha.5-win32-arm64-pdb.zip": "282a370b83044a0c366014e558003c5360f83567faddce5532152fcff402ee6d",
|
|
39
|
+
"electron-v25.0.0-alpha.5-win32-arm64-symbols.zip": "76b327c34df5a3740e1dac74d40a2317d93afbacbc450a35805af0e877aa98cf",
|
|
40
|
+
"electron-v25.0.0-alpha.5-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
41
|
+
"electron-v25.0.0-alpha.5-win32-arm64.zip": "5d155c7ba197a7b829a9253767716c7a5c90a453ee199f95b12729db613f2f00",
|
|
42
|
+
"electron-v25.0.0-alpha.5-win32-ia32-pdb.zip": "de800892d0f0abb7faf67c9ac9d199e7af56378386f3455bbea7eea0be49f038",
|
|
43
|
+
"electron-v25.0.0-alpha.5-win32-ia32-symbols.zip": "f6493d097e217e627140916d23d82e40c4d7aa512b535ce94deefce2c58059a8",
|
|
44
|
+
"electron-v25.0.0-alpha.5-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
45
|
+
"electron-v25.0.0-alpha.5-win32-ia32.zip": "a081bd6ae35d0750758b56a2ac4aff4ce1aff712517e16e529d630304ed1bd9b",
|
|
46
|
+
"electron-v25.0.0-alpha.5-win32-x64-pdb.zip": "159ab18796b3b9aacdbaa61e9adeabf1a62618c2e95d489a02b86f8a715dd447",
|
|
47
|
+
"electron-v25.0.0-alpha.5-win32-x64-symbols.zip": "9c9aa40b151466ec4783bc466fd914ee455aadb50448d3991d395f5952c597ad",
|
|
48
|
+
"electron-v25.0.0-alpha.5-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
49
|
+
"electron-v25.0.0-alpha.5-win32-x64.zip": "ec9a635e62687cfe5a95aace40d0c18983219f8f25f1657678a9ef00cee93b6b",
|
|
50
|
+
"electron.d.ts": "4b9b7484a990cd20e1ec1d5c4d176c12cad9c16f74ba6b9f36ab7814af5746ee",
|
|
51
|
+
"ffmpeg-v25.0.0-alpha.5-darwin-arm64.zip": "90b171d92efe5b850d11eabe3fd537ea91bdfc9a7f18828566484a88b79bbc6a",
|
|
52
|
+
"ffmpeg-v25.0.0-alpha.5-darwin-x64.zip": "49071a0e383ac4dc3c9dbccbbcb147b1f0b83276d7d27b1c5b58f7d9860ba221",
|
|
53
|
+
"ffmpeg-v25.0.0-alpha.5-linux-arm64.zip": "729e49d5e40cad3133ccc4121089ac19f597dac030120d5275c1125090d88682",
|
|
54
|
+
"ffmpeg-v25.0.0-alpha.5-linux-armv7l.zip": "c073ece66795d14b61b6d3909aefa7bbbc3fef984d63b9d301109e5c76449d4d",
|
|
55
|
+
"ffmpeg-v25.0.0-alpha.5-linux-x64.zip": "fa6779e2f971c31305c7d7113f7f7a3e27b27727c9851b545cfb8275be61f7c0",
|
|
56
|
+
"ffmpeg-v25.0.0-alpha.5-mas-arm64.zip": "4f382efb368afe195085758783bc414aa946efb2c8258ccb52470e32623beb0d",
|
|
57
|
+
"ffmpeg-v25.0.0-alpha.5-mas-x64.zip": "fddd331c9eaa30f91a499d4c55b0e8f3aae035c5e0a061a2e0c788e95bbc9e3e",
|
|
58
|
+
"ffmpeg-v25.0.0-alpha.5-win32-arm64.zip": "f7d7d0ce7503e0f051723de906fbcf0e524cd071acf9ea992dbc3eaea098b37a",
|
|
59
|
+
"ffmpeg-v25.0.0-alpha.5-win32-ia32.zip": "589845a5afd62cc02c24bbc2255cc00841ddb6a3f0846fd484fbd36a5e75c0ba",
|
|
60
|
+
"ffmpeg-v25.0.0-alpha.5-win32-x64.zip": "53fc51395f925d53302916c3fd5649e4651de37da655aae8fe6e9f8bea56b8d5",
|
|
61
|
+
"hunspell_dictionaries.zip": "23028e200beecf3f28b3f2d9258657693e927a7964aec1cf3dd2547a9e0bab0c",
|
|
62
|
+
"libcxx-objects-v25.0.0-alpha.5-linux-arm64.zip": "42a6f4c8e4febab41d3e2dd18d317acad144fc013f609a1c495ed58a4c6644f9",
|
|
63
|
+
"libcxx-objects-v25.0.0-alpha.5-linux-armv7l.zip": "9c19c2269baf3010d7e362517b240f780be1bc9b66743946f6828c9e64dd387f",
|
|
64
|
+
"libcxx-objects-v25.0.0-alpha.5-linux-x64.zip": "ec0ec35af019e7ca5efd28f1e3843522409f2d0de38faff68a9bd0d3521116be",
|
|
65
|
+
"libcxx_headers.zip": "57282d4d0e26e06f62ca03d225d0155cd740112b43f051daad5cf24da7fc659c",
|
|
66
|
+
"libcxxabi_headers.zip": "4d2cddf9237447d5278998630dc015ddd1aa0e3d38890d2cc3d599e539c9ab3c",
|
|
67
|
+
"mksnapshot-v25.0.0-alpha.5-darwin-arm64.zip": "0db4825c7096704df1f678306260b253dd02363cfad2ea7990eb1ff68cc5ccc5",
|
|
68
|
+
"mksnapshot-v25.0.0-alpha.5-darwin-x64.zip": "1f240de46f798c16771cde1f337d3d82402e50508caa6b0349a79411cdecbefa",
|
|
69
|
+
"mksnapshot-v25.0.0-alpha.5-linux-arm64-x64.zip": "fbf00ec842fd593c9af06396044113eb9ef32385ca3b53609783c5a713a89031",
|
|
70
|
+
"mksnapshot-v25.0.0-alpha.5-linux-armv7l-x64.zip": "4388c5803b8eacfe12d4b90da2bca6f4525320081fa51c2530f81fa1943d0a00",
|
|
71
|
+
"mksnapshot-v25.0.0-alpha.5-linux-x64.zip": "8c400e0a7cde9fdc64a8f3c6a513710428461adeae3cbc39214c856485423b65",
|
|
72
|
+
"mksnapshot-v25.0.0-alpha.5-mas-arm64.zip": "53006b732b8fac1df3eeb8df580705b6d08d1befde75361332459e56d7bb44e7",
|
|
73
|
+
"mksnapshot-v25.0.0-alpha.5-mas-x64.zip": "fe931a82fdeec3098969114ba58297b4c392c39be7c2bb5dca47298afde1f744",
|
|
74
|
+
"mksnapshot-v25.0.0-alpha.5-win32-arm64-x64.zip": "0bbb8b3769f6f26991305b1a95bd3cdb49899525beb66f7f015951a0df13dd74",
|
|
75
|
+
"mksnapshot-v25.0.0-alpha.5-win32-ia32.zip": "9afb7632e7a929100eac4db13b4197b71e4a29fe17af3f9f13d5ee9e1252f14d",
|
|
76
|
+
"mksnapshot-v25.0.0-alpha.5-win32-x64.zip": "b724c99deb3f8f53c29f72a12fd82aafcd1a61e2b95d2fa7b8778029dc320adc"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 25.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 25.0.0-alpha.5
|
|
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/typescript-definitions
|
|
@@ -309,9 +309,10 @@ declare namespace Electron {
|
|
|
309
309
|
*/
|
|
310
310
|
error: string) => void): this;
|
|
311
311
|
/**
|
|
312
|
-
* Emitted when
|
|
313
|
-
* that `did-become-active` is emitted every time the app becomes active,
|
|
314
|
-
* when Dock icon is clicked or application is re-launched.
|
|
312
|
+
* Emitted when the application becomes active. This differs from the `activate`
|
|
313
|
+
* event in that `did-become-active` is emitted every time the app becomes active,
|
|
314
|
+
* not only when Dock icon is clicked or application is re-launched. It is also
|
|
315
|
+
* emitted when a user switches to the app via the macOS App Switcher.
|
|
315
316
|
*
|
|
316
317
|
* @platform darwin
|
|
317
318
|
*/
|
|
@@ -319,6 +320,17 @@ declare namespace Electron {
|
|
|
319
320
|
once(event: 'did-become-active', listener: (event: Event) => void): this;
|
|
320
321
|
addListener(event: 'did-become-active', listener: (event: Event) => void): this;
|
|
321
322
|
removeListener(event: 'did-become-active', listener: (event: Event) => void): this;
|
|
323
|
+
/**
|
|
324
|
+
* Emitted when the app is no longer active and doesn’t have focus. This can be
|
|
325
|
+
* triggered, for example, by clicking on another application or by using the macOS
|
|
326
|
+
* App Switcher to switch to another application.
|
|
327
|
+
*
|
|
328
|
+
* @platform darwin
|
|
329
|
+
*/
|
|
330
|
+
on(event: 'did-resign-active', listener: (event: Event) => void): this;
|
|
331
|
+
once(event: 'did-resign-active', listener: (event: Event) => void): this;
|
|
332
|
+
addListener(event: 'did-resign-active', listener: (event: Event) => void): this;
|
|
333
|
+
removeListener(event: 'did-resign-active', listener: (event: Event) => void): this;
|
|
322
334
|
/**
|
|
323
335
|
* Emitted whenever there is a GPU info update.
|
|
324
336
|
*/
|
|
@@ -6636,6 +6648,17 @@ declare namespace Electron {
|
|
|
6636
6648
|
once(event: 'shutdown', listener: Function): this;
|
|
6637
6649
|
addListener(event: 'shutdown', listener: Function): this;
|
|
6638
6650
|
removeListener(event: 'shutdown', listener: Function): this;
|
|
6651
|
+
/**
|
|
6652
|
+
* Notification of a change in the operating system's advertised speed limit for
|
|
6653
|
+
* CPUs, in percent. Values below 100 indicate that the system is impairing
|
|
6654
|
+
* processing power due to thermal management.
|
|
6655
|
+
*
|
|
6656
|
+
* @platform darwin,win32
|
|
6657
|
+
*/
|
|
6658
|
+
on(event: 'speed-limit-change', listener: Function): this;
|
|
6659
|
+
once(event: 'speed-limit-change', listener: Function): this;
|
|
6660
|
+
addListener(event: 'speed-limit-change', listener: Function): this;
|
|
6661
|
+
removeListener(event: 'speed-limit-change', listener: Function): this;
|
|
6639
6662
|
/**
|
|
6640
6663
|
* Emitted when the system is suspending.
|
|
6641
6664
|
*/
|
|
@@ -6643,6 +6666,92 @@ declare namespace Electron {
|
|
|
6643
6666
|
once(event: 'suspend', listener: Function): this;
|
|
6644
6667
|
addListener(event: 'suspend', listener: Function): this;
|
|
6645
6668
|
removeListener(event: 'suspend', listener: Function): this;
|
|
6669
|
+
/**
|
|
6670
|
+
* Emitted when the thermal state of the system changes. Notification of a change
|
|
6671
|
+
* in the thermal status of the system, such as entering a critical temperature
|
|
6672
|
+
* range. Depending on the severity, the system might take steps to reduce said
|
|
6673
|
+
* temperature, for example, throttling the CPU or switching on the fans if
|
|
6674
|
+
* available.
|
|
6675
|
+
*
|
|
6676
|
+
* Apps may react to the new state by reducing expensive computing tasks (e.g.
|
|
6677
|
+
* video encoding), or notifying the user. The same state might be received
|
|
6678
|
+
* repeatedly.
|
|
6679
|
+
*
|
|
6680
|
+
* See
|
|
6681
|
+
*
|
|
6682
|
+
*
|
|
6683
|
+
*
|
|
6684
|
+
*
|
|
6685
|
+
*
|
|
6686
|
+
*
|
|
6687
|
+
*
|
|
6688
|
+
*
|
|
6689
|
+
*
|
|
6690
|
+
*
|
|
6691
|
+
*
|
|
6692
|
+
*
|
|
6693
|
+
*
|
|
6694
|
+
*
|
|
6695
|
+
*
|
|
6696
|
+
*
|
|
6697
|
+
*
|
|
6698
|
+
*
|
|
6699
|
+
*
|
|
6700
|
+
*
|
|
6701
|
+
*
|
|
6702
|
+
*
|
|
6703
|
+
*
|
|
6704
|
+
*
|
|
6705
|
+
*
|
|
6706
|
+
*
|
|
6707
|
+
*
|
|
6708
|
+
*
|
|
6709
|
+
*
|
|
6710
|
+
*
|
|
6711
|
+
*
|
|
6712
|
+
*
|
|
6713
|
+
*
|
|
6714
|
+
*
|
|
6715
|
+
*
|
|
6716
|
+
*
|
|
6717
|
+
*
|
|
6718
|
+
*
|
|
6719
|
+
*
|
|
6720
|
+
*
|
|
6721
|
+
*
|
|
6722
|
+
*
|
|
6723
|
+
*
|
|
6724
|
+
*
|
|
6725
|
+
*
|
|
6726
|
+
*
|
|
6727
|
+
*
|
|
6728
|
+
*
|
|
6729
|
+
*
|
|
6730
|
+
*
|
|
6731
|
+
*
|
|
6732
|
+
*
|
|
6733
|
+
*
|
|
6734
|
+
*
|
|
6735
|
+
*
|
|
6736
|
+
*
|
|
6737
|
+
*
|
|
6738
|
+
*
|
|
6739
|
+
*
|
|
6740
|
+
*
|
|
6741
|
+
*
|
|
6742
|
+
*
|
|
6743
|
+
*
|
|
6744
|
+
*
|
|
6745
|
+
*
|
|
6746
|
+
*
|
|
6747
|
+
* nce/Conceptual/power_efficiency_guidelines_osx/RespondToThermalStateChanges.html
|
|
6748
|
+
*
|
|
6749
|
+
* @platform darwin
|
|
6750
|
+
*/
|
|
6751
|
+
on(event: 'thermal-state-change', listener: Function): this;
|
|
6752
|
+
once(event: 'thermal-state-change', listener: Function): this;
|
|
6753
|
+
addListener(event: 'thermal-state-change', listener: Function): this;
|
|
6754
|
+
removeListener(event: 'thermal-state-change', listener: Function): this;
|
|
6646
6755
|
/**
|
|
6647
6756
|
* Emitted as soon as the systems screen is unlocked.
|
|
6648
6757
|
*
|
|
@@ -6673,7 +6782,14 @@ declare namespace Electron {
|
|
|
6673
6782
|
addListener(event: 'user-did-resign-active', listener: Function): this;
|
|
6674
6783
|
removeListener(event: 'user-did-resign-active', listener: Function): this;
|
|
6675
6784
|
/**
|
|
6676
|
-
* The system's current state. Can be `
|
|
6785
|
+
* The system's current thermal state. Can be `unknown`, `nominal`, `fair`,
|
|
6786
|
+
* `serious`, or `critical`.
|
|
6787
|
+
*
|
|
6788
|
+
* @platform darwin
|
|
6789
|
+
*/
|
|
6790
|
+
getCurrentThermalState(): ('unknown' | 'nominal' | 'fair' | 'serious' | 'critical');
|
|
6791
|
+
/**
|
|
6792
|
+
* The system's current idle state. Can be `active`, `idle`, `locked` or `unknown`.
|
|
6677
6793
|
*
|
|
6678
6794
|
* Calculate the system idle state. `idleThreshold` is the amount of time (in
|
|
6679
6795
|
* seconds) before considered idle. `locked` is available on supported systems
|
|
@@ -8104,13 +8220,17 @@ declare namespace Electron {
|
|
|
8104
8220
|
* the newly added device.
|
|
8105
8221
|
*/
|
|
8106
8222
|
on(event: 'usb-device-added', listener: (event: Event,
|
|
8107
|
-
|
|
8223
|
+
device: USBDevice,
|
|
8224
|
+
webContents: WebContents) => void): this;
|
|
8108
8225
|
once(event: 'usb-device-added', listener: (event: Event,
|
|
8109
|
-
|
|
8226
|
+
device: USBDevice,
|
|
8227
|
+
webContents: WebContents) => void): this;
|
|
8110
8228
|
addListener(event: 'usb-device-added', listener: (event: Event,
|
|
8111
|
-
|
|
8229
|
+
device: USBDevice,
|
|
8230
|
+
webContents: WebContents) => void): this;
|
|
8112
8231
|
removeListener(event: 'usb-device-added', listener: (event: Event,
|
|
8113
|
-
|
|
8232
|
+
device: USBDevice,
|
|
8233
|
+
webContents: WebContents) => void): this;
|
|
8114
8234
|
/**
|
|
8115
8235
|
* Emitted after `navigator.usb.requestDevice` has been called and
|
|
8116
8236
|
* `select-usb-device` has fired if a device has been removed before the callback
|
|
@@ -8119,13 +8239,17 @@ declare namespace Electron {
|
|
|
8119
8239
|
* specified device.
|
|
8120
8240
|
*/
|
|
8121
8241
|
on(event: 'usb-device-removed', listener: (event: Event,
|
|
8122
|
-
|
|
8242
|
+
device: USBDevice,
|
|
8243
|
+
webContents: WebContents) => void): this;
|
|
8123
8244
|
once(event: 'usb-device-removed', listener: (event: Event,
|
|
8124
|
-
|
|
8245
|
+
device: USBDevice,
|
|
8246
|
+
webContents: WebContents) => void): this;
|
|
8125
8247
|
addListener(event: 'usb-device-removed', listener: (event: Event,
|
|
8126
|
-
|
|
8248
|
+
device: USBDevice,
|
|
8249
|
+
webContents: WebContents) => void): this;
|
|
8127
8250
|
removeListener(event: 'usb-device-removed', listener: (event: Event,
|
|
8128
|
-
|
|
8251
|
+
device: USBDevice,
|
|
8252
|
+
webContents: WebContents) => void): this;
|
|
8129
8253
|
/**
|
|
8130
8254
|
* Emitted after `USBDevice.forget()` has been called. This event can be used to
|
|
8131
8255
|
* help maintain persistent storage of permissions when
|
|
@@ -16965,18 +17089,8 @@ declare namespace Electron {
|
|
|
16965
17089
|
total: number;
|
|
16966
17090
|
}
|
|
16967
17091
|
|
|
16968
|
-
interface UsbDeviceAddedDetails {
|
|
16969
|
-
device: USBDevice;
|
|
16970
|
-
frame: WebFrameMain;
|
|
16971
|
-
}
|
|
16972
|
-
|
|
16973
|
-
interface UsbDeviceRemovedDetails {
|
|
16974
|
-
device: USBDevice;
|
|
16975
|
-
frame: WebFrameMain;
|
|
16976
|
-
}
|
|
16977
|
-
|
|
16978
17092
|
interface UsbDeviceRevokedDetails {
|
|
16979
|
-
device: USBDevice
|
|
17093
|
+
device: USBDevice;
|
|
16980
17094
|
/**
|
|
16981
17095
|
* The origin that the device has been revoked from.
|
|
16982
17096
|
*/
|
|
@@ -18085,8 +18199,6 @@ declare namespace Electron {
|
|
|
18085
18199
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
18086
18200
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
18087
18201
|
type UploadProgress = Electron.UploadProgress;
|
|
18088
|
-
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
18089
|
-
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
18090
18202
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
18091
18203
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
18092
18204
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
@@ -18410,8 +18522,6 @@ declare namespace Electron {
|
|
|
18410
18522
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
18411
18523
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
18412
18524
|
type UploadProgress = Electron.UploadProgress;
|
|
18413
|
-
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
18414
|
-
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
18415
18525
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
18416
18526
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
18417
18527
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
@@ -18669,8 +18779,6 @@ declare namespace Electron {
|
|
|
18669
18779
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
18670
18780
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
18671
18781
|
type UploadProgress = Electron.UploadProgress;
|
|
18672
|
-
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
18673
|
-
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
18674
18782
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
18675
18783
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
18676
18784
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
@@ -19009,8 +19117,6 @@ declare namespace Electron {
|
|
|
19009
19117
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
19010
19118
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
19011
19119
|
type UploadProgress = Electron.UploadProgress;
|
|
19012
|
-
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
19013
|
-
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
19014
19120
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
19015
19121
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
19016
19122
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
package/package.json
CHANGED