electron 30.0.1 → 31.0.0-alpha.2
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 +85 -2
- package/package.json +1 -1
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-v31.0.0-alpha.2-darwin-arm64.zip": "18dfdad195aa28bffe43afd851307ef661e2bb9e77226fb86a4ebd20c7ff835f",
|
|
3
|
+
"chromedriver-v31.0.0-alpha.2-darwin-x64.zip": "eb32922db2bbcbda11037fab38d088c677674b60c2be7bf052d10122fe047bfb",
|
|
4
|
+
"chromedriver-v31.0.0-alpha.2-linux-arm64.zip": "45266df8ec12c15c80b97481544f1020df744138989b03c2ab3905f685b82a4f",
|
|
5
|
+
"chromedriver-v31.0.0-alpha.2-linux-armv7l.zip": "9d8b31fbb0ff598f9a1decaa372ff7e333042471e315270a777f8985ce26930b",
|
|
6
|
+
"chromedriver-v31.0.0-alpha.2-linux-x64.zip": "055c9c5a1afe4e10b4b684a8a2b4ca26e8a3f082cfc1787afb2232c03782b808",
|
|
7
|
+
"chromedriver-v31.0.0-alpha.2-mas-arm64.zip": "978e1f91ce71ca2e1c2a2be798d8f5cf60ab8f7abbae9bb39869cb70f42f08a9",
|
|
8
|
+
"chromedriver-v31.0.0-alpha.2-mas-x64.zip": "aceb9f285f70dbcf8f2d5bfb993e2b44fac093087a133eb51335a9415c909b7f",
|
|
9
|
+
"chromedriver-v31.0.0-alpha.2-win32-arm64.zip": "5e682b8244485a7afe69db5106b50c36687662445cd3bf4ea6d82227e2326fad",
|
|
10
|
+
"chromedriver-v31.0.0-alpha.2-win32-ia32.zip": "e8baa30e86571785db08fe4d03616e7e2f998ec527d7f7d36cbf4e4a0d977a0d",
|
|
11
|
+
"chromedriver-v31.0.0-alpha.2-win32-x64.zip": "3c5b4f6f9083927878057fca24f16a33ba523e165f61ca3bfb06f0e80c82ddcd",
|
|
12
|
+
"electron-api.json": "9afc861a65677ef502692d1249d271754b95f8f870569e4b83af3378868de5cd",
|
|
13
|
+
"electron-v31.0.0-alpha.2-darwin-arm64-dsym-snapshot.zip": "0bbecd04684c888c4f8bf75093c1be49e60c99389b493e0c961f6b288b49097b",
|
|
14
|
+
"electron-v31.0.0-alpha.2-darwin-arm64-dsym.zip": "6a921e4bc4608271ff28a1b1e6ce6003c92f727d4bf96fd7f34a218aa08ba6cc",
|
|
15
|
+
"electron-v31.0.0-alpha.2-darwin-arm64-symbols.zip": "1cd8035f3c0288b4812663eb89595a75fc36b87d14cb6cfb7d9ff1333e959c88",
|
|
16
|
+
"electron-v31.0.0-alpha.2-darwin-arm64.zip": "3f1dd4bd1848423864b1caa64d8a4184dac871cd49579988966dc5c8977e3b20",
|
|
17
|
+
"electron-v31.0.0-alpha.2-darwin-x64-dsym-snapshot.zip": "734e978c1f48ff9af84dded5d597b54c31743b6e63e0b4f0891d6f215dbddb62",
|
|
18
|
+
"electron-v31.0.0-alpha.2-darwin-x64-dsym.zip": "5fed7af48e76e06bd3156819e442b433edaf444d3a985caf4afe317b82ab647e",
|
|
19
|
+
"electron-v31.0.0-alpha.2-darwin-x64-symbols.zip": "ffea10fa5405f422dd1b5f691a2aeb21cb238382ac65cf717dae351a0b3c6929",
|
|
20
|
+
"electron-v31.0.0-alpha.2-darwin-x64.zip": "0524d70f38b2748df242af07afce89bf147a1cb82e4814012838498206c83223",
|
|
21
|
+
"electron-v31.0.0-alpha.2-linux-arm64-debug.zip": "c41792f17f6daee903b9be0af5a7f44aff72b655308e407ad1b80e0d41ca356a",
|
|
22
|
+
"electron-v31.0.0-alpha.2-linux-arm64-symbols.zip": "06197f22b18bcd41b35a8322ba357f4c9a1a1343e648283765feae77c9149538",
|
|
23
|
+
"electron-v31.0.0-alpha.2-linux-arm64.zip": "a9eca6f7659aa7379e8b8abb1dd2570bea8646f177ba9379705bd8f51fc6b745",
|
|
24
|
+
"electron-v31.0.0-alpha.2-linux-armv7l-debug.zip": "c41792f17f6daee903b9be0af5a7f44aff72b655308e407ad1b80e0d41ca356a",
|
|
25
|
+
"electron-v31.0.0-alpha.2-linux-armv7l-symbols.zip": "446db6e764bdf9ae270403a14444af1ed8387ba3e575819abf8fe982550f84a6",
|
|
26
|
+
"electron-v31.0.0-alpha.2-linux-armv7l.zip": "d88125adf8a4c0262ff3f13cd2de22b0ed32dab6bf0b5dfd6fcf4b2c002c0f65",
|
|
27
|
+
"electron-v31.0.0-alpha.2-linux-x64-debug.zip": "a91851eea6006481d07f1c630897d1494deb62c41696f5f37546d5db36b9b287",
|
|
28
|
+
"electron-v31.0.0-alpha.2-linux-x64-symbols.zip": "3cf8751ee6f09debfd85bfa24ff70d33643a16072f8d1fda58de33739f9d775c",
|
|
29
|
+
"electron-v31.0.0-alpha.2-linux-x64.zip": "e4563587eb428af2e2486f4bab0d8ba616ccffff09ab801f2a550c314ff71e80",
|
|
30
|
+
"electron-v31.0.0-alpha.2-mas-arm64-dsym-snapshot.zip": "b2969e57512ff0db362d9c4f21668fe719ea935a11c6a05a370c83e450635a6c",
|
|
31
|
+
"electron-v31.0.0-alpha.2-mas-arm64-dsym.zip": "f1f28d227192fe0be72fdc71f88d15073136386f1e7fbe2812bf5715f222a6b5",
|
|
32
|
+
"electron-v31.0.0-alpha.2-mas-arm64-symbols.zip": "66cebccc3ea9ac666d6e60e188b36614c68c36aeb4cebec45771fff6f583dadd",
|
|
33
|
+
"electron-v31.0.0-alpha.2-mas-arm64.zip": "0344ba6291ded901563cc9e09d8e4c4a9ab60c919adf40befe2c0e8e9942566b",
|
|
34
|
+
"electron-v31.0.0-alpha.2-mas-x64-dsym-snapshot.zip": "ff037b3b24117a390a25e42f1fb99756e9d9843d6aae4a90873f1e8b693c1e24",
|
|
35
|
+
"electron-v31.0.0-alpha.2-mas-x64-dsym.zip": "6f159da1f8b81ce4e48e9fc175a7968549f15c668c3d56fc36ebb0ccc142d9df",
|
|
36
|
+
"electron-v31.0.0-alpha.2-mas-x64-symbols.zip": "2f742219a1230a97d0b5917c532f7d91b0d8c4184496a22f581dbcb0a392ebff",
|
|
37
|
+
"electron-v31.0.0-alpha.2-mas-x64.zip": "42b77c8d769035602647c7aa221070abfeed979945afacd8b2e03b1bf47eecc1",
|
|
38
|
+
"electron-v31.0.0-alpha.2-win32-arm64-pdb.zip": "f35553790da6180466446bb27f238a98969f786d85cd77726d6f3ccf59444b63",
|
|
39
|
+
"electron-v31.0.0-alpha.2-win32-arm64-symbols.zip": "82b64b5ef2fc11311a41591b1855f1cf8c493dedb3ed91f730e5b693a866bed0",
|
|
40
|
+
"electron-v31.0.0-alpha.2-win32-arm64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
41
|
+
"electron-v31.0.0-alpha.2-win32-arm64.zip": "315e82f3115fe76ee385991637896b5003a09ac26ed8aa770bcae196f4c551c1",
|
|
42
|
+
"electron-v31.0.0-alpha.2-win32-ia32-pdb.zip": "978aae9f7b7f7a7a2030fa8391ae986f17dfa294403bbed8f98e8be2af24735c",
|
|
43
|
+
"electron-v31.0.0-alpha.2-win32-ia32-symbols.zip": "a5827bbceb48ed6fe4b54e40f0fea622531d8a11ae430a904aceb9064b3ac294",
|
|
44
|
+
"electron-v31.0.0-alpha.2-win32-ia32-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
45
|
+
"electron-v31.0.0-alpha.2-win32-ia32.zip": "d7313b0dcfc024c91a7b096e4a5ad0b468d120f8406d7018a4a0c5d147b45666",
|
|
46
|
+
"electron-v31.0.0-alpha.2-win32-x64-pdb.zip": "51f9a5bb91e0c6dfb4fd61e949d5cd7c4be5432d0adc4ea0bf7b82a3dad9d69a",
|
|
47
|
+
"electron-v31.0.0-alpha.2-win32-x64-symbols.zip": "d26c222977daad78f67044db7f0e57089f6b31cf75ff1b63e8240992f1efba84",
|
|
48
|
+
"electron-v31.0.0-alpha.2-win32-x64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
49
|
+
"electron-v31.0.0-alpha.2-win32-x64.zip": "60f1748dad829ad3556687f09eec2d140ddf19a67104e3b2b54633f18a1af975",
|
|
50
|
+
"electron.d.ts": "1aea93a47cd7fe040be2ba7987ec2e051c4ad70e34737127101ad14fedd9d4f0",
|
|
51
|
+
"ffmpeg-v31.0.0-alpha.2-darwin-arm64.zip": "585e5759122807cf9d24e301637883caed09bb0a769bba97aa01d87cc157e83c",
|
|
52
|
+
"ffmpeg-v31.0.0-alpha.2-darwin-x64.zip": "1169b12b9d4b53f595d12163dc4c0271dbb4ee76057c1b3318cef3c6d054f29b",
|
|
53
|
+
"ffmpeg-v31.0.0-alpha.2-linux-arm64.zip": "2ab72d32691aaafc8035fa0a455c1b2d2dea6eca9b8919782e7173c7470d47db",
|
|
54
|
+
"ffmpeg-v31.0.0-alpha.2-linux-armv7l.zip": "a24396bf27b4cd67d0d7f6d39bb447c3325ddb3030a04e940d507a2bed700186",
|
|
55
|
+
"ffmpeg-v31.0.0-alpha.2-linux-x64.zip": "d71329d77bb5ea86d745624990e808b941558114ced7bdf27a7cc568336bd46a",
|
|
56
|
+
"ffmpeg-v31.0.0-alpha.2-mas-arm64.zip": "23574b6d5799942dbead8240b2e3a04b8b4ddbfc0c4cab07a2c1cb3e8135908b",
|
|
57
|
+
"ffmpeg-v31.0.0-alpha.2-mas-x64.zip": "715b86a4f7ddeaff8d08b80d7daa22f79273c50bc588546bc420e66597e8b1a5",
|
|
58
|
+
"ffmpeg-v31.0.0-alpha.2-win32-arm64.zip": "3d6f8d99655591b67be20a4a4b12ac5e825541857f3564ef078de2279340b841",
|
|
59
|
+
"ffmpeg-v31.0.0-alpha.2-win32-ia32.zip": "64dd75d060922eabb257c129697215ecb58e79dd5a559f090a2f558e65e598d7",
|
|
60
|
+
"ffmpeg-v31.0.0-alpha.2-win32-x64.zip": "eaa3a5da1d4e06708bcf0bdfbb7aab2494d70ff64a7c055433921e55ba8ed3fc",
|
|
61
|
+
"hunspell_dictionaries.zip": "1de307205ab17fa24a0eee8c47258ee75f9b12291a224111633f8b17f5b086f9",
|
|
62
|
+
"libcxx-objects-v31.0.0-alpha.2-linux-arm64.zip": "8b86753e2e66edcdb3ad7ca00df23b433744c99d65bf94e83928ccc1c54e8185",
|
|
63
|
+
"libcxx-objects-v31.0.0-alpha.2-linux-armv7l.zip": "1b41a10d3fbd0cc67ac7bf6892c30cdb84e4dc4c7a5a9a074636c559de8fdc8e",
|
|
64
|
+
"libcxx-objects-v31.0.0-alpha.2-linux-x64.zip": "81606a0a327d5b3a7bbf90ead85af3ffca37e1c04c3eb0ca01f1640129073085",
|
|
65
|
+
"libcxx_headers.zip": "02e5de3b3f796144d5cbfd2fb928ebdb54c68367ae6c8b215bce2a5d86d8a33c",
|
|
66
|
+
"libcxxabi_headers.zip": "3ab97cbfec2dad6c003a808987b47e7f649feb81273e70c32db2481b9929aea2",
|
|
67
|
+
"mksnapshot-v31.0.0-alpha.2-darwin-arm64.zip": "00ea3b3d5a4c9f8f2f3fc981be6146cee5f8412131b7707995dc7ebc178a6853",
|
|
68
|
+
"mksnapshot-v31.0.0-alpha.2-darwin-x64.zip": "98bf09532df3e8ab5d3be5f263d047ea2ccb460d39da08a46c97fa6f1426af58",
|
|
69
|
+
"mksnapshot-v31.0.0-alpha.2-linux-arm64-x64.zip": "82d2aeae96006f620eb68ed70ee045441fdeaae6f2ae11c6696cd5f1d9ec7e56",
|
|
70
|
+
"mksnapshot-v31.0.0-alpha.2-linux-armv7l-x64.zip": "67381c61a73de96e66b44bc2c4ea2d282d7ca5fa6f368201bf4bb7a90f3137bd",
|
|
71
|
+
"mksnapshot-v31.0.0-alpha.2-linux-x64.zip": "fc5d10cbb0599e898bd19128bd110dd73d657b14a55b47ceb956f2d112246558",
|
|
72
|
+
"mksnapshot-v31.0.0-alpha.2-mas-arm64.zip": "d2f146998feab5d38ea1b4330ad6a3022dfd4659ee2a8334b4e3b5332472c64f",
|
|
73
|
+
"mksnapshot-v31.0.0-alpha.2-mas-x64.zip": "b50e209f8736a596a9ba65a020f232ada2feb1fe704025742d0d24a132b09541",
|
|
74
|
+
"mksnapshot-v31.0.0-alpha.2-win32-arm64-x64.zip": "c576b361ecf094771efd52b737366b7203acf0fe1190f3c193c14af7c84e685b",
|
|
75
|
+
"mksnapshot-v31.0.0-alpha.2-win32-ia32.zip": "8f58e235b7bed02520922dad9525c9a06c8add09166e818eee98e2d339087ffe",
|
|
76
|
+
"mksnapshot-v31.0.0-alpha.2-win32-x64.zip": "3b5903b7b596b7b4c5e7cec6ec6ec1427d07a32dcf9dd144c03b115bcc3ffa21"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 31.0.0-alpha.2
|
|
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
|
|
@@ -11471,6 +11471,25 @@ declare namespace Electron {
|
|
|
11471
11471
|
* resolves when the code cache clear operation is complete.
|
|
11472
11472
|
*/
|
|
11473
11473
|
clearCodeCaches(options: ClearCodeCachesOptions): Promise<void>;
|
|
11474
|
+
/**
|
|
11475
|
+
* resolves when all data has been cleared.
|
|
11476
|
+
*
|
|
11477
|
+
* Clears various different types of data.
|
|
11478
|
+
*
|
|
11479
|
+
* This method clears more types of data and is more thourough than the
|
|
11480
|
+
* `clearStorageData` method.
|
|
11481
|
+
*
|
|
11482
|
+
* **Note:** Cookies are stored at a broader scope than origins. When removing
|
|
11483
|
+
* cookies and filtering by `origins` (or `excludeOrigins`), the cookies will be
|
|
11484
|
+
* removed at the registrable domain level. For example, clearing cookies for the
|
|
11485
|
+
* origin `https://really.specific.origin.example.com/` will end up clearing all
|
|
11486
|
+
* cookies for `example.com`. Clearing cookies for the origin
|
|
11487
|
+
* `https://my.website.example.co.uk/` will end up clearing all cookies for
|
|
11488
|
+
* `example.co.uk`.
|
|
11489
|
+
*
|
|
11490
|
+
* For more information, refer to Chromium's `BrowsingDataRemover` interface.
|
|
11491
|
+
*/
|
|
11492
|
+
clearData(options?: ClearDataOptions): Promise<void>;
|
|
11474
11493
|
/**
|
|
11475
11494
|
* Resolves when the operation is complete.
|
|
11476
11495
|
*
|
|
@@ -16297,8 +16316,11 @@ declare namespace Electron {
|
|
|
16297
16316
|
* by `window.open()`, a link with `target="_blank"`, shift+clicking on a link, or
|
|
16298
16317
|
* submitting a form with `<form target="_blank">`. See `window.open()` for more
|
|
16299
16318
|
* details and how to use this in conjunction with `did-create-window`.
|
|
16319
|
+
*
|
|
16320
|
+
* An example showing how to customize the process of new `BrowserWindow` creation
|
|
16321
|
+
* to be `BrowserView` attached to main window instead:
|
|
16300
16322
|
*/
|
|
16301
|
-
setWindowOpenHandler(handler: (details: HandlerDetails) =>
|
|
16323
|
+
setWindowOpenHandler(handler: (details: HandlerDetails) => WindowOpenHandlerResponse): void;
|
|
16302
16324
|
/**
|
|
16303
16325
|
* Changes the zoom factor to the specified factor. Zoom factor is zoom percent
|
|
16304
16326
|
* divided by 100, so 300% = 3.0.
|
|
@@ -17903,6 +17925,33 @@ declare namespace Electron {
|
|
|
17903
17925
|
webpreferences?: ('transparent');
|
|
17904
17926
|
}
|
|
17905
17927
|
|
|
17928
|
+
interface WindowOpenHandlerResponse {
|
|
17929
|
+
|
|
17930
|
+
// Docs: https://electronjs.org/docs/api/structures/window-open-handler-response
|
|
17931
|
+
|
|
17932
|
+
/**
|
|
17933
|
+
* Can be `allow` or `deny`. Controls whether new window should be created.
|
|
17934
|
+
*/
|
|
17935
|
+
action: ('allow' | 'deny');
|
|
17936
|
+
/**
|
|
17937
|
+
* If specified, will be called instead of `new BrowserWindow` to create the new
|
|
17938
|
+
* child window and event `did-create-window` will not be emitted. Constructed
|
|
17939
|
+
* child window should use passed `options` object. This can be used for example to
|
|
17940
|
+
* have the new window open as a BrowserView instead of in a separate window.
|
|
17941
|
+
*/
|
|
17942
|
+
createWindow?: (options: BrowserWindowConstructorOptions) => WebContents;
|
|
17943
|
+
/**
|
|
17944
|
+
* By default, child windows are closed when their opener is closed. This can be
|
|
17945
|
+
* changed by specifying `outlivesOpener: true`, in which case the opened window
|
|
17946
|
+
* will not be closed when its opener is closed.
|
|
17947
|
+
*/
|
|
17948
|
+
outlivesOpener?: boolean;
|
|
17949
|
+
/**
|
|
17950
|
+
* Allows customization of the created window.
|
|
17951
|
+
*/
|
|
17952
|
+
overrideBrowserWindowOptions?: BrowserWindowConstructorOptions;
|
|
17953
|
+
}
|
|
17954
|
+
|
|
17906
17955
|
interface AboutPanelOptionsOptions {
|
|
17907
17956
|
/**
|
|
17908
17957
|
* The app's name.
|
|
@@ -18151,6 +18200,30 @@ declare namespace Electron {
|
|
|
18151
18200
|
urls?: string[];
|
|
18152
18201
|
}
|
|
18153
18202
|
|
|
18203
|
+
interface ClearDataOptions {
|
|
18204
|
+
/**
|
|
18205
|
+
* The types of data to clear. By default, this will clear all types of data.
|
|
18206
|
+
*/
|
|
18207
|
+
dataTypes?: Array<'backgroundFetch' | 'cache' | 'cookies' | 'downloads' | 'fileSystems' | 'indexedDB' | 'localStorage' | 'serviceWorkers' | 'webSQL'>;
|
|
18208
|
+
/**
|
|
18209
|
+
* Clear data for only these origins. Cannot be used with `excludeOrigins`.
|
|
18210
|
+
*/
|
|
18211
|
+
origins?: string[];
|
|
18212
|
+
/**
|
|
18213
|
+
* Clear data for all origins except these ones. Cannot be used with `origins`.
|
|
18214
|
+
*/
|
|
18215
|
+
excludeOrigins?: string[];
|
|
18216
|
+
/**
|
|
18217
|
+
* Skips deleting cookies that would close current network connections. (Default:
|
|
18218
|
+
* `false`)
|
|
18219
|
+
*/
|
|
18220
|
+
avoidClosingConnections?: boolean;
|
|
18221
|
+
/**
|
|
18222
|
+
* The behavior for matching data to origins.
|
|
18223
|
+
*/
|
|
18224
|
+
originMatchingMode?: ('third-parties-included' | 'origin-in-all-contexts');
|
|
18225
|
+
}
|
|
18226
|
+
|
|
18154
18227
|
interface ClearStorageDataOptions {
|
|
18155
18228
|
/**
|
|
18156
18229
|
* Should follow `window.location.origin`’s representation `scheme://host:port`.
|
|
@@ -21700,6 +21773,7 @@ declare namespace Electron {
|
|
|
21700
21773
|
type CallbackResponse = Electron.CallbackResponse;
|
|
21701
21774
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
21702
21775
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
21776
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
21703
21777
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
21704
21778
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
21705
21779
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -21941,6 +22015,7 @@ declare namespace Electron {
|
|
|
21941
22015
|
type WebPreferences = Electron.WebPreferences;
|
|
21942
22016
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
21943
22017
|
type WebSource = Electron.WebSource;
|
|
22018
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
21944
22019
|
}
|
|
21945
22020
|
|
|
21946
22021
|
namespace Main {
|
|
@@ -22039,6 +22114,7 @@ declare namespace Electron {
|
|
|
22039
22114
|
type CallbackResponse = Electron.CallbackResponse;
|
|
22040
22115
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22041
22116
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22117
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22042
22118
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22043
22119
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
22044
22120
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -22280,6 +22356,7 @@ declare namespace Electron {
|
|
|
22280
22356
|
type WebPreferences = Electron.WebPreferences;
|
|
22281
22357
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
22282
22358
|
type WebSource = Electron.WebSource;
|
|
22359
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
22283
22360
|
}
|
|
22284
22361
|
|
|
22285
22362
|
namespace Renderer {
|
|
@@ -22310,6 +22387,7 @@ declare namespace Electron {
|
|
|
22310
22387
|
type CallbackResponse = Electron.CallbackResponse;
|
|
22311
22388
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22312
22389
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22390
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22313
22391
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22314
22392
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
22315
22393
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -22551,6 +22629,7 @@ declare namespace Electron {
|
|
|
22551
22629
|
type WebPreferences = Electron.WebPreferences;
|
|
22552
22630
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
22553
22631
|
type WebSource = Electron.WebSource;
|
|
22632
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
22554
22633
|
}
|
|
22555
22634
|
|
|
22556
22635
|
namespace Utility {
|
|
@@ -22576,6 +22655,7 @@ declare namespace Electron {
|
|
|
22576
22655
|
type CallbackResponse = Electron.CallbackResponse;
|
|
22577
22656
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22578
22657
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22658
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22579
22659
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22580
22660
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
22581
22661
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -22817,6 +22897,7 @@ declare namespace Electron {
|
|
|
22817
22897
|
type WebPreferences = Electron.WebPreferences;
|
|
22818
22898
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
22819
22899
|
type WebSource = Electron.WebSource;
|
|
22900
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
22820
22901
|
}
|
|
22821
22902
|
|
|
22822
22903
|
namespace CrossProcessExports {
|
|
@@ -22932,6 +23013,7 @@ declare namespace Electron {
|
|
|
22932
23013
|
type CallbackResponse = Electron.CallbackResponse;
|
|
22933
23014
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22934
23015
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
23016
|
+
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22935
23017
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22936
23018
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
22937
23019
|
type CloseOpts = Electron.CloseOpts;
|
|
@@ -23173,6 +23255,7 @@ declare namespace Electron {
|
|
|
23173
23255
|
type WebPreferences = Electron.WebPreferences;
|
|
23174
23256
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
23175
23257
|
type WebSource = Electron.WebSource;
|
|
23258
|
+
type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
|
|
23176
23259
|
}
|
|
23177
23260
|
|
|
23178
23261
|
const app: App;
|
package/package.json
CHANGED