electron 22.0.0 → 23.0.0-alpha.2
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 +237 -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.2-darwin-arm64.zip": "618d01cb6e48fd285a58fa5972c7644193994a4898114d31e2f64640a74cfacd",
|
|
3
|
+
"chromedriver-v23.0.0-alpha.2-darwin-x64.zip": "d4ddeb6cc7382864d63033add0b32c8670990f284c269cb41b98919d9038deed",
|
|
4
|
+
"chromedriver-v23.0.0-alpha.2-linux-arm64.zip": "1f08c04286646e10dc6bb8c53b27ce769374876743fbfe3bb1c29808854c0eda",
|
|
5
|
+
"chromedriver-v23.0.0-alpha.2-linux-armv7l.zip": "11db2bedaf062c38268b86376826eb40b30732cb8d3803dc3603a956a7847c60",
|
|
6
|
+
"chromedriver-v23.0.0-alpha.2-linux-x64.zip": "a7f12d53eb65da12ca7dff65e0b5dab69f8064646288905d62e0fa7467f8acfa",
|
|
7
|
+
"chromedriver-v23.0.0-alpha.2-mas-arm64.zip": "1413c26dff4f474958a08992685b04ac35b6ba17b709e5f340bac069dc580de8",
|
|
8
|
+
"chromedriver-v23.0.0-alpha.2-mas-x64.zip": "d59997bae8e82776fa85f70fc67666d8f6503c06183bde77249efe9236b2b238",
|
|
9
|
+
"chromedriver-v23.0.0-alpha.2-win32-arm64.zip": "34c19009f1104db44c1f3cfa650a0bf15ce9557a2c4f0b78a0f6a546bd6c721b",
|
|
10
|
+
"chromedriver-v23.0.0-alpha.2-win32-ia32.zip": "8f2e7eac4eaa8500299782b075f458b7561fb8a899736789f8d7cb272d5b5dca",
|
|
11
|
+
"chromedriver-v23.0.0-alpha.2-win32-x64.zip": "6a89991d37d19c699f94cc89fa69bd6523b288b36ad4c7e56688cf0930833986",
|
|
12
|
+
"electron-api.json": "e191e3c3bc75fe3a51f39bac0582d1933ba9b6d97bc7e1f6e9f11f7bb55528d1",
|
|
13
|
+
"electron-v23.0.0-alpha.2-darwin-arm64-dsym-snapshot.zip": "922d84b2ab5d69a6bd1b2cba1818f5d64222affdf03c1711cb2c29c5acfa4743",
|
|
14
|
+
"electron-v23.0.0-alpha.2-darwin-arm64-dsym.zip": "b37453145a6fbae49c043adb810cc7cd3c4da0f8e68eb8c9367f2fcf83c8beec",
|
|
15
|
+
"electron-v23.0.0-alpha.2-darwin-arm64-symbols.zip": "813106b09502e1a800983d8dbc365ddc7afbf642c31d2893446cb532c9d1bfc6",
|
|
16
|
+
"electron-v23.0.0-alpha.2-darwin-arm64.zip": "2cc4cc490cdc9fac5713da03d60f056593c93ccfcb1fbda651042897edcb0c0d",
|
|
17
|
+
"electron-v23.0.0-alpha.2-darwin-x64-dsym-snapshot.zip": "50941e6d516890c376108e9d55652e8194cae7ca9d20683c7fcd114ef58ed236",
|
|
18
|
+
"electron-v23.0.0-alpha.2-darwin-x64-dsym.zip": "92af1e033fbf96e2660b12da06b52c967007a77820004aeb55553c53d0e88d0f",
|
|
19
|
+
"electron-v23.0.0-alpha.2-darwin-x64-symbols.zip": "79b2fc83985ce4ef6847da31db16631065beeb5511368261d20dad0b049ca91a",
|
|
20
|
+
"electron-v23.0.0-alpha.2-darwin-x64.zip": "7ed3e965462ca90ae06dc4893d60498217a93a4fcb259c36c46f9f378808d78f",
|
|
21
|
+
"electron-v23.0.0-alpha.2-linux-arm64-debug.zip": "8976c8f2756711e840e33c5369ee9c3a7918642c5a87e9d650123b4458c8ac5b",
|
|
22
|
+
"electron-v23.0.0-alpha.2-linux-arm64-symbols.zip": "ec69369d25b167c7e3eacd8c7b8e6c73841f5561374ae1f35dac5d45fe81d836",
|
|
23
|
+
"electron-v23.0.0-alpha.2-linux-arm64.zip": "4e6493eb2cda93b8cb5facfba91c79e7532dc7d66f64463dc2cc83fa7595ec15",
|
|
24
|
+
"electron-v23.0.0-alpha.2-linux-armv7l-debug.zip": "8976c8f2756711e840e33c5369ee9c3a7918642c5a87e9d650123b4458c8ac5b",
|
|
25
|
+
"electron-v23.0.0-alpha.2-linux-armv7l-symbols.zip": "b5564c5a40ba2231b207fd9dbe24ebd41b440c1dddf7e9ddb8392b188ee1fde3",
|
|
26
|
+
"electron-v23.0.0-alpha.2-linux-armv7l.zip": "fb56a75eeeffc6bfab1e08fdcfecbf82891bf48806218ee4a1ab655d59c1886a",
|
|
27
|
+
"electron-v23.0.0-alpha.2-linux-x64-debug.zip": "d9b96eef15c68b599f4ca8439f5c290f8029bd6a250b8f2fef08250d45d7e7ab",
|
|
28
|
+
"electron-v23.0.0-alpha.2-linux-x64-symbols.zip": "a43072b44c25c2a1d7590c92e9c844e7d8605f8574cc9f39afa1ff7d7eabb52d",
|
|
29
|
+
"electron-v23.0.0-alpha.2-linux-x64.zip": "51a79ff587524e4c58651561d4e5c788e6eea7e5bdfe8e9f0217d7c1c4d51dd7",
|
|
30
|
+
"electron-v23.0.0-alpha.2-mas-arm64-dsym-snapshot.zip": "922d84b2ab5d69a6bd1b2cba1818f5d64222affdf03c1711cb2c29c5acfa4743",
|
|
31
|
+
"electron-v23.0.0-alpha.2-mas-arm64-dsym.zip": "1c95102d11ec096bd3028cbbd442244fc77012cda919642c753e86c2661c90b9",
|
|
32
|
+
"electron-v23.0.0-alpha.2-mas-arm64-symbols.zip": "a16fccea604ccc34766c86f641bb6234ab1b22621a47be6b778fa80a397a3bff",
|
|
33
|
+
"electron-v23.0.0-alpha.2-mas-arm64.zip": "c4342d403e8ffd6a1dada596ccf1a1d7f2162a1dce2ecabe53741c975e69bba3",
|
|
34
|
+
"electron-v23.0.0-alpha.2-mas-x64-dsym-snapshot.zip": "3ff7ffda3e8f34c31728b9f0edcda859b00634ce35b377d91ce06fe1b0e8728d",
|
|
35
|
+
"electron-v23.0.0-alpha.2-mas-x64-dsym.zip": "c6259d4e588aaf616cca70d20cb749f5ff5540024f2bd791b45e0a76041a963e",
|
|
36
|
+
"electron-v23.0.0-alpha.2-mas-x64-symbols.zip": "df8d6ee1c8391f8e310777eef224b3fbf0b9ab5095f536d56f12c094461a7314",
|
|
37
|
+
"electron-v23.0.0-alpha.2-mas-x64.zip": "fd64c7e419a0481ac515a6461470d5bb0fd68837addceabcf2b6951fa7e7c135",
|
|
38
|
+
"electron-v23.0.0-alpha.2-win32-arm64-pdb.zip": "7579f11c8eaee3d39d7ec93760e2f1acdb9ddb64e3f21dbe699fb70947c8b5c9",
|
|
39
|
+
"electron-v23.0.0-alpha.2-win32-arm64-symbols.zip": "4b2a0d8776c1a2da0b76fd7990044cb9f7e42f59f47d4e810d03845e0e409da3",
|
|
40
|
+
"electron-v23.0.0-alpha.2-win32-arm64-toolchain-profile.zip": "3c74052af8ff64b056b15e2ec61b3421c333a88c1134d8f94fcf5820a08d183b",
|
|
41
|
+
"electron-v23.0.0-alpha.2-win32-arm64.zip": "4b0a4de695e9cd922c35938d59bbcc5aa8d65202a32b164ec8c66eeb50abbeb3",
|
|
42
|
+
"electron-v23.0.0-alpha.2-win32-ia32-pdb.zip": "462354e4ef83cf594a0a6a58a2be350c4a01f6abaa65bad2acc06e7c992f2652",
|
|
43
|
+
"electron-v23.0.0-alpha.2-win32-ia32-symbols.zip": "f7eed4b20c3069e73447730833061eaa622b3505b1f6f8977016147a838f6924",
|
|
44
|
+
"electron-v23.0.0-alpha.2-win32-ia32-toolchain-profile.zip": "3c74052af8ff64b056b15e2ec61b3421c333a88c1134d8f94fcf5820a08d183b",
|
|
45
|
+
"electron-v23.0.0-alpha.2-win32-ia32.zip": "df694f5a4bfdc59468e030e6aa05e682579eb67bf090f7dc31fb63073748f289",
|
|
46
|
+
"electron-v23.0.0-alpha.2-win32-x64-pdb.zip": "13da95b971e788b81f081700c9b632104047510d5f1906f185486f900936d145",
|
|
47
|
+
"electron-v23.0.0-alpha.2-win32-x64-symbols.zip": "32b9169a866e6318f54c01cba5d95cf6a2d1fd304783fff4df3277c908bd26cd",
|
|
48
|
+
"electron-v23.0.0-alpha.2-win32-x64-toolchain-profile.zip": "3c74052af8ff64b056b15e2ec61b3421c333a88c1134d8f94fcf5820a08d183b",
|
|
49
|
+
"electron-v23.0.0-alpha.2-win32-x64.zip": "32bb4839cd997e72918ff00e4ded887709fb73402ec05359618c0ca43701759f",
|
|
50
|
+
"electron.d.ts": "28e724766f36efdcda3075c88f2fa1f4feb304cc17ffac9c25bea02d2b9362ca",
|
|
51
|
+
"ffmpeg-v23.0.0-alpha.2-darwin-arm64.zip": "6cd15fba4601b93ab7a15509b7a57acf1995342746ed20d1aecb9a16851aa65d",
|
|
52
|
+
"ffmpeg-v23.0.0-alpha.2-darwin-x64.zip": "4b07f2004781f990f4d640b37aab2011422270f5beee786daa0bae0b95f2d408",
|
|
53
|
+
"ffmpeg-v23.0.0-alpha.2-linux-arm64.zip": "937f77c50c5021a529fa057e40633db8a48579ddc32145371ee10a33503f2417",
|
|
54
|
+
"ffmpeg-v23.0.0-alpha.2-linux-armv7l.zip": "bc287b2addeb779cdfa48c30e0ea148b1c3f7b91352f996a68b62c1509e78e03",
|
|
55
|
+
"ffmpeg-v23.0.0-alpha.2-linux-x64.zip": "82e487379de4c043f108e3cf0b2306dd515987d910245ed73c909968e0a76d94",
|
|
56
|
+
"ffmpeg-v23.0.0-alpha.2-mas-arm64.zip": "032d8b06fa054aa937206f19d577457fd93ffc403d56e7fc21c27b6a1f878713",
|
|
57
|
+
"ffmpeg-v23.0.0-alpha.2-mas-x64.zip": "458730796c75a60696b61f2796324bb3a94a4eb49c01c7d0b9d619953cb0def3",
|
|
58
|
+
"ffmpeg-v23.0.0-alpha.2-win32-arm64.zip": "ee2f7a8d59af3bda282db5398d0ba1744b25eb08a1636eebdc074a725d982318",
|
|
59
|
+
"ffmpeg-v23.0.0-alpha.2-win32-ia32.zip": "54e7ce8e6967acaa8bba275d8e66a5bc1a753d26e791f8dd8e24759a27b6648d",
|
|
60
|
+
"ffmpeg-v23.0.0-alpha.2-win32-x64.zip": "342c376c8d3e855ec21f7097db909b50e60fd6620b589d28329941978401cdc8",
|
|
61
|
+
"hunspell_dictionaries.zip": "07199aeb649a4c57ae5c9a252abd856a6e61766766b314576e612a76c602c255",
|
|
62
|
+
"libcxx-objects-v23.0.0-alpha.2-linux-arm64.zip": "2d1934c16d4d72bbc3396d18925624303529ebea25965dcb9520331f00e5ee9f",
|
|
63
|
+
"libcxx-objects-v23.0.0-alpha.2-linux-armv7l.zip": "496984b5a01d9311a48c7e11cbc7f211ea4ba10d25c93376c902d38c2c7fa04d",
|
|
64
|
+
"libcxx-objects-v23.0.0-alpha.2-linux-x64.zip": "765c4b83b798fab28d05697d4cf08deed15f6b70a2601b2d30a7bd61d5bcf8a7",
|
|
65
|
+
"libcxx_headers.zip": "0eeaadeba554e80b926ac71725058b566060c91bc834d6475e7b79bf0d6dcb53",
|
|
66
|
+
"libcxxabi_headers.zip": "5077b2c911640bac11f6555e481208ac941df3889f43cec592ad37ba83cbcaeb",
|
|
67
|
+
"mksnapshot-v23.0.0-alpha.2-darwin-arm64.zip": "cfce87cc86351447b6c8793673a3ad1783ed4d73c8b733598c700b2cd076d723",
|
|
68
|
+
"mksnapshot-v23.0.0-alpha.2-darwin-x64.zip": "aa081dc38837c1d2dd26d8657c26b1e28a973285377c721eb105baf89f80c369",
|
|
69
|
+
"mksnapshot-v23.0.0-alpha.2-linux-arm64-x64.zip": "eabea9b649cb5c08050ba412fdcf2028698a4e7436e0db2fdd5fbfaef424632e",
|
|
70
|
+
"mksnapshot-v23.0.0-alpha.2-linux-armv7l-x64.zip": "0b19926a7ddd73c93d4a085f01e45f72043266833d87d48ad4ee77ace990e777",
|
|
71
|
+
"mksnapshot-v23.0.0-alpha.2-linux-x64.zip": "6d91676dd63ff9751db7c500f761f9b58ec98b693591447dde0789da25e36e6e",
|
|
72
|
+
"mksnapshot-v23.0.0-alpha.2-mas-arm64.zip": "c5609a66d8e3546ef20da74dba1195cfe92a80cc050c05219c0793ac792beb01",
|
|
73
|
+
"mksnapshot-v23.0.0-alpha.2-mas-x64.zip": "c03dfa882ea6a5f88a6069a7152bd652b37e5cdd3fa1824e5ee3c2740dec406f",
|
|
74
|
+
"mksnapshot-v23.0.0-alpha.2-win32-arm64-x64.zip": "b23d96abe32271f544c5a9909b58fcb436706732d61a4a2ed559aa0ac62e882c",
|
|
75
|
+
"mksnapshot-v23.0.0-alpha.2-win32-ia32.zip": "c3452a9f5a19f8144acc8d3501c521f27d0e8605ceb9c988b6078e7f2b45a82b",
|
|
76
|
+
"mksnapshot-v23.0.0-alpha.2-win32-x64.zip": "060629fd132c3a67c66d405ee6950f02439fd8d0f833ed5a36d5e8e022073279"
|
|
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.2
|
|
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
|
*
|
|
@@ -9900,6 +9979,72 @@ declare namespace Electron {
|
|
|
9900
9979
|
type: 'rawData';
|
|
9901
9980
|
}
|
|
9902
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
|
+
|
|
9903
10048
|
interface UserDefaultTypes {
|
|
9904
10049
|
|
|
9905
10050
|
// Docs: https://electronjs.org/docs/api/structures/user-default-types
|
|
@@ -11235,9 +11380,11 @@ declare namespace Electron {
|
|
|
11235
11380
|
* Resolves with a NativeImage
|
|
11236
11381
|
*
|
|
11237
11382
|
* Captures a snapshot of the page within `rect`. Omitting `rect` will capture the
|
|
11238
|
-
* 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.
|
|
11239
11386
|
*/
|
|
11240
|
-
capturePage(rect?: Rectangle): Promise<Electron.NativeImage>;
|
|
11387
|
+
capturePage(rect?: Rectangle, opts?: Opts): Promise<Electron.NativeImage>;
|
|
11241
11388
|
/**
|
|
11242
11389
|
* Clears the navigation history.
|
|
11243
11390
|
*/
|
|
@@ -11249,7 +11396,7 @@ declare namespace Electron {
|
|
|
11249
11396
|
* page, or `waitForBeforeUnload` is false or unspecified), the WebContents will be
|
|
11250
11397
|
* destroyed and no longer usable. The `destroyed` event will be emitted.
|
|
11251
11398
|
*/
|
|
11252
|
-
close(opts?:
|
|
11399
|
+
close(opts?: CloseOpts): void;
|
|
11253
11400
|
/**
|
|
11254
11401
|
* Closes the devtools.
|
|
11255
11402
|
*/
|
|
@@ -11271,6 +11418,11 @@ declare namespace Electron {
|
|
|
11271
11418
|
* state when its browser window is hidden or occluded and the capturer count
|
|
11272
11419
|
* reaches zero. If you want to decrease the hidden capturer count instead you
|
|
11273
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
|
|
11274
11426
|
*/
|
|
11275
11427
|
decrementCapturerCount(stayHidden?: boolean, stayAwake?: boolean): void;
|
|
11276
11428
|
/**
|
|
@@ -11433,6 +11585,11 @@ declare namespace Electron {
|
|
|
11433
11585
|
* the page to stay hidden, you should ensure that `stayHidden` is set to true.
|
|
11434
11586
|
*
|
|
11435
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
|
|
11436
11593
|
*/
|
|
11437
11594
|
incrementCapturerCount(size?: Size, stayHidden?: boolean, stayAwake?: boolean): void;
|
|
11438
11595
|
/**
|
|
@@ -11751,7 +11908,7 @@ declare namespace Electron {
|
|
|
11751
11908
|
* submitting a form with `<form target="_blank">`. See `window.open()` for more
|
|
11752
11909
|
* details and how to use this in conjunction with `did-create-window`.
|
|
11753
11910
|
*/
|
|
11754
|
-
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;
|
|
11755
11912
|
/**
|
|
11756
11913
|
* Changes the zoom factor to the specified factor. Zoom factor is zoom percent
|
|
11757
11914
|
* divided by 100, so 300% = 3.0.
|
|
@@ -13328,6 +13485,12 @@ declare namespace Electron {
|
|
|
13328
13485
|
* @platform darwin,win32
|
|
13329
13486
|
*/
|
|
13330
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;
|
|
13331
13494
|
/**
|
|
13332
13495
|
* Whether the window is in kiosk mode. Default is `false`.
|
|
13333
13496
|
*/
|
|
@@ -13548,8 +13711,8 @@ declare namespace Electron {
|
|
|
13548
13711
|
*/
|
|
13549
13712
|
storages?: string[];
|
|
13550
13713
|
/**
|
|
13551
|
-
* The types of quotas to clear, can contain: `temporary`, `
|
|
13552
|
-
*
|
|
13714
|
+
* The types of quotas to clear, can contain: `temporary`, `syncable`. If not
|
|
13715
|
+
* specified, clear all quotas.
|
|
13553
13716
|
*/
|
|
13554
13717
|
quotas?: string[];
|
|
13555
13718
|
}
|
|
@@ -13624,6 +13787,15 @@ declare namespace Electron {
|
|
|
13624
13787
|
origin?: string;
|
|
13625
13788
|
}
|
|
13626
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
|
+
|
|
13627
13799
|
interface Config {
|
|
13628
13800
|
/**
|
|
13629
13801
|
* The proxy mode. Should be one of `direct`, `auto_detect`, `pac_script`,
|
|
@@ -14047,10 +14219,10 @@ declare namespace Electron {
|
|
|
14047
14219
|
|
|
14048
14220
|
interface DevicePermissionHandlerHandlerDetails {
|
|
14049
14221
|
/**
|
|
14050
|
-
* The type of device that permission is being requested on, can be `hid
|
|
14051
|
-
* `serial`.
|
|
14222
|
+
* The type of device that permission is being requested on, can be `hid`,
|
|
14223
|
+
* `serial`, or `usb`.
|
|
14052
14224
|
*/
|
|
14053
|
-
deviceType: ('hid' | 'serial');
|
|
14225
|
+
deviceType: ('hid' | 'serial' | 'usb');
|
|
14054
14226
|
/**
|
|
14055
14227
|
* The origin URL of the device permission check.
|
|
14056
14228
|
*/
|
|
@@ -15290,11 +15462,13 @@ declare namespace Electron {
|
|
|
15290
15462
|
|
|
15291
15463
|
interface Opts {
|
|
15292
15464
|
/**
|
|
15293
|
-
*
|
|
15294
|
-
* prevents the unload, the WebContents will not be closed. The
|
|
15295
|
-
* `will-prevent-unload` will be fired if the page requests prevention of unload.
|
|
15465
|
+
* Keep the page hidden instead of visible. Default is `false`.
|
|
15296
15466
|
*/
|
|
15297
|
-
|
|
15467
|
+
stayHidden?: boolean;
|
|
15468
|
+
/**
|
|
15469
|
+
* Keep the system awake instead of allowing it to sleep. Default is `false`.
|
|
15470
|
+
*/
|
|
15471
|
+
stayAwake?: boolean;
|
|
15298
15472
|
}
|
|
15299
15473
|
|
|
15300
15474
|
interface PageFaviconUpdatedEvent extends Event {
|
|
@@ -15766,6 +15940,11 @@ declare namespace Electron {
|
|
|
15766
15940
|
frame: WebFrameMain;
|
|
15767
15941
|
}
|
|
15768
15942
|
|
|
15943
|
+
interface SelectUsbDeviceDetails {
|
|
15944
|
+
deviceList: USBDevice[];
|
|
15945
|
+
frame: WebFrameMain;
|
|
15946
|
+
}
|
|
15947
|
+
|
|
15769
15948
|
interface SerialPortRevokedDetails {
|
|
15770
15949
|
port: SerialPort;
|
|
15771
15950
|
frame: WebFrameMain;
|
|
@@ -16177,6 +16356,24 @@ declare namespace Electron {
|
|
|
16177
16356
|
total: number;
|
|
16178
16357
|
}
|
|
16179
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
|
+
|
|
16180
16377
|
interface VisibleOnAllWorkspacesOptions {
|
|
16181
16378
|
/**
|
|
16182
16379
|
* Sets whether the window should be visible above fullscreen windows.
|
|
@@ -16994,6 +17191,7 @@ declare namespace Electron {
|
|
|
16994
17191
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16995
17192
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
16996
17193
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
17194
|
+
type CloseOpts = Electron.CloseOpts;
|
|
16997
17195
|
type Config = Electron.Config;
|
|
16998
17196
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
16999
17197
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -17098,6 +17296,7 @@ declare namespace Electron {
|
|
|
17098
17296
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
17099
17297
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
17100
17298
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
17299
|
+
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
17101
17300
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
17102
17301
|
type Settings = Electron.Settings;
|
|
17103
17302
|
type SourcesOptions = Electron.SourcesOptions;
|
|
@@ -17123,6 +17322,9 @@ declare namespace Electron {
|
|
|
17123
17322
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
17124
17323
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
17125
17324
|
type UploadProgress = Electron.UploadProgress;
|
|
17325
|
+
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
17326
|
+
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
17327
|
+
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
17126
17328
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
17127
17329
|
type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
|
|
17128
17330
|
type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
|
|
@@ -17202,6 +17404,7 @@ declare namespace Electron {
|
|
|
17202
17404
|
type UploadData = Electron.UploadData;
|
|
17203
17405
|
type UploadFile = Electron.UploadFile;
|
|
17204
17406
|
type UploadRawData = Electron.UploadRawData;
|
|
17407
|
+
type USBDevice = Electron.USBDevice;
|
|
17205
17408
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
17206
17409
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
17207
17410
|
type WebSource = Electron.WebSource;
|
|
@@ -17300,6 +17503,7 @@ declare namespace Electron {
|
|
|
17300
17503
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17301
17504
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
17302
17505
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
17506
|
+
type CloseOpts = Electron.CloseOpts;
|
|
17303
17507
|
type Config = Electron.Config;
|
|
17304
17508
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
17305
17509
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -17404,6 +17608,7 @@ declare namespace Electron {
|
|
|
17404
17608
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
17405
17609
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
17406
17610
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
17611
|
+
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
17407
17612
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
17408
17613
|
type Settings = Electron.Settings;
|
|
17409
17614
|
type SourcesOptions = Electron.SourcesOptions;
|
|
@@ -17429,6 +17634,9 @@ declare namespace Electron {
|
|
|
17429
17634
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
17430
17635
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
17431
17636
|
type UploadProgress = Electron.UploadProgress;
|
|
17637
|
+
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
17638
|
+
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
17639
|
+
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
17432
17640
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
17433
17641
|
type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
|
|
17434
17642
|
type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
|
|
@@ -17508,6 +17716,7 @@ declare namespace Electron {
|
|
|
17508
17716
|
type UploadData = Electron.UploadData;
|
|
17509
17717
|
type UploadFile = Electron.UploadFile;
|
|
17510
17718
|
type UploadRawData = Electron.UploadRawData;
|
|
17719
|
+
type USBDevice = Electron.USBDevice;
|
|
17511
17720
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
17512
17721
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
17513
17722
|
type WebSource = Electron.WebSource;
|
|
@@ -17539,6 +17748,7 @@ declare namespace Electron {
|
|
|
17539
17748
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17540
17749
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
17541
17750
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
17751
|
+
type CloseOpts = Electron.CloseOpts;
|
|
17542
17752
|
type Config = Electron.Config;
|
|
17543
17753
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
17544
17754
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -17643,6 +17853,7 @@ declare namespace Electron {
|
|
|
17643
17853
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
17644
17854
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
17645
17855
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
17856
|
+
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
17646
17857
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
17647
17858
|
type Settings = Electron.Settings;
|
|
17648
17859
|
type SourcesOptions = Electron.SourcesOptions;
|
|
@@ -17668,6 +17879,9 @@ declare namespace Electron {
|
|
|
17668
17879
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
17669
17880
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
17670
17881
|
type UploadProgress = Electron.UploadProgress;
|
|
17882
|
+
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
17883
|
+
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
17884
|
+
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
17671
17885
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
17672
17886
|
type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
|
|
17673
17887
|
type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
|
|
@@ -17747,6 +17961,7 @@ declare namespace Electron {
|
|
|
17747
17961
|
type UploadData = Electron.UploadData;
|
|
17748
17962
|
type UploadFile = Electron.UploadFile;
|
|
17749
17963
|
type UploadRawData = Electron.UploadRawData;
|
|
17964
|
+
type USBDevice = Electron.USBDevice;
|
|
17750
17965
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
17751
17966
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
17752
17967
|
type WebSource = Electron.WebSource;
|
|
@@ -17859,6 +18074,7 @@ declare namespace Electron {
|
|
|
17859
18074
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17860
18075
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
17861
18076
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
18077
|
+
type CloseOpts = Electron.CloseOpts;
|
|
17862
18078
|
type Config = Electron.Config;
|
|
17863
18079
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
17864
18080
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -17963,6 +18179,7 @@ declare namespace Electron {
|
|
|
17963
18179
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
17964
18180
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
17965
18181
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
18182
|
+
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
17966
18183
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
17967
18184
|
type Settings = Electron.Settings;
|
|
17968
18185
|
type SourcesOptions = Electron.SourcesOptions;
|
|
@@ -17988,6 +18205,9 @@ declare namespace Electron {
|
|
|
17988
18205
|
type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
|
|
17989
18206
|
type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
|
|
17990
18207
|
type UploadProgress = Electron.UploadProgress;
|
|
18208
|
+
type UsbDeviceAddedDetails = Electron.UsbDeviceAddedDetails;
|
|
18209
|
+
type UsbDeviceRemovedDetails = Electron.UsbDeviceRemovedDetails;
|
|
18210
|
+
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
17991
18211
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
17992
18212
|
type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
|
|
17993
18213
|
type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
|
|
@@ -18067,6 +18287,7 @@ declare namespace Electron {
|
|
|
18067
18287
|
type UploadData = Electron.UploadData;
|
|
18068
18288
|
type UploadFile = Electron.UploadFile;
|
|
18069
18289
|
type UploadRawData = Electron.UploadRawData;
|
|
18290
|
+
type USBDevice = Electron.USBDevice;
|
|
18070
18291
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
18071
18292
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
18072
18293
|
type WebSource = Electron.WebSource;
|
package/package.json
CHANGED