electron 24.0.0-beta.7 → 24.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/checksums.json +75 -75
- package/electron.d.ts +91 -34
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v24.
|
|
3
|
-
"chromedriver-v24.
|
|
4
|
-
"chromedriver-v24.
|
|
5
|
-
"chromedriver-v24.
|
|
6
|
-
"chromedriver-v24.
|
|
7
|
-
"chromedriver-v24.
|
|
8
|
-
"chromedriver-v24.
|
|
9
|
-
"chromedriver-v24.
|
|
10
|
-
"chromedriver-v24.
|
|
11
|
-
"chromedriver-v24.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v24.
|
|
14
|
-
"electron-v24.
|
|
15
|
-
"electron-v24.
|
|
16
|
-
"electron-v24.
|
|
17
|
-
"electron-v24.
|
|
18
|
-
"electron-v24.
|
|
19
|
-
"electron-v24.
|
|
20
|
-
"electron-v24.
|
|
21
|
-
"electron-v24.
|
|
22
|
-
"electron-v24.
|
|
23
|
-
"electron-v24.
|
|
24
|
-
"electron-v24.
|
|
25
|
-
"electron-v24.
|
|
26
|
-
"electron-v24.
|
|
27
|
-
"electron-v24.
|
|
28
|
-
"electron-v24.
|
|
29
|
-
"electron-v24.
|
|
30
|
-
"electron-v24.
|
|
31
|
-
"electron-v24.
|
|
32
|
-
"electron-v24.
|
|
33
|
-
"electron-v24.
|
|
34
|
-
"electron-v24.
|
|
35
|
-
"electron-v24.
|
|
36
|
-
"electron-v24.
|
|
37
|
-
"electron-v24.
|
|
38
|
-
"electron-v24.
|
|
39
|
-
"electron-v24.
|
|
40
|
-
"electron-v24.
|
|
41
|
-
"electron-v24.
|
|
42
|
-
"electron-v24.
|
|
43
|
-
"electron-v24.
|
|
44
|
-
"electron-v24.
|
|
45
|
-
"electron-v24.
|
|
46
|
-
"electron-v24.
|
|
47
|
-
"electron-v24.
|
|
48
|
-
"electron-v24.
|
|
49
|
-
"electron-v24.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v24.
|
|
52
|
-
"ffmpeg-v24.
|
|
53
|
-
"ffmpeg-v24.
|
|
54
|
-
"ffmpeg-v24.
|
|
55
|
-
"ffmpeg-v24.
|
|
56
|
-
"ffmpeg-v24.
|
|
57
|
-
"ffmpeg-v24.
|
|
58
|
-
"ffmpeg-v24.
|
|
59
|
-
"ffmpeg-v24.
|
|
60
|
-
"ffmpeg-v24.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v24.
|
|
63
|
-
"libcxx-objects-v24.
|
|
64
|
-
"libcxx-objects-v24.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v24.
|
|
68
|
-
"mksnapshot-v24.
|
|
69
|
-
"mksnapshot-v24.
|
|
70
|
-
"mksnapshot-v24.
|
|
71
|
-
"mksnapshot-v24.
|
|
72
|
-
"mksnapshot-v24.
|
|
73
|
-
"mksnapshot-v24.
|
|
74
|
-
"mksnapshot-v24.
|
|
75
|
-
"mksnapshot-v24.
|
|
76
|
-
"mksnapshot-v24.
|
|
2
|
+
"chromedriver-v24.1.0-darwin-arm64.zip": "4004f1f55e52d5756bc3113f38246855c8baf15a5ed8005bd9e03a1285058f59",
|
|
3
|
+
"chromedriver-v24.1.0-darwin-x64.zip": "4fd0e988ee65f2997e5c59b9891df194b074d64bd18ad8049d01b3e7e66b43f0",
|
|
4
|
+
"chromedriver-v24.1.0-linux-arm64.zip": "df725d68d017814d2335914ff80b394755b81e719eaafd652d957c9e678c665d",
|
|
5
|
+
"chromedriver-v24.1.0-linux-armv7l.zip": "e33088d28fe7f41e730460f29a0f825144560b2cbb847282d3662c68396d8ae2",
|
|
6
|
+
"chromedriver-v24.1.0-linux-x64.zip": "352ee584820253736b246c6494cdb276783a037ef4195dfdb551b2759abc34ba",
|
|
7
|
+
"chromedriver-v24.1.0-mas-arm64.zip": "cdfd6293925c8b508d595906fe2c55fdd47f85ba8b42fa5b31d8d4e73d3ccc6f",
|
|
8
|
+
"chromedriver-v24.1.0-mas-x64.zip": "4f5d2628011d97b6009b419f2db457157181a13fe67660b6c95b64a69ba035d6",
|
|
9
|
+
"chromedriver-v24.1.0-win32-arm64.zip": "afe4fd1f1c63c5d90e05cb157525c6a04519c99bdb2fedd2ac8e3ccf83ae8a96",
|
|
10
|
+
"chromedriver-v24.1.0-win32-ia32.zip": "c978a91186250c41da5fd95b43736d8b7289e2b168a80d88d2a3c75309d5b2cc",
|
|
11
|
+
"chromedriver-v24.1.0-win32-x64.zip": "928bf511805403760b55976e3333f9397479a05791c794d5a2338b13731e7e86",
|
|
12
|
+
"electron-api.json": "6291210ff87fc3f22c4ceaa6023a927bbe3ab55b31ee485545473abfe8829fbb",
|
|
13
|
+
"electron-v24.1.0-darwin-arm64-dsym-snapshot.zip": "5a45c99183baa64877403169a70ad19c4b322e1be3a2d0fbc2810b218bb37919",
|
|
14
|
+
"electron-v24.1.0-darwin-arm64-dsym.zip": "a77320154fe40c574f90ed274b31e0597446166a599770577d74b00dce94e17a",
|
|
15
|
+
"electron-v24.1.0-darwin-arm64-symbols.zip": "f0f1404904e9d0d762a8d5b745d6ba3a4d8f5bbb19efdbcda4409443702e5859",
|
|
16
|
+
"electron-v24.1.0-darwin-arm64.zip": "e52b070a58603c549e626b042d0a22b9b676dfdf2b764eeb7ed894332081481d",
|
|
17
|
+
"electron-v24.1.0-darwin-x64-dsym-snapshot.zip": "2843395c278ab753cfd5e9007af730b8e5232d0add2757558ce475652ed74251",
|
|
18
|
+
"electron-v24.1.0-darwin-x64-dsym.zip": "037020a286701ccb23f29eb8a9e5f3050ef6d351a3dcbf947be9caafa71a4156",
|
|
19
|
+
"electron-v24.1.0-darwin-x64-symbols.zip": "d4aa2d87b9dcf7a4a8c6f77081eb3327d3168b551e1ae35467bf445cd23c756b",
|
|
20
|
+
"electron-v24.1.0-darwin-x64.zip": "2b9886da22f8791c12b6036b466923a2a3bc17113cb98b9551245693d591aef9",
|
|
21
|
+
"electron-v24.1.0-linux-arm64-debug.zip": "0bf0f51d2846ce47c1a96734e12b60a869903f3f8708c7f6cb9ba0ae7bf8f44b",
|
|
22
|
+
"electron-v24.1.0-linux-arm64-symbols.zip": "6481ffa4ac422a993b6311a95ecc7cfff1e3e3321635acd42e29487217b79056",
|
|
23
|
+
"electron-v24.1.0-linux-arm64.zip": "7889cd2a4e94d21cc3ad0bcbd1a8cd2a063f672139d854ba3c5e390d8e93295f",
|
|
24
|
+
"electron-v24.1.0-linux-armv7l-debug.zip": "0bf0f51d2846ce47c1a96734e12b60a869903f3f8708c7f6cb9ba0ae7bf8f44b",
|
|
25
|
+
"electron-v24.1.0-linux-armv7l-symbols.zip": "dde1a66d06af46a45c016ce01a20d6f56a139417c48efacf5fd3b0a3e9c13841",
|
|
26
|
+
"electron-v24.1.0-linux-armv7l.zip": "82e5c13ce5a184d8180e597b15545e9f068e8a83508869cfce15f89003756a57",
|
|
27
|
+
"electron-v24.1.0-linux-x64-debug.zip": "2936bf692917f5fcf3fb67e747057879d08dc69bc303e3d85615b58dc3c6bbbe",
|
|
28
|
+
"electron-v24.1.0-linux-x64-symbols.zip": "dc73126808f9154c202889554535179e0956a47ef2e2bf679fd1fc397d4aa72c",
|
|
29
|
+
"electron-v24.1.0-linux-x64.zip": "90eff018e2123067827e325cd86f394b86df710c7072fa08c6595b80fa0573aa",
|
|
30
|
+
"electron-v24.1.0-mas-arm64-dsym-snapshot.zip": "5a45c99183baa64877403169a70ad19c4b322e1be3a2d0fbc2810b218bb37919",
|
|
31
|
+
"electron-v24.1.0-mas-arm64-dsym.zip": "03f0d9586348b8cc514eb78545cbc63a73f0b4da5d75e46dab4598910939b051",
|
|
32
|
+
"electron-v24.1.0-mas-arm64-symbols.zip": "cc1f88505cb6220a1a2fd1e8e787970ab92220a5cb1917df37a7d13efe967daa",
|
|
33
|
+
"electron-v24.1.0-mas-arm64.zip": "5394845ad53519c078b012de6f52feb5c8f1ae8ff83e93366c79f7920516c23a",
|
|
34
|
+
"electron-v24.1.0-mas-x64-dsym-snapshot.zip": "38da8b3bfb6ee40fa12b96393f1cb6be9e18ac5bf694a0ebd2127e7b98ef6dba",
|
|
35
|
+
"electron-v24.1.0-mas-x64-dsym.zip": "fe6d61d62fa1636b21f57b89a968f6df668c1f53d2c911d7d427e2e4a54e89da",
|
|
36
|
+
"electron-v24.1.0-mas-x64-symbols.zip": "1894152e23baec6bf0c72b887dad3913828bd6556673396f9c968192b4984d3c",
|
|
37
|
+
"electron-v24.1.0-mas-x64.zip": "0c7af1e38cb098d94bd119d8e481abd1cb4e304eefb70d8318023007d5bb1667",
|
|
38
|
+
"electron-v24.1.0-win32-arm64-pdb.zip": "920b6b194419dcb047dbdea7dc2c63e6080734e39b4b2b1ce959714bc36c9efd",
|
|
39
|
+
"electron-v24.1.0-win32-arm64-symbols.zip": "02fc47b9db43e74f2f5782d2edbd13888496b385cff7bc51cd6ae0ee5e87ac3f",
|
|
40
|
+
"electron-v24.1.0-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
41
|
+
"electron-v24.1.0-win32-arm64.zip": "2e9122b5528f70e42fd11f858ac7ea1118097d4779fd0e1aab9860399efe67b3",
|
|
42
|
+
"electron-v24.1.0-win32-ia32-pdb.zip": "60e21d42e6d145cbc5d9649adf0a18f20968b8a80b9e643b6c2f356812efa0e8",
|
|
43
|
+
"electron-v24.1.0-win32-ia32-symbols.zip": "7dbb443ab5bc158b8511ccc2aa4245ed382a795953b866134f53912b3a0142db",
|
|
44
|
+
"electron-v24.1.0-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
45
|
+
"electron-v24.1.0-win32-ia32.zip": "f2722551acdc337cb12acd1b0fa1b1df492766f77863a94cc161aed36a01321c",
|
|
46
|
+
"electron-v24.1.0-win32-x64-pdb.zip": "40973e761d4708e40602ceb2426dec21aaf1b44cf2ec8ecd82ad7a73818e7487",
|
|
47
|
+
"electron-v24.1.0-win32-x64-symbols.zip": "bb615b59d44921f00f0ca3a707757d6c3a0de45a1819ebb9403410e2b1c7cbbd",
|
|
48
|
+
"electron-v24.1.0-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
49
|
+
"electron-v24.1.0-win32-x64.zip": "2fb60f93b4df941819b966d84863439e301ab51dca0994c02879d49044565a16",
|
|
50
|
+
"electron.d.ts": "bbd7beb7d1a8794d40a686884a649d5a040bb961c53d270e1ef272a585383821",
|
|
51
|
+
"ffmpeg-v24.1.0-darwin-arm64.zip": "1762b814001e416b75eacfffcbd6a3ddc54fb94a39d4521fad8a8c4968b15700",
|
|
52
|
+
"ffmpeg-v24.1.0-darwin-x64.zip": "cceb6ebacd03902d1d88a8f6666d9a668d967f9a23db0bc753eef102d86cb973",
|
|
53
|
+
"ffmpeg-v24.1.0-linux-arm64.zip": "01f151e167fd3a746398aa1c68616fa820b41d1063a41c19ee910a4092b8de0f",
|
|
54
|
+
"ffmpeg-v24.1.0-linux-armv7l.zip": "4cdaf93b305a661dc40a38d7d3ad2495c25f061cb99656171f97f797f566215a",
|
|
55
|
+
"ffmpeg-v24.1.0-linux-x64.zip": "6e3846830baf6199e320e2683bb787fd83192e9d33f587371328289a3a09e736",
|
|
56
|
+
"ffmpeg-v24.1.0-mas-arm64.zip": "01c96043aa56339959daf9921c60d6d1ef8537dd6831895ffab9ae1a254a5547",
|
|
57
|
+
"ffmpeg-v24.1.0-mas-x64.zip": "d918534ca4fd14f3b62d04cfdc6b4511a2f30256cb056e9d2290431585b9a0f8",
|
|
58
|
+
"ffmpeg-v24.1.0-win32-arm64.zip": "9ed85c40083ac425d379c9654e598ed1693324261b820c6c987bd6e4dcd5eb8d",
|
|
59
|
+
"ffmpeg-v24.1.0-win32-ia32.zip": "1013dcff2a862363dfef304c2cbda9fedb0b81af486c0690dd51fb7173ee8634",
|
|
60
|
+
"ffmpeg-v24.1.0-win32-x64.zip": "75ab790555934947a291e8a7c3576a9fecef3d8d65c241e1fdb020130a9a8b3f",
|
|
61
|
+
"hunspell_dictionaries.zip": "05992c832560beb6ebda43e9bbfb58da33339ff0870f50cc330bf902e616f70d",
|
|
62
|
+
"libcxx-objects-v24.1.0-linux-arm64.zip": "34bdad4daab29f4d388f1646a3413c708b71bf4f987ad6630e118fa99f60d8fb",
|
|
63
|
+
"libcxx-objects-v24.1.0-linux-armv7l.zip": "2ad22fc2af826c43cdbe10a854124ad1f797b95699a84462a265ecb9c6dd5f08",
|
|
64
|
+
"libcxx-objects-v24.1.0-linux-x64.zip": "6cf2449e32544058414e87135a8a0204eb0b5b031c8059292b590c13b3398843",
|
|
65
|
+
"libcxx_headers.zip": "4d51a6338a52ff976573c93c39530b6a0ee5c01b01ded9a337ab92b40153230b",
|
|
66
|
+
"libcxxabi_headers.zip": "d381918341b53b5d4455a238b3d502fde646e8eaf2031384e13b3ef38e244798",
|
|
67
|
+
"mksnapshot-v24.1.0-darwin-arm64.zip": "83ed085c6f3524deec4489445cdb784242b9d8960a3c5f6c2772a88bf1139c78",
|
|
68
|
+
"mksnapshot-v24.1.0-darwin-x64.zip": "5a23dda65e2aba69af9e8507b8a7f663d9c68783cbe306b2a29dad0bb1b74dbf",
|
|
69
|
+
"mksnapshot-v24.1.0-linux-arm64-x64.zip": "3c143486e86bc490dd0ca4c71dbcdc0f25cdff71168858c8797d8f4de7ca28d8",
|
|
70
|
+
"mksnapshot-v24.1.0-linux-armv7l-x64.zip": "e73d50685da8be9c3806bc918050f2334425ac559731bb34455bf5be5da22976",
|
|
71
|
+
"mksnapshot-v24.1.0-linux-x64.zip": "0a5a71703283c063131c08fa6a9dfafa7f53cc8b1f642333e7c160abb7f36e55",
|
|
72
|
+
"mksnapshot-v24.1.0-mas-arm64.zip": "40a615bc1fefa1fc0ffa07c2267538066d1c8afe42b0fbf337712ced2c264842",
|
|
73
|
+
"mksnapshot-v24.1.0-mas-x64.zip": "25f49197e242b12caa06e7406bc94aa1f1365e38312c481fdd3c9f55f2797cc5",
|
|
74
|
+
"mksnapshot-v24.1.0-win32-arm64-x64.zip": "2d239982dcb8102ef88948ef7dfc2f2d4cb61d96c315d111d78a75c1c7fe7384",
|
|
75
|
+
"mksnapshot-v24.1.0-win32-ia32.zip": "934ef52b79e4df9779d3458cea2d7b772852acab4d62c3a19176f13ed9a640e2",
|
|
76
|
+
"mksnapshot-v24.1.0-win32-x64.zip": "2d74f28e8a7d8388fcf43ada12d2b55059a71e4bc9638b3fffc11d282a1bd8d8"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 24.
|
|
1
|
+
// Type definitions for Electron 24.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
|
|
@@ -109,7 +109,7 @@ declare namespace Electron {
|
|
|
109
109
|
* the application.
|
|
110
110
|
*
|
|
111
111
|
* **Note:** If application quit was initiated by `autoUpdater.quitAndInstall()`,
|
|
112
|
-
* then `before-quit` is emitted
|
|
112
|
+
* then `before-quit` is emitted _after_ emitting `close` event on all windows and
|
|
113
113
|
* closing them.
|
|
114
114
|
*
|
|
115
115
|
* **Note:** On Windows, this event will not be emitted if the app is closed due to
|
|
@@ -978,21 +978,14 @@ declare namespace Electron {
|
|
|
978
978
|
* Here are some examples of return values of the various language and locale APIs
|
|
979
979
|
* with different configurations:
|
|
980
980
|
*
|
|
981
|
-
*
|
|
982
|
-
*
|
|
983
|
-
*
|
|
984
|
-
*
|
|
985
|
-
*
|
|
986
|
-
*
|
|
987
|
-
*
|
|
988
|
-
* 'zh-Hans-CN', 'fi', 'es-419']`
|
|
989
|
-
* * On macOS, where the application locale is German, the region is Finland, and
|
|
990
|
-
* the preferred system languages from most to least preferred are French (Canada),
|
|
981
|
+
* On Windows, given application locale is German, the regional format is Finnish
|
|
982
|
+
* (Finland), and the preferred system languages from most to least preferred are
|
|
983
|
+
* French (Canada), English (US), Simplified Chinese (China), Finnish, and Spanish
|
|
984
|
+
* (Latin America):
|
|
985
|
+
*
|
|
986
|
+
* On macOS, given the application locale is German, the region is Finland, and the
|
|
987
|
+
* preferred system languages from most to least preferred are French (Canada),
|
|
991
988
|
* English (US), Simplified Chinese, and Spanish (Latin America):
|
|
992
|
-
* * `app.getLocale()` returns `'de'`
|
|
993
|
-
* * `app.getSystemLocale()` returns `'fr-FI'`
|
|
994
|
-
* * `app.getPreferredSystemLanguages()` returns `['fr-CA', 'en-US',
|
|
995
|
-
* 'zh-Hans-FI', 'es-419']`
|
|
996
989
|
*
|
|
997
990
|
* Both the available languages and regions and the possible return values differ
|
|
998
991
|
* between the two operating systems.
|
|
@@ -1005,7 +998,7 @@ declare namespace Electron {
|
|
|
1005
998
|
* country code `FI` is used as the country code for preferred system languages
|
|
1006
999
|
* that do not have associated countries in the language name.
|
|
1007
1000
|
*/
|
|
1008
|
-
getPreferredSystemLanguages():
|
|
1001
|
+
getPreferredSystemLanguages(): string[];
|
|
1009
1002
|
/**
|
|
1010
1003
|
* The current system locale. On Windows and Linux, it is fetched using Chromium's
|
|
1011
1004
|
* `i18n` library. On macOS, `[NSLocale currentLocale]` is used instead. To get the
|
|
@@ -1883,7 +1876,7 @@ declare namespace Electron {
|
|
|
1883
1876
|
/**
|
|
1884
1877
|
* Emitted once when the window is moved to a new position.
|
|
1885
1878
|
*
|
|
1886
|
-
*
|
|
1879
|
+
* **Note**: On macOS this event is an alias of `move`.
|
|
1887
1880
|
*
|
|
1888
1881
|
* @platform darwin,win32
|
|
1889
1882
|
*/
|
|
@@ -5978,9 +5971,12 @@ declare namespace Electron {
|
|
|
5978
5971
|
/**
|
|
5979
5972
|
* fulfilled with the file's thumbnail preview image, which is a NativeImage.
|
|
5980
5973
|
*
|
|
5974
|
+
* Note: The Windows implementation will ignore `size.height` and scale the height
|
|
5975
|
+
* according to `size.width`.
|
|
5976
|
+
*
|
|
5981
5977
|
* @platform darwin,win32
|
|
5982
5978
|
*/
|
|
5983
|
-
static createThumbnailFromPath(path: string,
|
|
5979
|
+
static createThumbnailFromPath(path: string, size: Size): Promise<Electron.NativeImage>;
|
|
5984
5980
|
/**
|
|
5985
5981
|
* Add an image representation for a specific scale factor. This can be used to
|
|
5986
5982
|
* explicitly add different scale factor representations to an image. This can be
|
|
@@ -7305,6 +7301,27 @@ declare namespace Electron {
|
|
|
7305
7301
|
url: string;
|
|
7306
7302
|
}
|
|
7307
7303
|
|
|
7304
|
+
interface ResolvedEndpoint {
|
|
7305
|
+
|
|
7306
|
+
// Docs: https://electronjs.org/docs/api/structures/resolved-endpoint
|
|
7307
|
+
|
|
7308
|
+
address: string;
|
|
7309
|
+
/**
|
|
7310
|
+
* One of the following:
|
|
7311
|
+
*/
|
|
7312
|
+
family: ('ipv4' | 'ipv6' | 'unspec');
|
|
7313
|
+
}
|
|
7314
|
+
|
|
7315
|
+
interface ResolvedHost {
|
|
7316
|
+
|
|
7317
|
+
// Docs: https://electronjs.org/docs/api/structures/resolved-host
|
|
7318
|
+
|
|
7319
|
+
/**
|
|
7320
|
+
* resolved DNS entries for the hostname
|
|
7321
|
+
*/
|
|
7322
|
+
endpoints: ResolvedEndpoint[];
|
|
7323
|
+
}
|
|
7324
|
+
|
|
7308
7325
|
interface SafeStorage extends NodeJS.EventEmitter {
|
|
7309
7326
|
|
|
7310
7327
|
// Docs: https://electronjs.org/docs/api/safe-storage
|
|
@@ -8188,6 +8205,10 @@ declare namespace Electron {
|
|
|
8188
8205
|
* dictionary as well
|
|
8189
8206
|
*/
|
|
8190
8207
|
removeWordFromSpellCheckerDictionary(word: string): boolean;
|
|
8208
|
+
/**
|
|
8209
|
+
* Resolves with the resolved IP addresses for the `host`.
|
|
8210
|
+
*/
|
|
8211
|
+
resolveHost(host: string, options?: ResolveHostOptions): Promise<Electron.ResolvedHost>;
|
|
8191
8212
|
/**
|
|
8192
8213
|
* Resolves with the proxy information for `url`.
|
|
8193
8214
|
*/
|
|
@@ -11533,7 +11554,7 @@ declare namespace Electron {
|
|
|
11533
11554
|
*/
|
|
11534
11555
|
getBackgroundThrottling(): boolean;
|
|
11535
11556
|
/**
|
|
11536
|
-
* If
|
|
11557
|
+
* If _offscreen rendering_ is enabled returns the current frame rate.
|
|
11537
11558
|
*/
|
|
11538
11559
|
getFrameRate(): number;
|
|
11539
11560
|
/**
|
|
@@ -11644,7 +11665,7 @@ declare namespace Electron {
|
|
|
11644
11665
|
/**
|
|
11645
11666
|
* Schedules a full repaint of the window this web contents is in.
|
|
11646
11667
|
*
|
|
11647
|
-
* If
|
|
11668
|
+
* If _offscreen rendering_ is enabled invalidates the frame and generates a new
|
|
11648
11669
|
* one through the `'paint'` event.
|
|
11649
11670
|
*/
|
|
11650
11671
|
invalidate(): void;
|
|
@@ -11691,11 +11712,11 @@ declare namespace Electron {
|
|
|
11691
11712
|
*/
|
|
11692
11713
|
isLoadingMainFrame(): boolean;
|
|
11693
11714
|
/**
|
|
11694
|
-
* Indicates whether
|
|
11715
|
+
* Indicates whether _offscreen rendering_ is enabled.
|
|
11695
11716
|
*/
|
|
11696
11717
|
isOffscreen(): boolean;
|
|
11697
11718
|
/**
|
|
11698
|
-
* If
|
|
11719
|
+
* If _offscreen rendering_ is enabled returns whether it is currently painting.
|
|
11699
11720
|
*/
|
|
11700
11721
|
isPainting(): boolean;
|
|
11701
11722
|
/**
|
|
@@ -11890,7 +11911,7 @@ declare namespace Electron {
|
|
|
11890
11911
|
*/
|
|
11891
11912
|
setDevToolsWebContents(devToolsWebContents: WebContents): void;
|
|
11892
11913
|
/**
|
|
11893
|
-
* If
|
|
11914
|
+
* If _offscreen rendering_ is enabled sets the frame rate to the specified number.
|
|
11894
11915
|
* Only values between 1 and 240 are accepted.
|
|
11895
11916
|
*/
|
|
11896
11917
|
setFrameRate(fps: number): void;
|
|
@@ -11963,7 +11984,7 @@ declare namespace Electron {
|
|
|
11963
11984
|
*/
|
|
11964
11985
|
startDrag(item: Item): void;
|
|
11965
11986
|
/**
|
|
11966
|
-
* If
|
|
11987
|
+
* If _offscreen rendering_ is enabled and not painting, start painting.
|
|
11967
11988
|
*/
|
|
11968
11989
|
startPainting(): void;
|
|
11969
11990
|
/**
|
|
@@ -11975,7 +11996,7 @@ declare namespace Electron {
|
|
|
11975
11996
|
*/
|
|
11976
11997
|
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): void;
|
|
11977
11998
|
/**
|
|
11978
|
-
* If
|
|
11999
|
+
* If _offscreen rendering_ is enabled and painting, stop painting.
|
|
11979
12000
|
*/
|
|
11980
12001
|
stopPainting(): void;
|
|
11981
12002
|
/**
|
|
@@ -12024,7 +12045,7 @@ declare namespace Electron {
|
|
|
12024
12045
|
* An `Integer` property that sets the frame rate of the web contents to the
|
|
12025
12046
|
* specified number. Only values between 1 and 240 are accepted.
|
|
12026
12047
|
*
|
|
12027
|
-
* Only applicable if
|
|
12048
|
+
* Only applicable if _offscreen rendering_ is enabled.
|
|
12028
12049
|
*/
|
|
12029
12050
|
frameRate: number;
|
|
12030
12051
|
/**
|
|
@@ -12687,7 +12708,7 @@ declare namespace Electron {
|
|
|
12687
12708
|
* or updating the `window.location.hash`. Use `did-navigate-in-page` event for
|
|
12688
12709
|
* this purpose.
|
|
12689
12710
|
*
|
|
12690
|
-
* Calling `event.preventDefault()` does
|
|
12711
|
+
* Calling `event.preventDefault()` does **NOT** have any effect.
|
|
12691
12712
|
*/
|
|
12692
12713
|
addEventListener(event: 'will-navigate', listener: (event: WillNavigateEvent) => void, useCapture?: boolean): this;
|
|
12693
12714
|
removeEventListener(event: 'will-navigate', listener: (event: WillNavigateEvent) => void): this;
|
|
@@ -14312,10 +14333,9 @@ declare namespace Electron {
|
|
|
14312
14333
|
*/
|
|
14313
14334
|
postBody?: PostBody;
|
|
14314
14335
|
/**
|
|
14315
|
-
* Can be `default`, `foreground-tab`, `background-tab`, `new-window
|
|
14316
|
-
* `save-to-disk` and `other`.
|
|
14336
|
+
* Can be `default`, `foreground-tab`, `background-tab`, `new-window` or `other`.
|
|
14317
14337
|
*/
|
|
14318
|
-
disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | '
|
|
14338
|
+
disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'other');
|
|
14319
14339
|
}
|
|
14320
14340
|
|
|
14321
14341
|
interface DidFailLoadEvent extends Event {
|
|
@@ -14555,10 +14575,9 @@ declare namespace Electron {
|
|
|
14555
14575
|
*/
|
|
14556
14576
|
features: string;
|
|
14557
14577
|
/**
|
|
14558
|
-
* Can be `default`, `foreground-tab`, `background-tab`, `new-window
|
|
14559
|
-
* `save-to-disk` or `other`.
|
|
14578
|
+
* Can be `default`, `foreground-tab`, `background-tab`, `new-window` or `other`.
|
|
14560
14579
|
*/
|
|
14561
|
-
disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | '
|
|
14580
|
+
disposition: ('default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'other');
|
|
14562
14581
|
/**
|
|
14563
14582
|
* The referrer that will be passed to the new window. May or may not result in the
|
|
14564
14583
|
* `Referer` header being sent, depending on the referrer policy.
|
|
@@ -15853,6 +15872,32 @@ declare namespace Electron {
|
|
|
15853
15872
|
quality?: string;
|
|
15854
15873
|
}
|
|
15855
15874
|
|
|
15875
|
+
interface ResolveHostOptions {
|
|
15876
|
+
/**
|
|
15877
|
+
* Requested DNS query type. If unspecified, resolver will pick A or AAAA (or both)
|
|
15878
|
+
* based on IPv4/IPv6 settings:
|
|
15879
|
+
*/
|
|
15880
|
+
queryType?: ('A' | 'AAAA');
|
|
15881
|
+
/**
|
|
15882
|
+
* The source to use for resolved addresses. Default allows the resolver to pick an
|
|
15883
|
+
* appropriate source. Only affects use of big external sources (e.g. calling the
|
|
15884
|
+
* system for resolution or using DNS). Even if a source is specified, results can
|
|
15885
|
+
* still come from cache, resolving "localhost" or IP literals, etc. One of the
|
|
15886
|
+
* following values:
|
|
15887
|
+
*/
|
|
15888
|
+
source?: ('any' | 'system' | 'dns' | 'mdns' | 'localOnly');
|
|
15889
|
+
/**
|
|
15890
|
+
* Indicates what DNS cache entries, if any, can be used to provide a response. One
|
|
15891
|
+
* of the following values:
|
|
15892
|
+
*/
|
|
15893
|
+
cacheUsage?: ('allowed' | 'staleAllowed' | 'disallowed');
|
|
15894
|
+
/**
|
|
15895
|
+
* Controls the resolver's Secure DNS behavior for this request. One of the
|
|
15896
|
+
* following values:
|
|
15897
|
+
*/
|
|
15898
|
+
secureDnsPolicy?: ('allow' | 'disable');
|
|
15899
|
+
}
|
|
15900
|
+
|
|
15856
15901
|
interface ResourceUsage {
|
|
15857
15902
|
images: MemoryUsageDetails;
|
|
15858
15903
|
scripts: MemoryUsageDetails;
|
|
@@ -17365,6 +17410,7 @@ declare namespace Electron {
|
|
|
17365
17410
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
17366
17411
|
type Request = Electron.Request;
|
|
17367
17412
|
type ResizeOptions = Electron.ResizeOptions;
|
|
17413
|
+
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
17368
17414
|
type ResourceUsage = Electron.ResourceUsage;
|
|
17369
17415
|
type Response = Electron.Response;
|
|
17370
17416
|
type Result = Electron.Result;
|
|
@@ -17464,6 +17510,8 @@ declare namespace Electron {
|
|
|
17464
17510
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
17465
17511
|
type Rectangle = Electron.Rectangle;
|
|
17466
17512
|
type Referrer = Electron.Referrer;
|
|
17513
|
+
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
17514
|
+
type ResolvedHost = Electron.ResolvedHost;
|
|
17467
17515
|
type ScrubberItem = Electron.ScrubberItem;
|
|
17468
17516
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
17469
17517
|
type SerialPort = Electron.SerialPort;
|
|
@@ -17679,6 +17727,7 @@ declare namespace Electron {
|
|
|
17679
17727
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
17680
17728
|
type Request = Electron.Request;
|
|
17681
17729
|
type ResizeOptions = Electron.ResizeOptions;
|
|
17730
|
+
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
17682
17731
|
type ResourceUsage = Electron.ResourceUsage;
|
|
17683
17732
|
type Response = Electron.Response;
|
|
17684
17733
|
type Result = Electron.Result;
|
|
@@ -17778,6 +17827,8 @@ declare namespace Electron {
|
|
|
17778
17827
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
17779
17828
|
type Rectangle = Electron.Rectangle;
|
|
17780
17829
|
type Referrer = Electron.Referrer;
|
|
17830
|
+
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
17831
|
+
type ResolvedHost = Electron.ResolvedHost;
|
|
17781
17832
|
type ScrubberItem = Electron.ScrubberItem;
|
|
17782
17833
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
17783
17834
|
type SerialPort = Electron.SerialPort;
|
|
@@ -17926,6 +17977,7 @@ declare namespace Electron {
|
|
|
17926
17977
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
17927
17978
|
type Request = Electron.Request;
|
|
17928
17979
|
type ResizeOptions = Electron.ResizeOptions;
|
|
17980
|
+
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
17929
17981
|
type ResourceUsage = Electron.ResourceUsage;
|
|
17930
17982
|
type Response = Electron.Response;
|
|
17931
17983
|
type Result = Electron.Result;
|
|
@@ -18025,6 +18077,8 @@ declare namespace Electron {
|
|
|
18025
18077
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18026
18078
|
type Rectangle = Electron.Rectangle;
|
|
18027
18079
|
type Referrer = Electron.Referrer;
|
|
18080
|
+
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18081
|
+
type ResolvedHost = Electron.ResolvedHost;
|
|
18028
18082
|
type ScrubberItem = Electron.ScrubberItem;
|
|
18029
18083
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
18030
18084
|
type SerialPort = Electron.SerialPort;
|
|
@@ -18254,6 +18308,7 @@ declare namespace Electron {
|
|
|
18254
18308
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18255
18309
|
type Request = Electron.Request;
|
|
18256
18310
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18311
|
+
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
18257
18312
|
type ResourceUsage = Electron.ResourceUsage;
|
|
18258
18313
|
type Response = Electron.Response;
|
|
18259
18314
|
type Result = Electron.Result;
|
|
@@ -18353,6 +18408,8 @@ declare namespace Electron {
|
|
|
18353
18408
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18354
18409
|
type Rectangle = Electron.Rectangle;
|
|
18355
18410
|
type Referrer = Electron.Referrer;
|
|
18411
|
+
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18412
|
+
type ResolvedHost = Electron.ResolvedHost;
|
|
18356
18413
|
type ScrubberItem = Electron.ScrubberItem;
|
|
18357
18414
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
18358
18415
|
type SerialPort = Electron.SerialPort;
|
package/package.json
CHANGED