electron 22.0.0-beta.8 → 23.0.0-alpha.1
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/README.md +1 -1
- package/checksums.json +75 -75
- package/electron.d.ts +240 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ For more installation options and troubleshooting tips, see
|
|
|
39
39
|
Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
40
40
|
|
|
41
41
|
* macOS (High Sierra and up): Electron provides 64-bit Intel and ARM binaries for macOS. Apple Silicon support was added in Electron 11.
|
|
42
|
-
* Windows (Windows
|
|
42
|
+
* Windows (Windows 10 and up): Electron provides `ia32` (`x86`), `x64` (`amd64`), and `arm64` binaries for Windows. Windows on ARM support was added in Electron 5.0.8. Support for Windows 7 and 8 was [removed in Electron 23, in line with Chromium's Windows deprecation policy](https://www.electronjs.org/blog/windows-7-to-8-1-deprecation-notice).
|
|
43
43
|
* Linux: The prebuilt binaries of Electron are built on Ubuntu 20.04. They have also been verified to work on:
|
|
44
44
|
* Ubuntu 14.04 and newer
|
|
45
45
|
* Fedora 24 and newer
|
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-
|
|
14
|
-
"electron-
|
|
15
|
-
"electron-
|
|
16
|
-
"electron-
|
|
17
|
-
"electron-
|
|
18
|
-
"electron-
|
|
19
|
-
"electron-
|
|
20
|
-
"electron-
|
|
21
|
-
"electron-
|
|
22
|
-
"electron-
|
|
23
|
-
"electron-
|
|
24
|
-
"electron-
|
|
25
|
-
"electron-
|
|
26
|
-
"electron-
|
|
27
|
-
"electron-
|
|
28
|
-
"electron-
|
|
29
|
-
"electron-
|
|
30
|
-
"electron-
|
|
31
|
-
"electron-
|
|
32
|
-
"electron-
|
|
33
|
-
"electron-
|
|
34
|
-
"electron-
|
|
35
|
-
"electron-
|
|
36
|
-
"electron-
|
|
37
|
-
"electron-
|
|
38
|
-
"electron-
|
|
39
|
-
"electron-
|
|
40
|
-
"electron-
|
|
41
|
-
"electron-
|
|
42
|
-
"electron-
|
|
43
|
-
"electron-
|
|
44
|
-
"electron-
|
|
45
|
-
"electron-
|
|
46
|
-
"electron-
|
|
47
|
-
"electron-
|
|
48
|
-
"electron-
|
|
49
|
-
"electron-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-
|
|
52
|
-
"ffmpeg-
|
|
53
|
-
"ffmpeg-
|
|
54
|
-
"ffmpeg-
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-
|
|
63
|
-
"libcxx-objects-
|
|
64
|
-
"libcxx-objects-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-
|
|
68
|
-
"mksnapshot-
|
|
69
|
-
"mksnapshot-
|
|
70
|
-
"mksnapshot-
|
|
71
|
-
"mksnapshot-
|
|
72
|
-
"mksnapshot-
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
2
|
+
"chromedriver-v23.0.0-alpha.1-darwin-arm64.zip": "f4be56ed646bc4b4ea8e88fe1cdd5595204fbbf61fcd58e4e5628026230d93cf",
|
|
3
|
+
"chromedriver-v23.0.0-alpha.1-darwin-x64.zip": "e44adcbd538cf7efd9b6a207a9a8bd27cfbbc62438d346aa61cd34c53611c49f",
|
|
4
|
+
"chromedriver-v23.0.0-alpha.1-linux-arm64.zip": "2bb01589b2f505eb9b6a556b4ee12b926b157f219d90ffe64e1e89233214750b",
|
|
5
|
+
"chromedriver-v23.0.0-alpha.1-linux-armv7l.zip": "9751551a7d4e34a4dd029f969ae0668f54084c8309385bcb66d0f2d351331a8d",
|
|
6
|
+
"chromedriver-v23.0.0-alpha.1-linux-x64.zip": "699db04d347e7825de76933f736c9ad6f96d7801f32afff0e8c006cfa191283a",
|
|
7
|
+
"chromedriver-v23.0.0-alpha.1-mas-arm64.zip": "7efe4c7ff3534adfe6b4dd81ed019db0616c702b4aa2a04b3f099c34466e5b15",
|
|
8
|
+
"chromedriver-v23.0.0-alpha.1-mas-x64.zip": "e8898a9a1be2ba7cd99e0f0b795646d009d9bbab9558ec144144b8156fcf81e0",
|
|
9
|
+
"chromedriver-v23.0.0-alpha.1-win32-arm64.zip": "2068e41d49bb11d4dbe70518dd0a77589d2bbc420b076f73647712fd364f6839",
|
|
10
|
+
"chromedriver-v23.0.0-alpha.1-win32-ia32.zip": "855f9deb5c97417dcd1908cfeccf4c337762190a4fbd92430e090961e1396df7",
|
|
11
|
+
"chromedriver-v23.0.0-alpha.1-win32-x64.zip": "85abe1a6f764b61e3be87b601a771063f391dd0ca9a1cf0199ffed0f512e3b2b",
|
|
12
|
+
"electron-api.json": "65afe3640b179ef39090d4f708cd5b113d2e22ff8d0ce2b29e616705f707095d",
|
|
13
|
+
"electron-v23.0.0-alpha.1-darwin-arm64-dsym-snapshot.zip": "7c68342962f09189d036232d32733309bfe65814f292753ce82914f1032bfbf1",
|
|
14
|
+
"electron-v23.0.0-alpha.1-darwin-arm64-dsym.zip": "2a405f6562b2877a2e94017cca9e5fd41f71c85af8ba042adbfd1b1ace272f45",
|
|
15
|
+
"electron-v23.0.0-alpha.1-darwin-arm64-symbols.zip": "b4aad540a48f9577e68f679d2e4c9d2d68cdb5884eefd7eb1147c65a60811753",
|
|
16
|
+
"electron-v23.0.0-alpha.1-darwin-arm64.zip": "331cb14054ac10199f2aa57e374aa54bb52eef206a8174e6b0b5c79747c5d7bd",
|
|
17
|
+
"electron-v23.0.0-alpha.1-darwin-x64-dsym-snapshot.zip": "a9b044378b7431728d2347943de6a50fbab72455773d36f07e00bba5615815d3",
|
|
18
|
+
"electron-v23.0.0-alpha.1-darwin-x64-dsym.zip": "9bf9eccd47a799e51b8c00742ad12999f29a92b7760c30ca165c9ceee01a696c",
|
|
19
|
+
"electron-v23.0.0-alpha.1-darwin-x64-symbols.zip": "75fcc312c36a1293c599b86b57269866cb0ec623fbbbffde7c63555424380d8b",
|
|
20
|
+
"electron-v23.0.0-alpha.1-darwin-x64.zip": "34c2e092978dcc55f3500347b2958a0d9710c528fcf5d44505194b42bba91f51",
|
|
21
|
+
"electron-v23.0.0-alpha.1-linux-arm64-debug.zip": "45139e353f00c4b0ff4a51937c06e3cf447c5652bd74f4bbb0d5620d95d71ae9",
|
|
22
|
+
"electron-v23.0.0-alpha.1-linux-arm64-symbols.zip": "bd92c9b68ace1a002ee9d7656a4ead533dae1d030e093c586abd6c189db2fddb",
|
|
23
|
+
"electron-v23.0.0-alpha.1-linux-arm64.zip": "79a0d938b878701d72742fe5577f737ca48060165099240585637c968cb49aab",
|
|
24
|
+
"electron-v23.0.0-alpha.1-linux-armv7l-debug.zip": "45139e353f00c4b0ff4a51937c06e3cf447c5652bd74f4bbb0d5620d95d71ae9",
|
|
25
|
+
"electron-v23.0.0-alpha.1-linux-armv7l-symbols.zip": "9ee2ee5f9175a20585dc19be19a13d8fb2d7a8ffdf0486b0fb9dd034aacc24ad",
|
|
26
|
+
"electron-v23.0.0-alpha.1-linux-armv7l.zip": "338948189724148e3d84247eced83720e899d247ba24e4bdf81394c3faa157d3",
|
|
27
|
+
"electron-v23.0.0-alpha.1-linux-x64-debug.zip": "7b71b3fcefdcf9229ca5f73f1edf9cecd2e517531afc6994c02f13e25dd19c2c",
|
|
28
|
+
"electron-v23.0.0-alpha.1-linux-x64-symbols.zip": "28237e7afd59d26b9d5d6ae165ec6097bfc7fb292a9cce49a6ede6d787183c30",
|
|
29
|
+
"electron-v23.0.0-alpha.1-linux-x64.zip": "8f94c0fd199ed643349ab4680051506bc835c7e7c68bda578b9f7c4a0b58aef1",
|
|
30
|
+
"electron-v23.0.0-alpha.1-mas-arm64-dsym-snapshot.zip": "7c68342962f09189d036232d32733309bfe65814f292753ce82914f1032bfbf1",
|
|
31
|
+
"electron-v23.0.0-alpha.1-mas-arm64-dsym.zip": "eb1f3e0b86911397c56944ef3e17f2cf7d20027e3ca874e9cf20c1989c6f937b",
|
|
32
|
+
"electron-v23.0.0-alpha.1-mas-arm64-symbols.zip": "05c01170a330f29ce12a341a3491c777222bbbcde28140d453bfdcbb25d8d361",
|
|
33
|
+
"electron-v23.0.0-alpha.1-mas-arm64.zip": "3b1ae4fb8a0957d18ad6c5b47595bff691b2bfda49beb243192b802074755f08",
|
|
34
|
+
"electron-v23.0.0-alpha.1-mas-x64-dsym-snapshot.zip": "62dd29c0fdca2e2ed94541bdadcfb87f3ef4c91ca861ef46ab660e9a814c5a29",
|
|
35
|
+
"electron-v23.0.0-alpha.1-mas-x64-dsym.zip": "fb38c63b1603101500e69a62227c976e2a0376044f0e780b662e55b49f9b0643",
|
|
36
|
+
"electron-v23.0.0-alpha.1-mas-x64-symbols.zip": "e74c70a515cf5c84043e03a2ccbfbb79c53893b1ebffaaa2ebde49ba6e80dac3",
|
|
37
|
+
"electron-v23.0.0-alpha.1-mas-x64.zip": "65b9c486ed77fb83243989a9168319c7efa3b75bbaae849848f24a59df703da3",
|
|
38
|
+
"electron-v23.0.0-alpha.1-win32-arm64-pdb.zip": "c539909b4352e7fb8c073b0c4b5f0b50a2d42ec540a093cde02c70f6432a5a3f",
|
|
39
|
+
"electron-v23.0.0-alpha.1-win32-arm64-symbols.zip": "e634df1b8df5f2c9cfc60b4e5d5a52d4a86f24c51c35eae92f237c96fe0cce62",
|
|
40
|
+
"electron-v23.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "3c74052af8ff64b056b15e2ec61b3421c333a88c1134d8f94fcf5820a08d183b",
|
|
41
|
+
"electron-v23.0.0-alpha.1-win32-arm64.zip": "5eaaef3150647bd82cea9a71bc1265c4006ff5cda0971d5fbd0d38a0c360d39e",
|
|
42
|
+
"electron-v23.0.0-alpha.1-win32-ia32-pdb.zip": "a999d62b8b4a562f744100683a3d81748fda53f93109e689215e537ac459b218",
|
|
43
|
+
"electron-v23.0.0-alpha.1-win32-ia32-symbols.zip": "0af232561a66f2bc0b269a273be149ec8cc74ac9b9d9295645c5deba3349fbc8",
|
|
44
|
+
"electron-v23.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "3c74052af8ff64b056b15e2ec61b3421c333a88c1134d8f94fcf5820a08d183b",
|
|
45
|
+
"electron-v23.0.0-alpha.1-win32-ia32.zip": "d0700190f3794e4a483ba702e8da80ebe8a9832f447f9e55f431129af2c7285f",
|
|
46
|
+
"electron-v23.0.0-alpha.1-win32-x64-pdb.zip": "9dfce5b5460289fd7ef9f76df8e31d848ccfd6b42ef2d6daa5941c7014aff553",
|
|
47
|
+
"electron-v23.0.0-alpha.1-win32-x64-symbols.zip": "8d9774cc3c9544f107231d80c626089830364b358cf29afd58e4f9d50c674dd4",
|
|
48
|
+
"electron-v23.0.0-alpha.1-win32-x64-toolchain-profile.zip": "3c74052af8ff64b056b15e2ec61b3421c333a88c1134d8f94fcf5820a08d183b",
|
|
49
|
+
"electron-v23.0.0-alpha.1-win32-x64.zip": "de8edca14e1b06f44721127267ebf9068f74d090a5da68c4be5f073227a4092e",
|
|
50
|
+
"electron.d.ts": "52d16ffba2a580e96bc58ae4b07380744773bbb72bdb58bad2fea6671057a001",
|
|
51
|
+
"ffmpeg-v23.0.0-alpha.1-darwin-arm64.zip": "0e2e29da30f0284809d711e5c6c9f41ce3ea0857abc2558d8ccac45a0e8e028a",
|
|
52
|
+
"ffmpeg-v23.0.0-alpha.1-darwin-x64.zip": "ee768e945f0bf657ce93f1f255f6af8adfb3f5dc8cf4fc82d45596d86580aa96",
|
|
53
|
+
"ffmpeg-v23.0.0-alpha.1-linux-arm64.zip": "c24fb28e8d88e8387ee16a5bbc1f2b7fa6a4e015f01e2405a67f33135d600d9a",
|
|
54
|
+
"ffmpeg-v23.0.0-alpha.1-linux-armv7l.zip": "328ddd56e69a4c660019d7446ce56cbb09fd024b35b7602715df2939bc1c1871",
|
|
55
|
+
"ffmpeg-v23.0.0-alpha.1-linux-x64.zip": "0cf74ef31885d5f0a043baec1250a7cd7f2e633f193d669ec5db7563ed879008",
|
|
56
|
+
"ffmpeg-v23.0.0-alpha.1-mas-arm64.zip": "aa4e985e370720c96cb158eae3a7005597bbd4cc898a1162baf4d00ad23fea1a",
|
|
57
|
+
"ffmpeg-v23.0.0-alpha.1-mas-x64.zip": "a8c98ce8cdf325df4858ab19c3f5c04f38fd109c440eb481564bd05622546250",
|
|
58
|
+
"ffmpeg-v23.0.0-alpha.1-win32-arm64.zip": "70274cbc2da3bb3c6aa646a4118fd4092685e9d1bf9266a6032fb2e546018674",
|
|
59
|
+
"ffmpeg-v23.0.0-alpha.1-win32-ia32.zip": "b241144fafbab7a848de2301a7f49fff8fcec4d2f954a50b17003fc45f2eb235",
|
|
60
|
+
"ffmpeg-v23.0.0-alpha.1-win32-x64.zip": "5780f8f517aa7f9d21a78835644878681639c92d298a343b55cae7bf4ea69ad7",
|
|
61
|
+
"hunspell_dictionaries.zip": "f7b39b9228a6d979afc0438f6c48697b28ecf1985db2f3767370018fe768d5b4",
|
|
62
|
+
"libcxx-objects-v23.0.0-alpha.1-linux-arm64.zip": "2198a0e4835fbcc90ca91a0997097f9a4def12939db872ed374d5d37fffbb348",
|
|
63
|
+
"libcxx-objects-v23.0.0-alpha.1-linux-armv7l.zip": "ed3df8fff6798a408934aaaff4bb536a56623215f77f163ecc549c4dfdaacd1e",
|
|
64
|
+
"libcxx-objects-v23.0.0-alpha.1-linux-x64.zip": "1d3a558eec4aecbb1feeeadd6fdc6edfe9f7cbbb803c9efbabf1115a23c77e9b",
|
|
65
|
+
"libcxx_headers.zip": "ef92ad2695655a7f34d83bccde1a0bb70bbd895d73f2b4fc5c92c59a25e7e5f9",
|
|
66
|
+
"libcxxabi_headers.zip": "84ec2e1310532eae3efeca55fba34418fff286f53bd336125730ac9383644909",
|
|
67
|
+
"mksnapshot-v23.0.0-alpha.1-darwin-arm64.zip": "f5af293ca7095f2f16b15673d24564b120bb8ba9f7e12136873c2ce075dbc3d5",
|
|
68
|
+
"mksnapshot-v23.0.0-alpha.1-darwin-x64.zip": "86190124bb53812f40cc1d633983182157ef9290fd93a949856f55edf1148d3a",
|
|
69
|
+
"mksnapshot-v23.0.0-alpha.1-linux-arm64-x64.zip": "fd04b883b16dcde87b93c6854dd36182c2df8334caa37d1987bef9496f1b863a",
|
|
70
|
+
"mksnapshot-v23.0.0-alpha.1-linux-armv7l-x64.zip": "02b8ec2e58565d1b2e5fb86c7067f6b91939f2ec2a97c3fb55196862a587c6ac",
|
|
71
|
+
"mksnapshot-v23.0.0-alpha.1-linux-x64.zip": "0829870b84ab5524b2deec6e759807c9f2b0311ce4424b8b86ca1dffacc3763a",
|
|
72
|
+
"mksnapshot-v23.0.0-alpha.1-mas-arm64.zip": "45df1a737a00bfbb95bbe23776865ab8c9290882604bc535064dbf289dff90b9",
|
|
73
|
+
"mksnapshot-v23.0.0-alpha.1-mas-x64.zip": "f383f8cb178884842b45d8518c31da46049a09573e4fb129e98617ba2b07bf4e",
|
|
74
|
+
"mksnapshot-v23.0.0-alpha.1-win32-arm64-x64.zip": "5a7c164798fd65c3e1e0e96b462fc94378aa6c4f2c078da40b55308089d29070",
|
|
75
|
+
"mksnapshot-v23.0.0-alpha.1-win32-ia32.zip": "fa5065be92eb6165f00c2b55c2af15a57f841bbea3152735cf3c614c393c7f93",
|
|
76
|
+
"mksnapshot-v23.0.0-alpha.1-win32-x64.zip": "1a737f8a6d9d9a068674c91518143f2dde1c07987e1af8fa04a3848994220431"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 23.0.0-alpha.1
|
|
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
|
|
@@ -2237,9 +2237,12 @@ declare namespace Electron {
|
|
|
2237
2237
|
* Resolves with a NativeImage
|
|
2238
2238
|
*
|
|
2239
2239
|
* Captures a snapshot of the page within `rect`. Omitting `rect` will capture the
|
|
2240
|
-
* whole visible page. If the page is not visible, `rect` may be empty.
|
|
2240
|
+
* whole visible page. If the page is not visible, `rect` may be empty. The page is
|
|
2241
|
+
* considered visible when its browser window is hidden and the capturer count is
|
|
2242
|
+
* non-zero. If you would like the page to stay hidden, you should ensure that
|
|
2243
|
+
* `stayHidden` is set to true.
|
|
2241
2244
|
*/
|
|
2242
|
-
capturePage(rect?: Rectangle): Promise<Electron.NativeImage>;
|
|
2245
|
+
capturePage(rect?: Rectangle, opts?: Opts): Promise<Electron.NativeImage>;
|
|
2243
2246
|
/**
|
|
2244
2247
|
* Moves window to the center of the screen.
|
|
2245
2248
|
*/
|
|
@@ -2443,6 +2446,12 @@ declare namespace Electron {
|
|
|
2443
2446
|
* window.
|
|
2444
2447
|
*/
|
|
2445
2448
|
isFullScreenable(): boolean;
|
|
2449
|
+
/**
|
|
2450
|
+
* Whether the window will be hidden when the user toggles into mission control.
|
|
2451
|
+
*
|
|
2452
|
+
* @platform darwin
|
|
2453
|
+
*/
|
|
2454
|
+
isHiddenInMissionControl(): boolean;
|
|
2446
2455
|
/**
|
|
2447
2456
|
* Whether the window is in kiosk mode.
|
|
2448
2457
|
*/
|
|
@@ -2777,6 +2786,13 @@ declare namespace Electron {
|
|
|
2777
2786
|
* Sets whether the window should have a shadow.
|
|
2778
2787
|
*/
|
|
2779
2788
|
setHasShadow(hasShadow: boolean): void;
|
|
2789
|
+
/**
|
|
2790
|
+
* Sets whether the window will be hidden when the user toggles into mission
|
|
2791
|
+
* control.
|
|
2792
|
+
*
|
|
2793
|
+
* @platform darwin
|
|
2794
|
+
*/
|
|
2795
|
+
setHiddenInMissionControl(hidden: boolean): void;
|
|
2780
2796
|
/**
|
|
2781
2797
|
* Changes window icon.
|
|
2782
2798
|
*
|
|
@@ -7740,6 +7756,26 @@ declare namespace Electron {
|
|
|
7740
7756
|
portList: SerialPort[],
|
|
7741
7757
|
webContents: WebContents,
|
|
7742
7758
|
callback: (portId: string) => void) => void): this;
|
|
7759
|
+
/**
|
|
7760
|
+
* Emitted when a USB device needs to be selected when a call to
|
|
7761
|
+
* `navigator.usb.requestDevice` is made. `callback` should be called with
|
|
7762
|
+
* `deviceId` to be selected; passing no arguments to `callback` will cancel the
|
|
7763
|
+
* request. Additionally, permissioning on `navigator.usb` can be further managed
|
|
7764
|
+
* by using ses.setPermissionCheckHandler(handler) and
|
|
7765
|
+
* ses.setDevicePermissionHandler(handler)`.
|
|
7766
|
+
*/
|
|
7767
|
+
on(event: 'select-usb-device', listener: (event: Event,
|
|
7768
|
+
details: SelectUsbDeviceDetails,
|
|
7769
|
+
callback: (deviceId?: string) => void) => void): this;
|
|
7770
|
+
once(event: 'select-usb-device', listener: (event: Event,
|
|
7771
|
+
details: SelectUsbDeviceDetails,
|
|
7772
|
+
callback: (deviceId?: string) => void) => void): this;
|
|
7773
|
+
addListener(event: 'select-usb-device', listener: (event: Event,
|
|
7774
|
+
details: SelectUsbDeviceDetails,
|
|
7775
|
+
callback: (deviceId?: string) => void) => void): this;
|
|
7776
|
+
removeListener(event: 'select-usb-device', listener: (event: Event,
|
|
7777
|
+
details: SelectUsbDeviceDetails,
|
|
7778
|
+
callback: (deviceId?: string) => void) => void): this;
|
|
7743
7779
|
/**
|
|
7744
7780
|
* Emitted after `navigator.serial.requestPort` has been called and
|
|
7745
7781
|
* `select-serial-port` has fired if a new serial port becomes available before the
|
|
@@ -7885,6 +7921,49 @@ declare namespace Electron {
|
|
|
7885
7921
|
* The language code of the dictionary file
|
|
7886
7922
|
*/
|
|
7887
7923
|
languageCode: string) => void): this;
|
|
7924
|
+
/**
|
|
7925
|
+
* Emitted after `navigator.usb.requestDevice` has been called and
|
|
7926
|
+
* `select-usb-device` has fired if a new device becomes available before the
|
|
7927
|
+
* callback from `select-usb-device` is called. This event is intended for use
|
|
7928
|
+
* when using a UI to ask users to pick a device so that the UI can be updated with
|
|
7929
|
+
* the newly added device.
|
|
7930
|
+
*/
|
|
7931
|
+
on(event: 'usb-device-added', listener: (event: Event,
|
|
7932
|
+
details: UsbDeviceAddedDetails) => void): this;
|
|
7933
|
+
once(event: 'usb-device-added', listener: (event: Event,
|
|
7934
|
+
details: UsbDeviceAddedDetails) => void): this;
|
|
7935
|
+
addListener(event: 'usb-device-added', listener: (event: Event,
|
|
7936
|
+
details: UsbDeviceAddedDetails) => void): this;
|
|
7937
|
+
removeListener(event: 'usb-device-added', listener: (event: Event,
|
|
7938
|
+
details: UsbDeviceAddedDetails) => void): this;
|
|
7939
|
+
/**
|
|
7940
|
+
* Emitted after `navigator.usb.requestDevice` has been called and
|
|
7941
|
+
* `select-usb-device` has fired if a device has been removed before the callback
|
|
7942
|
+
* from `select-usb-device` is called. This event is intended for use when using a
|
|
7943
|
+
* UI to ask users to pick a device so that the UI can be updated to remove the
|
|
7944
|
+
* specified device.
|
|
7945
|
+
*/
|
|
7946
|
+
on(event: 'usb-device-removed', listener: (event: Event,
|
|
7947
|
+
details: UsbDeviceRemovedDetails) => void): this;
|
|
7948
|
+
once(event: 'usb-device-removed', listener: (event: Event,
|
|
7949
|
+
details: UsbDeviceRemovedDetails) => void): this;
|
|
7950
|
+
addListener(event: 'usb-device-removed', listener: (event: Event,
|
|
7951
|
+
details: UsbDeviceRemovedDetails) => void): this;
|
|
7952
|
+
removeListener(event: 'usb-device-removed', listener: (event: Event,
|
|
7953
|
+
details: UsbDeviceRemovedDetails) => void): this;
|
|
7954
|
+
/**
|
|
7955
|
+
* Emitted after `USBDevice.forget()` has been called. This event can be used to
|
|
7956
|
+
* help maintain persistent storage of permissions when
|
|
7957
|
+
* `setDevicePermissionHandler` is used.
|
|
7958
|
+
*/
|
|
7959
|
+
on(event: 'usb-device-revoked', listener: (event: Event,
|
|
7960
|
+
details: UsbDeviceRevokedDetails) => void): this;
|
|
7961
|
+
once(event: 'usb-device-revoked', listener: (event: Event,
|
|
7962
|
+
details: UsbDeviceRevokedDetails) => void): this;
|
|
7963
|
+
addListener(event: 'usb-device-revoked', listener: (event: Event,
|
|
7964
|
+
details: UsbDeviceRevokedDetails) => void): this;
|
|
7965
|
+
removeListener(event: 'usb-device-revoked', listener: (event: Event,
|
|
7966
|
+
details: UsbDeviceRevokedDetails) => void): this;
|
|
7888
7967
|
/**
|
|
7889
7968
|
* Emitted when Electron is about to download `item` in `webContents`.
|
|
7890
7969
|
*
|
|
@@ -9436,6 +9515,9 @@ declare namespace Electron {
|
|
|
9436
9515
|
removeListener(event: 'balloon-show', listener: Function): this;
|
|
9437
9516
|
/**
|
|
9438
9517
|
* Emitted when the tray icon is clicked.
|
|
9518
|
+
*
|
|
9519
|
+
* Note that on Linux this event is emitted when the tray icon receives an
|
|
9520
|
+
* activation, which might not necessarily be left mouse click.
|
|
9439
9521
|
*/
|
|
9440
9522
|
on(event: 'click', listener: (event: KeyboardEvent,
|
|
9441
9523
|
/**
|
|
@@ -9897,6 +9979,72 @@ declare namespace Electron {
|
|
|
9897
9979
|
type: 'rawData';
|
|
9898
9980
|
}
|
|
9899
9981
|
|
|
9982
|
+
interface USBDevice {
|
|
9983
|
+
|
|
9984
|
+
// Docs: https://electronjs.org/docs/api/structures/usb-device
|
|
9985
|
+
|
|
9986
|
+
/**
|
|
9987
|
+
* The device class for the communication interface supported by the device
|
|
9988
|
+
*/
|
|
9989
|
+
deviceClass: number;
|
|
9990
|
+
/**
|
|
9991
|
+
* Unique identifier for the device.
|
|
9992
|
+
*/
|
|
9993
|
+
deviceId: string;
|
|
9994
|
+
/**
|
|
9995
|
+
* The device protocol for the communication interface supported by the device
|
|
9996
|
+
*/
|
|
9997
|
+
deviceProtocol: number;
|
|
9998
|
+
/**
|
|
9999
|
+
* The device subclass for the communication interface supported by the device
|
|
10000
|
+
*/
|
|
10001
|
+
deviceSubclass: number;
|
|
10002
|
+
/**
|
|
10003
|
+
* The major version number of the device as defined by the device manufacturer.
|
|
10004
|
+
*/
|
|
10005
|
+
deviceVersionMajor: number;
|
|
10006
|
+
/**
|
|
10007
|
+
* The minor version number of the device as defined by the device manufacturer.
|
|
10008
|
+
*/
|
|
10009
|
+
deviceVersionMinor: number;
|
|
10010
|
+
/**
|
|
10011
|
+
* The subminor version number of the device as defined by the device manufacturer.
|
|
10012
|
+
*/
|
|
10013
|
+
deviceVersionSubminor: number;
|
|
10014
|
+
/**
|
|
10015
|
+
* The manufacturer name of the device.
|
|
10016
|
+
*/
|
|
10017
|
+
manufacturerName?: string;
|
|
10018
|
+
/**
|
|
10019
|
+
* The USB product ID.
|
|
10020
|
+
*/
|
|
10021
|
+
productId: number;
|
|
10022
|
+
/**
|
|
10023
|
+
* Name of the device.
|
|
10024
|
+
*/
|
|
10025
|
+
productName?: string;
|
|
10026
|
+
/**
|
|
10027
|
+
* The USB device serial number.
|
|
10028
|
+
*/
|
|
10029
|
+
serialNumber?: string;
|
|
10030
|
+
/**
|
|
10031
|
+
* The USB protocol major version supported by the device
|
|
10032
|
+
*/
|
|
10033
|
+
usbVersionMajor: number;
|
|
10034
|
+
/**
|
|
10035
|
+
* The USB protocol minor version supported by the device
|
|
10036
|
+
*/
|
|
10037
|
+
usbVersionMinor: number;
|
|
10038
|
+
/**
|
|
10039
|
+
* The USB protocol subminor version supported by the device
|
|
10040
|
+
*/
|
|
10041
|
+
usbVersionSubminor: number;
|
|
10042
|
+
/**
|
|
10043
|
+
* The USB vendor ID.
|
|
10044
|
+
*/
|
|
10045
|
+
vendorId: number;
|
|
10046
|
+
}
|
|
10047
|
+
|
|
9900
10048
|
interface UserDefaultTypes {
|
|
9901
10049
|
|
|
9902
10050
|
// Docs: https://electronjs.org/docs/api/structures/user-default-types
|
|
@@ -11232,9 +11380,11 @@ declare namespace Electron {
|
|
|
11232
11380
|
* Resolves with a NativeImage
|
|
11233
11381
|
*
|
|
11234
11382
|
* Captures a snapshot of the page within `rect`. Omitting `rect` will capture the
|
|
11235
|
-
* whole visible page.
|
|
11383
|
+
* whole visible page. The page is considered visible when its browser window is
|
|
11384
|
+
* hidden and the capturer count is non-zero. If you would like the page to stay
|
|
11385
|
+
* hidden, you should ensure that `stayHidden` is set to true.
|
|
11236
11386
|
*/
|
|
11237
|
-
capturePage(rect?: Rectangle): Promise<Electron.NativeImage>;
|
|
11387
|
+
capturePage(rect?: Rectangle, opts?: Opts): Promise<Electron.NativeImage>;
|
|
11238
11388
|
/**
|
|
11239
11389
|
* Clears the navigation history.
|
|
11240
11390
|
*/
|
|
@@ -11246,7 +11396,7 @@ declare namespace Electron {
|
|
|
11246
11396
|
* page, or `waitForBeforeUnload` is false or unspecified), the WebContents will be
|
|
11247
11397
|
* destroyed and no longer usable. The `destroyed` event will be emitted.
|
|
11248
11398
|
*/
|
|
11249
|
-
close(opts?:
|
|
11399
|
+
close(opts?: CloseOpts): void;
|
|
11250
11400
|
/**
|
|
11251
11401
|
* Closes the devtools.
|
|
11252
11402
|
*/
|
|
@@ -11268,6 +11418,11 @@ declare namespace Electron {
|
|
|
11268
11418
|
* state when its browser window is hidden or occluded and the capturer count
|
|
11269
11419
|
* reaches zero. If you want to decrease the hidden capturer count instead you
|
|
11270
11420
|
* should set `stayHidden` to true.
|
|
11421
|
+
*
|
|
11422
|
+
* **Deprecated:** This API's functionality is now handled automatically within
|
|
11423
|
+
* `contents.capturePage()`. See breaking changes.
|
|
11424
|
+
*
|
|
11425
|
+
* @deprecated
|
|
11271
11426
|
*/
|
|
11272
11427
|
decrementCapturerCount(stayHidden?: boolean, stayAwake?: boolean): void;
|
|
11273
11428
|
/**
|
|
@@ -11430,6 +11585,11 @@ declare namespace Electron {
|
|
|
11430
11585
|
* the page to stay hidden, you should ensure that `stayHidden` is set to true.
|
|
11431
11586
|
*
|
|
11432
11587
|
* This also affects the Page Visibility API.
|
|
11588
|
+
*
|
|
11589
|
+
* **Deprecated:** This API's functionality is now handled automatically within
|
|
11590
|
+
* `contents.capturePage()`. See breaking changes.
|
|
11591
|
+
*
|
|
11592
|
+
* @deprecated
|
|
11433
11593
|
*/
|
|
11434
11594
|
incrementCapturerCount(size?: Size, stayHidden?: boolean, stayAwake?: boolean): void;
|
|
11435
11595
|
/**
|
|
@@ -11748,7 +11908,7 @@ declare namespace Electron {
|
|
|
11748
11908
|
* submitting a form with `<form target="_blank">`. See `window.open()` for more
|
|
11749
11909
|
* details and how to use this in conjunction with `did-create-window`.
|
|
11750
11910
|
*/
|
|
11751
|
-
setWindowOpenHandler(handler: (details: HandlerDetails) => ({action: 'deny'}) | ({action: 'allow', overrideBrowserWindowOptions?: BrowserWindowConstructorOptions})): void;
|
|
11911
|
+
setWindowOpenHandler(handler: (details: HandlerDetails) => ({action: 'deny'}) | ({action: 'allow', outlivesOpener?: boolean, overrideBrowserWindowOptions?: BrowserWindowConstructorOptions})): void;
|
|
11752
11912
|
/**
|
|
11753
11913
|
* Changes the zoom factor to the specified factor. Zoom factor is zoom percent
|
|
11754
11914
|
* divided by 100, so 300% = 3.0.
|
|
@@ -13325,6 +13485,12 @@ declare namespace Electron {
|
|
|
13325
13485
|
* @platform darwin,win32
|
|
13326
13486
|
*/
|
|
13327
13487
|
skipTaskbar?: boolean;
|
|
13488
|
+
/**
|
|
13489
|
+
* Whether window should be hidden when the user toggles into mission control.
|
|
13490
|
+
*
|
|
13491
|
+
* @platform darwin
|
|
13492
|
+
*/
|
|
13493
|
+
hiddenInMissionControl?: boolean;
|
|
13328
13494
|
/**
|
|
13329
13495
|
* Whether the window is in kiosk mode. Default is `false`.
|
|
13330
13496
|
*/
|
|
@@ -13545,8 +13711,8 @@ declare namespace Electron {
|
|
|
13545
13711
|
*/
|
|
13546
13712
|
storages?: string[];
|
|
13547
13713
|
/**
|
|
13548
|
-
* The types of quotas to clear, can contain: `temporary`, `
|
|
13549
|
-
*
|
|
13714
|
+
* The types of quotas to clear, can contain: `temporary`, `syncable`. If not
|
|
13715
|
+
* specified, clear all quotas.
|
|
13550
13716
|
*/
|
|
13551
13717
|
quotas?: string[];
|
|
13552
13718
|
}
|
|
@@ -13621,6 +13787,15 @@ declare namespace Electron {
|
|
|
13621
13787
|
origin?: string;
|
|
13622
13788
|
}
|
|
13623
13789
|
|
|
13790
|
+
interface CloseOpts {
|
|
13791
|
+
/**
|
|
13792
|
+
* if true, fire the `beforeunload` event before closing the page. If the page
|
|
13793
|
+
* prevents the unload, the WebContents will not be closed. The
|
|
13794
|
+
* `will-prevent-unload` will be fired if the page requests prevention of unload.
|
|
13795
|
+
*/
|
|
13796
|
+
waitForBeforeUnload: boolean;
|
|
13797
|
+
}
|
|
13798
|
+
|
|
13624
13799
|
interface Config {
|
|
13625
13800
|
/**
|
|
13626
13801
|
* The proxy mode. Should be one of `direct`, `auto_detect`, `pac_script`,
|
|
@@ -14044,10 +14219,10 @@ declare namespace Electron {
|
|
|
14044
14219
|
|
|
14045
14220
|
interface DevicePermissionHandlerHandlerDetails {
|
|
14046
14221
|
/**
|
|
14047
|
-
* The type of device that permission is being requested on, can be `hid
|
|
14048
|
-
* `serial`.
|
|
14222
|
+
* The type of device that permission is being requested on, can be `hid`,
|
|
14223
|
+
* `serial`, or `usb`.
|
|
14049
14224
|
*/
|
|
14050
|
-
deviceType: ('hid' | 'serial');
|
|
14225
|
+
deviceType: ('hid' | 'serial' | 'usb');
|
|
14051
14226
|
/**
|
|
14052
14227
|
* The origin URL of the device permission check.
|
|
14053
14228
|
*/
|
|
@@ -15287,11 +15462,13 @@ declare namespace Electron {
|
|
|
15287
15462
|
|
|
15288
15463
|
interface Opts {
|
|
15289
15464
|
/**
|
|
15290
|
-
*
|
|
15291
|
-
* prevents the unload, the WebContents will not be closed. The
|
|
15292
|
-
* `will-prevent-unload` will be fired if the page requests prevention of unload.
|
|
15465
|
+
* Keep the page hidden instead of visible. Default is `false`.
|
|
15293
15466
|
*/
|
|
15294
|
-
|
|
15467
|
+
stayHidden?: boolean;
|
|
15468
|
+
/**
|
|
15469
|
+
* Keep the system awake instead of allowing it to sleep. Default is `false`.
|
|
15470
|
+
*/
|
|
15471
|
+
stayAwake?: boolean;
|
|
15295
15472
|
}
|
|
15296
15473
|
|
|
15297
15474
|
interface PageFaviconUpdatedEvent extends Event {
|
|
@@ -15763,6 +15940,11 @@ declare namespace Electron {
|
|
|
15763
15940
|
frame: WebFrameMain;
|
|
15764
15941
|
}
|
|
15765
15942
|
|
|
15943
|
+
interface SelectUsbDeviceDetails {
|
|
15944
|
+
deviceList: USBDevice[];
|
|
15945
|
+
frame: WebFrameMain;
|
|
15946
|
+
}
|
|
15947
|
+
|
|
15766
15948
|
interface SerialPortRevokedDetails {
|
|
15767
15949
|
port: SerialPort;
|
|
15768
15950
|
frame: WebFrameMain;
|
|
@@ -16174,6 +16356,24 @@ declare namespace Electron {
|
|
|
16174
16356
|
total: number;
|
|
16175
16357
|
}
|
|
16176
16358
|
|
|
16359
|
+
interface UsbDeviceAddedDetails {
|
|
16360
|
+
device: USBDevice;
|
|
16361
|
+
frame: WebFrameMain;
|
|
16362
|
+
}
|
|
16363
|
+
|
|
16364
|
+
interface UsbDeviceRemovedDetails {
|
|
16365
|
+
device: USBDevice;
|
|
16366
|
+
frame: WebFrameMain;
|
|
16367
|
+
}
|
|
16368
|
+
|
|
16369
|
+
interface UsbDeviceRevokedDetails {
|
|
16370
|
+
device: USBDevice[];
|
|
16371
|
+
/**
|
|
16372
|
+
* The origin that the device has been revoked from.
|
|
16373
|
+
*/
|
|
16374
|
+
origin?: string;
|
|
16375
|
+
}
|
|
16376
|
+
|
|
16177
16377
|
interface VisibleOnAllWorkspacesOptions {
|
|
16178
16378
|
/**
|
|
16179
16379
|
* Sets whether the window should be visible above fullscreen windows.
|
|
@@ -16991,6 +17191,7 @@ declare namespace Electron {
|
|
|
16991
17191
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16992
17192
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
16993
17193
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
17194
|
+
type CloseOpts = Electron.CloseOpts;
|
|
16994
17195
|
type Config = Electron.Config;
|
|
16995
17196
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
16996
17197
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -17095,6 +17296,7 @@ declare namespace Electron {
|
|
|
17095
17296
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
17096
17297
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
17097
17298
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
17299
|
+
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
17098
17300
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
17099
17301
|
type Settings = Electron.Settings;
|
|
17100
17302
|
type SourcesOptions = Electron.SourcesOptions;
|
|
@@ -17120,6 +17322,9 @@ declare namespace Electron {
|
|
|
17120
17322
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
17121
17323
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
17122
17324
|
type UploadProgress = Electron.UploadProgress;
|
|
17325
|
+
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
17326
|
+
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
17327
|
+
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
17123
17328
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
17124
17329
|
type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
|
|
17125
17330
|
type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
|
|
@@ -17199,6 +17404,7 @@ declare namespace Electron {
|
|
|
17199
17404
|
type UploadData = Electron.UploadData;
|
|
17200
17405
|
type UploadFile = Electron.UploadFile;
|
|
17201
17406
|
type UploadRawData = Electron.UploadRawData;
|
|
17407
|
+
type USBDevice = Electron.USBDevice;
|
|
17202
17408
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
17203
17409
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
17204
17410
|
type WebSource = Electron.WebSource;
|
|
@@ -17297,6 +17503,7 @@ declare namespace Electron {
|
|
|
17297
17503
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17298
17504
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
17299
17505
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
17506
|
+
type CloseOpts = Electron.CloseOpts;
|
|
17300
17507
|
type Config = Electron.Config;
|
|
17301
17508
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
17302
17509
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -17401,6 +17608,7 @@ declare namespace Electron {
|
|
|
17401
17608
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
17402
17609
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
17403
17610
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
17611
|
+
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
17404
17612
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
17405
17613
|
type Settings = Electron.Settings;
|
|
17406
17614
|
type SourcesOptions = Electron.SourcesOptions;
|
|
@@ -17426,6 +17634,9 @@ declare namespace Electron {
|
|
|
17426
17634
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
17427
17635
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
17428
17636
|
type UploadProgress = Electron.UploadProgress;
|
|
17637
|
+
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
17638
|
+
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
17639
|
+
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
17429
17640
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
17430
17641
|
type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
|
|
17431
17642
|
type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
|
|
@@ -17505,6 +17716,7 @@ declare namespace Electron {
|
|
|
17505
17716
|
type UploadData = Electron.UploadData;
|
|
17506
17717
|
type UploadFile = Electron.UploadFile;
|
|
17507
17718
|
type UploadRawData = Electron.UploadRawData;
|
|
17719
|
+
type USBDevice = Electron.USBDevice;
|
|
17508
17720
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
17509
17721
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
17510
17722
|
type WebSource = Electron.WebSource;
|
|
@@ -17536,6 +17748,7 @@ declare namespace Electron {
|
|
|
17536
17748
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17537
17749
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
17538
17750
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
17751
|
+
type CloseOpts = Electron.CloseOpts;
|
|
17539
17752
|
type Config = Electron.Config;
|
|
17540
17753
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
17541
17754
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -17640,6 +17853,7 @@ declare namespace Electron {
|
|
|
17640
17853
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
17641
17854
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
17642
17855
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
17856
|
+
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
17643
17857
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
17644
17858
|
type Settings = Electron.Settings;
|
|
17645
17859
|
type SourcesOptions = Electron.SourcesOptions;
|
|
@@ -17665,6 +17879,9 @@ declare namespace Electron {
|
|
|
17665
17879
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
17666
17880
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
17667
17881
|
type UploadProgress = Electron.UploadProgress;
|
|
17882
|
+
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
17883
|
+
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
17884
|
+
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
17668
17885
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
17669
17886
|
type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
|
|
17670
17887
|
type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
|
|
@@ -17744,6 +17961,7 @@ declare namespace Electron {
|
|
|
17744
17961
|
type UploadData = Electron.UploadData;
|
|
17745
17962
|
type UploadFile = Electron.UploadFile;
|
|
17746
17963
|
type UploadRawData = Electron.UploadRawData;
|
|
17964
|
+
type USBDevice = Electron.USBDevice;
|
|
17747
17965
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
17748
17966
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
17749
17967
|
type WebSource = Electron.WebSource;
|
|
@@ -17856,6 +18074,7 @@ declare namespace Electron {
|
|
|
17856
18074
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17857
18075
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
17858
18076
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
18077
|
+
type CloseOpts = Electron.CloseOpts;
|
|
17859
18078
|
type Config = Electron.Config;
|
|
17860
18079
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
17861
18080
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -17960,6 +18179,7 @@ declare namespace Electron {
|
|
|
17960
18179
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
17961
18180
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
17962
18181
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
18182
|
+
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
17963
18183
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
17964
18184
|
type Settings = Electron.Settings;
|
|
17965
18185
|
type SourcesOptions = Electron.SourcesOptions;
|
|
@@ -17985,6 +18205,9 @@ declare namespace Electron {
|
|
|
17985
18205
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
17986
18206
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
17987
18207
|
type UploadProgress = Electron.UploadProgress;
|
|
18208
|
+
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
18209
|
+
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
18210
|
+
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
17988
18211
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
17989
18212
|
type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
|
|
17990
18213
|
type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
|
|
@@ -18064,6 +18287,7 @@ declare namespace Electron {
|
|
|
18064
18287
|
type UploadData = Electron.UploadData;
|
|
18065
18288
|
type UploadFile = Electron.UploadFile;
|
|
18066
18289
|
type UploadRawData = Electron.UploadRawData;
|
|
18290
|
+
type USBDevice = Electron.USBDevice;
|
|
18067
18291
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
18068
18292
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
18069
18293
|
type WebSource = Electron.WebSource;
|
package/package.json
CHANGED