electron 30.0.0-alpha.1 → 30.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 +53 -93
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v30.0.0-alpha.
|
|
3
|
-
"chromedriver-v30.0.0-alpha.
|
|
4
|
-
"chromedriver-v30.0.0-alpha.
|
|
5
|
-
"chromedriver-v30.0.0-alpha.
|
|
6
|
-
"chromedriver-v30.0.0-alpha.
|
|
7
|
-
"chromedriver-v30.0.0-alpha.
|
|
8
|
-
"chromedriver-v30.0.0-alpha.
|
|
9
|
-
"chromedriver-v30.0.0-alpha.
|
|
10
|
-
"chromedriver-v30.0.0-alpha.
|
|
11
|
-
"chromedriver-v30.0.0-alpha.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v30.0.0-alpha.
|
|
14
|
-
"electron-v30.0.0-alpha.
|
|
15
|
-
"electron-v30.0.0-alpha.
|
|
16
|
-
"electron-v30.0.0-alpha.
|
|
17
|
-
"electron-v30.0.0-alpha.
|
|
18
|
-
"electron-v30.0.0-alpha.
|
|
19
|
-
"electron-v30.0.0-alpha.
|
|
20
|
-
"electron-v30.0.0-alpha.
|
|
21
|
-
"electron-v30.0.0-alpha.
|
|
22
|
-
"electron-v30.0.0-alpha.
|
|
23
|
-
"electron-v30.0.0-alpha.
|
|
24
|
-
"electron-v30.0.0-alpha.
|
|
25
|
-
"electron-v30.0.0-alpha.
|
|
26
|
-
"electron-v30.0.0-alpha.
|
|
27
|
-
"electron-v30.0.0-alpha.
|
|
28
|
-
"electron-v30.0.0-alpha.
|
|
29
|
-
"electron-v30.0.0-alpha.
|
|
30
|
-
"electron-v30.0.0-alpha.
|
|
31
|
-
"electron-v30.0.0-alpha.
|
|
32
|
-
"electron-v30.0.0-alpha.
|
|
33
|
-
"electron-v30.0.0-alpha.
|
|
34
|
-
"electron-v30.0.0-alpha.
|
|
35
|
-
"electron-v30.0.0-alpha.
|
|
36
|
-
"electron-v30.0.0-alpha.
|
|
37
|
-
"electron-v30.0.0-alpha.
|
|
38
|
-
"electron-v30.0.0-alpha.
|
|
39
|
-
"electron-v30.0.0-alpha.
|
|
40
|
-
"electron-v30.0.0-alpha.
|
|
41
|
-
"electron-v30.0.0-alpha.
|
|
42
|
-
"electron-v30.0.0-alpha.
|
|
43
|
-
"electron-v30.0.0-alpha.
|
|
44
|
-
"electron-v30.0.0-alpha.
|
|
45
|
-
"electron-v30.0.0-alpha.
|
|
46
|
-
"electron-v30.0.0-alpha.
|
|
47
|
-
"electron-v30.0.0-alpha.
|
|
48
|
-
"electron-v30.0.0-alpha.
|
|
49
|
-
"electron-v30.0.0-alpha.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v30.0.0-alpha.
|
|
52
|
-
"ffmpeg-v30.0.0-alpha.
|
|
53
|
-
"ffmpeg-v30.0.0-alpha.
|
|
54
|
-
"ffmpeg-v30.0.0-alpha.
|
|
55
|
-
"ffmpeg-v30.0.0-alpha.
|
|
56
|
-
"ffmpeg-v30.0.0-alpha.
|
|
57
|
-
"ffmpeg-v30.0.0-alpha.
|
|
58
|
-
"ffmpeg-v30.0.0-alpha.
|
|
59
|
-
"ffmpeg-v30.0.0-alpha.
|
|
60
|
-
"ffmpeg-v30.0.0-alpha.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v30.0.0-alpha.
|
|
63
|
-
"libcxx-objects-v30.0.0-alpha.
|
|
64
|
-
"libcxx-objects-v30.0.0-alpha.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v30.0.0-alpha.
|
|
68
|
-
"mksnapshot-v30.0.0-alpha.
|
|
69
|
-
"mksnapshot-v30.0.0-alpha.
|
|
70
|
-
"mksnapshot-v30.0.0-alpha.
|
|
71
|
-
"mksnapshot-v30.0.0-alpha.
|
|
72
|
-
"mksnapshot-v30.0.0-alpha.
|
|
73
|
-
"mksnapshot-v30.0.0-alpha.
|
|
74
|
-
"mksnapshot-v30.0.0-alpha.
|
|
75
|
-
"mksnapshot-v30.0.0-alpha.
|
|
76
|
-
"mksnapshot-v30.0.0-alpha.
|
|
2
|
+
"chromedriver-v30.0.0-alpha.2-darwin-arm64.zip": "b6d0bf255dd2d017346fbb088550016a247b62aee6b184edb3548b0975a1aaba",
|
|
3
|
+
"chromedriver-v30.0.0-alpha.2-darwin-x64.zip": "b1a32d9955780c976e0ec1f1d01742ec926546fe1a6b11684be579cbb98d0143",
|
|
4
|
+
"chromedriver-v30.0.0-alpha.2-linux-arm64.zip": "edb47d2d062f0ccf6bc5b41580d0b5f19359190fb006847e22b3099cf7ff6c42",
|
|
5
|
+
"chromedriver-v30.0.0-alpha.2-linux-armv7l.zip": "1624b0007f8947cad997de06876d860520be9c5ef0380fe2d18db299c1b75f5a",
|
|
6
|
+
"chromedriver-v30.0.0-alpha.2-linux-x64.zip": "5e5f18bed5437626180c475ced016f7aa7c971eb66e003591c6f72982a0d5a19",
|
|
7
|
+
"chromedriver-v30.0.0-alpha.2-mas-arm64.zip": "48554c745e53fb9e915ac75e7f210833717df456fad60b559e8ead7a108beffa",
|
|
8
|
+
"chromedriver-v30.0.0-alpha.2-mas-x64.zip": "9566f657b2c007599356b21beb2a0d051195d6625d355688d1e3fdffa31b459f",
|
|
9
|
+
"chromedriver-v30.0.0-alpha.2-win32-arm64.zip": "bba871255f754979c975cfc101ff7e6ac2605311beed4bb17cb462900dce5013",
|
|
10
|
+
"chromedriver-v30.0.0-alpha.2-win32-ia32.zip": "deb2a5f28933984b191586cfe6fb8cfa70e329dadeb978a481b0c7b8e47bc8ec",
|
|
11
|
+
"chromedriver-v30.0.0-alpha.2-win32-x64.zip": "adf95d9b0b9c944a00134ea8697ea6fbdaf83057d0f7aec38fc55aa79fb6cd28",
|
|
12
|
+
"electron-api.json": "3c3d6c43f81242660210e0859b4a02359930215a660072548d8e2c9675f54dcb",
|
|
13
|
+
"electron-v30.0.0-alpha.2-darwin-arm64-dsym-snapshot.zip": "a1be2f157c951806630ae98b32bfa740ee618fe3551a6d81901455c700f4f771",
|
|
14
|
+
"electron-v30.0.0-alpha.2-darwin-arm64-dsym.zip": "0ff3349fec56c995e614cbbad556b06fc8d31eb49b7ba8ce4cdf8ff1155e8f22",
|
|
15
|
+
"electron-v30.0.0-alpha.2-darwin-arm64-symbols.zip": "7e2b86b050d21582a4defb9b13e2c1c8f597f038db9b7f7a2cc741cfd5cf8fc1",
|
|
16
|
+
"electron-v30.0.0-alpha.2-darwin-arm64.zip": "e4d8faa0c5c2ae361272e1c06dbab9740f16da056a4a62b8bb285a92af3f8a13",
|
|
17
|
+
"electron-v30.0.0-alpha.2-darwin-x64-dsym-snapshot.zip": "dd70be567357d0d4fd1d8f485cbf16d2db11833c22496e74415eb4daf8d5ec53",
|
|
18
|
+
"electron-v30.0.0-alpha.2-darwin-x64-dsym.zip": "90598d8c81cdb5360f8dd6aa689c0c620918de7a1c291f4a61fd982b5f66dd88",
|
|
19
|
+
"electron-v30.0.0-alpha.2-darwin-x64-symbols.zip": "a336ead2708577be4b2f5d047c1afc3dd34f1f8444c9b31c5be3d87bad15db0c",
|
|
20
|
+
"electron-v30.0.0-alpha.2-darwin-x64.zip": "db7f6b70be67c9c9c5eded1d8634d1f11f5393adc8b9b7ba977c5b6b369c66eb",
|
|
21
|
+
"electron-v30.0.0-alpha.2-linux-arm64-debug.zip": "b8f1325251a71808b9696344030540b33b4fe470980a151b72a508ec2a346f96",
|
|
22
|
+
"electron-v30.0.0-alpha.2-linux-arm64-symbols.zip": "575edff540a2b2119384d2cfaffa13197d482d98a4a26308b9f45b835ea961f8",
|
|
23
|
+
"electron-v30.0.0-alpha.2-linux-arm64.zip": "e23d3055fe2d7b731478853f0731c48d82e6266832fca4454d86fd25ca268899",
|
|
24
|
+
"electron-v30.0.0-alpha.2-linux-armv7l-debug.zip": "b8f1325251a71808b9696344030540b33b4fe470980a151b72a508ec2a346f96",
|
|
25
|
+
"electron-v30.0.0-alpha.2-linux-armv7l-symbols.zip": "04dcc905384ead0ed59a6194da6c41cb6b1b2c299d03dce17e99b05353d03870",
|
|
26
|
+
"electron-v30.0.0-alpha.2-linux-armv7l.zip": "c4ebd93b3cdee87db759ddda090daaca6e2bc6bc82934cb25e199eb0bd3d1d6c",
|
|
27
|
+
"electron-v30.0.0-alpha.2-linux-x64-debug.zip": "902389ca64f18c132efd2697576636bcb51eda550d2e1032655139d22b0e3284",
|
|
28
|
+
"electron-v30.0.0-alpha.2-linux-x64-symbols.zip": "1326d12ff24881fa0807956c8428dcf55bb24fa87ef01eb7758eda3ad601584c",
|
|
29
|
+
"electron-v30.0.0-alpha.2-linux-x64.zip": "6c962db02bbf42a1007780cc85eebb379a27fd29e54ee7bd7afbe171ad4dd68a",
|
|
30
|
+
"electron-v30.0.0-alpha.2-mas-arm64-dsym-snapshot.zip": "29e6250bc71095ba98c3decbe15aecaace352f234327c4d256b93315a2565a93",
|
|
31
|
+
"electron-v30.0.0-alpha.2-mas-arm64-dsym.zip": "a2085b374429bca14e2eebef0481b313fb5a4fb16e9d28397d44c6955426a381",
|
|
32
|
+
"electron-v30.0.0-alpha.2-mas-arm64-symbols.zip": "ee5924fdfa5904b53f459e2480e3538b171d6ccbd5c8ef903380c78b0504b2e4",
|
|
33
|
+
"electron-v30.0.0-alpha.2-mas-arm64.zip": "bd8fbdaf2cf4f2b5f6149ce88ca663706eb138cc4f4141ba59d265d55b2521dc",
|
|
34
|
+
"electron-v30.0.0-alpha.2-mas-x64-dsym-snapshot.zip": "b901dba86286506ae197fe28605f5a55e20a4f35c7e703b11926b903e580fa11",
|
|
35
|
+
"electron-v30.0.0-alpha.2-mas-x64-dsym.zip": "46447e0ceeec2e9f884ecc2d19b7e62c71e5834377b1e624c6038c50903c6e2c",
|
|
36
|
+
"electron-v30.0.0-alpha.2-mas-x64-symbols.zip": "8971f23e598ae8dfe3de364e29e8a56a83f8d74d19ddf7c0cbb23552014f5a9c",
|
|
37
|
+
"electron-v30.0.0-alpha.2-mas-x64.zip": "bf00a9ffc0abf5f33e4ab8b63dc4924909abcfab4d52e647cc028ebe112358fd",
|
|
38
|
+
"electron-v30.0.0-alpha.2-win32-arm64-pdb.zip": "82ceb00d9ffc08b117ffccdc9d69315581b1b96c9d7960e1d7f3efd044e7eb19",
|
|
39
|
+
"electron-v30.0.0-alpha.2-win32-arm64-symbols.zip": "1bc97cb18d9bd4b898a8967325d56533bc500c1f00f77aed6df6975dda78bd5d",
|
|
40
|
+
"electron-v30.0.0-alpha.2-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
41
|
+
"electron-v30.0.0-alpha.2-win32-arm64.zip": "550bc59e6e19330a6ef37df01797babc705ac585dc74c1c4413fe1679652fd2f",
|
|
42
|
+
"electron-v30.0.0-alpha.2-win32-ia32-pdb.zip": "59ba6b6a16af358a539595214ca1a96d7e9bedc1df998230348f0f78504f52f0",
|
|
43
|
+
"electron-v30.0.0-alpha.2-win32-ia32-symbols.zip": "109272e9bb2b19d0bce98048ccfcae9919f1c8693306ea3b72ed08976eb181d3",
|
|
44
|
+
"electron-v30.0.0-alpha.2-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
45
|
+
"electron-v30.0.0-alpha.2-win32-ia32.zip": "976d3c2c6a52a35f7fb4f61501dbbd31a9e0590c404ec5f4aba8a0c3a40ad891",
|
|
46
|
+
"electron-v30.0.0-alpha.2-win32-x64-pdb.zip": "cbb117926d53387d15d3bc62de43e13169722717916c285be4112497bdd034a9",
|
|
47
|
+
"electron-v30.0.0-alpha.2-win32-x64-symbols.zip": "1fb0ba2f9786d78ddc1667d8e6efbe0a16bf3e2c9c7ddd336de579fd09ee1bdf",
|
|
48
|
+
"electron-v30.0.0-alpha.2-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
49
|
+
"electron-v30.0.0-alpha.2-win32-x64.zip": "12e8d0b8b64cda442bfc483d493a3387080cb9c3844f98b0529e4870d47f3a00",
|
|
50
|
+
"electron.d.ts": "5bc3bed8e5938e352a8e74633287552b99e14422cd3cf48feb28b56580a79928",
|
|
51
|
+
"ffmpeg-v30.0.0-alpha.2-darwin-arm64.zip": "aa7827888cd3a1db04b404077c6e4c962c7ccf749748baff4c7ec635933b6559",
|
|
52
|
+
"ffmpeg-v30.0.0-alpha.2-darwin-x64.zip": "d47f5f1eba344edabcfe3af332bec26fa109467f483df55f90604da227519dc6",
|
|
53
|
+
"ffmpeg-v30.0.0-alpha.2-linux-arm64.zip": "1b1bd54881f58598ba55e55b786e7ba3dd6fab352826656ea7231731558dfca3",
|
|
54
|
+
"ffmpeg-v30.0.0-alpha.2-linux-armv7l.zip": "8a287c8858a49fa69476a913d61231e2540f6e71d49a5015298acf7e8397d8b8",
|
|
55
|
+
"ffmpeg-v30.0.0-alpha.2-linux-x64.zip": "a69f68b1848493b85f58e2dc7c188e518102bb30a120a3b743d3434f30f7f744",
|
|
56
|
+
"ffmpeg-v30.0.0-alpha.2-mas-arm64.zip": "c190b9c7bee4b5fba47c28b2ffbeb71a2a7c4455a221655a6512ecc3b90c9cd5",
|
|
57
|
+
"ffmpeg-v30.0.0-alpha.2-mas-x64.zip": "494136d3982079d2e9f49ef12696768721e3cc883562a572496787fb973c8b57",
|
|
58
|
+
"ffmpeg-v30.0.0-alpha.2-win32-arm64.zip": "210d88f10660d0d731fd66c582b1eb32b785fe9576204aade57c9ed1ece264c1",
|
|
59
|
+
"ffmpeg-v30.0.0-alpha.2-win32-ia32.zip": "4502ee02f1a4980f6b450dc80f9d67628683cda3d68237f4b43c6ce3c13a7256",
|
|
60
|
+
"ffmpeg-v30.0.0-alpha.2-win32-x64.zip": "961418c6f24968a94f9bd8d82c1a2694d19c088127b3a6968e6b53b0e60d2e73",
|
|
61
|
+
"hunspell_dictionaries.zip": "2993b802eca9eb5e706ee5f7633f2c648d49880520f5cd12365ae8215c4fb781",
|
|
62
|
+
"libcxx-objects-v30.0.0-alpha.2-linux-arm64.zip": "3e8c036216085e36655bc2f0ebdc916e484efa8d9cf2b05472c37fa7bec9c444",
|
|
63
|
+
"libcxx-objects-v30.0.0-alpha.2-linux-armv7l.zip": "3a9797db3ffaf3c080d79cedf723a53ee31ede3324a8437fe28a939dbd0021a3",
|
|
64
|
+
"libcxx-objects-v30.0.0-alpha.2-linux-x64.zip": "563c54bb8582414b7d3939154189d25d544d3e04cfbf2cb5214c329d4abee911",
|
|
65
|
+
"libcxx_headers.zip": "4a8fbcece6099cd0fe655d92de7392572ac5fd0560aee2aa1c7f4e17813226b5",
|
|
66
|
+
"libcxxabi_headers.zip": "e1b3450833f27e856a1a201590421eca06f06cc7a894c3a43ba20b1322b7bf4c",
|
|
67
|
+
"mksnapshot-v30.0.0-alpha.2-darwin-arm64.zip": "f35fa5462afd54ef9852a1ffcc5c370ff1b8fe13bccff9f384a47b8d0dab7aa5",
|
|
68
|
+
"mksnapshot-v30.0.0-alpha.2-darwin-x64.zip": "48e5d1c8ac7dca590a352c4e4c6cef5c1383a660b62e02b59edaa54347eab1c4",
|
|
69
|
+
"mksnapshot-v30.0.0-alpha.2-linux-arm64-x64.zip": "b4e3448d6f9acd833cada84f549af6090c09485ff4ff74a88b3d27f1965be836",
|
|
70
|
+
"mksnapshot-v30.0.0-alpha.2-linux-armv7l-x64.zip": "81da472c5b002584af995f16670f41fa6dc033606463f8f7d63d5d6df5c2cb12",
|
|
71
|
+
"mksnapshot-v30.0.0-alpha.2-linux-x64.zip": "ffa0cc49bafebb6b6032b2a13b2a55496538f7929853ec9972636c8538e9bf92",
|
|
72
|
+
"mksnapshot-v30.0.0-alpha.2-mas-arm64.zip": "7bc2d204be56b84166e7a21131d5885ad89442f577749161cc838f4bb0960fdc",
|
|
73
|
+
"mksnapshot-v30.0.0-alpha.2-mas-x64.zip": "9ca0f989ffaa88acedfa51872584719c4eae86330a9e19f2d4a424ad2a8c43cf",
|
|
74
|
+
"mksnapshot-v30.0.0-alpha.2-win32-arm64-x64.zip": "3125fc7323bfe83fea56ca1695a6df550f4cf3e6762e11ec7e42db0b0f5e901b",
|
|
75
|
+
"mksnapshot-v30.0.0-alpha.2-win32-ia32.zip": "2d0a667d69a2ba6b703c716e629f587479537d8e7b8330368f8d7e8eb2ff06ab",
|
|
76
|
+
"mksnapshot-v30.0.0-alpha.2-win32-x64.zip": "3b9005d079c87af2bedb7b2598ac977be8e751a7d2f9c4d9206bf7e001a42264"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 30.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 30.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
|
|
@@ -1470,6 +1470,11 @@ declare namespace Electron {
|
|
|
1470
1470
|
* @platform darwin
|
|
1471
1471
|
*/
|
|
1472
1472
|
resignCurrentActivity(): void;
|
|
1473
|
+
/**
|
|
1474
|
+
* Resolves with the proxy information for `url` that will be used when attempting
|
|
1475
|
+
* to make requests using Net in the utility process.
|
|
1476
|
+
*/
|
|
1477
|
+
resolveProxy(url: string): Promise<string>;
|
|
1473
1478
|
/**
|
|
1474
1479
|
* Set the about panel options. This will override the values defined in the app's
|
|
1475
1480
|
* `.plist` file on macOS. See the Apple docs for more details. On Linux, values
|
|
@@ -1639,6 +1644,7 @@ declare namespace Electron {
|
|
|
1639
1644
|
* `sessionData` path before the `ready` event of the `app` module is emitted.
|
|
1640
1645
|
*/
|
|
1641
1646
|
setPath(name: string, path: string): void;
|
|
1647
|
+
setProxy(config: ProxyConfig): void;
|
|
1642
1648
|
/**
|
|
1643
1649
|
* Set the `Secure Keyboard Entry` is enabled in your application.
|
|
1644
1650
|
*
|
|
@@ -10397,6 +10403,30 @@ declare namespace Electron {
|
|
|
10397
10403
|
data: (string) | (Buffer);
|
|
10398
10404
|
}
|
|
10399
10405
|
|
|
10406
|
+
interface ProxyConfig {
|
|
10407
|
+
|
|
10408
|
+
// Docs: https://electronjs.org/docs/api/structures/proxy-config
|
|
10409
|
+
|
|
10410
|
+
/**
|
|
10411
|
+
* The proxy mode. Should be one of `direct`, `auto_detect`, `pac_script`,
|
|
10412
|
+
* `fixed_servers` or `system`. Defaults to `pac_script` proxy mode if `pacScript`
|
|
10413
|
+
* option is specified otherwise defaults to `fixed_servers`.
|
|
10414
|
+
*/
|
|
10415
|
+
mode?: ('direct' | 'auto_detect' | 'pac_script' | 'fixed_servers' | 'system');
|
|
10416
|
+
/**
|
|
10417
|
+
* The URL associated with the PAC file.
|
|
10418
|
+
*/
|
|
10419
|
+
pacScript?: string;
|
|
10420
|
+
/**
|
|
10421
|
+
* Rules indicating which URLs should bypass the proxy settings.
|
|
10422
|
+
*/
|
|
10423
|
+
proxyBypassRules?: string;
|
|
10424
|
+
/**
|
|
10425
|
+
* Rules indicating which proxies to use.
|
|
10426
|
+
*/
|
|
10427
|
+
proxyRules?: string;
|
|
10428
|
+
}
|
|
10429
|
+
|
|
10400
10430
|
interface PushNotifications extends NodeJS.EventEmitter {
|
|
10401
10431
|
|
|
10402
10432
|
// Docs: https://electronjs.org/docs/api/push-notifications
|
|
@@ -11666,7 +11696,7 @@ declare namespace Electron {
|
|
|
11666
11696
|
* `setPermissionCheckHandler` to get complete permission handling. Most web APIs
|
|
11667
11697
|
* do a permission check and then make a permission request if the check is denied.
|
|
11668
11698
|
*/
|
|
11669
|
-
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture' | 'fullscreen' | 'geolocation' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'pointerLock' | 'keyboardLock' | 'openExternal' | 'window-management' | 'unknown', callback: (permissionGranted: boolean) => void, details: PermissionRequestHandlerHandlerDetails) => void) | (null)): void;
|
|
11699
|
+
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture' | 'fullscreen' | 'geolocation' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'pointerLock' | 'keyboardLock' | 'openExternal' | 'speaker-selection' | 'window-management' | 'unknown', callback: (permissionGranted: boolean) => void, details: PermissionRequestHandlerHandlerDetails) => void) | (null)): void;
|
|
11670
11700
|
/**
|
|
11671
11701
|
* Adds scripts that will be executed on ALL web contents that are associated with
|
|
11672
11702
|
* this session just before normal `preload` scripts run.
|
|
@@ -11677,60 +11707,11 @@ declare namespace Electron {
|
|
|
11677
11707
|
*
|
|
11678
11708
|
* Sets the proxy settings.
|
|
11679
11709
|
*
|
|
11680
|
-
* When `mode` is unspecified, `pacScript` and `proxyRules` are provided together,
|
|
11681
|
-
* the `proxyRules` option is ignored and `pacScript` configuration is applied.
|
|
11682
|
-
*
|
|
11683
11710
|
* You may need `ses.closeAllConnections` to close currently in flight connections
|
|
11684
11711
|
* to prevent pooled sockets using previous proxy from being reused by future
|
|
11685
11712
|
* requests.
|
|
11686
|
-
*
|
|
11687
|
-
* The `proxyRules` has to follow the rules below:
|
|
11688
|
-
*
|
|
11689
|
-
* For example:
|
|
11690
|
-
*
|
|
11691
|
-
* * `http=foopy:80;ftp=foopy2` - Use HTTP proxy `foopy:80` for `http://` URLs, and
|
|
11692
|
-
* HTTP proxy `foopy2:80` for `ftp://` URLs.
|
|
11693
|
-
* * `foopy:80` - Use HTTP proxy `foopy:80` for all URLs.
|
|
11694
|
-
* * `foopy:80,bar,direct://` - Use HTTP proxy `foopy:80` for all URLs, failing
|
|
11695
|
-
* over to `bar` if `foopy:80` is unavailable, and after that using no proxy.
|
|
11696
|
-
* * `socks4://foopy` - Use SOCKS v4 proxy `foopy:1080` for all URLs.
|
|
11697
|
-
* * `http=foopy,socks5://bar.com` - Use HTTP proxy `foopy` for http URLs, and fail
|
|
11698
|
-
* over to the SOCKS5 proxy `bar.com` if `foopy` is unavailable.
|
|
11699
|
-
* * `http=foopy,direct://` - Use HTTP proxy `foopy` for http URLs, and use no
|
|
11700
|
-
* proxy if `foopy` is unavailable.
|
|
11701
|
-
* * `http=foopy;socks=foopy2` - Use HTTP proxy `foopy` for http URLs, and use
|
|
11702
|
-
* `socks4://foopy2` for all other URLs.
|
|
11703
|
-
*
|
|
11704
|
-
* The `proxyBypassRules` is a comma separated list of rules described below:
|
|
11705
|
-
*
|
|
11706
|
-
* * `[ URL_SCHEME "://" ] HOSTNAME_PATTERN [ ":" <port> ]`
|
|
11707
|
-
*
|
|
11708
|
-
* Match all hostnames that match the pattern HOSTNAME_PATTERN.
|
|
11709
|
-
*
|
|
11710
|
-
* Examples: "foobar.com", "*foobar.com", "*.foobar.com", "*foobar.com:99",
|
|
11711
|
-
* "https://x.*.y.com:99"
|
|
11712
|
-
* * `"." HOSTNAME_SUFFIX_PATTERN [ ":" PORT ]`
|
|
11713
|
-
*
|
|
11714
|
-
* Match a particular domain suffix.
|
|
11715
|
-
*
|
|
11716
|
-
* Examples: ".google.com", ".com", "http://.google.com"
|
|
11717
|
-
* * `[ SCHEME "://" ] IP_LITERAL [ ":" PORT ]`
|
|
11718
|
-
*
|
|
11719
|
-
* Match URLs which are IP address literals.
|
|
11720
|
-
*
|
|
11721
|
-
* Examples: "127.0.1", "[0:0::1]", "[::1]", "http://[::1]:99"
|
|
11722
|
-
* * `IP_LITERAL "/" PREFIX_LENGTH_IN_BITS`
|
|
11723
|
-
*
|
|
11724
|
-
* Match any URL that is to an IP literal that falls between the given range. IP
|
|
11725
|
-
* range is specified using CIDR notation.
|
|
11726
|
-
*
|
|
11727
|
-
* Examples: "192.168.1.1/16", "fefe:13::abc/33".
|
|
11728
|
-
* * `<local>`
|
|
11729
|
-
*
|
|
11730
|
-
* Match local addresses. The meaning of `<local>` is whether the host matches one
|
|
11731
|
-
* of: "127.0.0.1", "::1", "localhost".
|
|
11732
11713
|
*/
|
|
11733
|
-
setProxy(config:
|
|
11714
|
+
setProxy(config: ProxyConfig): Promise<void>;
|
|
11734
11715
|
/**
|
|
11735
11716
|
* By default Electron will download hunspell dictionaries from the Chromium CDN.
|
|
11736
11717
|
* If you want to override this behavior you can use this API to point the
|
|
@@ -11773,7 +11754,7 @@ declare namespace Electron {
|
|
|
11773
11754
|
* connections) will not be terminated, but old sockets in the pool will not be
|
|
11774
11755
|
* reused for new connections.
|
|
11775
11756
|
*/
|
|
11776
|
-
setSSLConfig(config:
|
|
11757
|
+
setSSLConfig(config: Config): void;
|
|
11777
11758
|
/**
|
|
11778
11759
|
* Sets the handler which can be used to override which USB classes are protected.
|
|
11779
11760
|
* The return value for the handler is a string array of USB classes which should
|
|
@@ -18196,23 +18177,25 @@ declare namespace Electron {
|
|
|
18196
18177
|
|
|
18197
18178
|
interface Config {
|
|
18198
18179
|
/**
|
|
18199
|
-
*
|
|
18200
|
-
*
|
|
18201
|
-
* determined based on other specified options.
|
|
18202
|
-
*/
|
|
18203
|
-
mode?: ('direct' | 'auto_detect' | 'pac_script' | 'fixed_servers' | 'system');
|
|
18204
|
-
/**
|
|
18205
|
-
* The URL associated with the PAC file.
|
|
18180
|
+
* Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
|
|
18181
|
+
* when connecting to remote servers. Defaults to `tls1`.
|
|
18206
18182
|
*/
|
|
18207
|
-
|
|
18183
|
+
minVersion?: ('tls1' | 'tls1.1' | 'tls1.2' | 'tls1.3');
|
|
18208
18184
|
/**
|
|
18209
|
-
*
|
|
18185
|
+
* Can be `tls1.2` or `tls1.3`. The maximum SSL version to allow when connecting to
|
|
18186
|
+
* remote servers. Defaults to `tls1.3`.
|
|
18210
18187
|
*/
|
|
18211
|
-
|
|
18188
|
+
maxVersion?: ('tls1.2' | 'tls1.3');
|
|
18212
18189
|
/**
|
|
18213
|
-
*
|
|
18190
|
+
* List of cipher suites which should be explicitly prevented from being used in
|
|
18191
|
+
* addition to those disabled by the net built-in policy. Supported literal forms:
|
|
18192
|
+
* 0xAABB, where AA is `cipher_suite[0]` and BB is `cipher_suite[1]`, as defined in
|
|
18193
|
+
* RFC 2246, Section 7.4.1.2. Unrecognized but parsable cipher suites in this form
|
|
18194
|
+
* will not return an error. Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify
|
|
18195
|
+
* 0x0004, while to disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. Note
|
|
18196
|
+
* that TLSv1.3 ciphers cannot be disabled using this mechanism.
|
|
18214
18197
|
*/
|
|
18215
|
-
|
|
18198
|
+
disabledCipherSuites?: number[];
|
|
18216
18199
|
}
|
|
18217
18200
|
|
|
18218
18201
|
interface ConfigureHostResolverOptions {
|
|
@@ -20596,29 +20579,6 @@ declare namespace Electron {
|
|
|
20596
20579
|
fetchWindowIcons?: boolean;
|
|
20597
20580
|
}
|
|
20598
20581
|
|
|
20599
|
-
interface SSLConfigConfig {
|
|
20600
|
-
/**
|
|
20601
|
-
* Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
|
|
20602
|
-
* when connecting to remote servers. Defaults to `tls1`.
|
|
20603
|
-
*/
|
|
20604
|
-
minVersion?: ('tls1' | 'tls1.1' | 'tls1.2' | 'tls1.3');
|
|
20605
|
-
/**
|
|
20606
|
-
* Can be `tls1.2` or `tls1.3`. The maximum SSL version to allow when connecting to
|
|
20607
|
-
* remote servers. Defaults to `tls1.3`.
|
|
20608
|
-
*/
|
|
20609
|
-
maxVersion?: ('tls1.2' | 'tls1.3');
|
|
20610
|
-
/**
|
|
20611
|
-
* List of cipher suites which should be explicitly prevented from being used in
|
|
20612
|
-
* addition to those disabled by the net built-in policy. Supported literal forms:
|
|
20613
|
-
* 0xAABB, where AA is `cipher_suite[0]` and BB is `cipher_suite[1]`, as defined in
|
|
20614
|
-
* RFC 2246, Section 7.4.1.2. Unrecognized but parsable cipher suites in this form
|
|
20615
|
-
* will not return an error. Ex: To disable TLS_RSA_WITH_RC4_128_MD5, specify
|
|
20616
|
-
* 0x0004, while to disable TLS_ECDH_ECDSA_WITH_RC4_128_SHA, specify 0xC002. Note
|
|
20617
|
-
* that TLSv1.3 ciphers cannot be disabled using this mechanism.
|
|
20618
|
-
*/
|
|
20619
|
-
disabledCipherSuites?: number[];
|
|
20620
|
-
}
|
|
20621
|
-
|
|
20622
20582
|
interface StartLoggingOptions {
|
|
20623
20583
|
/**
|
|
20624
20584
|
* What kinds of data should be captured. By default, only metadata about requests
|
|
@@ -21788,7 +21748,6 @@ declare namespace Electron {
|
|
|
21788
21748
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
21789
21749
|
type Settings = Electron.Settings;
|
|
21790
21750
|
type SourcesOptions = Electron.SourcesOptions;
|
|
21791
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
21792
21751
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
21793
21752
|
type Streams = Electron.Streams;
|
|
21794
21753
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -21882,6 +21841,7 @@ declare namespace Electron {
|
|
|
21882
21841
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
21883
21842
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
21884
21843
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
21844
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
21885
21845
|
type Rectangle = Electron.Rectangle;
|
|
21886
21846
|
type Referrer = Electron.Referrer;
|
|
21887
21847
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -22122,7 +22082,6 @@ declare namespace Electron {
|
|
|
22122
22082
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
22123
22083
|
type Settings = Electron.Settings;
|
|
22124
22084
|
type SourcesOptions = Electron.SourcesOptions;
|
|
22125
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
22126
22085
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
22127
22086
|
type Streams = Electron.Streams;
|
|
22128
22087
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -22216,6 +22175,7 @@ declare namespace Electron {
|
|
|
22216
22175
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
22217
22176
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
22218
22177
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
22178
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
22219
22179
|
type Rectangle = Electron.Rectangle;
|
|
22220
22180
|
type Referrer = Electron.Referrer;
|
|
22221
22181
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -22389,7 +22349,6 @@ declare namespace Electron {
|
|
|
22389
22349
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
22390
22350
|
type Settings = Electron.Settings;
|
|
22391
22351
|
type SourcesOptions = Electron.SourcesOptions;
|
|
22392
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
22393
22352
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
22394
22353
|
type Streams = Electron.Streams;
|
|
22395
22354
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -22483,6 +22442,7 @@ declare namespace Electron {
|
|
|
22483
22442
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
22484
22443
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
22485
22444
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
22445
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
22486
22446
|
type Rectangle = Electron.Rectangle;
|
|
22487
22447
|
type Referrer = Electron.Referrer;
|
|
22488
22448
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -22651,7 +22611,6 @@ declare namespace Electron {
|
|
|
22651
22611
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
22652
22612
|
type Settings = Electron.Settings;
|
|
22653
22613
|
type SourcesOptions = Electron.SourcesOptions;
|
|
22654
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
22655
22614
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
22656
22615
|
type Streams = Electron.Streams;
|
|
22657
22616
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -22745,6 +22704,7 @@ declare namespace Electron {
|
|
|
22745
22704
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
22746
22705
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
22747
22706
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
22707
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
22748
22708
|
type Rectangle = Electron.Rectangle;
|
|
22749
22709
|
type Referrer = Electron.Referrer;
|
|
22750
22710
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
@@ -23002,7 +22962,6 @@ declare namespace Electron {
|
|
|
23002
22962
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
23003
22963
|
type Settings = Electron.Settings;
|
|
23004
22964
|
type SourcesOptions = Electron.SourcesOptions;
|
|
23005
|
-
type SSLConfigConfig = Electron.SSLConfigConfig;
|
|
23006
22965
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
23007
22966
|
type Streams = Electron.Streams;
|
|
23008
22967
|
type SystemMemoryInfo = Electron.SystemMemoryInfo;
|
|
@@ -23096,6 +23055,7 @@ declare namespace Electron {
|
|
|
23096
23055
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
23097
23056
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
23098
23057
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
23058
|
+
type ProxyConfig = Electron.ProxyConfig;
|
|
23099
23059
|
type Rectangle = Electron.Rectangle;
|
|
23100
23060
|
type Referrer = Electron.Referrer;
|
|
23101
23061
|
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
package/package.json
CHANGED