electron 15.0.0 β 15.1.0
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 +4 -4
- package/checksums.json +78 -78
- package/electron.d.ts +191 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[](https://electronjs.org)
|
|
2
2
|
|
|
3
|
-
[](https://circleci.com/gh/electron/electron/tree/main)
|
|
4
|
+
[](https://ci.appveyor.com/project/electron-bot/electron-ljo26/branch/main)
|
|
5
5
|
[](https://discord.com/invite/electron)
|
|
6
6
|
|
|
7
7
|
:memo: Available Translations: π¨π³ π§π· πͺπΈ π―π΅ π·πΊ π«π· πΊπΈ π©πͺ.
|
|
@@ -16,7 +16,7 @@ Follow [@ElectronJS](https://twitter.com/electronjs) on Twitter for important
|
|
|
16
16
|
announcements.
|
|
17
17
|
|
|
18
18
|
This project adheres to the Contributor Covenant
|
|
19
|
-
[code of conduct](https://github.com/electron/electron/tree/
|
|
19
|
+
[code of conduct](https://github.com/electron/electron/tree/main/CODE_OF_CONDUCT.md).
|
|
20
20
|
By participating, you are expected to uphold this code. Please report unacceptable
|
|
21
21
|
behavior to [coc@electronjs.org](mailto:coc@electronjs.org).
|
|
22
22
|
|
|
@@ -98,6 +98,6 @@ and more can be found in the [support document](docs/tutorial/support.md#finding
|
|
|
98
98
|
|
|
99
99
|
## License
|
|
100
100
|
|
|
101
|
-
[MIT](https://github.com/electron/electron/blob/
|
|
101
|
+
[MIT](https://github.com/electron/electron/blob/main/LICENSE)
|
|
102
102
|
|
|
103
103
|
When using the Electron or other GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
|
package/checksums.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v15.
|
|
3
|
-
"chromedriver-v15.
|
|
4
|
-
"chromedriver-v15.
|
|
5
|
-
"chromedriver-v15.
|
|
6
|
-
"chromedriver-v15.
|
|
7
|
-
"chromedriver-v15.
|
|
8
|
-
"chromedriver-v15.
|
|
9
|
-
"chromedriver-v15.
|
|
10
|
-
"chromedriver-v15.
|
|
11
|
-
"chromedriver-v15.
|
|
12
|
-
"chromedriver-v15.
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-v15.
|
|
15
|
-
"electron-v15.
|
|
16
|
-
"electron-v15.
|
|
17
|
-
"electron-v15.
|
|
18
|
-
"electron-v15.
|
|
19
|
-
"electron-v15.
|
|
20
|
-
"electron-v15.
|
|
21
|
-
"electron-v15.
|
|
22
|
-
"electron-v15.
|
|
23
|
-
"electron-v15.
|
|
24
|
-
"electron-v15.
|
|
25
|
-
"electron-v15.
|
|
26
|
-
"electron-v15.
|
|
27
|
-
"electron-v15.
|
|
28
|
-
"electron-v15.
|
|
29
|
-
"electron-v15.
|
|
30
|
-
"electron-v15.
|
|
31
|
-
"electron-v15.
|
|
32
|
-
"electron-v15.
|
|
33
|
-
"electron-v15.
|
|
34
|
-
"electron-v15.
|
|
35
|
-
"electron-v15.
|
|
36
|
-
"electron-v15.
|
|
37
|
-
"electron-v15.
|
|
38
|
-
"electron-v15.
|
|
39
|
-
"electron-v15.
|
|
40
|
-
"electron-v15.
|
|
41
|
-
"electron-v15.
|
|
42
|
-
"electron-v15.
|
|
43
|
-
"electron-v15.
|
|
44
|
-
"electron-v15.
|
|
45
|
-
"electron-v15.
|
|
46
|
-
"electron-v15.
|
|
47
|
-
"electron-v15.
|
|
48
|
-
"electron-v15.
|
|
49
|
-
"electron-v15.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v15.
|
|
52
|
-
"ffmpeg-v15.
|
|
53
|
-
"ffmpeg-v15.
|
|
54
|
-
"ffmpeg-v15.
|
|
55
|
-
"ffmpeg-v15.
|
|
56
|
-
"ffmpeg-v15.
|
|
57
|
-
"ffmpeg-v15.
|
|
58
|
-
"ffmpeg-v15.
|
|
59
|
-
"ffmpeg-v15.
|
|
60
|
-
"ffmpeg-v15.
|
|
61
|
-
"ffmpeg-v15.
|
|
62
|
-
"hunspell_dictionaries.zip": "
|
|
63
|
-
"libcxx-objects-v15.
|
|
64
|
-
"libcxx-objects-v15.
|
|
65
|
-
"libcxx-objects-v15.
|
|
66
|
-
"libcxx-objects-v15.
|
|
67
|
-
"libcxx_headers.zip": "
|
|
68
|
-
"libcxxabi_headers.zip": "
|
|
69
|
-
"mksnapshot-v15.
|
|
70
|
-
"mksnapshot-v15.
|
|
71
|
-
"mksnapshot-v15.
|
|
72
|
-
"mksnapshot-v15.
|
|
73
|
-
"mksnapshot-v15.
|
|
74
|
-
"mksnapshot-v15.
|
|
75
|
-
"mksnapshot-v15.
|
|
76
|
-
"mksnapshot-v15.
|
|
77
|
-
"mksnapshot-v15.
|
|
78
|
-
"mksnapshot-v15.
|
|
79
|
-
"mksnapshot-v15.
|
|
2
|
+
"chromedriver-v15.1.0-darwin-arm64.zip": "5df98e54bfee7d7fab3c0ecf45c366fda6b3cd19fe2c2718ccc98049c0609986",
|
|
3
|
+
"chromedriver-v15.1.0-darwin-x64.zip": "d1a849432adfdad3624816e46410010e9737fe58bb6fd90f70079ebad8848db7",
|
|
4
|
+
"chromedriver-v15.1.0-linux-arm64.zip": "6cf3991f8ea6fffd79ac3ee7e1f166efa5198a77ff41d80ceaa655cd3730b4b9",
|
|
5
|
+
"chromedriver-v15.1.0-linux-armv7l.zip": "127f5c08d5951bbeb2fe1ac749c1adc3949e5322f8ec2132a711d932834d803d",
|
|
6
|
+
"chromedriver-v15.1.0-linux-ia32.zip": "850bed1b03fe912af2e6d6bb86e3806407a68fb6ad071340a7910512d8312c44",
|
|
7
|
+
"chromedriver-v15.1.0-linux-x64.zip": "ce50a6543cbcfe52ecbd18de4404703f6b12cc798aed66d83307c24a059d7277",
|
|
8
|
+
"chromedriver-v15.1.0-mas-arm64.zip": "647952d83c331e24cb7a35e649c9f40bf20a7fe643a1ff9b3b72d356215a7e1f",
|
|
9
|
+
"chromedriver-v15.1.0-mas-x64.zip": "63612a2b5537c74b7bd4c049df754a0a771a71e7c0eeb87b51dcc713e66e5fdb",
|
|
10
|
+
"chromedriver-v15.1.0-win32-arm64.zip": "57020f46f102584293aa4f3395d0bb9d73c3073a13d5310e8842aea0f3bdda0d",
|
|
11
|
+
"chromedriver-v15.1.0-win32-ia32.zip": "8f420a9842f4949ca683d18651bc47a73671b10a8fe70d721b7429844133feba",
|
|
12
|
+
"chromedriver-v15.1.0-win32-x64.zip": "4e7a62ccb22d30b4ffcb7a510657fe352b121524640034556d297c9897ea4149",
|
|
13
|
+
"electron-api.json": "d22f865ff8efe7a5cdcb9dc6d8e816f086e63a77f9b199fdbed550de0c52ddfc",
|
|
14
|
+
"electron-v15.1.0-darwin-arm64-dsym.zip": "09e8ae5ca9db832cc1b2f7fa1f569d01a64223dd576d31aa3d62a9e74e324a00",
|
|
15
|
+
"electron-v15.1.0-darwin-arm64-symbols.zip": "bda36124ff0609b0a23e1c582d9f51c23dada2ca11412b18842e54a188b6f885",
|
|
16
|
+
"electron-v15.1.0-darwin-arm64.zip": "cb28d4a1167ea2f42668ff4b880223ccf211a79ea53024652afc90b7aaac419e",
|
|
17
|
+
"electron-v15.1.0-darwin-x64-dsym.zip": "beceec4290c2135dea73b9262cae6d60c42b4ee8a3842b05956269f8f21cd6f8",
|
|
18
|
+
"electron-v15.1.0-darwin-x64-symbols.zip": "2edc1ff255be756fbb1d97d69f78b7860dcbc162cf1d8fb2259e5b182c3602fd",
|
|
19
|
+
"electron-v15.1.0-darwin-x64.zip": "8062bbb29e5f12bf1efee27dc5dd18c98ef9b09d68c8fabd12ad4465e5bb02bd",
|
|
20
|
+
"electron-v15.1.0-linux-arm64-debug.zip": "dc54b6e87ec8cfa38a7d2cd7a3cb028c816c6bc2875b2d186ccb8b46f8b29299",
|
|
21
|
+
"electron-v15.1.0-linux-arm64-symbols.zip": "3727ff3f12b4bf38d8dee8740e86e0b3b66c709913e179e69d581e4bb6281995",
|
|
22
|
+
"electron-v15.1.0-linux-arm64.zip": "7a6f07727b91e150b16e9cac5e374ce88c43c85aae76b306a0e5b2a37b3275e8",
|
|
23
|
+
"electron-v15.1.0-linux-armv7l-debug.zip": "dc54b6e87ec8cfa38a7d2cd7a3cb028c816c6bc2875b2d186ccb8b46f8b29299",
|
|
24
|
+
"electron-v15.1.0-linux-armv7l-symbols.zip": "5f35d4d5ca12a18dbaee4f2b59f7bf9809da628fa96b4fd7917f108ae1f8c1dc",
|
|
25
|
+
"electron-v15.1.0-linux-armv7l.zip": "30213989477e29341b9873110e4b180e7d2ced4f72d26c914e7642930c9338fb",
|
|
26
|
+
"electron-v15.1.0-linux-ia32-debug.zip": "dc54b6e87ec8cfa38a7d2cd7a3cb028c816c6bc2875b2d186ccb8b46f8b29299",
|
|
27
|
+
"electron-v15.1.0-linux-ia32-symbols.zip": "e38ba3d2cbe20197fff65f12c4f727631bfe2ae61e4383f4648ec071450ee92d",
|
|
28
|
+
"electron-v15.1.0-linux-ia32.zip": "0b502ca518f61c0613d2dee1c1ae18d0d71c793f9b822f6c92b6428afda20f20",
|
|
29
|
+
"electron-v15.1.0-linux-x64-debug.zip": "9b3b28f9697534ca023a1bc43f915159152ae64d7609344017295415a1009fa8",
|
|
30
|
+
"electron-v15.1.0-linux-x64-symbols.zip": "4262a9b1f895d789c33529393c873ef3af60444b3f49b19c3685fbd896946b0e",
|
|
31
|
+
"electron-v15.1.0-linux-x64.zip": "c2f50ede410558e2eb761648fc9bacf34472dccf8b740f3037d351f9ae604072",
|
|
32
|
+
"electron-v15.1.0-mas-arm64-dsym.zip": "c7142076b4829192823e98b73e3cb18f70e1177d7500c90b899c3e0b51afcd3d",
|
|
33
|
+
"electron-v15.1.0-mas-arm64-symbols.zip": "121436c3f3ef81c8257bb46739a8a077b02d588674f128516a2e9fa73879c9e2",
|
|
34
|
+
"electron-v15.1.0-mas-arm64.zip": "a9dacb504c0500cccfcd814b8b7307ef7fd84e80e5707427d4704743c5ba0d29",
|
|
35
|
+
"electron-v15.1.0-mas-x64-dsym.zip": "a83329ace64fa105d0cf7eed9df7b2433b6f195ba14fa71bd1c2e5d67e1b412a",
|
|
36
|
+
"electron-v15.1.0-mas-x64-symbols.zip": "e6328698d4cdf2c49caa94f626b8a6fd67d9466bcb581720f2f15d3da6bfafe0",
|
|
37
|
+
"electron-v15.1.0-mas-x64.zip": "65d37157f7bb8f07b2e75e13b0eb6ec7434daa80426d19e6467b87255b554678",
|
|
38
|
+
"electron-v15.1.0-win32-arm64-pdb.zip": "e9c91d556f37970c2df27a8763c8b369dd6ce49c129ff718f974327d50b5c260",
|
|
39
|
+
"electron-v15.1.0-win32-arm64-symbols.zip": "fc9e16f08d315d404ddca373833232f703d1aa65362693f02f19143299fdb9bc",
|
|
40
|
+
"electron-v15.1.0-win32-arm64-toolchain-profile.zip": "3b0e3dde77968ef5643bf5a043be2ccd84edd88ccb588505a65ba7e7a6542b9e",
|
|
41
|
+
"electron-v15.1.0-win32-arm64.zip": "595a44e6f1556cedb6791dbaad0707799cd8536010b3b553fa9ecf718746b79e",
|
|
42
|
+
"electron-v15.1.0-win32-ia32-pdb.zip": "c11ac8a6218f135414d5e2a5dd43fde9ba7b76dc17e0940806eb1813a0ea0556",
|
|
43
|
+
"electron-v15.1.0-win32-ia32-symbols.zip": "e5ee6b9a3141274594afe78cc8c25a404fb88ed717742b0f45f489465e1a0d1f",
|
|
44
|
+
"electron-v15.1.0-win32-ia32-toolchain-profile.zip": "3b0e3dde77968ef5643bf5a043be2ccd84edd88ccb588505a65ba7e7a6542b9e",
|
|
45
|
+
"electron-v15.1.0-win32-ia32.zip": "20f508de8407e6534a695045f515a7fcf4793ab69abafe0112381ecadae36187",
|
|
46
|
+
"electron-v15.1.0-win32-x64-pdb.zip": "1dd97a60c604e0ae92729d67a68cc1b6397657f6a6c1439c3d9b9ff55046f9e8",
|
|
47
|
+
"electron-v15.1.0-win32-x64-symbols.zip": "41095de183f34fffcd421b0f75c0b21fa9b1397682f0623ecb7b68ca302548e3",
|
|
48
|
+
"electron-v15.1.0-win32-x64-toolchain-profile.zip": "3b0e3dde77968ef5643bf5a043be2ccd84edd88ccb588505a65ba7e7a6542b9e",
|
|
49
|
+
"electron-v15.1.0-win32-x64.zip": "76d9e66a9231126eca6ba2651ea525ea7330db4b600a198bfbe2bd663137e1d5",
|
|
50
|
+
"electron.d.ts": "0e42419e1fb2469cedb742c159d8b976fe15899f83e1be288feb1a25a1593797",
|
|
51
|
+
"ffmpeg-v15.1.0-darwin-arm64.zip": "e39fe12872dab238ccb2ee67bc2d641029ff44761f524466d5c4da34a1547ff0",
|
|
52
|
+
"ffmpeg-v15.1.0-darwin-x64.zip": "2bd16254efef6c3fb40be5db7248fd12ac988178f7386e3c7a2b8bd95b45201e",
|
|
53
|
+
"ffmpeg-v15.1.0-linux-arm64.zip": "f3f1d892eba376a709a71d09958ace0e227550345542af4ae2bf5224cbe20c5f",
|
|
54
|
+
"ffmpeg-v15.1.0-linux-armv7l.zip": "f295b2c81093a044824c0127b24eed6961a35d2a85bea27a6e5ceec11d711a09",
|
|
55
|
+
"ffmpeg-v15.1.0-linux-ia32.zip": "c39d48816d094fb926d7ede9f9feac1361dc26988602d4627fc7a3b08437af76",
|
|
56
|
+
"ffmpeg-v15.1.0-linux-x64.zip": "29c71e47020c26938cf9d8766eac20c52242aabe61a647b81cb2273d96273c8f",
|
|
57
|
+
"ffmpeg-v15.1.0-mas-arm64.zip": "e39fe12872dab238ccb2ee67bc2d641029ff44761f524466d5c4da34a1547ff0",
|
|
58
|
+
"ffmpeg-v15.1.0-mas-x64.zip": "2bd16254efef6c3fb40be5db7248fd12ac988178f7386e3c7a2b8bd95b45201e",
|
|
59
|
+
"ffmpeg-v15.1.0-win32-arm64.zip": "59394c23273d713d7b5e1e53b5719031566562c252b1f26f87a459c6e7b18e62",
|
|
60
|
+
"ffmpeg-v15.1.0-win32-ia32.zip": "4f57512a7e3a0ef461aef6691306ad7afa033fb883bbb09e7a2f405c32fd262d",
|
|
61
|
+
"ffmpeg-v15.1.0-win32-x64.zip": "81a92404a683ccec53c2a1fa48fac8e3a4f1a892b5f3e5db114c5d7ab2e7ddae",
|
|
62
|
+
"hunspell_dictionaries.zip": "b1a2305ad3508879ba77daf77e7ee3758a0355494fc1147300048c11b38bfb09",
|
|
63
|
+
"libcxx-objects-v15.1.0-linux-arm64.zip": "37cbf53b199a905f9f6c3423d24ea9a9fc83f79a8dd4253e3fc26b4b6a3e4bee",
|
|
64
|
+
"libcxx-objects-v15.1.0-linux-armv7l.zip": "62b128a35e86b15d306f27c3a4311ade9aa531670fe0bc62f4aba31dcc93987b",
|
|
65
|
+
"libcxx-objects-v15.1.0-linux-ia32.zip": "a8cb9439fc0cffe7749c3d6093223b817ca0017d932a5234286c414cf710a542",
|
|
66
|
+
"libcxx-objects-v15.1.0-linux-x64.zip": "1485bf71e96e4c14afd3ee7ee8f635e0bb8af3c21163cd7749c38c6457ecb880",
|
|
67
|
+
"libcxx_headers.zip": "671d6b82ed32942b88fbaba7623fb4f3ebc74d268cdebd718dfebd3cbed3d56c",
|
|
68
|
+
"libcxxabi_headers.zip": "2d836611315189ba91ade255acc2f2e43a8de7a3dc9a4dcd912ae649892b7d0c",
|
|
69
|
+
"mksnapshot-v15.1.0-darwin-arm64.zip": "bb02dad70ee67d80ccebbd6b8fe45ecca5b718861ca258b2b55a7bef33d99dca",
|
|
70
|
+
"mksnapshot-v15.1.0-darwin-x64.zip": "4f083a543a411d24df672c5c421efbfdce4f1b63feccb270f116862af625a874",
|
|
71
|
+
"mksnapshot-v15.1.0-linux-arm64-x64.zip": "62cec9fc59e15d6f8e1c0c29119cadbec5ca67a7de3d9a209ed49c2b8960ba0b",
|
|
72
|
+
"mksnapshot-v15.1.0-linux-armv7l-x64.zip": "8e1b1250161166c253c054d7b5cc25a7b60d3267485a93a49d747a031292b96c",
|
|
73
|
+
"mksnapshot-v15.1.0-linux-ia32.zip": "4c6ae0bcab1258ebd483946c7f1b403f152b29737910fe9854632f6a4d20b26a",
|
|
74
|
+
"mksnapshot-v15.1.0-linux-x64.zip": "f3d5cc9af39050676a20a93d62e057925f39a4a7c4ad62996534b4275059978d",
|
|
75
|
+
"mksnapshot-v15.1.0-mas-arm64.zip": "7fe12744c117c68ba89e08d429cb0315e2ad5a3f97833a0838040840ad96328c",
|
|
76
|
+
"mksnapshot-v15.1.0-mas-x64.zip": "5e13fe3ee806b9e5b01efc9b3540b9298e5d6d64d927f530fa547578eaca1a5a",
|
|
77
|
+
"mksnapshot-v15.1.0-win32-arm64-x64.zip": "5659119a2d425205dcff520236a74a0a81cacd45149d970d7822a4c42564ada6",
|
|
78
|
+
"mksnapshot-v15.1.0-win32-ia32.zip": "a57c3f32454f735c30c3fd7c91fe1c802b773802531b4cd2298dac073ed1edef",
|
|
79
|
+
"mksnapshot-v15.1.0-win32-x64.zip": "317192bbfee1f6046513b6e34e0331320cfc2c3bbd4bbb9f359b427cd258495f"
|
|
80
80
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 15.
|
|
1
|
+
// Type definitions for Electron 15.1.0
|
|
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
|
|
@@ -165,7 +165,8 @@ declare namespace Electron {
|
|
|
165
165
|
*/
|
|
166
166
|
error: string,
|
|
167
167
|
certificate: Certificate,
|
|
168
|
-
callback: (isTrusted: boolean) => void
|
|
168
|
+
callback: (isTrusted: boolean) => void,
|
|
169
|
+
isMainFrame: boolean) => void): this;
|
|
169
170
|
once(event: 'certificate-error', listener: (event: Event,
|
|
170
171
|
webContents: WebContents,
|
|
171
172
|
url: string,
|
|
@@ -174,7 +175,8 @@ declare namespace Electron {
|
|
|
174
175
|
*/
|
|
175
176
|
error: string,
|
|
176
177
|
certificate: Certificate,
|
|
177
|
-
callback: (isTrusted: boolean) => void
|
|
178
|
+
callback: (isTrusted: boolean) => void,
|
|
179
|
+
isMainFrame: boolean) => void): this;
|
|
178
180
|
addListener(event: 'certificate-error', listener: (event: Event,
|
|
179
181
|
webContents: WebContents,
|
|
180
182
|
url: string,
|
|
@@ -183,7 +185,8 @@ declare namespace Electron {
|
|
|
183
185
|
*/
|
|
184
186
|
error: string,
|
|
185
187
|
certificate: Certificate,
|
|
186
|
-
callback: (isTrusted: boolean) => void
|
|
188
|
+
callback: (isTrusted: boolean) => void,
|
|
189
|
+
isMainFrame: boolean) => void): this;
|
|
187
190
|
removeListener(event: 'certificate-error', listener: (event: Event,
|
|
188
191
|
webContents: WebContents,
|
|
189
192
|
url: string,
|
|
@@ -192,7 +195,8 @@ declare namespace Electron {
|
|
|
192
195
|
*/
|
|
193
196
|
error: string,
|
|
194
197
|
certificate: Certificate,
|
|
195
|
-
callback: (isTrusted: boolean) => void
|
|
198
|
+
callback: (isTrusted: boolean) => void,
|
|
199
|
+
isMainFrame: boolean) => void): this;
|
|
196
200
|
/**
|
|
197
201
|
* Emitted when the child process unexpectedly disappears. This is normally because
|
|
198
202
|
* it was crashed or killed. It does not include renderer processes.
|
|
@@ -2522,8 +2526,8 @@ declare namespace Electron {
|
|
|
2522
2526
|
* and height are within the content view--only that they exist. Sum any extra
|
|
2523
2527
|
* width and height areas you have within the overall content view.
|
|
2524
2528
|
*
|
|
2525
|
-
* The aspect ratio is not respected when window is resized
|
|
2526
|
-
* like `win.setSize`.
|
|
2529
|
+
* The aspect ratio is not respected when window is resized programmatically with
|
|
2530
|
+
* APIs like `win.setSize`.
|
|
2527
2531
|
*/
|
|
2528
2532
|
setAspectRatio(aspectRatio: number, extraSize?: Size): void;
|
|
2529
2533
|
/**
|
|
@@ -4754,6 +4758,37 @@ declare namespace Electron {
|
|
|
4754
4758
|
webgl2: string;
|
|
4755
4759
|
}
|
|
4756
4760
|
|
|
4761
|
+
interface HIDDevice {
|
|
4762
|
+
|
|
4763
|
+
// Docs: https://electronjs.org/docs/api/structures/hid-device
|
|
4764
|
+
|
|
4765
|
+
/**
|
|
4766
|
+
* Unique identifier for the device.
|
|
4767
|
+
*/
|
|
4768
|
+
deviceId: string;
|
|
4769
|
+
/**
|
|
4770
|
+
* Unique identifier for the HID interface. A device may have multiple HID
|
|
4771
|
+
* interfaces.
|
|
4772
|
+
*/
|
|
4773
|
+
guid?: string;
|
|
4774
|
+
/**
|
|
4775
|
+
* Name of the device.
|
|
4776
|
+
*/
|
|
4777
|
+
name: string;
|
|
4778
|
+
/**
|
|
4779
|
+
* The USB product ID.
|
|
4780
|
+
*/
|
|
4781
|
+
productId: number;
|
|
4782
|
+
/**
|
|
4783
|
+
* The USB device serial number.
|
|
4784
|
+
*/
|
|
4785
|
+
serialNumber?: string;
|
|
4786
|
+
/**
|
|
4787
|
+
* The USB vendor ID.
|
|
4788
|
+
*/
|
|
4789
|
+
vendorId: number;
|
|
4790
|
+
}
|
|
4791
|
+
|
|
4757
4792
|
interface InAppPurchase extends NodeJS.EventEmitter {
|
|
4758
4793
|
|
|
4759
4794
|
// Docs: https://electronjs.org/docs/api/in-app-purchase
|
|
@@ -7146,6 +7181,36 @@ declare namespace Electron {
|
|
|
7146
7181
|
extension: Extension) => void): this;
|
|
7147
7182
|
removeListener(event: 'extension-unloaded', listener: (event: Event,
|
|
7148
7183
|
extension: Extension) => void): this;
|
|
7184
|
+
/**
|
|
7185
|
+
* Emitted when a new HID device becomes available. For example, when a new USB
|
|
7186
|
+
* device is plugged in.
|
|
7187
|
+
*
|
|
7188
|
+
* This event will only be emitted after `navigator.hid.requestDevice` has been
|
|
7189
|
+
* called and `select-hid-device` has fired.
|
|
7190
|
+
*/
|
|
7191
|
+
on(event: 'hid-device-added', listener: (event: Event,
|
|
7192
|
+
details: HidDeviceAddedDetails) => void): this;
|
|
7193
|
+
once(event: 'hid-device-added', listener: (event: Event,
|
|
7194
|
+
details: HidDeviceAddedDetails) => void): this;
|
|
7195
|
+
addListener(event: 'hid-device-added', listener: (event: Event,
|
|
7196
|
+
details: HidDeviceAddedDetails) => void): this;
|
|
7197
|
+
removeListener(event: 'hid-device-added', listener: (event: Event,
|
|
7198
|
+
details: HidDeviceAddedDetails) => void): this;
|
|
7199
|
+
/**
|
|
7200
|
+
* Emitted when a HID device has been removed. For example, this event will fire
|
|
7201
|
+
* when a USB device is unplugged.
|
|
7202
|
+
*
|
|
7203
|
+
* This event will only be emitted after `navigator.hid.requestDevice` has been
|
|
7204
|
+
* called and `select-hid-device` has fired.
|
|
7205
|
+
*/
|
|
7206
|
+
on(event: 'hid-device-removed', listener: (event: Event,
|
|
7207
|
+
details: HidDeviceRemovedDetails) => void): this;
|
|
7208
|
+
once(event: 'hid-device-removed', listener: (event: Event,
|
|
7209
|
+
details: HidDeviceRemovedDetails) => void): this;
|
|
7210
|
+
addListener(event: 'hid-device-removed', listener: (event: Event,
|
|
7211
|
+
details: HidDeviceRemovedDetails) => void): this;
|
|
7212
|
+
removeListener(event: 'hid-device-removed', listener: (event: Event,
|
|
7213
|
+
details: HidDeviceRemovedDetails) => void): this;
|
|
7149
7214
|
/**
|
|
7150
7215
|
* Emitted when a render process requests preconnection to a URL, generally due to
|
|
7151
7216
|
* a resource hint.
|
|
@@ -7190,6 +7255,26 @@ declare namespace Electron {
|
|
|
7190
7255
|
* the spec for more details.)
|
|
7191
7256
|
*/
|
|
7192
7257
|
allowCredentials: boolean) => void): this;
|
|
7258
|
+
/**
|
|
7259
|
+
* Emitted when a HID device needs to be selected when a call to
|
|
7260
|
+
* `navigator.hid.requestDevice` is made. `callback` should be called with
|
|
7261
|
+
* `deviceId` to be selected; passing no arguments to `callback` will cancel the
|
|
7262
|
+
* request. Additionally, permissioning on `navigator.hid` can be further managed
|
|
7263
|
+
* by using ses.setPermissionCheckHandler(handler) and
|
|
7264
|
+
* ses.setDevicePermissionHandler(handler)`.
|
|
7265
|
+
*/
|
|
7266
|
+
on(event: 'select-hid-device', listener: (event: Event,
|
|
7267
|
+
details: SelectHidDeviceDetails,
|
|
7268
|
+
callback: (deviceId?: (string) | (null)) => void) => void): this;
|
|
7269
|
+
once(event: 'select-hid-device', listener: (event: Event,
|
|
7270
|
+
details: SelectHidDeviceDetails,
|
|
7271
|
+
callback: (deviceId?: (string) | (null)) => void) => void): this;
|
|
7272
|
+
addListener(event: 'select-hid-device', listener: (event: Event,
|
|
7273
|
+
details: SelectHidDeviceDetails,
|
|
7274
|
+
callback: (deviceId?: (string) | (null)) => void) => void): this;
|
|
7275
|
+
removeListener(event: 'select-hid-device', listener: (event: Event,
|
|
7276
|
+
details: SelectHidDeviceDetails,
|
|
7277
|
+
callback: (deviceId?: (string) | (null)) => void) => void): this;
|
|
7193
7278
|
/**
|
|
7194
7279
|
* Emitted when a serial port needs to be selected when a call to
|
|
7195
7280
|
* `navigator.serial.requestPort` is made. `callback` should be called with
|
|
@@ -7553,6 +7638,21 @@ declare namespace Electron {
|
|
|
7553
7638
|
* > **NOTE:** The result of this procedure is cached by the network service.
|
|
7554
7639
|
*/
|
|
7555
7640
|
setCertificateVerifyProc(proc: ((request: Request, callback: (verificationResult: number) => void) => void) | (null)): void;
|
|
7641
|
+
/**
|
|
7642
|
+
* Sets the handler which can be used to respond to device permission checks for
|
|
7643
|
+
* the `session`. Returning `true` will allow the device to be permitted and
|
|
7644
|
+
* `false` will reject it. To clear the handler, call
|
|
7645
|
+
* `setDevicePermissionHandler(null)`. This handler can be used to provide default
|
|
7646
|
+
* permissioning to devices without first calling for permission to devices (eg via
|
|
7647
|
+
* `navigator.hid.requestDevice`). If this handler is not defined, the default
|
|
7648
|
+
* device permissions as granted through device selection (eg via
|
|
7649
|
+
* `navigator.hid.requestDevice`) will be used. Additionally, the default behavior
|
|
7650
|
+
* of Electron is to store granted device permision through the lifetime of the
|
|
7651
|
+
* corresponding WebContents. If longer term storage is needed, a developer can
|
|
7652
|
+
* store granted device permissions (eg when handling the `select-hid-device`
|
|
7653
|
+
* event) and then read from that storage with `setDevicePermissionHandler`.
|
|
7654
|
+
*/
|
|
7655
|
+
setDevicePermissionHandler(handler: ((details: DevicePermissionHandlerHandlerDetails) => boolean) | (null)): void;
|
|
7556
7656
|
/**
|
|
7557
7657
|
* Sets download saving directory. By default, the download directory will be the
|
|
7558
7658
|
* `Downloads` under the respective app folder.
|
|
@@ -9369,7 +9469,8 @@ declare namespace Electron {
|
|
|
9369
9469
|
*/
|
|
9370
9470
|
error: string,
|
|
9371
9471
|
certificate: Certificate,
|
|
9372
|
-
callback: (isTrusted: boolean) => void
|
|
9472
|
+
callback: (isTrusted: boolean) => void,
|
|
9473
|
+
isMainFrame: boolean) => void): this;
|
|
9373
9474
|
once(event: 'certificate-error', listener: (event: Event,
|
|
9374
9475
|
url: string,
|
|
9375
9476
|
/**
|
|
@@ -9377,7 +9478,8 @@ declare namespace Electron {
|
|
|
9377
9478
|
*/
|
|
9378
9479
|
error: string,
|
|
9379
9480
|
certificate: Certificate,
|
|
9380
|
-
callback: (isTrusted: boolean) => void
|
|
9481
|
+
callback: (isTrusted: boolean) => void,
|
|
9482
|
+
isMainFrame: boolean) => void): this;
|
|
9381
9483
|
addListener(event: 'certificate-error', listener: (event: Event,
|
|
9382
9484
|
url: string,
|
|
9383
9485
|
/**
|
|
@@ -9385,7 +9487,8 @@ declare namespace Electron {
|
|
|
9385
9487
|
*/
|
|
9386
9488
|
error: string,
|
|
9387
9489
|
certificate: Certificate,
|
|
9388
|
-
callback: (isTrusted: boolean) => void
|
|
9490
|
+
callback: (isTrusted: boolean) => void,
|
|
9491
|
+
isMainFrame: boolean) => void): this;
|
|
9389
9492
|
removeListener(event: 'certificate-error', listener: (event: Event,
|
|
9390
9493
|
url: string,
|
|
9391
9494
|
/**
|
|
@@ -9393,7 +9496,8 @@ declare namespace Electron {
|
|
|
9393
9496
|
*/
|
|
9394
9497
|
error: string,
|
|
9395
9498
|
certificate: Certificate,
|
|
9396
|
-
callback: (isTrusted: boolean) => void
|
|
9499
|
+
callback: (isTrusted: boolean) => void,
|
|
9500
|
+
isMainFrame: boolean) => void): this;
|
|
9397
9501
|
/**
|
|
9398
9502
|
* Emitted when the associated window logs a console message.
|
|
9399
9503
|
*/
|
|
@@ -12926,6 +13030,10 @@ declare namespace Electron {
|
|
|
12926
13030
|
* y coordinate.
|
|
12927
13031
|
*/
|
|
12928
13032
|
y: number;
|
|
13033
|
+
/**
|
|
13034
|
+
* Frame from which the context menu was invoked.
|
|
13035
|
+
*/
|
|
13036
|
+
frame: WebFrameMain;
|
|
12929
13037
|
/**
|
|
12930
13038
|
* URL of the link that encloses the node the context menu was invoked on.
|
|
12931
13039
|
*/
|
|
@@ -13259,6 +13367,25 @@ declare namespace Electron {
|
|
|
13259
13367
|
name?: string;
|
|
13260
13368
|
}
|
|
13261
13369
|
|
|
13370
|
+
interface DevicePermissionHandlerHandlerDetails {
|
|
13371
|
+
/**
|
|
13372
|
+
* The type of device that permission is being requested on, can be `hid`.
|
|
13373
|
+
*/
|
|
13374
|
+
deviceType: ('hid');
|
|
13375
|
+
/**
|
|
13376
|
+
* The origin URL of the device permission check.
|
|
13377
|
+
*/
|
|
13378
|
+
origin: string;
|
|
13379
|
+
/**
|
|
13380
|
+
* the device that permission is being requested for.
|
|
13381
|
+
*/
|
|
13382
|
+
device: HIDDevice;
|
|
13383
|
+
/**
|
|
13384
|
+
* WebFrameMain checking the device permission.
|
|
13385
|
+
*/
|
|
13386
|
+
frame: WebFrameMain;
|
|
13387
|
+
}
|
|
13388
|
+
|
|
13262
13389
|
interface DidChangeThemeColorEvent extends Event {
|
|
13263
13390
|
themeColor: string;
|
|
13264
13391
|
}
|
|
@@ -13514,6 +13641,16 @@ declare namespace Electron {
|
|
|
13514
13641
|
doesZapGarbage: boolean;
|
|
13515
13642
|
}
|
|
13516
13643
|
|
|
13644
|
+
interface HidDeviceAddedDetails {
|
|
13645
|
+
device: HIDDevice[];
|
|
13646
|
+
frame: WebFrameMain;
|
|
13647
|
+
}
|
|
13648
|
+
|
|
13649
|
+
interface HidDeviceRemovedDetails {
|
|
13650
|
+
device: HIDDevice[];
|
|
13651
|
+
frame: WebFrameMain;
|
|
13652
|
+
}
|
|
13653
|
+
|
|
13517
13654
|
interface IgnoreMouseEventsOptions {
|
|
13518
13655
|
/**
|
|
13519
13656
|
* If true, forwards mouse move messages to Chromium, enabling mouse related events
|
|
@@ -13617,9 +13754,13 @@ declare namespace Electron {
|
|
|
13617
13754
|
|
|
13618
13755
|
interface Item {
|
|
13619
13756
|
/**
|
|
13620
|
-
* The path
|
|
13757
|
+
* The path to the file being dragged.
|
|
13758
|
+
*/
|
|
13759
|
+
file: string;
|
|
13760
|
+
/**
|
|
13761
|
+
* The paths to the files being dragged. (`files` will override `file` field)
|
|
13621
13762
|
*/
|
|
13622
|
-
|
|
13763
|
+
files?: string[];
|
|
13623
13764
|
/**
|
|
13624
13765
|
* The image must be non-empty on macOS.
|
|
13625
13766
|
*/
|
|
@@ -13903,6 +14044,12 @@ declare namespace Electron {
|
|
|
13903
14044
|
*/
|
|
13904
14045
|
checkboxChecked?: boolean;
|
|
13905
14046
|
icon?: NativeImage;
|
|
14047
|
+
/**
|
|
14048
|
+
* Custom width of the text in the message box.
|
|
14049
|
+
*
|
|
14050
|
+
* @platform darwin
|
|
14051
|
+
*/
|
|
14052
|
+
textWidth?: number;
|
|
13906
14053
|
/**
|
|
13907
14054
|
* The index of the button to be used to cancel the dialog, via the `Esc` key. By
|
|
13908
14055
|
* default this is assigned to the first button with "cancel" or "no" as the label.
|
|
@@ -13971,6 +14118,12 @@ declare namespace Electron {
|
|
|
13971
14118
|
*/
|
|
13972
14119
|
detail?: string;
|
|
13973
14120
|
icon?: (NativeImage) | (string);
|
|
14121
|
+
/**
|
|
14122
|
+
* Custom width of the text in the message box.
|
|
14123
|
+
*
|
|
14124
|
+
* @platform darwin
|
|
14125
|
+
*/
|
|
14126
|
+
textWidth?: number;
|
|
13974
14127
|
/**
|
|
13975
14128
|
* The index of the button to be used to cancel the dialog, via the `Esc` key. By
|
|
13976
14129
|
* default this is assigned to the first button with "cancel" or "no" as the label.
|
|
@@ -14826,6 +14979,11 @@ declare namespace Electron {
|
|
|
14826
14979
|
securityScopedBookmarks?: boolean;
|
|
14827
14980
|
}
|
|
14828
14981
|
|
|
14982
|
+
interface SelectHidDeviceDetails {
|
|
14983
|
+
deviceList: HIDDevice[];
|
|
14984
|
+
frame: WebFrameMain;
|
|
14985
|
+
}
|
|
14986
|
+
|
|
14829
14987
|
interface Settings {
|
|
14830
14988
|
/**
|
|
14831
14989
|
* `true` to open the app at login, `false` to remove the app as a login item.
|
|
@@ -15893,6 +16051,7 @@ declare namespace Electron {
|
|
|
15893
16051
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
15894
16052
|
type Data = Electron.Data;
|
|
15895
16053
|
type Details = Electron.Details;
|
|
16054
|
+
type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHandlerHandlerDetails;
|
|
15896
16055
|
type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
|
|
15897
16056
|
type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
|
|
15898
16057
|
type DidFailLoadEvent = Electron.DidFailLoadEvent;
|
|
@@ -15914,6 +16073,8 @@ declare namespace Electron {
|
|
|
15914
16073
|
type HandlerDetails = Electron.HandlerDetails;
|
|
15915
16074
|
type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
|
|
15916
16075
|
type HeapStatistics = Electron.HeapStatistics;
|
|
16076
|
+
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
16077
|
+
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
15917
16078
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
15918
16079
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
15919
16080
|
type Info = Electron.Info;
|
|
@@ -15976,6 +16137,7 @@ declare namespace Electron {
|
|
|
15976
16137
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
15977
16138
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
15978
16139
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
16140
|
+
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
15979
16141
|
type Settings = Electron.Settings;
|
|
15980
16142
|
type SourcesOptions = Electron.SourcesOptions;
|
|
15981
16143
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
@@ -16027,6 +16189,7 @@ declare namespace Electron {
|
|
|
16027
16189
|
type FileFilter = Electron.FileFilter;
|
|
16028
16190
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
16029
16191
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
16192
|
+
type HIDDevice = Electron.HIDDevice;
|
|
16030
16193
|
type InputEvent = Electron.InputEvent;
|
|
16031
16194
|
type IOCounters = Electron.IOCounters;
|
|
16032
16195
|
type IpcMainEvent = Electron.IpcMainEvent;
|
|
@@ -16173,6 +16336,7 @@ declare namespace Electron {
|
|
|
16173
16336
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
16174
16337
|
type Data = Electron.Data;
|
|
16175
16338
|
type Details = Electron.Details;
|
|
16339
|
+
type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHandlerHandlerDetails;
|
|
16176
16340
|
type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
|
|
16177
16341
|
type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
|
|
16178
16342
|
type DidFailLoadEvent = Electron.DidFailLoadEvent;
|
|
@@ -16194,6 +16358,8 @@ declare namespace Electron {
|
|
|
16194
16358
|
type HandlerDetails = Electron.HandlerDetails;
|
|
16195
16359
|
type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
|
|
16196
16360
|
type HeapStatistics = Electron.HeapStatistics;
|
|
16361
|
+
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
16362
|
+
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
16197
16363
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
16198
16364
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
16199
16365
|
type Info = Electron.Info;
|
|
@@ -16256,6 +16422,7 @@ declare namespace Electron {
|
|
|
16256
16422
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
16257
16423
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
16258
16424
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
16425
|
+
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
16259
16426
|
type Settings = Electron.Settings;
|
|
16260
16427
|
type SourcesOptions = Electron.SourcesOptions;
|
|
16261
16428
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
@@ -16307,6 +16474,7 @@ declare namespace Electron {
|
|
|
16307
16474
|
type FileFilter = Electron.FileFilter;
|
|
16308
16475
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
16309
16476
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
16477
|
+
type HIDDevice = Electron.HIDDevice;
|
|
16310
16478
|
type InputEvent = Electron.InputEvent;
|
|
16311
16479
|
type IOCounters = Electron.IOCounters;
|
|
16312
16480
|
type IpcMainEvent = Electron.IpcMainEvent;
|
|
@@ -16393,6 +16561,7 @@ declare namespace Electron {
|
|
|
16393
16561
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
16394
16562
|
type Data = Electron.Data;
|
|
16395
16563
|
type Details = Electron.Details;
|
|
16564
|
+
type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHandlerHandlerDetails;
|
|
16396
16565
|
type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
|
|
16397
16566
|
type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
|
|
16398
16567
|
type DidFailLoadEvent = Electron.DidFailLoadEvent;
|
|
@@ -16414,6 +16583,8 @@ declare namespace Electron {
|
|
|
16414
16583
|
type HandlerDetails = Electron.HandlerDetails;
|
|
16415
16584
|
type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
|
|
16416
16585
|
type HeapStatistics = Electron.HeapStatistics;
|
|
16586
|
+
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
16587
|
+
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
16417
16588
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
16418
16589
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
16419
16590
|
type Info = Electron.Info;
|
|
@@ -16476,6 +16647,7 @@ declare namespace Electron {
|
|
|
16476
16647
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
16477
16648
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
16478
16649
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
16650
|
+
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
16479
16651
|
type Settings = Electron.Settings;
|
|
16480
16652
|
type SourcesOptions = Electron.SourcesOptions;
|
|
16481
16653
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
@@ -16527,6 +16699,7 @@ declare namespace Electron {
|
|
|
16527
16699
|
type FileFilter = Electron.FileFilter;
|
|
16528
16700
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
16529
16701
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
16702
|
+
type HIDDevice = Electron.HIDDevice;
|
|
16530
16703
|
type InputEvent = Electron.InputEvent;
|
|
16531
16704
|
type IOCounters = Electron.IOCounters;
|
|
16532
16705
|
type IpcMainEvent = Electron.IpcMainEvent;
|
|
@@ -16690,6 +16863,7 @@ declare namespace Electron {
|
|
|
16690
16863
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
16691
16864
|
type Data = Electron.Data;
|
|
16692
16865
|
type Details = Electron.Details;
|
|
16866
|
+
type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHandlerHandlerDetails;
|
|
16693
16867
|
type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
|
|
16694
16868
|
type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
|
|
16695
16869
|
type DidFailLoadEvent = Electron.DidFailLoadEvent;
|
|
@@ -16711,6 +16885,8 @@ declare namespace Electron {
|
|
|
16711
16885
|
type HandlerDetails = Electron.HandlerDetails;
|
|
16712
16886
|
type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
|
|
16713
16887
|
type HeapStatistics = Electron.HeapStatistics;
|
|
16888
|
+
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
16889
|
+
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
16714
16890
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
16715
16891
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
16716
16892
|
type Info = Electron.Info;
|
|
@@ -16773,6 +16949,7 @@ declare namespace Electron {
|
|
|
16773
16949
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
16774
16950
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
16775
16951
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
16952
|
+
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
16776
16953
|
type Settings = Electron.Settings;
|
|
16777
16954
|
type SourcesOptions = Electron.SourcesOptions;
|
|
16778
16955
|
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
@@ -16824,6 +17001,7 @@ declare namespace Electron {
|
|
|
16824
17001
|
type FileFilter = Electron.FileFilter;
|
|
16825
17002
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
16826
17003
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
17004
|
+
type HIDDevice = Electron.HIDDevice;
|
|
16827
17005
|
type InputEvent = Electron.InputEvent;
|
|
16828
17006
|
type IOCounters = Electron.IOCounters;
|
|
16829
17007
|
type IpcMainEvent = Electron.IpcMainEvent;
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "15.
|
|
19
|
+
"version": "15.1.0",
|
|
20
20
|
"repository": "https://github.com/electron/electron",
|
|
21
21
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
22
|
"license": "MIT",
|