electron 34.0.0-beta.3 → 34.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +38 -9
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v34.0.0-beta.
|
|
3
|
-
"chromedriver-v34.0.0-beta.
|
|
4
|
-
"chromedriver-v34.0.0-beta.
|
|
5
|
-
"chromedriver-v34.0.0-beta.
|
|
6
|
-
"chromedriver-v34.0.0-beta.
|
|
7
|
-
"chromedriver-v34.0.0-beta.
|
|
8
|
-
"chromedriver-v34.0.0-beta.
|
|
9
|
-
"chromedriver-v34.0.0-beta.
|
|
10
|
-
"chromedriver-v34.0.0-beta.
|
|
11
|
-
"chromedriver-v34.0.0-beta.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v34.0.0-beta.
|
|
14
|
-
"electron-v34.0.0-beta.
|
|
15
|
-
"electron-v34.0.0-beta.
|
|
16
|
-
"electron-v34.0.0-beta.
|
|
17
|
-
"electron-v34.0.0-beta.
|
|
18
|
-
"electron-v34.0.0-beta.
|
|
19
|
-
"electron-v34.0.0-beta.
|
|
20
|
-
"electron-v34.0.0-beta.
|
|
21
|
-
"electron-v34.0.0-beta.
|
|
22
|
-
"electron-v34.0.0-beta.
|
|
23
|
-
"electron-v34.0.0-beta.
|
|
24
|
-
"electron-v34.0.0-beta.
|
|
25
|
-
"electron-v34.0.0-beta.
|
|
26
|
-
"electron-v34.0.0-beta.
|
|
27
|
-
"electron-v34.0.0-beta.
|
|
28
|
-
"electron-v34.0.0-beta.
|
|
29
|
-
"electron-v34.0.0-beta.
|
|
30
|
-
"electron-v34.0.0-beta.
|
|
31
|
-
"electron-v34.0.0-beta.
|
|
32
|
-
"electron-v34.0.0-beta.
|
|
33
|
-
"electron-v34.0.0-beta.
|
|
34
|
-
"electron-v34.0.0-beta.
|
|
35
|
-
"electron-v34.0.0-beta.
|
|
36
|
-
"electron-v34.0.0-beta.
|
|
37
|
-
"electron-v34.0.0-beta.
|
|
38
|
-
"electron-v34.0.0-beta.
|
|
39
|
-
"electron-v34.0.0-beta.
|
|
40
|
-
"electron-v34.0.0-beta.
|
|
41
|
-
"electron-v34.0.0-beta.
|
|
42
|
-
"electron-v34.0.0-beta.
|
|
43
|
-
"electron-v34.0.0-beta.
|
|
44
|
-
"electron-v34.0.0-beta.
|
|
45
|
-
"electron-v34.0.0-beta.
|
|
46
|
-
"electron-v34.0.0-beta.
|
|
47
|
-
"electron-v34.0.0-beta.
|
|
48
|
-
"electron-v34.0.0-beta.
|
|
49
|
-
"electron-v34.0.0-beta.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v34.0.0-beta.
|
|
52
|
-
"ffmpeg-v34.0.0-beta.
|
|
53
|
-
"ffmpeg-v34.0.0-beta.
|
|
54
|
-
"ffmpeg-v34.0.0-beta.
|
|
55
|
-
"ffmpeg-v34.0.0-beta.
|
|
56
|
-
"ffmpeg-v34.0.0-beta.
|
|
57
|
-
"ffmpeg-v34.0.0-beta.
|
|
58
|
-
"ffmpeg-v34.0.0-beta.
|
|
59
|
-
"ffmpeg-v34.0.0-beta.
|
|
60
|
-
"ffmpeg-v34.0.0-beta.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v34.0.0-beta.
|
|
63
|
-
"libcxx-objects-v34.0.0-beta.
|
|
64
|
-
"libcxx-objects-v34.0.0-beta.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v34.0.0-beta.
|
|
68
|
-
"mksnapshot-v34.0.0-beta.
|
|
69
|
-
"mksnapshot-v34.0.0-beta.
|
|
70
|
-
"mksnapshot-v34.0.0-beta.
|
|
71
|
-
"mksnapshot-v34.0.0-beta.
|
|
72
|
-
"mksnapshot-v34.0.0-beta.
|
|
73
|
-
"mksnapshot-v34.0.0-beta.
|
|
74
|
-
"mksnapshot-v34.0.0-beta.
|
|
75
|
-
"mksnapshot-v34.0.0-beta.
|
|
76
|
-
"mksnapshot-v34.0.0-beta.
|
|
2
|
+
"chromedriver-v34.0.0-beta.5-darwin-arm64.zip": "509fea6fc1f07e453537000bfe714a8955731a93a91abd0c2abcc53f42700293",
|
|
3
|
+
"chromedriver-v34.0.0-beta.5-darwin-x64.zip": "ebf02d823558559142327d31b8a5007ec041a9aa3ca5b0df7f90093d488100aa",
|
|
4
|
+
"chromedriver-v34.0.0-beta.5-linux-arm64.zip": "d84607cac0a22acd95782cc7f075700a471d38cadbccefcf2299a4f3df44f31a",
|
|
5
|
+
"chromedriver-v34.0.0-beta.5-linux-armv7l.zip": "d8110fc47c2da5a31c16910f43bae0c06a9347c8bce4475e59e35eaece0fd3ad",
|
|
6
|
+
"chromedriver-v34.0.0-beta.5-linux-x64.zip": "1769655953995151f922fb0af1d8ebfd73adb2100c9564c8bf046a3326dca64e",
|
|
7
|
+
"chromedriver-v34.0.0-beta.5-mas-arm64.zip": "893b346a9289b43e16b93da801905df8d198e836e4fd092612b8d88fd4ac06ce",
|
|
8
|
+
"chromedriver-v34.0.0-beta.5-mas-x64.zip": "42a708d514521b1d57ee2127af528608ac20c8515a421a063b61764cf30885a0",
|
|
9
|
+
"chromedriver-v34.0.0-beta.5-win32-arm64.zip": "ba7e11a9a4164bdc91d9bcd213ca6dbf773d06a3d8370936fc0af1da46c0f860",
|
|
10
|
+
"chromedriver-v34.0.0-beta.5-win32-ia32.zip": "bcf3e2db8a8cf9cf5736dfa06895cedd2499d5c8c43ec19636ff36112eb4e56a",
|
|
11
|
+
"chromedriver-v34.0.0-beta.5-win32-x64.zip": "e8f386f250a8f9c431fcce3b4b73953e3673c77bb8a3c4dcf928d99707bb2af4",
|
|
12
|
+
"electron-api.json": "a2429916469728b19a7d9881b805514f2c5c79b960078de66fad436944fbf422",
|
|
13
|
+
"electron-v34.0.0-beta.5-darwin-arm64-dsym-snapshot.zip": "a7fea751a2a727270f9e42392b65b6e6022638fe7120c81b969f2888242cc438",
|
|
14
|
+
"electron-v34.0.0-beta.5-darwin-arm64-dsym.zip": "31b82512cc9fab2025acb6f624319b1aa12fafb5463d8427589d6a9908b86933",
|
|
15
|
+
"electron-v34.0.0-beta.5-darwin-arm64-symbols.zip": "1367c60b8731faa19531e317ff16c0ded049218b1260255148ad97f1bfc755c7",
|
|
16
|
+
"electron-v34.0.0-beta.5-darwin-arm64.zip": "ff0b08719d0c1fd38a04e203623fb7055644810015901d2c9ebe70adeb1fb874",
|
|
17
|
+
"electron-v34.0.0-beta.5-darwin-x64-dsym-snapshot.zip": "ede180fb7e5bc43ed41ae1486252da18c55f737056536372c6aeaf28e68c3d38",
|
|
18
|
+
"electron-v34.0.0-beta.5-darwin-x64-dsym.zip": "49223f47bc171652c17e797852de5e97520381a6281ca4c0632f99b62cfffa16",
|
|
19
|
+
"electron-v34.0.0-beta.5-darwin-x64-symbols.zip": "6c7901a25fc8965d77060a248de809b91cf622b31a0e56b81af7700e3ef303f5",
|
|
20
|
+
"electron-v34.0.0-beta.5-darwin-x64.zip": "cf9869c96251154387f621ce68cc028f888bfd39bddd15f1c0b92529ffa0d024",
|
|
21
|
+
"electron-v34.0.0-beta.5-linux-arm64-debug.zip": "f7a87391aab4a6a14d06195591736a2bdb0d839c3444b4fe945392a72fcc27c3",
|
|
22
|
+
"electron-v34.0.0-beta.5-linux-arm64-symbols.zip": "7b6e9d818ded5f6964204e99c7e6f7597f3c6aa2d85668c13a406d0e837015b8",
|
|
23
|
+
"electron-v34.0.0-beta.5-linux-arm64.zip": "2973658a7728e9d8e7829393421a8de491c46d3e62f17b5d0d22e08194d8988d",
|
|
24
|
+
"electron-v34.0.0-beta.5-linux-armv7l-debug.zip": "f7a87391aab4a6a14d06195591736a2bdb0d839c3444b4fe945392a72fcc27c3",
|
|
25
|
+
"electron-v34.0.0-beta.5-linux-armv7l-symbols.zip": "605848913a28363e108fc9fd2100d2a47be4d9e4eb6cceea124c92bc47793e47",
|
|
26
|
+
"electron-v34.0.0-beta.5-linux-armv7l.zip": "f0e627cebc49de6eafd075d5a99476b3081b17279b852bd34debdea7b0cabb1d",
|
|
27
|
+
"electron-v34.0.0-beta.5-linux-x64-debug.zip": "58c000ad2d29453f75bbad7cf99d1d3e6043b96ce17f680f909d5a90a0dafa3e",
|
|
28
|
+
"electron-v34.0.0-beta.5-linux-x64-symbols.zip": "1ea9122eaa7c25470ad7d96b5e31d337ad84425e27315bc854e7b206369f0346",
|
|
29
|
+
"electron-v34.0.0-beta.5-linux-x64.zip": "1027357a3747cb4b17de548c9cd9fdd25206a9294032f84b820606d255bec8ee",
|
|
30
|
+
"electron-v34.0.0-beta.5-mas-arm64-dsym-snapshot.zip": "68896d8d17f74392e89ecea06f5b096e065d2256603f993c535727f5abf45f70",
|
|
31
|
+
"electron-v34.0.0-beta.5-mas-arm64-dsym.zip": "865613204e59acf3674098814c529f958056ff6f5edf49dfa8cdec27f2f81a01",
|
|
32
|
+
"electron-v34.0.0-beta.5-mas-arm64-symbols.zip": "f04dfa3443304cb6899b2c84a38ed07a9f211dcea9fa27cb52dbc69e128d8199",
|
|
33
|
+
"electron-v34.0.0-beta.5-mas-arm64.zip": "fe9da0054125d936e4c76b039d454610147bfa75002f7d9dd8b7d7e30f562ddf",
|
|
34
|
+
"electron-v34.0.0-beta.5-mas-x64-dsym-snapshot.zip": "07a5f98f1099fa41fc6633c93052ce764c77b1aeed8115211f72ee057987fc61",
|
|
35
|
+
"electron-v34.0.0-beta.5-mas-x64-dsym.zip": "1ad50c2f1e53051bef0ce0a29eff2204abff2be28b9e10a5851b49e3534e168c",
|
|
36
|
+
"electron-v34.0.0-beta.5-mas-x64-symbols.zip": "1bf5e0df23092d6b19d0465d881bc8e7ac3bf2c0578617662e1b241a419db786",
|
|
37
|
+
"electron-v34.0.0-beta.5-mas-x64.zip": "d2668ffb4b47fa0e2a32abdce76baab51d70020db18efa9ae9916bc6ea8c5a98",
|
|
38
|
+
"electron-v34.0.0-beta.5-win32-arm64-pdb.zip": "1998d96e33931af562e1058a4a416057e8d4ba65a63a7fe2bbfcbcb00ad3beae",
|
|
39
|
+
"electron-v34.0.0-beta.5-win32-arm64-symbols.zip": "685710e0690e74f1506659d6f00ad0fc1c8ab6eb6b616815ca75b22ad0abe66b",
|
|
40
|
+
"electron-v34.0.0-beta.5-win32-arm64-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
41
|
+
"electron-v34.0.0-beta.5-win32-arm64.zip": "67c121aa1304389b21d57698fb1e14777d19e072a35812717575b2a9fbef4986",
|
|
42
|
+
"electron-v34.0.0-beta.5-win32-ia32-pdb.zip": "203cb3ab9a5e5d9cb1008463649517d8f7b9578af7a0361bebc8e69fcc995dcc",
|
|
43
|
+
"electron-v34.0.0-beta.5-win32-ia32-symbols.zip": "7fecdb59396c3b7c428717b868037e9db5c009647bc582035ec5d5f0b85b39d9",
|
|
44
|
+
"electron-v34.0.0-beta.5-win32-ia32-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
45
|
+
"electron-v34.0.0-beta.5-win32-ia32.zip": "cfe1e515ff84b55186eb670607bf00b4df9c028927b0ef1ff755eb3a43c5d6e5",
|
|
46
|
+
"electron-v34.0.0-beta.5-win32-x64-pdb.zip": "ab0bcc72cf447e24517f373e193488960c50574679a7d24e74f9b7ac9066e0e2",
|
|
47
|
+
"electron-v34.0.0-beta.5-win32-x64-symbols.zip": "21cab144a35365bb19ed0e9e197b9419907a082958758d31c0708f870b835933",
|
|
48
|
+
"electron-v34.0.0-beta.5-win32-x64-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
49
|
+
"electron-v34.0.0-beta.5-win32-x64.zip": "e07a120c844674a3bdea33dadb1aaa8e3396ec9081155ba533e343486c0cd468",
|
|
50
|
+
"electron.d.ts": "0efe2850b45e15f98f589fa415346248278447bb4ec9a8f041770035afc854b0",
|
|
51
|
+
"ffmpeg-v34.0.0-beta.5-darwin-arm64.zip": "642706bbf795bc6b904b5ca8bd43cf5def8bdf8034899da88e20f8ba285de013",
|
|
52
|
+
"ffmpeg-v34.0.0-beta.5-darwin-x64.zip": "2bebb80d273facf8c4afc95550aec6119798ed957f3a5a8eadff541484415e16",
|
|
53
|
+
"ffmpeg-v34.0.0-beta.5-linux-arm64.zip": "301a22b07d5297a7cf241926f76e8ce0f578c05b9ca900324b3ebbefa3670822",
|
|
54
|
+
"ffmpeg-v34.0.0-beta.5-linux-armv7l.zip": "5f4d0b242336dc2408a03a4e69cff04ec71f6878d098d4d5db875297c76f1d18",
|
|
55
|
+
"ffmpeg-v34.0.0-beta.5-linux-x64.zip": "43b6184d8903f4ce7eaf070cb2839c7a77dacab0c084e85e4b5b3ce90409b7fb",
|
|
56
|
+
"ffmpeg-v34.0.0-beta.5-mas-arm64.zip": "45e90a87bab8b1d5d6d8ca646df4e68a98159c5856513e40461e5ab832638fe9",
|
|
57
|
+
"ffmpeg-v34.0.0-beta.5-mas-x64.zip": "542553f1c47a607d2a4da59185727a2bbad59278841b1b6746614deb5e147def",
|
|
58
|
+
"ffmpeg-v34.0.0-beta.5-win32-arm64.zip": "29baca6714473222bf29af25875a169621f30588d825694148e2472114702bf7",
|
|
59
|
+
"ffmpeg-v34.0.0-beta.5-win32-ia32.zip": "bb872aa6b3cb78d41d02d99f24f24bfbcadbb895ca55fdef3556085e3ae6f6c8",
|
|
60
|
+
"ffmpeg-v34.0.0-beta.5-win32-x64.zip": "2f6c63722c1c3c9e9a771710dca8b3d1886e153ab70605b3c05e6dff5fb4efcc",
|
|
61
|
+
"hunspell_dictionaries.zip": "feebfa3d29c1cad399fadeecbd39e686454c3c25f986d96d27bd994ab7938b65",
|
|
62
|
+
"libcxx-objects-v34.0.0-beta.5-linux-arm64.zip": "ab9a2b390c9ba5627f4d2de638f278358d49498eddac6af79ad72564c067031b",
|
|
63
|
+
"libcxx-objects-v34.0.0-beta.5-linux-armv7l.zip": "53fcafa0a0cc7f8f0e5d3db5b89812cd5d88fecd66f6ea07f63e5efc91dd301f",
|
|
64
|
+
"libcxx-objects-v34.0.0-beta.5-linux-x64.zip": "f24aa97f0deaac8f0a88247cdaa61398cfaaa87624ba06e29187ee5ede3ddc74",
|
|
65
|
+
"libcxx_headers.zip": "2229dc6c725c678ade8c49e45318b895667d7d0ecff78993839b71a9582c7a00",
|
|
66
|
+
"libcxxabi_headers.zip": "c98cce0091681bc367a48f66c5f4602961aa9cb6dd1a995d8969d6b39ce732f3",
|
|
67
|
+
"mksnapshot-v34.0.0-beta.5-darwin-arm64.zip": "2fbaf58409310d92083b37b7ae2ad8892a07e628d2093f0620147f5dee400364",
|
|
68
|
+
"mksnapshot-v34.0.0-beta.5-darwin-x64.zip": "4effbbbe81f7d25e9d75b5548625c51e0eb3305382f61f10c918eb8a05fab135",
|
|
69
|
+
"mksnapshot-v34.0.0-beta.5-linux-arm64-x64.zip": "3e0e76c7a197f1a0202fb0ba440b651c2de2837f590adcca0741bbd3b98a7e24",
|
|
70
|
+
"mksnapshot-v34.0.0-beta.5-linux-armv7l-x64.zip": "85624912ccb51df7f52e8dbfe1e26251a277a9af26d132eccb60c671eda2228e",
|
|
71
|
+
"mksnapshot-v34.0.0-beta.5-linux-x64.zip": "dcf30a119b6c87e2882c86b2579e01d4d3cef73b523a8dd4d34f5956e5982568",
|
|
72
|
+
"mksnapshot-v34.0.0-beta.5-mas-arm64.zip": "2d73af170b521ba2aa683ee547cda03f3cfe2fcf14504089200794fe6f387e60",
|
|
73
|
+
"mksnapshot-v34.0.0-beta.5-mas-x64.zip": "2c1c77df4f9bc6da95de68d6a91cdbff59750f673348732c8bf42824019a633f",
|
|
74
|
+
"mksnapshot-v34.0.0-beta.5-win32-arm64-x64.zip": "45e05e6f3e400ef136fdfa0c05db48d76baac268c2cfab13b1b375e625eb47f8",
|
|
75
|
+
"mksnapshot-v34.0.0-beta.5-win32-ia32.zip": "c6e8e8a369fd69b6323b131ecdf0b70749f8a5a99c2e6ec2eb26187f5e8a546b",
|
|
76
|
+
"mksnapshot-v34.0.0-beta.5-win32-x64.zip": "e9b31c39fb3406bb35696d7fea3a668ccfce16bd63a1ee8db3d97b675241fca0"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 34.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 34.0.0-beta.5
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -7261,6 +7261,10 @@ declare namespace Electron {
|
|
|
7261
7261
|
* **Note:** On Windows and Linux an open dialog can not be both a file selector
|
|
7262
7262
|
* and a directory selector, so if you set `properties` to `['openFile',
|
|
7263
7263
|
* 'openDirectory']` on these platforms, a directory selector will be shown.
|
|
7264
|
+
*
|
|
7265
|
+
* **Note:** On Linux `defaultPath` is not supported when using portal file chooser
|
|
7266
|
+
* dialogs unless the portal backend is version 4 or higher. You can use
|
|
7267
|
+
* `--xdg-portal-required-version` command-line switch to force gtk or kde dialogs.
|
|
7264
7268
|
*/
|
|
7265
7269
|
showOpenDialog(window: BaseWindow, options: OpenDialogOptions): Promise<Electron.OpenDialogReturnValue>;
|
|
7266
7270
|
/**
|
|
@@ -7287,6 +7291,10 @@ declare namespace Electron {
|
|
|
7287
7291
|
* **Note:** On Windows and Linux an open dialog can not be both a file selector
|
|
7288
7292
|
* and a directory selector, so if you set `properties` to `['openFile',
|
|
7289
7293
|
* 'openDirectory']` on these platforms, a directory selector will be shown.
|
|
7294
|
+
*
|
|
7295
|
+
* **Note:** On Linux `defaultPath` is not supported when using portal file chooser
|
|
7296
|
+
* dialogs unless the portal backend is version 4 or higher. You can use
|
|
7297
|
+
* `--xdg-portal-required-version` command-line switch to force gtk or kde dialogs.
|
|
7290
7298
|
*/
|
|
7291
7299
|
showOpenDialog(options: OpenDialogOptions): Promise<Electron.OpenDialogReturnValue>;
|
|
7292
7300
|
/**
|
|
@@ -7306,6 +7314,10 @@ declare namespace Electron {
|
|
|
7306
7314
|
* **Note:** On Windows and Linux an open dialog can not be both a file selector
|
|
7307
7315
|
* and a directory selector, so if you set `properties` to `['openFile',
|
|
7308
7316
|
* 'openDirectory']` on these platforms, a directory selector will be shown.
|
|
7317
|
+
*
|
|
7318
|
+
* **Note:** On Linux `defaultPath` is not supported when using portal file chooser
|
|
7319
|
+
* dialogs unless the portal backend is version 4 or higher. You can use
|
|
7320
|
+
* `--xdg-portal-required-version` command-line switch to force gtk or kde dialogs.
|
|
7309
7321
|
*/
|
|
7310
7322
|
showOpenDialogSync(window: BaseWindow, options: OpenDialogSyncOptions): (string[]) | (undefined);
|
|
7311
7323
|
/**
|
|
@@ -7325,6 +7337,10 @@ declare namespace Electron {
|
|
|
7325
7337
|
* **Note:** On Windows and Linux an open dialog can not be both a file selector
|
|
7326
7338
|
* and a directory selector, so if you set `properties` to `['openFile',
|
|
7327
7339
|
* 'openDirectory']` on these platforms, a directory selector will be shown.
|
|
7340
|
+
*
|
|
7341
|
+
* **Note:** On Linux `defaultPath` is not supported when using portal file chooser
|
|
7342
|
+
* dialogs unless the portal backend is version 4 or higher. You can use
|
|
7343
|
+
* `--xdg-portal-required-version` command-line switch to force gtk or kde dialogs.
|
|
7328
7344
|
*/
|
|
7329
7345
|
showOpenDialogSync(options: OpenDialogSyncOptions): (string[]) | (undefined);
|
|
7330
7346
|
/**
|
|
@@ -8181,6 +8197,10 @@ declare namespace Electron {
|
|
|
8181
8197
|
|
|
8182
8198
|
// Docs: https://electronjs.org/docs/api/ipc-main
|
|
8183
8199
|
|
|
8200
|
+
/**
|
|
8201
|
+
* Alias for `ipcMain.on`.
|
|
8202
|
+
*/
|
|
8203
|
+
addListener(channel: string, listener: (event: IpcMainEvent, ...args: any[]) => void): this;
|
|
8184
8204
|
/**
|
|
8185
8205
|
* Adds a handler for an `invoke`able IPC. This handler will be called whenever a
|
|
8186
8206
|
* renderer calls `ipcRenderer.invoke(channel, ...args)`.
|
|
@@ -8203,6 +8223,11 @@ declare namespace Electron {
|
|
|
8203
8223
|
* `ipcMain.handle(channel, listener)`.
|
|
8204
8224
|
*/
|
|
8205
8225
|
handleOnce(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
8226
|
+
/**
|
|
8227
|
+
* Removes the specified `listener` from the listener array for the specified
|
|
8228
|
+
* `channel`.
|
|
8229
|
+
*/
|
|
8230
|
+
off(channel: string, listener: (event: IpcMainEvent, ...args: any[]) => void): this;
|
|
8206
8231
|
/**
|
|
8207
8232
|
* Listens to `channel`, when a new message arrives `listener` would be called with
|
|
8208
8233
|
* `listener(event, args...)`.
|
|
@@ -8214,7 +8239,8 @@ declare namespace Electron {
|
|
|
8214
8239
|
*/
|
|
8215
8240
|
once(channel: string, listener: (event: IpcMainEvent, ...args: any[]) => void): this;
|
|
8216
8241
|
/**
|
|
8217
|
-
* Removes listeners
|
|
8242
|
+
* Removes all listeners from the specified `channel`. Removes all listeners from
|
|
8243
|
+
* all channels if no channel is specified.
|
|
8218
8244
|
*/
|
|
8219
8245
|
removeAllListeners(channel?: string): this;
|
|
8220
8246
|
/**
|
|
@@ -8222,8 +8248,7 @@ declare namespace Electron {
|
|
|
8222
8248
|
*/
|
|
8223
8249
|
removeHandler(channel: string): void;
|
|
8224
8250
|
/**
|
|
8225
|
-
*
|
|
8226
|
-
* `channel`.
|
|
8251
|
+
* Alias for `ipcMain.off`.
|
|
8227
8252
|
*/
|
|
8228
8253
|
removeListener(channel: string, listener: (...args: any[]) => void): this;
|
|
8229
8254
|
}
|
|
@@ -8331,7 +8356,8 @@ declare namespace Electron {
|
|
|
8331
8356
|
*/
|
|
8332
8357
|
invoke(channel: string, ...args: any[]): Promise<any>;
|
|
8333
8358
|
/**
|
|
8334
|
-
*
|
|
8359
|
+
* Removes the specified `listener` from the listener array for the specified
|
|
8360
|
+
* `channel`.
|
|
8335
8361
|
*/
|
|
8336
8362
|
off(channel: string, listener: (event: IpcRendererEvent, ...args: any[]) => void): this;
|
|
8337
8363
|
/**
|
|
@@ -8359,12 +8385,12 @@ declare namespace Electron {
|
|
|
8359
8385
|
*/
|
|
8360
8386
|
postMessage(channel: string, message: any, transfer?: MessagePort[]): void;
|
|
8361
8387
|
/**
|
|
8362
|
-
* Removes all listeners
|
|
8388
|
+
* Removes all listeners from the specified `channel`. Removes all listeners from
|
|
8389
|
+
* all channels if no channel is specified.
|
|
8363
8390
|
*/
|
|
8364
|
-
removeAllListeners(channel
|
|
8391
|
+
removeAllListeners(channel?: string): this;
|
|
8365
8392
|
/**
|
|
8366
|
-
*
|
|
8367
|
-
* `channel`.
|
|
8393
|
+
* Alias for `ipcRenderer.off`.
|
|
8368
8394
|
*/
|
|
8369
8395
|
removeListener(channel: string, listener: (event: IpcRendererEvent, ...args: any[]) => void): this;
|
|
8370
8396
|
/**
|
|
@@ -14063,6 +14089,9 @@ declare namespace Electron {
|
|
|
14063
14089
|
* process. Until the child process has spawned successfully, the value is
|
|
14064
14090
|
* `undefined`. When the child process exits, then the value is `undefined` after
|
|
14065
14091
|
* the `exit` event is emitted.
|
|
14092
|
+
*
|
|
14093
|
+
* **Note:** You can use the `pid` to determine if the process is currently
|
|
14094
|
+
* running.
|
|
14066
14095
|
*/
|
|
14067
14096
|
pid: (number) | (undefined);
|
|
14068
14097
|
/**
|
package/package.json
CHANGED