electron 34.0.0-beta.8 → 34.0.0-beta.9
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 +191 -15
- 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.9-darwin-arm64.zip": "ae289ebbd385e6d1dda17c60ae6067949f46d564fab1a94382c9a6dc132851e3",
|
|
3
|
+
"chromedriver-v34.0.0-beta.9-darwin-x64.zip": "55ade1890bd030fdd993adc9ff72419e0804f9b4c9d30b58c2aca28269854a9f",
|
|
4
|
+
"chromedriver-v34.0.0-beta.9-linux-arm64.zip": "604a9fa666bed43cadf0e5cb056fd0d1206b0befdc4924df01ca052f213b5078",
|
|
5
|
+
"chromedriver-v34.0.0-beta.9-linux-armv7l.zip": "99cd5215ceee879779dfbfc05a042b5f3b2de08329a75efa3ff1edaddd80c773",
|
|
6
|
+
"chromedriver-v34.0.0-beta.9-linux-x64.zip": "3cba23ec0428e0a553cc06eb6e0654413e4534e93ac739a3d896f60610650df9",
|
|
7
|
+
"chromedriver-v34.0.0-beta.9-mas-arm64.zip": "e14d8541e0d1ee98ba361d7c302c8b7b6b8161da2d7f75b5f6f75c0d72efbd61",
|
|
8
|
+
"chromedriver-v34.0.0-beta.9-mas-x64.zip": "cd0c5c66ee9fdb3c7b304420391a43fce76d0f78937f9450d22ea21f1c9ed783",
|
|
9
|
+
"chromedriver-v34.0.0-beta.9-win32-arm64.zip": "b426e0c5aada127f72e8633d479778d0c575191ece978575cc9ad23234e52e37",
|
|
10
|
+
"chromedriver-v34.0.0-beta.9-win32-ia32.zip": "555bfd15cab4ce4dc73caaedc4095c484ccc77f2cfe886db80cd5c1fa1410fda",
|
|
11
|
+
"chromedriver-v34.0.0-beta.9-win32-x64.zip": "2cb0d7df1a44a6d1f6fc583b8b9d707b6f6dbde89f674f48f8042174736732b4",
|
|
12
|
+
"electron-api.json": "4714dd215e80677f2e7cb7549bdc3b160735975e56d9b59c60d07906dd1cb2ab",
|
|
13
|
+
"electron-v34.0.0-beta.9-darwin-arm64-dsym-snapshot.zip": "a6b6b628cf78a58a459ea9c95882a84d34abb282e683f20acca9380940c43bd0",
|
|
14
|
+
"electron-v34.0.0-beta.9-darwin-arm64-dsym.zip": "d4647805812d88da1483f8f6cd0afd7e29f09d0068ce57f1fbd011957210f0f8",
|
|
15
|
+
"electron-v34.0.0-beta.9-darwin-arm64-symbols.zip": "1b25d978e99892cce68891a765b9ae433e5b3bcdb855d5dc5231e2f22eb20ab8",
|
|
16
|
+
"electron-v34.0.0-beta.9-darwin-arm64.zip": "2a56075b1fcaf1ef0f6a4aba839a4ea805ae53a3bfb30478dd9806508dcd70e3",
|
|
17
|
+
"electron-v34.0.0-beta.9-darwin-x64-dsym-snapshot.zip": "5c05dcff52991bdecc311ea86f31e57a2b46741374c3aeb6f426f1626da8ef54",
|
|
18
|
+
"electron-v34.0.0-beta.9-darwin-x64-dsym.zip": "5ffd68ee35f94a198069b8d6d18e180932f3acafebca8b91a4d8c4f3bcf57914",
|
|
19
|
+
"electron-v34.0.0-beta.9-darwin-x64-symbols.zip": "d880cb867929494a532213a65c73c5ac662e438b1bf9b5d509d711e6811fa593",
|
|
20
|
+
"electron-v34.0.0-beta.9-darwin-x64.zip": "13772af5befb97c07d026bd9552f64de160340cc0c49001505d99668c1833ffb",
|
|
21
|
+
"electron-v34.0.0-beta.9-linux-arm64-debug.zip": "1fe2e29633f0122a2bf0da162ae1e1c01014bbc836c6aa61589d589cd68f6602",
|
|
22
|
+
"electron-v34.0.0-beta.9-linux-arm64-symbols.zip": "201605d095533044635b72a2b123b03942cc1b01ffd5510431945ec1f85285a8",
|
|
23
|
+
"electron-v34.0.0-beta.9-linux-arm64.zip": "8c2df25f1cbee9fe4f44f5094946fe7576ba3cecc28ac45f3718a56e3b50f2ac",
|
|
24
|
+
"electron-v34.0.0-beta.9-linux-armv7l-debug.zip": "1fe2e29633f0122a2bf0da162ae1e1c01014bbc836c6aa61589d589cd68f6602",
|
|
25
|
+
"electron-v34.0.0-beta.9-linux-armv7l-symbols.zip": "e87c7c51056a73f39674b9efe8117a888cb01c215a6305d762655646b3fae929",
|
|
26
|
+
"electron-v34.0.0-beta.9-linux-armv7l.zip": "90fcce987b166b5a4e2653a4c43ea27757e1f1dc8e0cc8220c2dd4cf12ec2d33",
|
|
27
|
+
"electron-v34.0.0-beta.9-linux-x64-debug.zip": "a2ed1ad3f5f6cb013ef61e1ca80ab3357a21a2f4bd885edcceb8b753fc7a33a6",
|
|
28
|
+
"electron-v34.0.0-beta.9-linux-x64-symbols.zip": "87722a65681ea2951214abe05518f0fe9f5a133246650fad5093c7933d9a81d8",
|
|
29
|
+
"electron-v34.0.0-beta.9-linux-x64.zip": "532ea7248881d0c2722bfe0fdf97fbcfa195385d833250a8109e668fdfb255aa",
|
|
30
|
+
"electron-v34.0.0-beta.9-mas-arm64-dsym-snapshot.zip": "da354789170b36514a88e63393250687051f2995127e98ce0d307e3d03e1b83d",
|
|
31
|
+
"electron-v34.0.0-beta.9-mas-arm64-dsym.zip": "7bc1a1dc4f8387b657f21941da6e37c5fc51b498d8591f5365e75afd07300284",
|
|
32
|
+
"electron-v34.0.0-beta.9-mas-arm64-symbols.zip": "98d14896cabbcc23a3c6ea2b1d06cea59fd3c33562b1adaba8aa0a6964f828c6",
|
|
33
|
+
"electron-v34.0.0-beta.9-mas-arm64.zip": "808f49d341ab39bd3184ddd79c29891e4f2903beb2d6fbab82a4dc2f1a2935de",
|
|
34
|
+
"electron-v34.0.0-beta.9-mas-x64-dsym-snapshot.zip": "46dbb2117562daade2a5c291f4176c6abbc5a7e9d0ff3e4ac80c4ed9d3474d94",
|
|
35
|
+
"electron-v34.0.0-beta.9-mas-x64-dsym.zip": "47aca11b5566830e95f173438d264a9baab017baca7949b8c34d0a6a0a7e7407",
|
|
36
|
+
"electron-v34.0.0-beta.9-mas-x64-symbols.zip": "b51e392345feb736911239c122287e4f12facf7ecf338dc46f5d3e1bd912ec92",
|
|
37
|
+
"electron-v34.0.0-beta.9-mas-x64.zip": "b21ce3d85cfef052efb41a54a787691c06cfa4dd7ba96738a85d71cd14e226d0",
|
|
38
|
+
"electron-v34.0.0-beta.9-win32-arm64-pdb.zip": "65a164986dabd73597ee1a362561d8a6ccfa4a9217d2ae997ac09e622098d27c",
|
|
39
|
+
"electron-v34.0.0-beta.9-win32-arm64-symbols.zip": "4c2024b6f73a95db01b23a388ecb8e48056778152759e75d76ed3481daf3489c",
|
|
40
|
+
"electron-v34.0.0-beta.9-win32-arm64-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
41
|
+
"electron-v34.0.0-beta.9-win32-arm64.zip": "568a3a440c60cf624af2faf86ff479bc1a2cccf24caa5342760230c391025d6c",
|
|
42
|
+
"electron-v34.0.0-beta.9-win32-ia32-pdb.zip": "009be21d0c6f6ee6f8b758983004d3a1f6258d2a21fb2fb360549eb3b0ba33a1",
|
|
43
|
+
"electron-v34.0.0-beta.9-win32-ia32-symbols.zip": "0588f655563687356d9b3d3e10181a9899ef2d8811dd4234b7e3bf4a29ac53d9",
|
|
44
|
+
"electron-v34.0.0-beta.9-win32-ia32-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
45
|
+
"electron-v34.0.0-beta.9-win32-ia32.zip": "d37e6cfe2bc3e8486f6159a6a6e52e7e4f2e2c91efa8b67b3b31d6094ec1ad84",
|
|
46
|
+
"electron-v34.0.0-beta.9-win32-x64-pdb.zip": "c51a558d36e7b020bfd15aa5358d6f3ec77f8732621845b33c47973e16954164",
|
|
47
|
+
"electron-v34.0.0-beta.9-win32-x64-symbols.zip": "e8f1f2106d27483b58157834817310b61581ef6a7e5629e01f365899605a8edf",
|
|
48
|
+
"electron-v34.0.0-beta.9-win32-x64-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
|
|
49
|
+
"electron-v34.0.0-beta.9-win32-x64.zip": "41d53878037cfc6849a7ac4185b834f459d4ff4bd467523d7d1e6107ed2f84b2",
|
|
50
|
+
"electron.d.ts": "d51713c40921a55916ad9221e3e8ad9fe17ab97575e1f39f8179c936e4c49c03",
|
|
51
|
+
"ffmpeg-v34.0.0-beta.9-darwin-arm64.zip": "f18f2c6b76877b003eadeb1a994c444e451bd6d4c3e40b52bb65eae9b38c04be",
|
|
52
|
+
"ffmpeg-v34.0.0-beta.9-darwin-x64.zip": "8bf03d6bece2303b694f1bcaabf421f126a62abbefd53ff81c0bf1349e5c9e2f",
|
|
53
|
+
"ffmpeg-v34.0.0-beta.9-linux-arm64.zip": "2384f252c605d361a4c7fc279a0ccb4d857155b3cfc2be2348b29a45f07126f1",
|
|
54
|
+
"ffmpeg-v34.0.0-beta.9-linux-armv7l.zip": "bba81c85150638f5c7f568d9ec561091c7faec0c38678b02a6499107200e46d1",
|
|
55
|
+
"ffmpeg-v34.0.0-beta.9-linux-x64.zip": "4da06ad0b1678c052f562d2799198fd5e374b9d447e41934a4f845750772e91c",
|
|
56
|
+
"ffmpeg-v34.0.0-beta.9-mas-arm64.zip": "b45773e20a55028ad0767c57d9c873aa1b5ef0d9057827329ce68bdab0bba8b3",
|
|
57
|
+
"ffmpeg-v34.0.0-beta.9-mas-x64.zip": "553e092ce363eb9907417792817a63bf193d94904abe146206b1d75c18b461c5",
|
|
58
|
+
"ffmpeg-v34.0.0-beta.9-win32-arm64.zip": "f008d1762ea86c137e5582f526f622d6aec430b1bba086e729a3141aa98d3fe3",
|
|
59
|
+
"ffmpeg-v34.0.0-beta.9-win32-ia32.zip": "3264c29d68bb912c71168332bd1e0b671253d379cb30651410ca8783710a4864",
|
|
60
|
+
"ffmpeg-v34.0.0-beta.9-win32-x64.zip": "f32f786397838a2d9fc060c3e7e1843b89b960bd9f0632330f1b2deb52682fef",
|
|
61
|
+
"hunspell_dictionaries.zip": "30489fe192a320051bdc6df31e2f96e7d1afb62590ad5cfd3f278d3a9d0a1ba5",
|
|
62
|
+
"libcxx-objects-v34.0.0-beta.9-linux-arm64.zip": "98a903527aebddebb2c3acead0ab5ec11dd1f6b2a7a7073d7a428bbb68260c96",
|
|
63
|
+
"libcxx-objects-v34.0.0-beta.9-linux-armv7l.zip": "95c608fb8a26a8a64123cf3bba05fbf9d0650e48bb807066494a0de863a5f9ef",
|
|
64
|
+
"libcxx-objects-v34.0.0-beta.9-linux-x64.zip": "5d7a0ea9b48f1248efee8eadadc26595d8839b033a9a0469a609149f7607fd81",
|
|
65
|
+
"libcxx_headers.zip": "ff97f2dc463331f51dada07874aa71aa1a270c3de08f3c83d7cf2790e894ee02",
|
|
66
|
+
"libcxxabi_headers.zip": "34e4b44f9c5e08b557a2caed55456ce7690abab910196a783a2a47b58d2b9ac9",
|
|
67
|
+
"mksnapshot-v34.0.0-beta.9-darwin-arm64.zip": "243311e0f377fdb67655c5d681f63eaa45e3a1dd0f74fd39ed23c6576056436b",
|
|
68
|
+
"mksnapshot-v34.0.0-beta.9-darwin-x64.zip": "5557d38c2edc08bf40cd2322c3d490db4c901d5cd7ad08af88b190762cb04cee",
|
|
69
|
+
"mksnapshot-v34.0.0-beta.9-linux-arm64-x64.zip": "529cd6510bdd963e553ef15a7cf20907919423ef62ca3efae9ebf579549eba49",
|
|
70
|
+
"mksnapshot-v34.0.0-beta.9-linux-armv7l-x64.zip": "854ab45bd55171aaf2cc7e621b849a01b0fc0f71a91ea08d82b2be4d69c9ecf6",
|
|
71
|
+
"mksnapshot-v34.0.0-beta.9-linux-x64.zip": "2413c7b1fbb80146e47ce8dc678a2a5b4977bb2e5386bf2c841b961ec5e65e08",
|
|
72
|
+
"mksnapshot-v34.0.0-beta.9-mas-arm64.zip": "26f7dfa7015d4b3db59510a3543664f23a87f336e0ae5a7c497af3f41fa070f0",
|
|
73
|
+
"mksnapshot-v34.0.0-beta.9-mas-x64.zip": "b9840c6a1699ea92e57548bea2f19082ac87d9fe756f7e4f5b887139891eb437",
|
|
74
|
+
"mksnapshot-v34.0.0-beta.9-win32-arm64-x64.zip": "befc5f2cded007799014963ddc999e462ab34cf7c765398aabbe9c2375b86dfd",
|
|
75
|
+
"mksnapshot-v34.0.0-beta.9-win32-ia32.zip": "4a6bd4c2b58ae31efe1c8345122e2132e3b12db914d069ac01228cf4145d6fef",
|
|
76
|
+
"mksnapshot-v34.0.0-beta.9-win32-x64.zip": "a520bb2610ed3fd4ae27635d79fe7dc4d98583a11dee3075c0fe9cf3d5de5cf0"
|
|
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.9
|
|
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
|
|
@@ -1416,21 +1416,22 @@ declare namespace Electron {
|
|
|
1416
1416
|
*/
|
|
1417
1417
|
quit(): void;
|
|
1418
1418
|
/**
|
|
1419
|
-
* Relaunches the app when current instance exits.
|
|
1419
|
+
* Relaunches the app when the current instance exits.
|
|
1420
1420
|
*
|
|
1421
1421
|
* By default, the new instance will use the same working directory and command
|
|
1422
|
-
* line arguments
|
|
1423
|
-
* be passed as command line arguments instead. When `execPath` is
|
|
1424
|
-
* `execPath` will be executed for relaunch instead of
|
|
1422
|
+
* line arguments as the current instance. When `args` is specified, the `args`
|
|
1423
|
+
* will be passed as the command line arguments instead. When `execPath` is
|
|
1424
|
+
* specified, the `execPath` will be executed for the relaunch instead of the
|
|
1425
|
+
* current app.
|
|
1425
1426
|
*
|
|
1426
|
-
* Note that this method does not quit the app when executed
|
|
1427
|
+
* Note that this method does not quit the app when executed. You have to call
|
|
1427
1428
|
* `app.quit` or `app.exit` after calling `app.relaunch` to make the app restart.
|
|
1428
1429
|
*
|
|
1429
|
-
* When `app.relaunch` is called
|
|
1430
|
-
*
|
|
1430
|
+
* When `app.relaunch` is called multiple times, multiple instances will be started
|
|
1431
|
+
* after the current instance exits.
|
|
1431
1432
|
*
|
|
1432
|
-
* An example of restarting current instance immediately and adding a new
|
|
1433
|
-
* line argument to the new instance:
|
|
1433
|
+
* An example of restarting the current instance immediately and adding a new
|
|
1434
|
+
* command line argument to the new instance:
|
|
1434
1435
|
*/
|
|
1435
1436
|
relaunch(options?: RelaunchOptions): void;
|
|
1436
1437
|
/**
|
|
@@ -8696,9 +8697,9 @@ declare namespace Electron {
|
|
|
8696
8697
|
*/
|
|
8697
8698
|
append(menuItem: MenuItem): void;
|
|
8698
8699
|
/**
|
|
8699
|
-
* Closes the context menu in the `
|
|
8700
|
+
* Closes the context menu in the `window`.
|
|
8700
8701
|
*/
|
|
8701
|
-
closePopup(
|
|
8702
|
+
closePopup(window?: BaseWindow): void;
|
|
8702
8703
|
/**
|
|
8703
8704
|
* the item with the specified `id`
|
|
8704
8705
|
*/
|
|
@@ -8708,7 +8709,7 @@ declare namespace Electron {
|
|
|
8708
8709
|
*/
|
|
8709
8710
|
insert(pos: number, menuItem: MenuItem): void;
|
|
8710
8711
|
/**
|
|
8711
|
-
* Pops up this menu as a context menu in the `
|
|
8712
|
+
* Pops up this menu as a context menu in the `BaseWindow`.
|
|
8712
8713
|
*/
|
|
8713
8714
|
popup(options?: PopupOptions): void;
|
|
8714
8715
|
/**
|
|
@@ -11646,6 +11647,11 @@ declare namespace Electron {
|
|
|
11646
11647
|
* `https://my.website.example.co.uk/` will end up clearing all cookies for
|
|
11647
11648
|
* `example.co.uk`.
|
|
11648
11649
|
*
|
|
11650
|
+
* **Note:** Clearing cache data will also clear the shared dictionary cache. This
|
|
11651
|
+
* means that any dictionaries used for compression may be reloaded after clearing
|
|
11652
|
+
* the cache. If you wish to clear the shared dictionary cache but leave other
|
|
11653
|
+
* cached data intact, you may want to use the `clearSharedDictionaryCache` method.
|
|
11654
|
+
*
|
|
11649
11655
|
* For more information, refer to Chromium's `BrowsingDataRemover` interface.
|
|
11650
11656
|
*/
|
|
11651
11657
|
clearData(options?: ClearDataOptions): Promise<void>;
|
|
@@ -11655,6 +11661,15 @@ declare namespace Electron {
|
|
|
11655
11661
|
* Clears the host resolver cache.
|
|
11656
11662
|
*/
|
|
11657
11663
|
clearHostResolverCache(): Promise<void>;
|
|
11664
|
+
/**
|
|
11665
|
+
* resolves when the dictionary cache has been cleared, both in memory and on disk.
|
|
11666
|
+
*/
|
|
11667
|
+
clearSharedDictionaryCache(): Promise<void>;
|
|
11668
|
+
/**
|
|
11669
|
+
* resolves when the dictionary cache has been cleared for the specified isolation
|
|
11670
|
+
* key, both in memory and on disk.
|
|
11671
|
+
*/
|
|
11672
|
+
clearSharedDictionaryCacheForIsolationKey(options: ClearSharedDictionaryCacheForIsolationKeyOptions): Promise<void>;
|
|
11658
11673
|
/**
|
|
11659
11674
|
* resolves when the storage data has been cleared.
|
|
11660
11675
|
*/
|
|
@@ -11754,6 +11769,28 @@ declare namespace Electron {
|
|
|
11754
11769
|
* an array of paths to preload scripts that have been registered.
|
|
11755
11770
|
*/
|
|
11756
11771
|
getPreloads(): string[];
|
|
11772
|
+
/**
|
|
11773
|
+
* an array of shared dictionary information entries in Chromium's networking
|
|
11774
|
+
* service's storage.
|
|
11775
|
+
*
|
|
11776
|
+
* To get information about all present shared dictionaries, call
|
|
11777
|
+
* `getSharedDictionaryUsageInfo()`.
|
|
11778
|
+
*/
|
|
11779
|
+
getSharedDictionaryInfo(options: SharedDictionaryInfoOptions): Promise<Electron.SharedDictionaryInfo[]>;
|
|
11780
|
+
/**
|
|
11781
|
+
* an array of shared dictionary information entries in Chromium's networking
|
|
11782
|
+
* service's storage.
|
|
11783
|
+
*
|
|
11784
|
+
* Shared dictionaries are used to power advanced compression of data sent over the
|
|
11785
|
+
* wire, specifically with Brotli and ZStandard. You don't need to call any of the
|
|
11786
|
+
* shared dictionary APIs in Electron to make use of this advanced web feature, but
|
|
11787
|
+
* if you do, they allow deeper control and inspection of the shared dictionaries
|
|
11788
|
+
* used during decompression.
|
|
11789
|
+
*
|
|
11790
|
+
* To get detailed information about a specific shared dictionary entry, call
|
|
11791
|
+
* `getSharedDictionaryInfo(options)`.
|
|
11792
|
+
*/
|
|
11793
|
+
getSharedDictionaryUsageInfo(): Promise<Electron.SharedDictionaryUsageInfo[]>;
|
|
11757
11794
|
/**
|
|
11758
11795
|
* An array of language codes the spellchecker is enabled for. If this list is
|
|
11759
11796
|
* empty the spellchecker will fallback to using `en-US`. By default on launch if
|
|
@@ -12065,6 +12102,81 @@ declare namespace Electron {
|
|
|
12065
12102
|
readonly webRequest: WebRequest;
|
|
12066
12103
|
}
|
|
12067
12104
|
|
|
12105
|
+
interface SharedDictionaryInfo {
|
|
12106
|
+
|
|
12107
|
+
// Docs: https://electronjs.org/docs/api/structures/shared-dictionary-info
|
|
12108
|
+
|
|
12109
|
+
/**
|
|
12110
|
+
* URL of the dictionary.
|
|
12111
|
+
*/
|
|
12112
|
+
dictionaryUrl: string;
|
|
12113
|
+
/**
|
|
12114
|
+
* The expiration time for the dictionary which was declared in 'use-as-dictionary'
|
|
12115
|
+
* response header's `expires` option in seconds.
|
|
12116
|
+
*/
|
|
12117
|
+
expirationDuration: number;
|
|
12118
|
+
/**
|
|
12119
|
+
* The sha256 hash of the dictionary binary.
|
|
12120
|
+
*/
|
|
12121
|
+
hash: string;
|
|
12122
|
+
/**
|
|
12123
|
+
* The Id for the dictionary which was declared in 'use-as-dictionary' response
|
|
12124
|
+
* header's `id` option.
|
|
12125
|
+
*/
|
|
12126
|
+
id: string;
|
|
12127
|
+
/**
|
|
12128
|
+
* The time of when the dictionary was received from the network layer.
|
|
12129
|
+
*/
|
|
12130
|
+
lastFetchTime: Date;
|
|
12131
|
+
/**
|
|
12132
|
+
* The time when the dictionary was last used.
|
|
12133
|
+
*/
|
|
12134
|
+
lastUsedTime: Date;
|
|
12135
|
+
/**
|
|
12136
|
+
* The matching path pattern for the dictionary which was declared in
|
|
12137
|
+
* 'use-as-dictionary' response header's `match` option.
|
|
12138
|
+
*/
|
|
12139
|
+
match: string;
|
|
12140
|
+
/**
|
|
12141
|
+
* An array of matching destinations for the dictionary which was declared in
|
|
12142
|
+
* 'use-as-dictionary' response header's `match-dest` option.
|
|
12143
|
+
*/
|
|
12144
|
+
matchDestinations: string[];
|
|
12145
|
+
/**
|
|
12146
|
+
* The time of when the dictionary was received from the server. For cached
|
|
12147
|
+
* responses, this time could be "far" in the past.
|
|
12148
|
+
*/
|
|
12149
|
+
responseTime: Date;
|
|
12150
|
+
/**
|
|
12151
|
+
* The amount of bytes stored for this shared dictionary information object in
|
|
12152
|
+
* Chromium's internal storage (usually Sqlite).
|
|
12153
|
+
*/
|
|
12154
|
+
size: number;
|
|
12155
|
+
}
|
|
12156
|
+
|
|
12157
|
+
interface SharedDictionaryUsageInfo {
|
|
12158
|
+
|
|
12159
|
+
// Docs: https://electronjs.org/docs/api/structures/shared-dictionary-usage-info
|
|
12160
|
+
|
|
12161
|
+
/**
|
|
12162
|
+
* The origin of the frame where the request originates. It’s specific to the
|
|
12163
|
+
* individual frame making the request and is defined by its scheme, host, and
|
|
12164
|
+
* port. In practice, will look like a URL.
|
|
12165
|
+
*/
|
|
12166
|
+
frameOrigin: string;
|
|
12167
|
+
/**
|
|
12168
|
+
* The site of the top-level browsing context (the main frame or tab that contains
|
|
12169
|
+
* the request). It’s less granular than `frameOrigin` and focuses on the broader
|
|
12170
|
+
* "site" scope. In practice, will look like a URL.
|
|
12171
|
+
*/
|
|
12172
|
+
topFrameSite: string;
|
|
12173
|
+
/**
|
|
12174
|
+
* The amount of bytes stored for this shared dictionary information object in
|
|
12175
|
+
* Chromium's internal storage (usually Sqlite).
|
|
12176
|
+
*/
|
|
12177
|
+
totalSizeBytes: number;
|
|
12178
|
+
}
|
|
12179
|
+
|
|
12068
12180
|
interface SharedWorkerInfo {
|
|
12069
12181
|
|
|
12070
12182
|
// Docs: https://electronjs.org/docs/api/structures/shared-worker-info
|
|
@@ -17044,6 +17156,18 @@ declare namespace Electron {
|
|
|
17044
17156
|
once(event: 'dom-ready', listener: () => void): this;
|
|
17045
17157
|
addListener(event: 'dom-ready', listener: () => void): this;
|
|
17046
17158
|
removeListener(event: 'dom-ready', listener: () => void): this;
|
|
17159
|
+
/**
|
|
17160
|
+
* A promise that resolves with the currently running JavaScript call stack. If no
|
|
17161
|
+
* JavaScript runs in the frame, the promise will never resolve. In cases where the
|
|
17162
|
+
* call stack is otherwise unable to be collected, it will return `undefined`.
|
|
17163
|
+
*
|
|
17164
|
+
* This can be useful to determine why the frame is unresponsive in cases where
|
|
17165
|
+
* there's long-running JavaScript. For more information, see the proposed Crash
|
|
17166
|
+
* Reporting API.
|
|
17167
|
+
*
|
|
17168
|
+
* @experimental
|
|
17169
|
+
*/
|
|
17170
|
+
collectJavaScriptCallStack(): (Promise<string>) | (Promise<void>);
|
|
17047
17171
|
/**
|
|
17048
17172
|
* A promise that resolves with the result of the executed code or is rejected if
|
|
17049
17173
|
* execution throws or results in a rejected promise.
|
|
@@ -18528,7 +18652,9 @@ declare namespace Electron {
|
|
|
18528
18652
|
|
|
18529
18653
|
interface ClearDataOptions {
|
|
18530
18654
|
/**
|
|
18531
|
-
* The types of data to clear. By default, this will clear all types of data.
|
|
18655
|
+
* The types of data to clear. By default, this will clear all types of data. This
|
|
18656
|
+
* can potentially include data types not explicitly listed here. (See Chromium's
|
|
18657
|
+
* `BrowsingDataRemover` for the full list.)
|
|
18532
18658
|
*/
|
|
18533
18659
|
dataTypes?: Array<'backgroundFetch' | 'cache' | 'cookies' | 'downloads' | 'fileSystems' | 'indexedDB' | 'localStorage' | 'serviceWorkers' | 'webSQL'>;
|
|
18534
18660
|
/**
|
|
@@ -18550,6 +18676,21 @@ declare namespace Electron {
|
|
|
18550
18676
|
originMatchingMode?: ('third-parties-included' | 'origin-in-all-contexts');
|
|
18551
18677
|
}
|
|
18552
18678
|
|
|
18679
|
+
interface ClearSharedDictionaryCacheForIsolationKeyOptions {
|
|
18680
|
+
/**
|
|
18681
|
+
* The origin of the frame where the request originates. It’s specific to the
|
|
18682
|
+
* individual frame making the request and is defined by its scheme, host, and
|
|
18683
|
+
* port. In practice, will look like a URL.
|
|
18684
|
+
*/
|
|
18685
|
+
frameOrigin: string;
|
|
18686
|
+
/**
|
|
18687
|
+
* The site of the top-level browsing context (the main frame or tab that contains
|
|
18688
|
+
* the request). It’s less granular than `frameOrigin` and focuses on the broader
|
|
18689
|
+
* "site" scope. In practice, will look like a URL.
|
|
18690
|
+
*/
|
|
18691
|
+
topFrameSite: string;
|
|
18692
|
+
}
|
|
18693
|
+
|
|
18553
18694
|
interface ClearStorageDataOptions {
|
|
18554
18695
|
/**
|
|
18555
18696
|
* Should follow `window.location.origin`’s representation `scheme://host:port`.
|
|
@@ -20643,7 +20784,7 @@ declare namespace Electron {
|
|
|
20643
20784
|
/**
|
|
20644
20785
|
* Default is the focused window.
|
|
20645
20786
|
*/
|
|
20646
|
-
window?:
|
|
20787
|
+
window?: BaseWindow;
|
|
20647
20788
|
/**
|
|
20648
20789
|
* Default is the current mouse cursor position. Must be declared if `y` is
|
|
20649
20790
|
* declared.
|
|
@@ -21140,6 +21281,21 @@ declare namespace Electron {
|
|
|
21140
21281
|
name?: string;
|
|
21141
21282
|
}
|
|
21142
21283
|
|
|
21284
|
+
interface SharedDictionaryInfoOptions {
|
|
21285
|
+
/**
|
|
21286
|
+
* The origin of the frame where the request originates. It’s specific to the
|
|
21287
|
+
* individual frame making the request and is defined by its scheme, host, and
|
|
21288
|
+
* port. In practice, will look like a URL.
|
|
21289
|
+
*/
|
|
21290
|
+
frameOrigin: string;
|
|
21291
|
+
/**
|
|
21292
|
+
* The site of the top-level browsing context (the main frame or tab that contains
|
|
21293
|
+
* the request). It’s less granular than `frameOrigin` and focuses on the broader
|
|
21294
|
+
* "site" scope. In practice, will look like a URL.
|
|
21295
|
+
*/
|
|
21296
|
+
topFrameSite: string;
|
|
21297
|
+
}
|
|
21298
|
+
|
|
21143
21299
|
interface SourcesOptions {
|
|
21144
21300
|
/**
|
|
21145
21301
|
* An array of strings that lists the types of desktop sources to be captured,
|
|
@@ -22312,6 +22468,7 @@ declare namespace Electron {
|
|
|
22312
22468
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22313
22469
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22314
22470
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22471
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
22315
22472
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22316
22473
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
22317
22474
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -22433,6 +22590,7 @@ declare namespace Electron {
|
|
|
22433
22590
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
22434
22591
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
22435
22592
|
type Settings = Electron.Settings;
|
|
22593
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
22436
22594
|
type SourcesOptions = Electron.SourcesOptions;
|
|
22437
22595
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
22438
22596
|
type Streams = Electron.Streams;
|
|
@@ -22546,6 +22704,8 @@ declare namespace Electron {
|
|
|
22546
22704
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
22547
22705
|
type SerialPort = Electron.SerialPort;
|
|
22548
22706
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
22707
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
22708
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
22549
22709
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
22550
22710
|
type SharingItem = Electron.SharingItem;
|
|
22551
22711
|
type ShortcutDetails = Electron.ShortcutDetails;
|
|
@@ -22663,6 +22823,7 @@ declare namespace Electron {
|
|
|
22663
22823
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22664
22824
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22665
22825
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22826
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
22666
22827
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22667
22828
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
22668
22829
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -22784,6 +22945,7 @@ declare namespace Electron {
|
|
|
22784
22945
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
22785
22946
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
22786
22947
|
type Settings = Electron.Settings;
|
|
22948
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
22787
22949
|
type SourcesOptions = Electron.SourcesOptions;
|
|
22788
22950
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
22789
22951
|
type Streams = Electron.Streams;
|
|
@@ -22897,6 +23059,8 @@ declare namespace Electron {
|
|
|
22897
23059
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
22898
23060
|
type SerialPort = Electron.SerialPort;
|
|
22899
23061
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
23062
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
23063
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
22900
23064
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
22901
23065
|
type SharingItem = Electron.SharingItem;
|
|
22902
23066
|
type ShortcutDetails = Electron.ShortcutDetails;
|
|
@@ -22946,6 +23110,7 @@ declare namespace Electron {
|
|
|
22946
23110
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22947
23111
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22948
23112
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
23113
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
22949
23114
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22950
23115
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
22951
23116
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -23067,6 +23232,7 @@ declare namespace Electron {
|
|
|
23067
23232
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
23068
23233
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
23069
23234
|
type Settings = Electron.Settings;
|
|
23235
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
23070
23236
|
type SourcesOptions = Electron.SourcesOptions;
|
|
23071
23237
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
23072
23238
|
type Streams = Electron.Streams;
|
|
@@ -23180,6 +23346,8 @@ declare namespace Electron {
|
|
|
23180
23346
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
23181
23347
|
type SerialPort = Electron.SerialPort;
|
|
23182
23348
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
23349
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
23350
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
23183
23351
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
23184
23352
|
type SharingItem = Electron.SharingItem;
|
|
23185
23353
|
type ShortcutDetails = Electron.ShortcutDetails;
|
|
@@ -23226,6 +23394,7 @@ declare namespace Electron {
|
|
|
23226
23394
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
23227
23395
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
23228
23396
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
23397
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
23229
23398
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
23230
23399
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
23231
23400
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -23347,6 +23516,7 @@ declare namespace Electron {
|
|
|
23347
23516
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
23348
23517
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
23349
23518
|
type Settings = Electron.Settings;
|
|
23519
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
23350
23520
|
type SourcesOptions = Electron.SourcesOptions;
|
|
23351
23521
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
23352
23522
|
type Streams = Electron.Streams;
|
|
@@ -23460,6 +23630,8 @@ declare namespace Electron {
|
|
|
23460
23630
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
23461
23631
|
type SerialPort = Electron.SerialPort;
|
|
23462
23632
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
23633
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
23634
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
23463
23635
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
23464
23636
|
type SharingItem = Electron.SharingItem;
|
|
23465
23637
|
type ShortcutDetails = Electron.ShortcutDetails;
|
|
@@ -23594,6 +23766,7 @@ declare namespace Electron {
|
|
|
23594
23766
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
23595
23767
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
23596
23768
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
23769
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
23597
23770
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
23598
23771
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
23599
23772
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -23715,6 +23888,7 @@ declare namespace Electron {
|
|
|
23715
23888
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
23716
23889
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
23717
23890
|
type Settings = Electron.Settings;
|
|
23891
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
23718
23892
|
type SourcesOptions = Electron.SourcesOptions;
|
|
23719
23893
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
23720
23894
|
type Streams = Electron.Streams;
|
|
@@ -23828,6 +24002,8 @@ declare namespace Electron {
|
|
|
23828
24002
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
23829
24003
|
type SerialPort = Electron.SerialPort;
|
|
23830
24004
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
24005
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
24006
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
23831
24007
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
23832
24008
|
type SharingItem = Electron.SharingItem;
|
|
23833
24009
|
type ShortcutDetails = Electron.ShortcutDetails;
|
package/package.json
CHANGED