electron 33.2.1 → 33.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +187 -9
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v33.
|
|
3
|
-
"chromedriver-v33.
|
|
4
|
-
"chromedriver-v33.
|
|
5
|
-
"chromedriver-v33.
|
|
6
|
-
"chromedriver-v33.
|
|
7
|
-
"chromedriver-v33.
|
|
8
|
-
"chromedriver-v33.
|
|
9
|
-
"chromedriver-v33.
|
|
10
|
-
"chromedriver-v33.
|
|
11
|
-
"chromedriver-v33.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v33.
|
|
14
|
-
"electron-v33.
|
|
15
|
-
"electron-v33.
|
|
16
|
-
"electron-v33.
|
|
17
|
-
"electron-v33.
|
|
18
|
-
"electron-v33.
|
|
19
|
-
"electron-v33.
|
|
20
|
-
"electron-v33.
|
|
21
|
-
"electron-v33.
|
|
22
|
-
"electron-v33.
|
|
23
|
-
"electron-v33.
|
|
24
|
-
"electron-v33.
|
|
25
|
-
"electron-v33.
|
|
26
|
-
"electron-v33.
|
|
27
|
-
"electron-v33.
|
|
28
|
-
"electron-v33.
|
|
29
|
-
"electron-v33.
|
|
30
|
-
"electron-v33.
|
|
31
|
-
"electron-v33.
|
|
32
|
-
"electron-v33.
|
|
33
|
-
"electron-v33.
|
|
34
|
-
"electron-v33.
|
|
35
|
-
"electron-v33.
|
|
36
|
-
"electron-v33.
|
|
37
|
-
"electron-v33.
|
|
38
|
-
"electron-v33.
|
|
39
|
-
"electron-v33.
|
|
40
|
-
"electron-v33.
|
|
41
|
-
"electron-v33.
|
|
42
|
-
"electron-v33.
|
|
43
|
-
"electron-v33.
|
|
44
|
-
"electron-v33.
|
|
45
|
-
"electron-v33.
|
|
46
|
-
"electron-v33.
|
|
47
|
-
"electron-v33.
|
|
48
|
-
"electron-v33.
|
|
49
|
-
"electron-v33.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v33.
|
|
52
|
-
"ffmpeg-v33.
|
|
53
|
-
"ffmpeg-v33.
|
|
54
|
-
"ffmpeg-v33.
|
|
55
|
-
"ffmpeg-v33.
|
|
56
|
-
"ffmpeg-v33.
|
|
57
|
-
"ffmpeg-v33.
|
|
58
|
-
"ffmpeg-v33.
|
|
59
|
-
"ffmpeg-v33.
|
|
60
|
-
"ffmpeg-v33.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v33.
|
|
63
|
-
"libcxx-objects-v33.
|
|
64
|
-
"libcxx-objects-v33.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v33.
|
|
68
|
-
"mksnapshot-v33.
|
|
69
|
-
"mksnapshot-v33.
|
|
70
|
-
"mksnapshot-v33.
|
|
71
|
-
"mksnapshot-v33.
|
|
72
|
-
"mksnapshot-v33.
|
|
73
|
-
"mksnapshot-v33.
|
|
74
|
-
"mksnapshot-v33.
|
|
75
|
-
"mksnapshot-v33.
|
|
76
|
-
"mksnapshot-v33.
|
|
2
|
+
"chromedriver-v33.3.1-darwin-arm64.zip": "c2b4a3bb8a609e5272db39321d567f900eed1c2284eda89d7a4c41557e5b9ba3",
|
|
3
|
+
"chromedriver-v33.3.1-darwin-x64.zip": "c3c0cb8eec909cad52eb9f6b2d9ff2bffc9d2246f37280eb44ffc45fdb6b4861",
|
|
4
|
+
"chromedriver-v33.3.1-linux-arm64.zip": "4b08bd54413a72d1a991f427cc8d27c313def385431f7e045e5b3efbbc880e39",
|
|
5
|
+
"chromedriver-v33.3.1-linux-armv7l.zip": "f84e71d37358d574fee6519c8dc1335c52bb783d92c2fa92c2fb4a48f9661413",
|
|
6
|
+
"chromedriver-v33.3.1-linux-x64.zip": "6e288cf2be3ceba26bec0cb1f86504574326bacd933a5da208dabef111abde6d",
|
|
7
|
+
"chromedriver-v33.3.1-mas-arm64.zip": "6c949b6fdd89513da38285d5a051b055181daebd66d74891102bc9ecfc2d7e58",
|
|
8
|
+
"chromedriver-v33.3.1-mas-x64.zip": "1bf5de174a38b01df9931b8cb989c42a4c0628dc0d7343ac61327bef4d60e7c3",
|
|
9
|
+
"chromedriver-v33.3.1-win32-arm64.zip": "4b4a17631767a2e69c636bb61fe9f30c0979840cbf5a55502a34ca7f7304c4e9",
|
|
10
|
+
"chromedriver-v33.3.1-win32-ia32.zip": "18dda1fc904b6e4f085722621787242870659ec89a2a18054b16c45cae5e352a",
|
|
11
|
+
"chromedriver-v33.3.1-win32-x64.zip": "d050fc2eb5a854ec304cb13825d85b508b84045f56ac10b83517bce36c0cbcf9",
|
|
12
|
+
"electron-api.json": "5f4c364a203f0e397ef22bd1d3ab67bd7818c9da9c73ae502bf59895baee9536",
|
|
13
|
+
"electron-v33.3.1-darwin-arm64-dsym-snapshot.zip": "00204186e3cb7b023837cda82d83e8bd99d0a2d07f9cbabea3a680b043637cef",
|
|
14
|
+
"electron-v33.3.1-darwin-arm64-dsym.zip": "3f9abc47fba094e19968eb43854fa2f2e43c0a13f2bb9066f0a8bdc548e0768a",
|
|
15
|
+
"electron-v33.3.1-darwin-arm64-symbols.zip": "3e3fa945401cb96cc826eabdba561bb34485b7aa10ee61be0f92281117bc33e1",
|
|
16
|
+
"electron-v33.3.1-darwin-arm64.zip": "f5886daefc3ea8851a087eafd23826337f97e0e921256a70f887c8acc8128bca",
|
|
17
|
+
"electron-v33.3.1-darwin-x64-dsym-snapshot.zip": "63689ff6efba5de486de6f76f524df741fac97a9956ecfbf62c1ac5b19bf7361",
|
|
18
|
+
"electron-v33.3.1-darwin-x64-dsym.zip": "ec068dfceb98dd1e4e18c5aeb2009551a5dda577164cc7ed95039adf7dde5c1e",
|
|
19
|
+
"electron-v33.3.1-darwin-x64-symbols.zip": "5809e35006b70fd6d2212c2cfb9181d2caf1e985e80370d97b666c4934df5617",
|
|
20
|
+
"electron-v33.3.1-darwin-x64.zip": "2d6015ff12c8b712b7e928dd163c1fd0e4c988665ce626c441ceb97753d48e1d",
|
|
21
|
+
"electron-v33.3.1-linux-arm64-debug.zip": "20e175ce97ef5aa81c20e1d5d0f2d7c6fab09c68dbdc73bcb95439e2f940a1e0",
|
|
22
|
+
"electron-v33.3.1-linux-arm64-symbols.zip": "a0bf1dba66fa00becfcfb8af7c428a2d4cbe5e69896b70ddd210e17e0246e5c7",
|
|
23
|
+
"electron-v33.3.1-linux-arm64.zip": "b428ecca13d4ffc05c28e28759a310f317e4e89b05e9a30ba07e0d58fbaedef5",
|
|
24
|
+
"electron-v33.3.1-linux-armv7l-debug.zip": "20e175ce97ef5aa81c20e1d5d0f2d7c6fab09c68dbdc73bcb95439e2f940a1e0",
|
|
25
|
+
"electron-v33.3.1-linux-armv7l-symbols.zip": "98e8378e9f61bddfe1755cf37be32c657fe8104b426cbf67e8e9fbb78758a25b",
|
|
26
|
+
"electron-v33.3.1-linux-armv7l.zip": "e9e74509304e87a889bc59fe86eb2efc901d3c43b02d18acd5a9ba07800334a5",
|
|
27
|
+
"electron-v33.3.1-linux-x64-debug.zip": "d9ad492a2c2154895041d0a496b0571163743ff1c9fa99119e34b0199600b9d2",
|
|
28
|
+
"electron-v33.3.1-linux-x64-symbols.zip": "4a5bed542638b9a0146554605b44ae2b22d1189b849c9a87700287ade5d8d3e3",
|
|
29
|
+
"electron-v33.3.1-linux-x64.zip": "cdca6f9ec2f98708dcbcb8baba3d0521e15ed4e5aab68b2d1c6668f99faafc38",
|
|
30
|
+
"electron-v33.3.1-mas-arm64-dsym-snapshot.zip": "5212aa43f7360fe98680ee42762e1ccb642478da8d40c1af7c1d52aff1160c7b",
|
|
31
|
+
"electron-v33.3.1-mas-arm64-dsym.zip": "c5a83158b0c612233d7ebc973706f85233833323379eb3eeefb696c649644261",
|
|
32
|
+
"electron-v33.3.1-mas-arm64-symbols.zip": "19b6f306a3e488d7dda049ba252f85d392d2636667f8f76c2cadee96069edd82",
|
|
33
|
+
"electron-v33.3.1-mas-arm64.zip": "8b3c506ea04476cf1f5689682824115f7b1e1fcf6ee0fab8b4036fdeaf3181e3",
|
|
34
|
+
"electron-v33.3.1-mas-x64-dsym-snapshot.zip": "a2d3e6288029a13b70b9ff7b4b4f17b855cb53e2ac6776a7a9114506d6daee87",
|
|
35
|
+
"electron-v33.3.1-mas-x64-dsym.zip": "f86b097e302742141208a929b24f275b6c316a30ff7632cc18f839993e321474",
|
|
36
|
+
"electron-v33.3.1-mas-x64-symbols.zip": "c3674d77ed440944505622a66cefebeb004504969118481bbaddc4eb8372e3a4",
|
|
37
|
+
"electron-v33.3.1-mas-x64.zip": "176a5942b5c913a84c132f924162250d8099c8cd6d57d9036d0035e44916b496",
|
|
38
|
+
"electron-v33.3.1-win32-arm64-pdb.zip": "487680a4cd9adb7f6d50e8e72a21aea2b52a42995f9db03eb688883ebb808b82",
|
|
39
|
+
"electron-v33.3.1-win32-arm64-symbols.zip": "c470e8c93bc10c73e8b7df8df604eba2ab128e242dca97ca6af915d5e0177390",
|
|
40
|
+
"electron-v33.3.1-win32-arm64-toolchain-profile.zip": "48b81d28fdceb4ab3ca27650d79bab910a1a19dbda72271882bfdc877c71975f",
|
|
41
|
+
"electron-v33.3.1-win32-arm64.zip": "b7431061bfc7a63e062dfde500c0061926f4a40bc3e2fff9bf33eb0a5df52550",
|
|
42
|
+
"electron-v33.3.1-win32-ia32-pdb.zip": "9d0720a0f6342985dab7559cf85560f2a15e0f5302a2d6c693660c0529b0f431",
|
|
43
|
+
"electron-v33.3.1-win32-ia32-symbols.zip": "83044657afb080bad1ee2c84900d08f472a46cbb1d17f749b3b12eac6ed777f8",
|
|
44
|
+
"electron-v33.3.1-win32-ia32-toolchain-profile.zip": "48b81d28fdceb4ab3ca27650d79bab910a1a19dbda72271882bfdc877c71975f",
|
|
45
|
+
"electron-v33.3.1-win32-ia32.zip": "c252746d34cfa7f7ca7724241a5deffc0f2ceaffbd610d9fff0119440c3ad173",
|
|
46
|
+
"electron-v33.3.1-win32-x64-pdb.zip": "38c55030f2ca8e9c99edc231be24c60a11faabfd19ef14d944aac53aa3f5bf90",
|
|
47
|
+
"electron-v33.3.1-win32-x64-symbols.zip": "a3b8132084e5276e7487dad14aa1ac6567caa84c5f685fe7987f213146e86b2b",
|
|
48
|
+
"electron-v33.3.1-win32-x64-toolchain-profile.zip": "48b81d28fdceb4ab3ca27650d79bab910a1a19dbda72271882bfdc877c71975f",
|
|
49
|
+
"electron-v33.3.1-win32-x64.zip": "be72dd21104ec30105597684f535e7f97ce903f1f208b0b97d650bd3e0d961c9",
|
|
50
|
+
"electron.d.ts": "49f9deef60dc828a2b9083350ed571ce433d11d8e48648113feb3d100cb4c90d",
|
|
51
|
+
"ffmpeg-v33.3.1-darwin-arm64.zip": "ffb43683c7d33eaba39c854982078757dfcce5010d2c108514480494d5f7bf8e",
|
|
52
|
+
"ffmpeg-v33.3.1-darwin-x64.zip": "ff099bbb5741e01bd332e00d725b33dd948da86a26359c18ed47b8795ab67d22",
|
|
53
|
+
"ffmpeg-v33.3.1-linux-arm64.zip": "b73537aca0bdbd33c3f5d71b766e9c24702d52b2944b6c540585fab944b0a817",
|
|
54
|
+
"ffmpeg-v33.3.1-linux-armv7l.zip": "7ee1784779348f278bb68045a0f8fea2fce4b894d037bdbffc9d522813f7ea2b",
|
|
55
|
+
"ffmpeg-v33.3.1-linux-x64.zip": "a4da8899f44371b05f7d61e8031b930304ec9c6232bd7f1f50420e1eeb0e8088",
|
|
56
|
+
"ffmpeg-v33.3.1-mas-arm64.zip": "268c515d3456b1e7b1406f562881aa4dcdd1c75cd80f818e89e906349f110f69",
|
|
57
|
+
"ffmpeg-v33.3.1-mas-x64.zip": "c6560fca1d1bdc48ed54c605469fda07029c718b63c29d6474c96e5ee4da5278",
|
|
58
|
+
"ffmpeg-v33.3.1-win32-arm64.zip": "e33a294e22a8fc68501c341b5e2da20b689874978a0c20adf21bb493b6934de9",
|
|
59
|
+
"ffmpeg-v33.3.1-win32-ia32.zip": "33eeeb04f01f35f5ac89d98b3c28bb06b00c52724eb7eb9230b5eae323f10f7f",
|
|
60
|
+
"ffmpeg-v33.3.1-win32-x64.zip": "448ddb80426d300f8a652ac7f6d901431841f0a5bc5f9e9d1dfaa38ea9e51eb1",
|
|
61
|
+
"hunspell_dictionaries.zip": "223c8cb86e5369a894fe69ef4d170f96a52d12254d3b39a02911bdd2640c588d",
|
|
62
|
+
"libcxx-objects-v33.3.1-linux-arm64.zip": "765110e679b1212203627d74959bbbd93be3af323683f60efc563bad534c8bd2",
|
|
63
|
+
"libcxx-objects-v33.3.1-linux-armv7l.zip": "1182f1a8bedea736bd8984f5e4ed147a6e6d1603aafdd393d052f4a16d8fa379",
|
|
64
|
+
"libcxx-objects-v33.3.1-linux-x64.zip": "12d5413085b83ba8906956858cad6bc832a95ce9bbc1b1f365108f2a302e1d36",
|
|
65
|
+
"libcxx_headers.zip": "9ea01df406a074d1dae4308bc0d2169051f5b69cbdc55a0043f104e380ee5220",
|
|
66
|
+
"libcxxabi_headers.zip": "4566afb06a6dd8bd895dba5350a5705868203321116a1ae0a216d5a4a6bfb289",
|
|
67
|
+
"mksnapshot-v33.3.1-darwin-arm64.zip": "4c71f024d695dfc9f7c646803f8c1191df2371425d046026948bfedee24c6def",
|
|
68
|
+
"mksnapshot-v33.3.1-darwin-x64.zip": "efb65692cc486a82525ac3fadadca2e1df666a45d6cffa76f49b93421929ffc5",
|
|
69
|
+
"mksnapshot-v33.3.1-linux-arm64-x64.zip": "d37a0e5a4a668d00f28e070e0b9b541fb35e2b4bd8b0479d1c7bfb0e533952c0",
|
|
70
|
+
"mksnapshot-v33.3.1-linux-armv7l-x64.zip": "5f6977f7a5b36e0fb9fe7d83af94e9096bef36b2302e22fc5f354bc6a113a699",
|
|
71
|
+
"mksnapshot-v33.3.1-linux-x64.zip": "f3b8917392860c52be959abcb257efd6f758830e9cf06299c07020a131f601da",
|
|
72
|
+
"mksnapshot-v33.3.1-mas-arm64.zip": "fd5bb16d987bca9092426af2d1bf70d95bc641345d6e589ecfacff9dee4cefba",
|
|
73
|
+
"mksnapshot-v33.3.1-mas-x64.zip": "b193cfe9019741b38af6cb6882231be1d705bb664fb9e2be2da478fca090134d",
|
|
74
|
+
"mksnapshot-v33.3.1-win32-arm64-x64.zip": "56e14421cf1a2f47b8e53e8e7c7af47caa034e10a06852285df2fc1fa5d313da",
|
|
75
|
+
"mksnapshot-v33.3.1-win32-ia32.zip": "ddba013c15886e8a63da1a87d56425665d77e68b9a89886d345da108851f0b2c",
|
|
76
|
+
"mksnapshot-v33.3.1-win32-x64.zip": "df4709197b06c46ee1fc24f2ec5962589ebbf2f1fcfb6a924a3bc93404236996"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 33.
|
|
1
|
+
// Type definitions for Electron 33.3.1
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -8680,9 +8680,9 @@ declare namespace Electron {
|
|
|
8680
8680
|
*/
|
|
8681
8681
|
append(menuItem: MenuItem): void;
|
|
8682
8682
|
/**
|
|
8683
|
-
* Closes the context menu in the `
|
|
8683
|
+
* Closes the context menu in the `window`.
|
|
8684
8684
|
*/
|
|
8685
|
-
closePopup(
|
|
8685
|
+
closePopup(window?: BaseWindow): void;
|
|
8686
8686
|
/**
|
|
8687
8687
|
* the item with the specified `id`
|
|
8688
8688
|
*/
|
|
@@ -8692,7 +8692,7 @@ declare namespace Electron {
|
|
|
8692
8692
|
*/
|
|
8693
8693
|
insert(pos: number, menuItem: MenuItem): void;
|
|
8694
8694
|
/**
|
|
8695
|
-
* Pops up this menu as a context menu in the `
|
|
8695
|
+
* Pops up this menu as a context menu in the `BaseWindow`.
|
|
8696
8696
|
*/
|
|
8697
8697
|
popup(options?: PopupOptions): void;
|
|
8698
8698
|
/**
|
|
@@ -11630,6 +11630,11 @@ declare namespace Electron {
|
|
|
11630
11630
|
* `https://my.website.example.co.uk/` will end up clearing all cookies for
|
|
11631
11631
|
* `example.co.uk`.
|
|
11632
11632
|
*
|
|
11633
|
+
* **Note:** Clearing cache data will also clear the shared dictionary cache. This
|
|
11634
|
+
* means that any dictionaries used for compression may be reloaded after clearing
|
|
11635
|
+
* the cache. If you wish to clear the shared dictionary cache but leave other
|
|
11636
|
+
* cached data intact, you may want to use the `clearSharedDictionaryCache` method.
|
|
11637
|
+
*
|
|
11633
11638
|
* For more information, refer to Chromium's `BrowsingDataRemover` interface.
|
|
11634
11639
|
*/
|
|
11635
11640
|
clearData(options?: ClearDataOptions): Promise<void>;
|
|
@@ -11639,6 +11644,15 @@ declare namespace Electron {
|
|
|
11639
11644
|
* Clears the host resolver cache.
|
|
11640
11645
|
*/
|
|
11641
11646
|
clearHostResolverCache(): Promise<void>;
|
|
11647
|
+
/**
|
|
11648
|
+
* resolves when the dictionary cache has been cleared, both in memory and on disk.
|
|
11649
|
+
*/
|
|
11650
|
+
clearSharedDictionaryCache(): Promise<void>;
|
|
11651
|
+
/**
|
|
11652
|
+
* resolves when the dictionary cache has been cleared for the specified isolation
|
|
11653
|
+
* key, both in memory and on disk.
|
|
11654
|
+
*/
|
|
11655
|
+
clearSharedDictionaryCacheForIsolationKey(options: ClearSharedDictionaryCacheForIsolationKeyOptions): Promise<void>;
|
|
11642
11656
|
/**
|
|
11643
11657
|
* resolves when the storage data has been cleared.
|
|
11644
11658
|
*/
|
|
@@ -11738,6 +11752,28 @@ declare namespace Electron {
|
|
|
11738
11752
|
* an array of paths to preload scripts that have been registered.
|
|
11739
11753
|
*/
|
|
11740
11754
|
getPreloads(): string[];
|
|
11755
|
+
/**
|
|
11756
|
+
* an array of shared dictionary information entries in Chromium's networking
|
|
11757
|
+
* service's storage.
|
|
11758
|
+
*
|
|
11759
|
+
* To get information about all present shared dictionaries, call
|
|
11760
|
+
* `getSharedDictionaryUsageInfo()`.
|
|
11761
|
+
*/
|
|
11762
|
+
getSharedDictionaryInfo(options: SharedDictionaryInfoOptions): Promise<Electron.SharedDictionaryInfo[]>;
|
|
11763
|
+
/**
|
|
11764
|
+
* an array of shared dictionary information entries in Chromium's networking
|
|
11765
|
+
* service's storage.
|
|
11766
|
+
*
|
|
11767
|
+
* Shared dictionaries are used to power advanced compression of data sent over the
|
|
11768
|
+
* wire, specifically with Brotli and ZStandard. You don't need to call any of the
|
|
11769
|
+
* shared dictionary APIs in Electron to make use of this advanced web feature, but
|
|
11770
|
+
* if you do, they allow deeper control and inspection of the shared dictionaries
|
|
11771
|
+
* used during decompression.
|
|
11772
|
+
*
|
|
11773
|
+
* To get detailed information about a specific shared dictionary entry, call
|
|
11774
|
+
* `getSharedDictionaryInfo(options)`.
|
|
11775
|
+
*/
|
|
11776
|
+
getSharedDictionaryUsageInfo(): Promise<Electron.SharedDictionaryUsageInfo[]>;
|
|
11741
11777
|
/**
|
|
11742
11778
|
* An array of language codes the spellchecker is enabled for. If this list is
|
|
11743
11779
|
* empty the spellchecker will fallback to using `en-US`. By default on launch if
|
|
@@ -12049,6 +12085,81 @@ declare namespace Electron {
|
|
|
12049
12085
|
readonly webRequest: WebRequest;
|
|
12050
12086
|
}
|
|
12051
12087
|
|
|
12088
|
+
interface SharedDictionaryInfo {
|
|
12089
|
+
|
|
12090
|
+
// Docs: https://electronjs.org/docs/api/structures/shared-dictionary-info
|
|
12091
|
+
|
|
12092
|
+
/**
|
|
12093
|
+
* URL of the dictionary.
|
|
12094
|
+
*/
|
|
12095
|
+
dictionaryUrl: string;
|
|
12096
|
+
/**
|
|
12097
|
+
* The expiration time for the dictionary which was declared in 'use-as-dictionary'
|
|
12098
|
+
* response header's `expires` option in seconds.
|
|
12099
|
+
*/
|
|
12100
|
+
expirationDuration: number;
|
|
12101
|
+
/**
|
|
12102
|
+
* The sha256 hash of the dictionary binary.
|
|
12103
|
+
*/
|
|
12104
|
+
hash: string;
|
|
12105
|
+
/**
|
|
12106
|
+
* The Id for the dictionary which was declared in 'use-as-dictionary' response
|
|
12107
|
+
* header's `id` option.
|
|
12108
|
+
*/
|
|
12109
|
+
id: string;
|
|
12110
|
+
/**
|
|
12111
|
+
* The time of when the dictionary was received from the network layer.
|
|
12112
|
+
*/
|
|
12113
|
+
lastFetchTime: Date;
|
|
12114
|
+
/**
|
|
12115
|
+
* The time when the dictionary was last used.
|
|
12116
|
+
*/
|
|
12117
|
+
lastUsedTime: Date;
|
|
12118
|
+
/**
|
|
12119
|
+
* The matching path pattern for the dictionary which was declared in
|
|
12120
|
+
* 'use-as-dictionary' response header's `match` option.
|
|
12121
|
+
*/
|
|
12122
|
+
match: string;
|
|
12123
|
+
/**
|
|
12124
|
+
* An array of matching destinations for the dictionary which was declared in
|
|
12125
|
+
* 'use-as-dictionary' response header's `match-dest` option.
|
|
12126
|
+
*/
|
|
12127
|
+
matchDestinations: string[];
|
|
12128
|
+
/**
|
|
12129
|
+
* The time of when the dictionary was received from the server. For cached
|
|
12130
|
+
* responses, this time could be "far" in the past.
|
|
12131
|
+
*/
|
|
12132
|
+
responseTime: Date;
|
|
12133
|
+
/**
|
|
12134
|
+
* The amount of bytes stored for this shared dictionary information object in
|
|
12135
|
+
* Chromium's internal storage (usually Sqlite).
|
|
12136
|
+
*/
|
|
12137
|
+
size: number;
|
|
12138
|
+
}
|
|
12139
|
+
|
|
12140
|
+
interface SharedDictionaryUsageInfo {
|
|
12141
|
+
|
|
12142
|
+
// Docs: https://electronjs.org/docs/api/structures/shared-dictionary-usage-info
|
|
12143
|
+
|
|
12144
|
+
/**
|
|
12145
|
+
* The origin of the frame where the request originates. It’s specific to the
|
|
12146
|
+
* individual frame making the request and is defined by its scheme, host, and
|
|
12147
|
+
* port. In practice, will look like a URL.
|
|
12148
|
+
*/
|
|
12149
|
+
frameOrigin: string;
|
|
12150
|
+
/**
|
|
12151
|
+
* The site of the top-level browsing context (the main frame or tab that contains
|
|
12152
|
+
* the request). It’s less granular than `frameOrigin` and focuses on the broader
|
|
12153
|
+
* "site" scope. In practice, will look like a URL.
|
|
12154
|
+
*/
|
|
12155
|
+
topFrameSite: string;
|
|
12156
|
+
/**
|
|
12157
|
+
* The amount of bytes stored for this shared dictionary information object in
|
|
12158
|
+
* Chromium's internal storage (usually Sqlite).
|
|
12159
|
+
*/
|
|
12160
|
+
totalSizeBytes: number;
|
|
12161
|
+
}
|
|
12162
|
+
|
|
12052
12163
|
interface SharedWorkerInfo {
|
|
12053
12164
|
|
|
12054
12165
|
// Docs: https://electronjs.org/docs/api/structures/shared-worker-info
|
|
@@ -17028,6 +17139,18 @@ declare namespace Electron {
|
|
|
17028
17139
|
once(event: 'dom-ready', listener: () => void): this;
|
|
17029
17140
|
addListener(event: 'dom-ready', listener: () => void): this;
|
|
17030
17141
|
removeListener(event: 'dom-ready', listener: () => void): this;
|
|
17142
|
+
/**
|
|
17143
|
+
* A promise that resolves with the currently running JavaScript call stack. If no
|
|
17144
|
+
* JavaScript runs in the frame, the promise will never resolve. In cases where the
|
|
17145
|
+
* call stack is otherwise unable to be collected, it will return `undefined`.
|
|
17146
|
+
*
|
|
17147
|
+
* This can be useful to determine why the frame is unresponsive in cases where
|
|
17148
|
+
* there's long-running JavaScript. For more information, see the proposed Crash
|
|
17149
|
+
* Reporting API.
|
|
17150
|
+
*
|
|
17151
|
+
* @experimental
|
|
17152
|
+
*/
|
|
17153
|
+
collectJavaScriptCallStack(): (Promise<string>) | (Promise<void>);
|
|
17031
17154
|
/**
|
|
17032
17155
|
* A promise that resolves with the result of the executed code or is rejected if
|
|
17033
17156
|
* execution throws or results in a rejected promise.
|
|
@@ -18512,7 +18635,9 @@ declare namespace Electron {
|
|
|
18512
18635
|
|
|
18513
18636
|
interface ClearDataOptions {
|
|
18514
18637
|
/**
|
|
18515
|
-
* The types of data to clear. By default, this will clear all types of data.
|
|
18638
|
+
* The types of data to clear. By default, this will clear all types of data. This
|
|
18639
|
+
* can potentially include data types not explicitly listed here. (See Chromium's
|
|
18640
|
+
* `BrowsingDataRemover` for the full list.)
|
|
18516
18641
|
*/
|
|
18517
18642
|
dataTypes?: Array<'backgroundFetch' | 'cache' | 'cookies' | 'downloads' | 'fileSystems' | 'indexedDB' | 'localStorage' | 'serviceWorkers' | 'webSQL'>;
|
|
18518
18643
|
/**
|
|
@@ -18534,6 +18659,21 @@ declare namespace Electron {
|
|
|
18534
18659
|
originMatchingMode?: ('third-parties-included' | 'origin-in-all-contexts');
|
|
18535
18660
|
}
|
|
18536
18661
|
|
|
18662
|
+
interface ClearSharedDictionaryCacheForIsolationKeyOptions {
|
|
18663
|
+
/**
|
|
18664
|
+
* The origin of the frame where the request originates. It’s specific to the
|
|
18665
|
+
* individual frame making the request and is defined by its scheme, host, and
|
|
18666
|
+
* port. In practice, will look like a URL.
|
|
18667
|
+
*/
|
|
18668
|
+
frameOrigin: string;
|
|
18669
|
+
/**
|
|
18670
|
+
* The site of the top-level browsing context (the main frame or tab that contains
|
|
18671
|
+
* the request). It’s less granular than `frameOrigin` and focuses on the broader
|
|
18672
|
+
* "site" scope. In practice, will look like a URL.
|
|
18673
|
+
*/
|
|
18674
|
+
topFrameSite: string;
|
|
18675
|
+
}
|
|
18676
|
+
|
|
18537
18677
|
interface ClearStorageDataOptions {
|
|
18538
18678
|
/**
|
|
18539
18679
|
* Should follow `window.location.origin`’s representation `scheme://host:port`.
|
|
@@ -19436,7 +19576,8 @@ declare namespace Electron {
|
|
|
19436
19576
|
/**
|
|
19437
19577
|
* With this flag, all HTTP 401 and 407 network requests created via the net module
|
|
19438
19578
|
* will allow responding to them via the `app#login` event in the main process
|
|
19439
|
-
* instead of the default `login` event on the `ClientRequest` object.
|
|
19579
|
+
* instead of the default `login` event on the `ClientRequest` object. Default is
|
|
19580
|
+
* `false`.
|
|
19440
19581
|
*/
|
|
19441
19582
|
respondToAuthRequestsFromMainProcess?: boolean;
|
|
19442
19583
|
}
|
|
@@ -19455,14 +19596,16 @@ declare namespace Electron {
|
|
|
19455
19596
|
|
|
19456
19597
|
interface FromPartitionOptions {
|
|
19457
19598
|
/**
|
|
19458
|
-
* Whether to enable cache.
|
|
19599
|
+
* Whether to enable cache. Default is `true` unless the `--disable-http-cache`
|
|
19600
|
+
* switch is used.
|
|
19459
19601
|
*/
|
|
19460
19602
|
cache: boolean;
|
|
19461
19603
|
}
|
|
19462
19604
|
|
|
19463
19605
|
interface FromPathOptions {
|
|
19464
19606
|
/**
|
|
19465
|
-
* Whether to enable cache.
|
|
19607
|
+
* Whether to enable cache. Default is `true` unless the `--disable-http-cache`
|
|
19608
|
+
* switch is used.
|
|
19466
19609
|
*/
|
|
19467
19610
|
cache: boolean;
|
|
19468
19611
|
}
|
|
@@ -20624,7 +20767,7 @@ declare namespace Electron {
|
|
|
20624
20767
|
/**
|
|
20625
20768
|
* Default is the focused window.
|
|
20626
20769
|
*/
|
|
20627
|
-
window?:
|
|
20770
|
+
window?: BaseWindow;
|
|
20628
20771
|
/**
|
|
20629
20772
|
* Default is the current mouse cursor position. Must be declared if `y` is
|
|
20630
20773
|
* declared.
|
|
@@ -21121,6 +21264,21 @@ declare namespace Electron {
|
|
|
21121
21264
|
name?: string;
|
|
21122
21265
|
}
|
|
21123
21266
|
|
|
21267
|
+
interface SharedDictionaryInfoOptions {
|
|
21268
|
+
/**
|
|
21269
|
+
* The origin of the frame where the request originates. It’s specific to the
|
|
21270
|
+
* individual frame making the request and is defined by its scheme, host, and
|
|
21271
|
+
* port. In practice, will look like a URL.
|
|
21272
|
+
*/
|
|
21273
|
+
frameOrigin: string;
|
|
21274
|
+
/**
|
|
21275
|
+
* The site of the top-level browsing context (the main frame or tab that contains
|
|
21276
|
+
* the request). It’s less granular than `frameOrigin` and focuses on the broader
|
|
21277
|
+
* "site" scope. In practice, will look like a URL.
|
|
21278
|
+
*/
|
|
21279
|
+
topFrameSite: string;
|
|
21280
|
+
}
|
|
21281
|
+
|
|
21124
21282
|
interface SourcesOptions {
|
|
21125
21283
|
/**
|
|
21126
21284
|
* An array of strings that lists the types of desktop sources to be captured,
|
|
@@ -22293,6 +22451,7 @@ declare namespace Electron {
|
|
|
22293
22451
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22294
22452
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22295
22453
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22454
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
22296
22455
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22297
22456
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
22298
22457
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -22414,6 +22573,7 @@ declare namespace Electron {
|
|
|
22414
22573
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
22415
22574
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
22416
22575
|
type Settings = Electron.Settings;
|
|
22576
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
22417
22577
|
type SourcesOptions = Electron.SourcesOptions;
|
|
22418
22578
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
22419
22579
|
type Streams = Electron.Streams;
|
|
@@ -22527,6 +22687,8 @@ declare namespace Electron {
|
|
|
22527
22687
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
22528
22688
|
type SerialPort = Electron.SerialPort;
|
|
22529
22689
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
22690
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
22691
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
22530
22692
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
22531
22693
|
type SharingItem = Electron.SharingItem;
|
|
22532
22694
|
type ShortcutDetails = Electron.ShortcutDetails;
|
|
@@ -22644,6 +22806,7 @@ declare namespace Electron {
|
|
|
22644
22806
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22645
22807
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22646
22808
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
22809
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
22647
22810
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22648
22811
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
22649
22812
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -22765,6 +22928,7 @@ declare namespace Electron {
|
|
|
22765
22928
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
22766
22929
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
22767
22930
|
type Settings = Electron.Settings;
|
|
22931
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
22768
22932
|
type SourcesOptions = Electron.SourcesOptions;
|
|
22769
22933
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
22770
22934
|
type Streams = Electron.Streams;
|
|
@@ -22878,6 +23042,8 @@ declare namespace Electron {
|
|
|
22878
23042
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
22879
23043
|
type SerialPort = Electron.SerialPort;
|
|
22880
23044
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
23045
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
23046
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
22881
23047
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
22882
23048
|
type SharingItem = Electron.SharingItem;
|
|
22883
23049
|
type ShortcutDetails = Electron.ShortcutDetails;
|
|
@@ -22927,6 +23093,7 @@ declare namespace Electron {
|
|
|
22927
23093
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
22928
23094
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
22929
23095
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
23096
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
22930
23097
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
22931
23098
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
22932
23099
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -23048,6 +23215,7 @@ declare namespace Electron {
|
|
|
23048
23215
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
23049
23216
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
23050
23217
|
type Settings = Electron.Settings;
|
|
23218
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
23051
23219
|
type SourcesOptions = Electron.SourcesOptions;
|
|
23052
23220
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
23053
23221
|
type Streams = Electron.Streams;
|
|
@@ -23161,6 +23329,8 @@ declare namespace Electron {
|
|
|
23161
23329
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
23162
23330
|
type SerialPort = Electron.SerialPort;
|
|
23163
23331
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
23332
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
23333
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
23164
23334
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
23165
23335
|
type SharingItem = Electron.SharingItem;
|
|
23166
23336
|
type ShortcutDetails = Electron.ShortcutDetails;
|
|
@@ -23207,6 +23377,7 @@ declare namespace Electron {
|
|
|
23207
23377
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
23208
23378
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
23209
23379
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
23380
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
23210
23381
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
23211
23382
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
23212
23383
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -23328,6 +23499,7 @@ declare namespace Electron {
|
|
|
23328
23499
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
23329
23500
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
23330
23501
|
type Settings = Electron.Settings;
|
|
23502
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
23331
23503
|
type SourcesOptions = Electron.SourcesOptions;
|
|
23332
23504
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
23333
23505
|
type Streams = Electron.Streams;
|
|
@@ -23441,6 +23613,8 @@ declare namespace Electron {
|
|
|
23441
23613
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
23442
23614
|
type SerialPort = Electron.SerialPort;
|
|
23443
23615
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
23616
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
23617
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
23444
23618
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
23445
23619
|
type SharingItem = Electron.SharingItem;
|
|
23446
23620
|
type ShortcutDetails = Electron.ShortcutDetails;
|
|
@@ -23575,6 +23749,7 @@ declare namespace Electron {
|
|
|
23575
23749
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
23576
23750
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
23577
23751
|
type ClearDataOptions = Electron.ClearDataOptions;
|
|
23752
|
+
type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSharedDictionaryCacheForIsolationKeyOptions;
|
|
23578
23753
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
23579
23754
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
23580
23755
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
@@ -23696,6 +23871,7 @@ declare namespace Electron {
|
|
|
23696
23871
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
23697
23872
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
23698
23873
|
type Settings = Electron.Settings;
|
|
23874
|
+
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
23699
23875
|
type SourcesOptions = Electron.SourcesOptions;
|
|
23700
23876
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
23701
23877
|
type Streams = Electron.Streams;
|
|
@@ -23809,6 +23985,8 @@ declare namespace Electron {
|
|
|
23809
23985
|
type SegmentedControlSegment = Electron.SegmentedControlSegment;
|
|
23810
23986
|
type SerialPort = Electron.SerialPort;
|
|
23811
23987
|
type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
|
|
23988
|
+
type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
|
|
23989
|
+
type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
|
|
23812
23990
|
type SharedWorkerInfo = Electron.SharedWorkerInfo;
|
|
23813
23991
|
type SharingItem = Electron.SharingItem;
|
|
23814
23992
|
type ShortcutDetails = Electron.ShortcutDetails;
|
package/package.json
CHANGED