electron 34.0.0 → 35.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/checksums.json +75 -75
- package/electron.d.ts +246 -39
- package/package.json +2 -2
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-v35.0.0-alpha.1-darwin-arm64.zip": "49f6ec17a07195327f37b436de43bce4ffc9ef13014320ad5fb4950666da1e92",
|
|
3
|
+
"chromedriver-v35.0.0-alpha.1-darwin-x64.zip": "6cf3348ea161ca3feafec226ed7a55c5b0d1a210c9d6c85eb10bf8f9c29a8cbc",
|
|
4
|
+
"chromedriver-v35.0.0-alpha.1-linux-arm64.zip": "86fd2e867d3c5c1a0fc451e397d688e737a1f6d9d2d3037587996f9e4365ebb8",
|
|
5
|
+
"chromedriver-v35.0.0-alpha.1-linux-armv7l.zip": "40f1b219dc5f703e97ae5b0fdd9b19919da9b4e20ef9ccebdc22d3fbcb42e13e",
|
|
6
|
+
"chromedriver-v35.0.0-alpha.1-linux-x64.zip": "54599eec3d7faef8c7e488c9115dd693acc2e1d53ff617a00dc08398a675fb91",
|
|
7
|
+
"chromedriver-v35.0.0-alpha.1-mas-arm64.zip": "5781ef5bf37c6704233cd92405fd39a11cf42e6d5b35357199ae7b9784625d7e",
|
|
8
|
+
"chromedriver-v35.0.0-alpha.1-mas-x64.zip": "b4b6145c117d38d1af96faab5c2c9925873e2ea3cf6dac716773d9829c7c7e6c",
|
|
9
|
+
"chromedriver-v35.0.0-alpha.1-win32-arm64.zip": "5cb4508d84acd1c61ef3d49caabdea9fbeddb6661e2f6f3928e6128b7231bc1f",
|
|
10
|
+
"chromedriver-v35.0.0-alpha.1-win32-ia32.zip": "d58a6f1c34013db9b74586ffba4939d360c33abf6833b5ecee6f04af83a204ee",
|
|
11
|
+
"chromedriver-v35.0.0-alpha.1-win32-x64.zip": "f577f60abcd12c815da307e67f5a3eb4fd69c096c15b3b04aa5740023a8ffbd2",
|
|
12
|
+
"electron-api.json": "0f85969483769bb3aec932d0b0178628d98231798266ddf975bfc31f8297de0d",
|
|
13
|
+
"electron-v35.0.0-alpha.1-darwin-arm64-dsym-snapshot.zip": "004b009939106805eaf68fb1348266a385f1f83a378af7756ef36cc61a8bd035",
|
|
14
|
+
"electron-v35.0.0-alpha.1-darwin-arm64-dsym.zip": "e7504169dbcecf3b482c357413b791b09ef55c16b2a73c8cf454df397383f090",
|
|
15
|
+
"electron-v35.0.0-alpha.1-darwin-arm64-symbols.zip": "f1cdcfb59218603ac460809db0c89a42b6f2e1736715fb1a4f092d4bdbf04c63",
|
|
16
|
+
"electron-v35.0.0-alpha.1-darwin-arm64.zip": "f595a290d7cf6c9504643cc31da654210505258325591949d4394cad6dfb36dc",
|
|
17
|
+
"electron-v35.0.0-alpha.1-darwin-x64-dsym-snapshot.zip": "098bece4df0ea503148b687ce75deca2b82735c4f844a791751b880ef13face3",
|
|
18
|
+
"electron-v35.0.0-alpha.1-darwin-x64-dsym.zip": "f2a941d17b1a935237f767ee66fa3a70c40030545fb7b9a9c3f8268dee925e47",
|
|
19
|
+
"electron-v35.0.0-alpha.1-darwin-x64-symbols.zip": "f4c44826d8e7951e671f82ce0a5b47d9f674321ace23b0b9cac9e6d695789ff0",
|
|
20
|
+
"electron-v35.0.0-alpha.1-darwin-x64.zip": "01c071204ea3478472c04699ce98b5e279a60581797f78043ebc287027a597e4",
|
|
21
|
+
"electron-v35.0.0-alpha.1-linux-arm64-debug.zip": "0e2e19fa47a8686933b8c139ca2b1f28f719f6ecd40478f101c4fcf1dccb36e3",
|
|
22
|
+
"electron-v35.0.0-alpha.1-linux-arm64-symbols.zip": "f3350c489a40b736b1daf0106599ffb776326362f0114659e9dc7945c91701fe",
|
|
23
|
+
"electron-v35.0.0-alpha.1-linux-arm64.zip": "62d16569c50886b9e7c94c932793745ec9bcae1072287d2bc53ad4eddca37922",
|
|
24
|
+
"electron-v35.0.0-alpha.1-linux-armv7l-debug.zip": "0e2e19fa47a8686933b8c139ca2b1f28f719f6ecd40478f101c4fcf1dccb36e3",
|
|
25
|
+
"electron-v35.0.0-alpha.1-linux-armv7l-symbols.zip": "ab029311bc13c495a18559c6a0e9f9fa0e6f75f52f00879f30bb279c9ee0b0a8",
|
|
26
|
+
"electron-v35.0.0-alpha.1-linux-armv7l.zip": "5659e86d25d862e98f3e4e149ef6a6ca1e44fe57705503995a71328e3a330be9",
|
|
27
|
+
"electron-v35.0.0-alpha.1-linux-x64-debug.zip": "cb76548af3bf4fda903ec071b5bb56dc4bae62172f59005a2aa0ada1dbf83cfa",
|
|
28
|
+
"electron-v35.0.0-alpha.1-linux-x64-symbols.zip": "b1ddec0b1211c7eb2a0b8097c1e24dbf76e671050e1de4a850bb1dc6697ce26b",
|
|
29
|
+
"electron-v35.0.0-alpha.1-linux-x64.zip": "533df07540a92053b5f613b9dc29598fbd1987ba0801c592ff6a8758b05aef39",
|
|
30
|
+
"electron-v35.0.0-alpha.1-mas-arm64-dsym-snapshot.zip": "53a622ce5e6508b6ff934e3a758eb3a506bcd2784b2793ab904b9a6482963734",
|
|
31
|
+
"electron-v35.0.0-alpha.1-mas-arm64-dsym.zip": "70008a3984e31ec227cdcd22b91022d8ba48fd509b4e28df45ba7c805bd715d5",
|
|
32
|
+
"electron-v35.0.0-alpha.1-mas-arm64-symbols.zip": "6832b595b1627ab81b83b58fc7936178608935f68c2582053c4569f387a651a1",
|
|
33
|
+
"electron-v35.0.0-alpha.1-mas-arm64.zip": "6cd357d8d52f81e7fb020b0e6346afbed0d85337573d9ac4c0786d7534ca6c00",
|
|
34
|
+
"electron-v35.0.0-alpha.1-mas-x64-dsym-snapshot.zip": "e003d0b636a7599f112f90400c68562f1b39951c1d330d16dc0aa3a167e04ec2",
|
|
35
|
+
"electron-v35.0.0-alpha.1-mas-x64-dsym.zip": "2e582b9245b7c86dea72c798f56cc52f9ff945b578d6e565d926009f028e9531",
|
|
36
|
+
"electron-v35.0.0-alpha.1-mas-x64-symbols.zip": "b8ba6ce86999835b7d5b0c211c19d6cc971d42bdab86ac96ad081202d2df7b64",
|
|
37
|
+
"electron-v35.0.0-alpha.1-mas-x64.zip": "b4d59142ce32db3fcb3b228b600ae0d44312780ceb15caa00c0b853526077a3c",
|
|
38
|
+
"electron-v35.0.0-alpha.1-win32-arm64-pdb.zip": "5b2767014c4af32789242902bb10e6aa48ddbcf6a1ed6ae672ea32125d9191b3",
|
|
39
|
+
"electron-v35.0.0-alpha.1-win32-arm64-symbols.zip": "6c72764e9c804568771323c0822877c36f126cb2904998852d42f4c6f6c6a152",
|
|
40
|
+
"electron-v35.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
41
|
+
"electron-v35.0.0-alpha.1-win32-arm64.zip": "7738eb842667b6ffd0db3ee67ed5e80116ebe55bc9a09a38ac69150dada101b8",
|
|
42
|
+
"electron-v35.0.0-alpha.1-win32-ia32-pdb.zip": "53207972afdabbf734fb52c6f0a87ec9ca6c6c1af529bd9f5067f34902e1dd4e",
|
|
43
|
+
"electron-v35.0.0-alpha.1-win32-ia32-symbols.zip": "dc7339f5b4e4fc3ce01833466872f700f9ab4d138d8a4bba6f1d53fe1605d418",
|
|
44
|
+
"electron-v35.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
45
|
+
"electron-v35.0.0-alpha.1-win32-ia32.zip": "6fc606aeb0020df1d382610a842edc7f8a4e436cc84ea8dd14c9c4527ad9dae7",
|
|
46
|
+
"electron-v35.0.0-alpha.1-win32-x64-pdb.zip": "f6585534dfac077b12dd09eb18bcb2564bac371b364efaa1340fa20b56fce815",
|
|
47
|
+
"electron-v35.0.0-alpha.1-win32-x64-symbols.zip": "c5ba93bbb79dcd2e9ba429fb1adb915639aa63f0070091dcc044cf0c140e84e5",
|
|
48
|
+
"electron-v35.0.0-alpha.1-win32-x64-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
49
|
+
"electron-v35.0.0-alpha.1-win32-x64.zip": "99082dd20cf2395de5ee8235fbaebb4ec3134386ef5396c6a354e4e7d93ae214",
|
|
50
|
+
"electron.d.ts": "7568c32059027e0965f59bba0e64436a2b59ba22337536bc466a384b79f03014",
|
|
51
|
+
"ffmpeg-v35.0.0-alpha.1-darwin-arm64.zip": "59a7419f8d3153b79edccd3e1f8ae53c4e791ec94d66f170d467fbb7d7996aec",
|
|
52
|
+
"ffmpeg-v35.0.0-alpha.1-darwin-x64.zip": "63998efd39a4461bd58565175640ca063421b4c2a1158ae1cf556912083b50b8",
|
|
53
|
+
"ffmpeg-v35.0.0-alpha.1-linux-arm64.zip": "ddc6e8df1942bf692342f9abc7457c3b48cb9613145c537fd49aaf19fbc8987c",
|
|
54
|
+
"ffmpeg-v35.0.0-alpha.1-linux-armv7l.zip": "0e328cd37e88bfc61f6e35b36aca82e0cbbe99c121a9b5e70f34e0c77229e563",
|
|
55
|
+
"ffmpeg-v35.0.0-alpha.1-linux-x64.zip": "fedb158cc440e17f0a135a03748a3c4572e0f59be37253efc66d588c2cb2dfdd",
|
|
56
|
+
"ffmpeg-v35.0.0-alpha.1-mas-arm64.zip": "59a7419f8d3153b79edccd3e1f8ae53c4e791ec94d66f170d467fbb7d7996aec",
|
|
57
|
+
"ffmpeg-v35.0.0-alpha.1-mas-x64.zip": "63998efd39a4461bd58565175640ca063421b4c2a1158ae1cf556912083b50b8",
|
|
58
|
+
"ffmpeg-v35.0.0-alpha.1-win32-arm64.zip": "b604687f77fa5ec7f3f20ef985a086a4bf6e8bc8dda41b56f047ec4b3c18f5f9",
|
|
59
|
+
"ffmpeg-v35.0.0-alpha.1-win32-ia32.zip": "eeeb42744ab05fbbe96e18a90483a007eec27a006567602703e5c55c8f68c414",
|
|
60
|
+
"ffmpeg-v35.0.0-alpha.1-win32-x64.zip": "370cdc800b202f20915ccbf2f8c7a3ec4f94973d3c326f44a9c46e2bb370d795",
|
|
61
|
+
"hunspell_dictionaries.zip": "d4610f6e94ab244fb58c0b7eb2a4e59cd8cf8379c25b7bf58e64e2c3c8671b09",
|
|
62
|
+
"libcxx-objects-v35.0.0-alpha.1-linux-arm64.zip": "1cadea7c3726958eb8bef37695f43038de6a2f7a01d08e675b0bc0956a9d3590",
|
|
63
|
+
"libcxx-objects-v35.0.0-alpha.1-linux-armv7l.zip": "6e462fab79f4decf84865bc5823b0fd6f1d00edc0faf6fd8620e4751fe5a07c6",
|
|
64
|
+
"libcxx-objects-v35.0.0-alpha.1-linux-x64.zip": "cf307f9c06f757057ebac81e11b9b493a52f3f45023d79401ea29436dc8e4d99",
|
|
65
|
+
"libcxx_headers.zip": "1f8f530db7c1f152776e05e8ccc50a27d96143357b7b400471d23af2b8ba455d",
|
|
66
|
+
"libcxxabi_headers.zip": "a54dfee688fb899e9b0e6584aca8bcfbc1a621ff79ddd030da6515263553c845",
|
|
67
|
+
"mksnapshot-v35.0.0-alpha.1-darwin-arm64.zip": "d5824c6a77573f57e584e5b4a6732116b9752be2708146d16898d6fbea84abbc",
|
|
68
|
+
"mksnapshot-v35.0.0-alpha.1-darwin-x64.zip": "826a1aa9e5053e90d2eadb29b6ca560af2e1e9557df4836111775c3b8aad2786",
|
|
69
|
+
"mksnapshot-v35.0.0-alpha.1-linux-arm64-x64.zip": "19a2945e901e5fe7b5ecc70ac2906cc6ddced6dcd7932faedf07072ffdc224c0",
|
|
70
|
+
"mksnapshot-v35.0.0-alpha.1-linux-armv7l-x64.zip": "249cf624f7d822f3b861c848b2ad762b7dba0218c26f869c651c7b47b9fdaf4f",
|
|
71
|
+
"mksnapshot-v35.0.0-alpha.1-linux-x64.zip": "5da4884550f72fbae10e227cfa64911c109967a97cd07f7a8b36401501581a91",
|
|
72
|
+
"mksnapshot-v35.0.0-alpha.1-mas-arm64.zip": "d98350566dbafad3220bf7d160ea7988b4d9f934ce9fc602ebf912ff38e5fdf5",
|
|
73
|
+
"mksnapshot-v35.0.0-alpha.1-mas-x64.zip": "7e76da3a1ef43c4d85689905d1acbb03f4b05012cb30fc46c6d5d78555132af6",
|
|
74
|
+
"mksnapshot-v35.0.0-alpha.1-win32-arm64-x64.zip": "74cc838368319adb7373283e5d1a54376fb1c94cf946c2d1145bbc896516a650",
|
|
75
|
+
"mksnapshot-v35.0.0-alpha.1-win32-ia32.zip": "49f886ef9ff18ce47228037ee9cdf428bf25ec0747ae21ca949deed852d5d4aa",
|
|
76
|
+
"mksnapshot-v35.0.0-alpha.1-win32-x64.zip": "a3231d69304877699fc92ff4239e55e1f75783ceed57470c0257d392124faafa"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 35.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/typescript-definitions
|
|
@@ -1626,8 +1626,9 @@ declare namespace Electron {
|
|
|
1626
1626
|
* Set the app's login item settings.
|
|
1627
1627
|
*
|
|
1628
1628
|
* To work with Electron's `autoUpdater` on Windows, which uses Squirrel, you'll
|
|
1629
|
-
* want to set the launch path to
|
|
1630
|
-
* application
|
|
1629
|
+
* want to set the launch path to your executable's name but a directory up, which
|
|
1630
|
+
* is a stub application automatically generated by Squirrel which will
|
|
1631
|
+
* automatically launch the latest version.
|
|
1631
1632
|
*
|
|
1632
1633
|
* For more information about setting different services as login items on macOS 13
|
|
1633
1634
|
* and up, see `SMAppService`.
|
|
@@ -1844,7 +1845,7 @@ declare namespace Electron {
|
|
|
1844
1845
|
addListener(event: 'before-quit-for-update', listener: () => void): this;
|
|
1845
1846
|
removeListener(event: 'before-quit-for-update', listener: () => void): this;
|
|
1846
1847
|
/**
|
|
1847
|
-
* Emitted when checking
|
|
1848
|
+
* Emitted when checking for an available update has started.
|
|
1848
1849
|
*/
|
|
1849
1850
|
on(event: 'checking-for-update', listener: () => void): this;
|
|
1850
1851
|
off(event: 'checking-for-update', listener: () => void): this;
|
|
@@ -2135,6 +2136,32 @@ declare namespace Electron {
|
|
|
2135
2136
|
* @platform darwin
|
|
2136
2137
|
*/
|
|
2137
2138
|
removeListener(event: 'new-window-for-tab', listener: () => void): this;
|
|
2139
|
+
/**
|
|
2140
|
+
* Emitted when a session is about to end due to a shutdown, machine restart, or
|
|
2141
|
+
* user log-off. Calling `event.preventDefault()` can delay the system shutdown,
|
|
2142
|
+
* though it’s generally best to respect the user’s choice to end the session.
|
|
2143
|
+
* However, you may choose to use it if ending the session puts the user at risk of
|
|
2144
|
+
* losing data.
|
|
2145
|
+
*
|
|
2146
|
+
* @platform win32
|
|
2147
|
+
*/
|
|
2148
|
+
on(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2149
|
+
/**
|
|
2150
|
+
* @platform win32
|
|
2151
|
+
*/
|
|
2152
|
+
off(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2153
|
+
/**
|
|
2154
|
+
* @platform win32
|
|
2155
|
+
*/
|
|
2156
|
+
once(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2157
|
+
/**
|
|
2158
|
+
* @platform win32
|
|
2159
|
+
*/
|
|
2160
|
+
addListener(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2161
|
+
/**
|
|
2162
|
+
* @platform win32
|
|
2163
|
+
*/
|
|
2164
|
+
removeListener(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2138
2165
|
/**
|
|
2139
2166
|
* Emitted after the window has been resized.
|
|
2140
2167
|
*/
|
|
@@ -2209,28 +2236,29 @@ declare namespace Electron {
|
|
|
2209
2236
|
removeListener(event: 'rotate-gesture', listener: (event: Event,
|
|
2210
2237
|
rotation: number) => void): this;
|
|
2211
2238
|
/**
|
|
2212
|
-
* Emitted when
|
|
2213
|
-
*
|
|
2239
|
+
* Emitted when a session is about to end due to a shutdown, machine restart, or
|
|
2240
|
+
* user log-off. Once this event fires, there is no way to prevent the session from
|
|
2241
|
+
* ending.
|
|
2214
2242
|
*
|
|
2215
2243
|
* @platform win32
|
|
2216
2244
|
*/
|
|
2217
|
-
on(event: 'session-end', listener: () => void): this;
|
|
2245
|
+
on(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2218
2246
|
/**
|
|
2219
2247
|
* @platform win32
|
|
2220
2248
|
*/
|
|
2221
|
-
off(event: 'session-end', listener: () => void): this;
|
|
2249
|
+
off(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2222
2250
|
/**
|
|
2223
2251
|
* @platform win32
|
|
2224
2252
|
*/
|
|
2225
|
-
once(event: 'session-end', listener: () => void): this;
|
|
2253
|
+
once(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2226
2254
|
/**
|
|
2227
2255
|
* @platform win32
|
|
2228
2256
|
*/
|
|
2229
|
-
addListener(event: 'session-end', listener: () => void): this;
|
|
2257
|
+
addListener(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2230
2258
|
/**
|
|
2231
2259
|
* @platform win32
|
|
2232
2260
|
*/
|
|
2233
|
-
removeListener(event: 'session-end', listener: () => void): this;
|
|
2261
|
+
removeListener(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
2234
2262
|
/**
|
|
2235
2263
|
* Emitted when the window opens a sheet.
|
|
2236
2264
|
*
|
|
@@ -2566,9 +2594,9 @@ declare namespace Electron {
|
|
|
2566
2594
|
*/
|
|
2567
2595
|
getContentSize(): number[];
|
|
2568
2596
|
/**
|
|
2569
|
-
*
|
|
2597
|
+
* The content view of the window.
|
|
2570
2598
|
*/
|
|
2571
|
-
getContentView():
|
|
2599
|
+
getContentView(): View;
|
|
2572
2600
|
/**
|
|
2573
2601
|
* Contains the window's maximum width and height.
|
|
2574
2602
|
*/
|
|
@@ -4274,6 +4302,58 @@ declare namespace Electron {
|
|
|
4274
4302
|
removeListener(event: 'page-title-updated', listener: (event: Event,
|
|
4275
4303
|
title: string,
|
|
4276
4304
|
explicitSet: boolean) => void): this;
|
|
4305
|
+
/**
|
|
4306
|
+
* Emitted when a session is about to end due to a shutdown, machine restart, or
|
|
4307
|
+
* user log-off. Calling `event.preventDefault()` can delay the system shutdown,
|
|
4308
|
+
* though it’s generally best to respect the user’s choice to end the session.
|
|
4309
|
+
* However, you may choose to use it if ending the session puts the user at risk of
|
|
4310
|
+
* losing data.
|
|
4311
|
+
*
|
|
4312
|
+
* @platform win32
|
|
4313
|
+
*/
|
|
4314
|
+
on(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4315
|
+
/**
|
|
4316
|
+
* @platform win32
|
|
4317
|
+
*/
|
|
4318
|
+
off(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4319
|
+
/**
|
|
4320
|
+
* @platform win32
|
|
4321
|
+
*/
|
|
4322
|
+
once(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4323
|
+
/**
|
|
4324
|
+
* @platform win32
|
|
4325
|
+
*/
|
|
4326
|
+
addListener(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4327
|
+
/**
|
|
4328
|
+
* @platform win32
|
|
4329
|
+
*/
|
|
4330
|
+
removeListener(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4331
|
+
/**
|
|
4332
|
+
* Emitted when a session is about to end due to a shutdown, machine restart, or
|
|
4333
|
+
* user log-off. Calling `event.preventDefault()` can delay the system shutdown,
|
|
4334
|
+
* though it’s generally best to respect the user’s choice to end the session.
|
|
4335
|
+
* However, you may choose to use it if ending the session puts the user at risk of
|
|
4336
|
+
* losing data.
|
|
4337
|
+
*
|
|
4338
|
+
* @platform win32
|
|
4339
|
+
*/
|
|
4340
|
+
on(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4341
|
+
/**
|
|
4342
|
+
* @platform win32
|
|
4343
|
+
*/
|
|
4344
|
+
off(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4345
|
+
/**
|
|
4346
|
+
* @platform win32
|
|
4347
|
+
*/
|
|
4348
|
+
once(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4349
|
+
/**
|
|
4350
|
+
* @platform win32
|
|
4351
|
+
*/
|
|
4352
|
+
addListener(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4353
|
+
/**
|
|
4354
|
+
* @platform win32
|
|
4355
|
+
*/
|
|
4356
|
+
removeListener(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4277
4357
|
/**
|
|
4278
4358
|
* Emitted when the web page has been rendered (while not being shown) and window
|
|
4279
4359
|
* can be displayed without a visual flash.
|
|
@@ -4442,51 +4522,53 @@ declare namespace Electron {
|
|
|
4442
4522
|
removeListener(event: 'rotate-gesture', listener: (event: Event,
|
|
4443
4523
|
rotation: number) => void): this;
|
|
4444
4524
|
/**
|
|
4445
|
-
* Emitted when
|
|
4446
|
-
*
|
|
4525
|
+
* Emitted when a session is about to end due to a shutdown, machine restart, or
|
|
4526
|
+
* user log-off. Once this event fires, there is no way to prevent the session from
|
|
4527
|
+
* ending.
|
|
4447
4528
|
*
|
|
4448
4529
|
* @platform win32
|
|
4449
4530
|
*/
|
|
4450
|
-
on(event: 'session-end', listener: () => void): this;
|
|
4531
|
+
on(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4451
4532
|
/**
|
|
4452
4533
|
* @platform win32
|
|
4453
4534
|
*/
|
|
4454
|
-
off(event: 'session-end', listener: () => void): this;
|
|
4535
|
+
off(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4455
4536
|
/**
|
|
4456
4537
|
* @platform win32
|
|
4457
4538
|
*/
|
|
4458
|
-
once(event: 'session-end', listener: () => void): this;
|
|
4539
|
+
once(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4459
4540
|
/**
|
|
4460
4541
|
* @platform win32
|
|
4461
4542
|
*/
|
|
4462
|
-
addListener(event: 'session-end', listener: () => void): this;
|
|
4543
|
+
addListener(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4463
4544
|
/**
|
|
4464
4545
|
* @platform win32
|
|
4465
4546
|
*/
|
|
4466
|
-
removeListener(event: 'session-end', listener: () => void): this;
|
|
4547
|
+
removeListener(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4467
4548
|
/**
|
|
4468
|
-
* Emitted when
|
|
4469
|
-
*
|
|
4549
|
+
* Emitted when a session is about to end due to a shutdown, machine restart, or
|
|
4550
|
+
* user log-off. Once this event fires, there is no way to prevent the session from
|
|
4551
|
+
* ending.
|
|
4470
4552
|
*
|
|
4471
4553
|
* @platform win32
|
|
4472
4554
|
*/
|
|
4473
|
-
on(event: 'session-end', listener: () => void): this;
|
|
4555
|
+
on(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4474
4556
|
/**
|
|
4475
4557
|
* @platform win32
|
|
4476
4558
|
*/
|
|
4477
|
-
off(event: 'session-end', listener: () => void): this;
|
|
4559
|
+
off(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4478
4560
|
/**
|
|
4479
4561
|
* @platform win32
|
|
4480
4562
|
*/
|
|
4481
|
-
once(event: 'session-end', listener: () => void): this;
|
|
4563
|
+
once(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4482
4564
|
/**
|
|
4483
4565
|
* @platform win32
|
|
4484
4566
|
*/
|
|
4485
|
-
addListener(event: 'session-end', listener: () => void): this;
|
|
4567
|
+
addListener(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4486
4568
|
/**
|
|
4487
4569
|
* @platform win32
|
|
4488
4570
|
*/
|
|
4489
|
-
removeListener(event: 'session-end', listener: () => void): this;
|
|
4571
|
+
removeListener(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
|
|
4490
4572
|
/**
|
|
4491
4573
|
* Emitted when the window opens a sheet.
|
|
4492
4574
|
*
|
|
@@ -5904,11 +5986,13 @@ declare namespace Electron {
|
|
|
5904
5986
|
setTouchBar(touchBar: (TouchBar) | (null)): void;
|
|
5905
5987
|
/**
|
|
5906
5988
|
* Adds a vibrancy effect to the browser window. Passing `null` or an empty string
|
|
5907
|
-
* will remove the vibrancy effect on the window.
|
|
5989
|
+
* will remove the vibrancy effect on the window. The `animationDuration` parameter
|
|
5990
|
+
* only animates fading in or fading out the vibrancy effect. Animating between
|
|
5991
|
+
* different types of vibrancy is not supported.
|
|
5908
5992
|
*
|
|
5909
5993
|
* @platform darwin
|
|
5910
5994
|
*/
|
|
5911
|
-
setVibrancy(type: (('titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'header' | 'sheet' | 'window' | 'hud' | 'fullscreen-ui' | 'tooltip' | 'content' | 'under-window' | 'under-page')) | (null)): void;
|
|
5995
|
+
setVibrancy(type: (('titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'header' | 'sheet' | 'window' | 'hud' | 'fullscreen-ui' | 'tooltip' | 'content' | 'under-window' | 'under-page')) | (null), options?: VibrancyOptions): void;
|
|
5912
5996
|
/**
|
|
5913
5997
|
* Sets whether the window should be visible on all workspaces.
|
|
5914
5998
|
*
|
|
@@ -9894,23 +9978,43 @@ declare namespace Electron {
|
|
|
9894
9978
|
*
|
|
9895
9979
|
* @platform darwin,win32
|
|
9896
9980
|
*/
|
|
9897
|
-
on(event: 'speed-limit-change', listener: (
|
|
9981
|
+
on(event: 'speed-limit-change', listener: (
|
|
9982
|
+
/**
|
|
9983
|
+
* The operating system's advertised speed limit for CPUs, in percent.
|
|
9984
|
+
*/
|
|
9985
|
+
limit: number) => void): this;
|
|
9898
9986
|
/**
|
|
9899
9987
|
* @platform darwin,win32
|
|
9900
9988
|
*/
|
|
9901
|
-
off(event: 'speed-limit-change', listener: (
|
|
9989
|
+
off(event: 'speed-limit-change', listener: (
|
|
9990
|
+
/**
|
|
9991
|
+
* The operating system's advertised speed limit for CPUs, in percent.
|
|
9992
|
+
*/
|
|
9993
|
+
limit: number) => void): this;
|
|
9902
9994
|
/**
|
|
9903
9995
|
* @platform darwin,win32
|
|
9904
9996
|
*/
|
|
9905
|
-
once(event: 'speed-limit-change', listener: (
|
|
9997
|
+
once(event: 'speed-limit-change', listener: (
|
|
9998
|
+
/**
|
|
9999
|
+
* The operating system's advertised speed limit for CPUs, in percent.
|
|
10000
|
+
*/
|
|
10001
|
+
limit: number) => void): this;
|
|
9906
10002
|
/**
|
|
9907
10003
|
* @platform darwin,win32
|
|
9908
10004
|
*/
|
|
9909
|
-
addListener(event: 'speed-limit-change', listener: (
|
|
10005
|
+
addListener(event: 'speed-limit-change', listener: (
|
|
10006
|
+
/**
|
|
10007
|
+
* The operating system's advertised speed limit for CPUs, in percent.
|
|
10008
|
+
*/
|
|
10009
|
+
limit: number) => void): this;
|
|
9910
10010
|
/**
|
|
9911
10011
|
* @platform darwin,win32
|
|
9912
10012
|
*/
|
|
9913
|
-
removeListener(event: 'speed-limit-change', listener: (
|
|
10013
|
+
removeListener(event: 'speed-limit-change', listener: (
|
|
10014
|
+
/**
|
|
10015
|
+
* The operating system's advertised speed limit for CPUs, in percent.
|
|
10016
|
+
*/
|
|
10017
|
+
limit: number) => void): this;
|
|
9914
10018
|
/**
|
|
9915
10019
|
* Emitted when the system is suspending.
|
|
9916
10020
|
*/
|
|
@@ -14427,80 +14531,125 @@ declare namespace Electron {
|
|
|
14427
14531
|
/**
|
|
14428
14532
|
* Emitted when the associated window logs a console message.
|
|
14429
14533
|
*/
|
|
14430
|
-
on(event: 'console-message', listener: (
|
|
14534
|
+
on(event: 'console-message', listener: (details: Event<WebContentsConsoleMessageEventParams>,
|
|
14431
14535
|
/**
|
|
14432
14536
|
* The log level, from 0 to 3. In order it matches `verbose`, `info`, `warning` and
|
|
14433
14537
|
* `error`.
|
|
14538
|
+
*
|
|
14539
|
+
* @deprecated
|
|
14434
14540
|
*/
|
|
14435
14541
|
level: number,
|
|
14436
14542
|
/**
|
|
14437
14543
|
* The actual console message
|
|
14544
|
+
*
|
|
14545
|
+
* @deprecated
|
|
14438
14546
|
*/
|
|
14439
14547
|
message: string,
|
|
14440
14548
|
/**
|
|
14441
14549
|
* The line number of the source that triggered this console message
|
|
14550
|
+
*
|
|
14551
|
+
* @deprecated
|
|
14442
14552
|
*/
|
|
14443
14553
|
line: number,
|
|
14554
|
+
/**
|
|
14555
|
+
* @deprecated
|
|
14556
|
+
*/
|
|
14444
14557
|
sourceId: string) => void): this;
|
|
14445
|
-
off(event: 'console-message', listener: (
|
|
14558
|
+
off(event: 'console-message', listener: (details: Event<WebContentsConsoleMessageEventParams>,
|
|
14446
14559
|
/**
|
|
14447
14560
|
* The log level, from 0 to 3. In order it matches `verbose`, `info`, `warning` and
|
|
14448
14561
|
* `error`.
|
|
14562
|
+
*
|
|
14563
|
+
* @deprecated
|
|
14449
14564
|
*/
|
|
14450
14565
|
level: number,
|
|
14451
14566
|
/**
|
|
14452
14567
|
* The actual console message
|
|
14568
|
+
*
|
|
14569
|
+
* @deprecated
|
|
14453
14570
|
*/
|
|
14454
14571
|
message: string,
|
|
14455
14572
|
/**
|
|
14456
14573
|
* The line number of the source that triggered this console message
|
|
14574
|
+
*
|
|
14575
|
+
* @deprecated
|
|
14457
14576
|
*/
|
|
14458
14577
|
line: number,
|
|
14578
|
+
/**
|
|
14579
|
+
* @deprecated
|
|
14580
|
+
*/
|
|
14459
14581
|
sourceId: string) => void): this;
|
|
14460
|
-
once(event: 'console-message', listener: (
|
|
14582
|
+
once(event: 'console-message', listener: (details: Event<WebContentsConsoleMessageEventParams>,
|
|
14461
14583
|
/**
|
|
14462
14584
|
* The log level, from 0 to 3. In order it matches `verbose`, `info`, `warning` and
|
|
14463
14585
|
* `error`.
|
|
14586
|
+
*
|
|
14587
|
+
* @deprecated
|
|
14464
14588
|
*/
|
|
14465
14589
|
level: number,
|
|
14466
14590
|
/**
|
|
14467
14591
|
* The actual console message
|
|
14592
|
+
*
|
|
14593
|
+
* @deprecated
|
|
14468
14594
|
*/
|
|
14469
14595
|
message: string,
|
|
14470
14596
|
/**
|
|
14471
14597
|
* The line number of the source that triggered this console message
|
|
14598
|
+
*
|
|
14599
|
+
* @deprecated
|
|
14472
14600
|
*/
|
|
14473
14601
|
line: number,
|
|
14602
|
+
/**
|
|
14603
|
+
* @deprecated
|
|
14604
|
+
*/
|
|
14474
14605
|
sourceId: string) => void): this;
|
|
14475
|
-
addListener(event: 'console-message', listener: (
|
|
14606
|
+
addListener(event: 'console-message', listener: (details: Event<WebContentsConsoleMessageEventParams>,
|
|
14476
14607
|
/**
|
|
14477
14608
|
* The log level, from 0 to 3. In order it matches `verbose`, `info`, `warning` and
|
|
14478
14609
|
* `error`.
|
|
14610
|
+
*
|
|
14611
|
+
* @deprecated
|
|
14479
14612
|
*/
|
|
14480
14613
|
level: number,
|
|
14481
14614
|
/**
|
|
14482
14615
|
* The actual console message
|
|
14616
|
+
*
|
|
14617
|
+
* @deprecated
|
|
14483
14618
|
*/
|
|
14484
14619
|
message: string,
|
|
14485
14620
|
/**
|
|
14486
14621
|
* The line number of the source that triggered this console message
|
|
14622
|
+
*
|
|
14623
|
+
* @deprecated
|
|
14487
14624
|
*/
|
|
14488
14625
|
line: number,
|
|
14626
|
+
/**
|
|
14627
|
+
* @deprecated
|
|
14628
|
+
*/
|
|
14489
14629
|
sourceId: string) => void): this;
|
|
14490
|
-
removeListener(event: 'console-message', listener: (
|
|
14630
|
+
removeListener(event: 'console-message', listener: (details: Event<WebContentsConsoleMessageEventParams>,
|
|
14491
14631
|
/**
|
|
14492
14632
|
* The log level, from 0 to 3. In order it matches `verbose`, `info`, `warning` and
|
|
14493
14633
|
* `error`.
|
|
14634
|
+
*
|
|
14635
|
+
* @deprecated
|
|
14494
14636
|
*/
|
|
14495
14637
|
level: number,
|
|
14496
14638
|
/**
|
|
14497
14639
|
* The actual console message
|
|
14640
|
+
*
|
|
14641
|
+
* @deprecated
|
|
14498
14642
|
*/
|
|
14499
14643
|
message: string,
|
|
14500
14644
|
/**
|
|
14501
14645
|
* The line number of the source that triggered this console message
|
|
14646
|
+
*
|
|
14647
|
+
* @deprecated
|
|
14502
14648
|
*/
|
|
14503
14649
|
line: number,
|
|
14650
|
+
/**
|
|
14651
|
+
* @deprecated
|
|
14652
|
+
*/
|
|
14504
14653
|
sourceId: string) => void): this;
|
|
14505
14654
|
/**
|
|
14506
14655
|
* Emitted when the page calls `window.moveTo`, `window.resizeTo` or related APIs.
|
|
@@ -18396,6 +18545,17 @@ declare namespace Electron {
|
|
|
18396
18545
|
overrideBrowserWindowOptions?: BrowserWindowConstructorOptions;
|
|
18397
18546
|
}
|
|
18398
18547
|
|
|
18548
|
+
interface WindowSessionEndEvent extends Event {
|
|
18549
|
+
|
|
18550
|
+
// Docs: https://electronjs.org/docs/api/structures/window-session-end-event
|
|
18551
|
+
|
|
18552
|
+
/**
|
|
18553
|
+
* List of reasons for shutdown. Can be 'shutdown', 'close-app', 'critical', or
|
|
18554
|
+
* 'logoff'.
|
|
18555
|
+
*/
|
|
18556
|
+
reasons: Array<'shutdown' | 'close-app' | 'critical' | 'logoff'>;
|
|
18557
|
+
}
|
|
18558
|
+
|
|
18399
18559
|
interface AboutPanelOptionsOptions {
|
|
18400
18560
|
/**
|
|
18401
18561
|
* The app's name.
|
|
@@ -21732,6 +21892,14 @@ declare namespace Electron {
|
|
|
21732
21892
|
protectedClasses: Array<'audio' | 'audio-video' | 'hid' | 'mass-storage' | 'smart-card' | 'video' | 'wireless'>;
|
|
21733
21893
|
}
|
|
21734
21894
|
|
|
21895
|
+
interface VibrancyOptions {
|
|
21896
|
+
/**
|
|
21897
|
+
* if greater than zero, the change to vibrancy will be animated over the given
|
|
21898
|
+
* duration (in milliseconds).
|
|
21899
|
+
*/
|
|
21900
|
+
animationDuration?: number;
|
|
21901
|
+
}
|
|
21902
|
+
|
|
21735
21903
|
interface VisibleOnAllWorkspacesOptions {
|
|
21736
21904
|
/**
|
|
21737
21905
|
* Sets whether the window should be visible above fullscreen windows.
|
|
@@ -21758,6 +21926,30 @@ declare namespace Electron {
|
|
|
21758
21926
|
audible: boolean;
|
|
21759
21927
|
}
|
|
21760
21928
|
|
|
21929
|
+
interface WebContentsConsoleMessageEventParams {
|
|
21930
|
+
/**
|
|
21931
|
+
* Message text
|
|
21932
|
+
*/
|
|
21933
|
+
message: string;
|
|
21934
|
+
/**
|
|
21935
|
+
* Message severity Possible values include `info`, `warning`, `error`, and
|
|
21936
|
+
* `debug`.
|
|
21937
|
+
*/
|
|
21938
|
+
level: ('info' | 'warning' | 'error' | 'debug');
|
|
21939
|
+
/**
|
|
21940
|
+
* Line number in the log source
|
|
21941
|
+
*/
|
|
21942
|
+
lineNumber: number;
|
|
21943
|
+
/**
|
|
21944
|
+
* URL of the log source
|
|
21945
|
+
*/
|
|
21946
|
+
sourceId: string;
|
|
21947
|
+
/**
|
|
21948
|
+
* Frame that logged the message
|
|
21949
|
+
*/
|
|
21950
|
+
frame: WebFrameMain;
|
|
21951
|
+
}
|
|
21952
|
+
|
|
21761
21953
|
interface WebContentsDidRedirectNavigationEventParams {
|
|
21762
21954
|
/**
|
|
21763
21955
|
* The URL the frame is navigating to.
|
|
@@ -22618,8 +22810,10 @@ declare namespace Electron {
|
|
|
22618
22810
|
type UploadProgress = Electron.UploadProgress;
|
|
22619
22811
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
22620
22812
|
type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedClassesHandlerHandlerDetails;
|
|
22813
|
+
type VibrancyOptions = Electron.VibrancyOptions;
|
|
22621
22814
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
22622
22815
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
22816
|
+
type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleMessageEventParams;
|
|
22623
22817
|
type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsDidRedirectNavigationEventParams;
|
|
22624
22818
|
type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidStartNavigationEventParams;
|
|
22625
22819
|
type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
|
|
@@ -22724,6 +22918,7 @@ declare namespace Electron {
|
|
|
22724
22918
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
22725
22919
|
type WebSource = Electron.WebSource;
|
|
22726
22920
|
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
22921
|
+
type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
|
|
22727
22922
|
}
|
|
22728
22923
|
|
|
22729
22924
|
namespace Main {
|
|
@@ -22973,8 +23168,10 @@ declare namespace Electron {
|
|
|
22973
23168
|
type UploadProgress = Electron.UploadProgress;
|
|
22974
23169
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
22975
23170
|
type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedClassesHandlerHandlerDetails;
|
|
23171
|
+
type VibrancyOptions = Electron.VibrancyOptions;
|
|
22976
23172
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
22977
23173
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
23174
|
+
type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleMessageEventParams;
|
|
22978
23175
|
type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsDidRedirectNavigationEventParams;
|
|
22979
23176
|
type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidStartNavigationEventParams;
|
|
22980
23177
|
type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
|
|
@@ -23079,6 +23276,7 @@ declare namespace Electron {
|
|
|
23079
23276
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
23080
23277
|
type WebSource = Electron.WebSource;
|
|
23081
23278
|
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
23279
|
+
type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
|
|
23082
23280
|
}
|
|
23083
23281
|
|
|
23084
23282
|
namespace Renderer {
|
|
@@ -23260,8 +23458,10 @@ declare namespace Electron {
|
|
|
23260
23458
|
type UploadProgress = Electron.UploadProgress;
|
|
23261
23459
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
23262
23460
|
type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedClassesHandlerHandlerDetails;
|
|
23461
|
+
type VibrancyOptions = Electron.VibrancyOptions;
|
|
23263
23462
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
23264
23463
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
23464
|
+
type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleMessageEventParams;
|
|
23265
23465
|
type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsDidRedirectNavigationEventParams;
|
|
23266
23466
|
type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidStartNavigationEventParams;
|
|
23267
23467
|
type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
|
|
@@ -23366,6 +23566,7 @@ declare namespace Electron {
|
|
|
23366
23566
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
23367
23567
|
type WebSource = Electron.WebSource;
|
|
23368
23568
|
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
23569
|
+
type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
|
|
23369
23570
|
}
|
|
23370
23571
|
|
|
23371
23572
|
namespace Utility {
|
|
@@ -23544,8 +23745,10 @@ declare namespace Electron {
|
|
|
23544
23745
|
type UploadProgress = Electron.UploadProgress;
|
|
23545
23746
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
23546
23747
|
type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedClassesHandlerHandlerDetails;
|
|
23748
|
+
type VibrancyOptions = Electron.VibrancyOptions;
|
|
23547
23749
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
23548
23750
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
23751
|
+
type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleMessageEventParams;
|
|
23549
23752
|
type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsDidRedirectNavigationEventParams;
|
|
23550
23753
|
type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidStartNavigationEventParams;
|
|
23551
23754
|
type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
|
|
@@ -23650,6 +23853,7 @@ declare namespace Electron {
|
|
|
23650
23853
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
23651
23854
|
type WebSource = Electron.WebSource;
|
|
23652
23855
|
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
23856
|
+
type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
|
|
23653
23857
|
}
|
|
23654
23858
|
|
|
23655
23859
|
namespace CrossProcessExports {
|
|
@@ -23916,8 +24120,10 @@ declare namespace Electron {
|
|
|
23916
24120
|
type UploadProgress = Electron.UploadProgress;
|
|
23917
24121
|
type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
|
|
23918
24122
|
type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedClassesHandlerHandlerDetails;
|
|
24123
|
+
type VibrancyOptions = Electron.VibrancyOptions;
|
|
23919
24124
|
type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOptions;
|
|
23920
24125
|
type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudioStateChangedEventParams;
|
|
24126
|
+
type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleMessageEventParams;
|
|
23921
24127
|
type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsDidRedirectNavigationEventParams;
|
|
23922
24128
|
type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidStartNavigationEventParams;
|
|
23923
24129
|
type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
|
|
@@ -24022,6 +24228,7 @@ declare namespace Electron {
|
|
|
24022
24228
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
24023
24229
|
type WebSource = Electron.WebSource;
|
|
24024
24230
|
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
24231
|
+
type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
|
|
24025
24232
|
}
|
|
24026
24233
|
|
|
24027
24234
|
const app: App;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@electron/get": "^2.0.0",
|
|
12
|
-
"@types/node": "^
|
|
12
|
+
"@types/node": "^22.7.7",
|
|
13
13
|
"extract-zip": "^2.0.1"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"keywords": [
|
|
24
24
|
"electron"
|
|
25
25
|
],
|
|
26
|
-
"version": "
|
|
26
|
+
"version": "35.0.0-alpha.1"
|
|
27
27
|
}
|