electron 26.0.0-alpha.8 → 26.0.0-beta.10
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 +66 -21
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v26.0.0-
|
|
3
|
-
"chromedriver-v26.0.0-
|
|
4
|
-
"chromedriver-v26.0.0-
|
|
5
|
-
"chromedriver-v26.0.0-
|
|
6
|
-
"chromedriver-v26.0.0-
|
|
7
|
-
"chromedriver-v26.0.0-
|
|
8
|
-
"chromedriver-v26.0.0-
|
|
9
|
-
"chromedriver-v26.0.0-
|
|
10
|
-
"chromedriver-v26.0.0-
|
|
11
|
-
"chromedriver-v26.0.0-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v26.0.0-
|
|
14
|
-
"electron-v26.0.0-
|
|
15
|
-
"electron-v26.0.0-
|
|
16
|
-
"electron-v26.0.0-
|
|
17
|
-
"electron-v26.0.0-
|
|
18
|
-
"electron-v26.0.0-
|
|
19
|
-
"electron-v26.0.0-
|
|
20
|
-
"electron-v26.0.0-
|
|
21
|
-
"electron-v26.0.0-
|
|
22
|
-
"electron-v26.0.0-
|
|
23
|
-
"electron-v26.0.0-
|
|
24
|
-
"electron-v26.0.0-
|
|
25
|
-
"electron-v26.0.0-
|
|
26
|
-
"electron-v26.0.0-
|
|
27
|
-
"electron-v26.0.0-
|
|
28
|
-
"electron-v26.0.0-
|
|
29
|
-
"electron-v26.0.0-
|
|
30
|
-
"electron-v26.0.0-
|
|
31
|
-
"electron-v26.0.0-
|
|
32
|
-
"electron-v26.0.0-
|
|
33
|
-
"electron-v26.0.0-
|
|
34
|
-
"electron-v26.0.0-
|
|
35
|
-
"electron-v26.0.0-
|
|
36
|
-
"electron-v26.0.0-
|
|
37
|
-
"electron-v26.0.0-
|
|
38
|
-
"electron-v26.0.0-
|
|
39
|
-
"electron-v26.0.0-
|
|
40
|
-
"electron-v26.0.0-
|
|
41
|
-
"electron-v26.0.0-
|
|
42
|
-
"electron-v26.0.0-
|
|
43
|
-
"electron-v26.0.0-
|
|
44
|
-
"electron-v26.0.0-
|
|
45
|
-
"electron-v26.0.0-
|
|
46
|
-
"electron-v26.0.0-
|
|
47
|
-
"electron-v26.0.0-
|
|
48
|
-
"electron-v26.0.0-
|
|
49
|
-
"electron-v26.0.0-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v26.0.0-
|
|
52
|
-
"ffmpeg-v26.0.0-
|
|
53
|
-
"ffmpeg-v26.0.0-
|
|
54
|
-
"ffmpeg-v26.0.0-
|
|
55
|
-
"ffmpeg-v26.0.0-
|
|
56
|
-
"ffmpeg-v26.0.0-
|
|
57
|
-
"ffmpeg-v26.0.0-
|
|
58
|
-
"ffmpeg-v26.0.0-
|
|
59
|
-
"ffmpeg-v26.0.0-
|
|
60
|
-
"ffmpeg-v26.0.0-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v26.0.0-
|
|
63
|
-
"libcxx-objects-v26.0.0-
|
|
64
|
-
"libcxx-objects-v26.0.0-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v26.0.0-
|
|
68
|
-
"mksnapshot-v26.0.0-
|
|
69
|
-
"mksnapshot-v26.0.0-
|
|
70
|
-
"mksnapshot-v26.0.0-
|
|
71
|
-
"mksnapshot-v26.0.0-
|
|
72
|
-
"mksnapshot-v26.0.0-
|
|
73
|
-
"mksnapshot-v26.0.0-
|
|
74
|
-
"mksnapshot-v26.0.0-
|
|
75
|
-
"mksnapshot-v26.0.0-
|
|
76
|
-
"mksnapshot-v26.0.0-
|
|
2
|
+
"chromedriver-v26.0.0-beta.10-darwin-arm64.zip": "c9b45c2bdf55ca0b9e898cd40a0319967cb66d8f3b784f0dc8d20b1d7aa1e72f",
|
|
3
|
+
"chromedriver-v26.0.0-beta.10-darwin-x64.zip": "254734f8da689f7a9f15ade2b03ba43e8270de7c687fb3a3a8fc589ed4d1feb4",
|
|
4
|
+
"chromedriver-v26.0.0-beta.10-linux-arm64.zip": "2183752ad667801f6b79333078c21fe7c2c064cd23513f7bd3c4601bdb80c8da",
|
|
5
|
+
"chromedriver-v26.0.0-beta.10-linux-armv7l.zip": "fb054c9efbbebffbcffb04e708ace12bb8fefbf16536bf40bf0b030bf1278c7e",
|
|
6
|
+
"chromedriver-v26.0.0-beta.10-linux-x64.zip": "2286596c2cce1744d64f754d43943dec3aa70fb3115b8e0f9a80ef745979553f",
|
|
7
|
+
"chromedriver-v26.0.0-beta.10-mas-arm64.zip": "dc808dc6c6e07041a84b6c2f6ee3b3d980a1b67e23d9f3b7cf8740c1fac570a5",
|
|
8
|
+
"chromedriver-v26.0.0-beta.10-mas-x64.zip": "7be55f282f1b1ab3f79d263639c69bf0de23e0d6f3ce50cf9b25f608d6f95611",
|
|
9
|
+
"chromedriver-v26.0.0-beta.10-win32-arm64.zip": "5d0fe34ea64dfdd87579c88e3a1af8db18394f84d48be3c915709755738af15b",
|
|
10
|
+
"chromedriver-v26.0.0-beta.10-win32-ia32.zip": "57e6510cb942cfa4a30ec2b166bedf1d6262ecccf7ae7a7d1f7a3a11704d0934",
|
|
11
|
+
"chromedriver-v26.0.0-beta.10-win32-x64.zip": "869e3c2554305eaaca21fa7d9e54d8854328fc4f673a3cadb0a2c14e9d60b4dc",
|
|
12
|
+
"electron-api.json": "a6d095b552c2907b0633bbc8eb7ce4176eee2299b7c8600a4f8508a041457216",
|
|
13
|
+
"electron-v26.0.0-beta.10-darwin-arm64-dsym-snapshot.zip": "3dee087e61ee8274e169b31ef950ee6e3f0f5c4a64f9b766bf148959c3cbccc4",
|
|
14
|
+
"electron-v26.0.0-beta.10-darwin-arm64-dsym.zip": "4cb08902e77f724dfd178cfd0e24b97c834ad85aea4fa1c62a5e2d1e2b470c39",
|
|
15
|
+
"electron-v26.0.0-beta.10-darwin-arm64-symbols.zip": "17367fa4d490b2c6fa6ee346da2444cc6227fa4921443eea0e4bb2e4eae1a9ce",
|
|
16
|
+
"electron-v26.0.0-beta.10-darwin-arm64.zip": "ec1ccb96ce182910e1af97d7e2acfbebbfb96923eb7ae7b8b9c8b0ce90ca50a5",
|
|
17
|
+
"electron-v26.0.0-beta.10-darwin-x64-dsym-snapshot.zip": "a35a1c736bf40d517c7ba037e830e7842b68145d16f700160bbcb7cf1288e3e6",
|
|
18
|
+
"electron-v26.0.0-beta.10-darwin-x64-dsym.zip": "e02a58e2bc6cecab46649bdfd825bec99acc86b38b5bcba495da193ac829609c",
|
|
19
|
+
"electron-v26.0.0-beta.10-darwin-x64-symbols.zip": "f4c1e2d6648c0227ba3a2d7909baa35683f726af63d97f610b1c62c6edddd574",
|
|
20
|
+
"electron-v26.0.0-beta.10-darwin-x64.zip": "0fc2eca8cf3ff8fc5581db317910e78f77bd658d27cff8b9b61b1af3217f9a9f",
|
|
21
|
+
"electron-v26.0.0-beta.10-linux-arm64-debug.zip": "ccbf2cef6b196705cdf52888653898da018b833d88d73ea9c463c377ecb2914a",
|
|
22
|
+
"electron-v26.0.0-beta.10-linux-arm64-symbols.zip": "9bd2e233a15cf76bcdaefd02e16e15b6ea0974396933d2de5806670796a194dd",
|
|
23
|
+
"electron-v26.0.0-beta.10-linux-arm64.zip": "d0de833d12fc89fff9d1cd73e7daf5c5a7d2f36f9dc526a54e7f5ca9512beb53",
|
|
24
|
+
"electron-v26.0.0-beta.10-linux-armv7l-debug.zip": "ccbf2cef6b196705cdf52888653898da018b833d88d73ea9c463c377ecb2914a",
|
|
25
|
+
"electron-v26.0.0-beta.10-linux-armv7l-symbols.zip": "135e53fc43e7f1aab75ec9d2a97d8172a22eb2d73407d44953d38cf1d0972527",
|
|
26
|
+
"electron-v26.0.0-beta.10-linux-armv7l.zip": "38569db10ae04a2c24a466724f03ef71f665fc0fbad1792375697514ab92a0d8",
|
|
27
|
+
"electron-v26.0.0-beta.10-linux-x64-debug.zip": "f685ccb3e0a467274c5ccbf96ba99c0ad8986df36df4f1dce0f8790f60e852d7",
|
|
28
|
+
"electron-v26.0.0-beta.10-linux-x64-symbols.zip": "afc61228eb59a670891f4c6fba8c67d725a106c60bbe97daa64152748766de88",
|
|
29
|
+
"electron-v26.0.0-beta.10-linux-x64.zip": "5a73bbd1e83aebc734763b6454afdc22d77006646318d5f936ed1f3717110268",
|
|
30
|
+
"electron-v26.0.0-beta.10-mas-arm64-dsym-snapshot.zip": "3dee087e61ee8274e169b31ef950ee6e3f0f5c4a64f9b766bf148959c3cbccc4",
|
|
31
|
+
"electron-v26.0.0-beta.10-mas-arm64-dsym.zip": "328dcc15c77a8681c26f296677f04e58e06477bd46a889b1032e1723ca429dbe",
|
|
32
|
+
"electron-v26.0.0-beta.10-mas-arm64-symbols.zip": "491845f58ab92d050770d11afae1ceef284fdefb38188db81b1e828d486550ee",
|
|
33
|
+
"electron-v26.0.0-beta.10-mas-arm64.zip": "eda0e2f41166bd5a902032c8d972ed4a100a4fa9a0783113b0d64439ab1b3100",
|
|
34
|
+
"electron-v26.0.0-beta.10-mas-x64-dsym-snapshot.zip": "4467f539a7aee5d0d8103e9b872c709d6bfe9bc1adf45c972e91e9c58dfd09c3",
|
|
35
|
+
"electron-v26.0.0-beta.10-mas-x64-dsym.zip": "e7499fbb7083ac0e210e54a33cfa039cf688e258a8140aa84c5b8acfcc8766e6",
|
|
36
|
+
"electron-v26.0.0-beta.10-mas-x64-symbols.zip": "d4c4d31d8da4398253585c6e1980fe4414876b24940f3468316a7e55e08ce063",
|
|
37
|
+
"electron-v26.0.0-beta.10-mas-x64.zip": "d13ffb19f13c0ceecdc5154c8ae31aca9bff7bb24c12b28aeb40741ce7ccceac",
|
|
38
|
+
"electron-v26.0.0-beta.10-win32-arm64-pdb.zip": "fe29d708f7953f6f9ef808afb9b31827f13f7e5a3d9a0964b4f6cf9a163f1a69",
|
|
39
|
+
"electron-v26.0.0-beta.10-win32-arm64-symbols.zip": "5d85d4e608d44af5e99826447ac8e0e157c13fb1dd77afa5b08845588afcd602",
|
|
40
|
+
"electron-v26.0.0-beta.10-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
41
|
+
"electron-v26.0.0-beta.10-win32-arm64.zip": "832780c55859aed948b6c1371673d7b7688da00b50bd1efbc40a819032257e28",
|
|
42
|
+
"electron-v26.0.0-beta.10-win32-ia32-pdb.zip": "8435adef4b1e6cf21f56279d814387dcf17cb69b9c91d1d7ba3eb11671b6514a",
|
|
43
|
+
"electron-v26.0.0-beta.10-win32-ia32-symbols.zip": "72c9c9c7f21ea81a85743cfe32d0a534bbad1fadd68ac2741eaecd5b2ab01e48",
|
|
44
|
+
"electron-v26.0.0-beta.10-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
45
|
+
"electron-v26.0.0-beta.10-win32-ia32.zip": "ce1f7a05fcc000dec3ec27c4a6150264d31b576fe9d18608900fb4f94acb9cee",
|
|
46
|
+
"electron-v26.0.0-beta.10-win32-x64-pdb.zip": "a848144911d32ac94092efec29beac52f19388ba8c0066f08ff84ca033802c3f",
|
|
47
|
+
"electron-v26.0.0-beta.10-win32-x64-symbols.zip": "e82b7f67329ea293c77021d0c3755f1638cdba576a920449163a75228768750f",
|
|
48
|
+
"electron-v26.0.0-beta.10-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
49
|
+
"electron-v26.0.0-beta.10-win32-x64.zip": "d5294a4f79be310cc2d8870192adc315b9203e7ea7258b3d70c407f1dba77eb3",
|
|
50
|
+
"electron.d.ts": "26deb318246eee832212c6bdf30c6d67ed3bd7aa6cd463d23ff833bd9404e433",
|
|
51
|
+
"ffmpeg-v26.0.0-beta.10-darwin-arm64.zip": "e3e7291fa3ef7e7e9796147cf97fc26d02b6ccdcc7e7a7ee3363a72b46b2cba9",
|
|
52
|
+
"ffmpeg-v26.0.0-beta.10-darwin-x64.zip": "280a10fbbcb269130e5b1a0a593330342dc4c9f2820f29ab389171b1868561fd",
|
|
53
|
+
"ffmpeg-v26.0.0-beta.10-linux-arm64.zip": "71829378c1ca0b485cabcbf2d47574f0e22c07ef96803aadf20066880b36eb0f",
|
|
54
|
+
"ffmpeg-v26.0.0-beta.10-linux-armv7l.zip": "5a03ecdf9e07080152f7c89af094395f4bcbc2de98a6ef5281964830b08533da",
|
|
55
|
+
"ffmpeg-v26.0.0-beta.10-linux-x64.zip": "4453957a47a5cb5c07868b8f4d2a95ae7792da584306399363fefa5b5268907d",
|
|
56
|
+
"ffmpeg-v26.0.0-beta.10-mas-arm64.zip": "03073ff09518bf4354b1b8a0d24ecdad6d26231cdb812a6121631feefe836124",
|
|
57
|
+
"ffmpeg-v26.0.0-beta.10-mas-x64.zip": "1bad0e1c9f63fc2537a9309b56823dfd3d1cef273d1d6581919ff8265a22c582",
|
|
58
|
+
"ffmpeg-v26.0.0-beta.10-win32-arm64.zip": "eaa4e25515144a7c6b3800d9d36b0f07c7ee663830799e64534dd5b9fc326072",
|
|
59
|
+
"ffmpeg-v26.0.0-beta.10-win32-ia32.zip": "6b9010d380c539318f8c646e5bd563292cab2640da95bc421893a52b94dace03",
|
|
60
|
+
"ffmpeg-v26.0.0-beta.10-win32-x64.zip": "a421c674e2703e48b62e626d3a827ae038b1228392554bfcf9d0c6cb91a3303d",
|
|
61
|
+
"hunspell_dictionaries.zip": "e218cf3874afbb924a99b1ed734256c587a4485d6812863642c00fbfd5dbe12d",
|
|
62
|
+
"libcxx-objects-v26.0.0-beta.10-linux-arm64.zip": "be19b563b7cf6610a0251a805750a13076ae044b321a75c5afc3dc4c5e8e0220",
|
|
63
|
+
"libcxx-objects-v26.0.0-beta.10-linux-armv7l.zip": "cc808f13d678066643441b3b9b12181f29f19c72cc765f7372023170bcc3d843",
|
|
64
|
+
"libcxx-objects-v26.0.0-beta.10-linux-x64.zip": "0834071438be4fd73db50c72e36baaf2589c47a97169aa00507af0a092c4ea6f",
|
|
65
|
+
"libcxx_headers.zip": "5d7b5e27797cb7d5848545e68da4ed9ea1a253597b43e214134c2bc9d25f5650",
|
|
66
|
+
"libcxxabi_headers.zip": "39bb75865eb1279e2c453e996c2a75c3783a32042993035df5b47f53105889f7",
|
|
67
|
+
"mksnapshot-v26.0.0-beta.10-darwin-arm64.zip": "8c8c307868c4d8358260498a1ec0c5d22183938d104b4f5328adc46eb5d9e78f",
|
|
68
|
+
"mksnapshot-v26.0.0-beta.10-darwin-x64.zip": "c72ab0c689880b5dfa2cb55a81697928028f46f6de42bb247f8e5d47de7e1071",
|
|
69
|
+
"mksnapshot-v26.0.0-beta.10-linux-arm64-x64.zip": "b801585e89c9aaca7b248df53503ab7cc4cc3dc680983ae55fe50a8cda56ae88",
|
|
70
|
+
"mksnapshot-v26.0.0-beta.10-linux-armv7l-x64.zip": "197d3f79ae2f37b1255848957cb99707ed081dd7f1a9bf1642d685bf2c514f57",
|
|
71
|
+
"mksnapshot-v26.0.0-beta.10-linux-x64.zip": "5cd31a2337bb9974cd1b8ba5207d96ea7e1a99cf8dd0c2cffd7354e5f62b871a",
|
|
72
|
+
"mksnapshot-v26.0.0-beta.10-mas-arm64.zip": "e4671f25db798786677678d5424b99a725952dff5eb597e34c41e7cad1f23e14",
|
|
73
|
+
"mksnapshot-v26.0.0-beta.10-mas-x64.zip": "1234c104d0b174557529adb35486f6aedac5961a9a544c8ca75698ba1129f6c1",
|
|
74
|
+
"mksnapshot-v26.0.0-beta.10-win32-arm64-x64.zip": "825629bd6c239d007bc21a6f95ba6a0e743b537bdbc5ec6973c99ceff2ac9c32",
|
|
75
|
+
"mksnapshot-v26.0.0-beta.10-win32-ia32.zip": "c88c135641734cdee67b86da90ff38bcb4e6c737e3d13393eb83419f4ebdbdd9",
|
|
76
|
+
"mksnapshot-v26.0.0-beta.10-win32-x64.zip": "2d6fd4c02017546d301dcc647dea4a2164fd5c92dbb9f9709104ffd70397e621"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 26.0.0-
|
|
1
|
+
// Type definitions for Electron 26.0.0-beta.10
|
|
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
|
|
@@ -5809,6 +5809,12 @@ declare namespace Electron {
|
|
|
5809
5809
|
* `event.senderId` to `0`.
|
|
5810
5810
|
*/
|
|
5811
5811
|
senderId: number;
|
|
5812
|
+
/**
|
|
5813
|
+
* Whether the message sent via ipcRenderer.sendTo was sent by the main frame. This
|
|
5814
|
+
* is relevant when `nodeIntegrationInSubFrames` is enabled in the originating
|
|
5815
|
+
* `webContents`.
|
|
5816
|
+
*/
|
|
5817
|
+
senderIsMainFrame?: boolean;
|
|
5812
5818
|
}
|
|
5813
5819
|
|
|
5814
5820
|
interface JumpListCategory {
|
|
@@ -7738,6 +7744,27 @@ declare namespace Electron {
|
|
|
7738
7744
|
* This function will throw an error if encryption fails.
|
|
7739
7745
|
*/
|
|
7740
7746
|
encryptString(plainText: string): Buffer;
|
|
7747
|
+
/**
|
|
7748
|
+
* User friendly name of the password manager selected on Linux.
|
|
7749
|
+
*
|
|
7750
|
+
* This function will return one of the following values:
|
|
7751
|
+
*
|
|
7752
|
+
* * `basic_text` - When the desktop environment is not recognised or if the
|
|
7753
|
+
* following command line flag is provided `--password-store="basic"`.
|
|
7754
|
+
* * `gnome_libsecret` - When the desktop environment is `X-Cinnamon`, `Deepin`,
|
|
7755
|
+
* `GNOME`, `Pantheon`, `XFCE`, `UKUI`, `unity` or if the following command line
|
|
7756
|
+
* flag is provided `--password-store="gnome-libsecret"`.
|
|
7757
|
+
* * `kwallet` - When the desktop session is `kde4` or if the following command
|
|
7758
|
+
* line flag is provided `--password-store="kwallet"`.
|
|
7759
|
+
* * `kwallet5` - When the desktop session is `kde5` or if the following command
|
|
7760
|
+
* line flag is provided `--password-store="kwallet5"`.
|
|
7761
|
+
* * `kwallet6` - When the desktop session is `kde6`.
|
|
7762
|
+
* * `unknown` - When the function is called before app has emitted the `ready`
|
|
7763
|
+
* event.
|
|
7764
|
+
*
|
|
7765
|
+
* @platform linux
|
|
7766
|
+
*/
|
|
7767
|
+
getSelectedStorageBackend(): ('basic_text' | 'gnome_libsecret' | 'kwallet' | 'kwallet5' | 'kwallet6' | 'unknown');
|
|
7741
7768
|
/**
|
|
7742
7769
|
* Whether encryption is available.
|
|
7743
7770
|
*
|
|
@@ -7746,6 +7773,13 @@ declare namespace Electron {
|
|
|
7746
7773
|
* returns true once the app has emitted the `ready` event.
|
|
7747
7774
|
*/
|
|
7748
7775
|
isEncryptionAvailable(): boolean;
|
|
7776
|
+
/**
|
|
7777
|
+
* This function on Linux will force the module to use an in memory password for
|
|
7778
|
+
* creating symmetric key that is used for encrypt/decrypt functions when a valid
|
|
7779
|
+
* OS password manager cannot be determined for the current active desktop
|
|
7780
|
+
* environment. This function is a no-op on Windows and MacOS.
|
|
7781
|
+
*/
|
|
7782
|
+
setUsePlainTextEncryption(usePlainText: boolean): void;
|
|
7749
7783
|
}
|
|
7750
7784
|
|
|
7751
7785
|
interface Screen extends NodeJS.EventEmitter {
|
|
@@ -8736,7 +8770,7 @@ declare namespace Electron {
|
|
|
8736
8770
|
* make a permission request if the check is denied. To clear the handler, call
|
|
8737
8771
|
* `setPermissionCheckHandler(null)`.
|
|
8738
8772
|
*/
|
|
8739
|
-
setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission:
|
|
8773
|
+
setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'geolocation' | 'fullscreen' | 'hid' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'openExternal' | 'pointerLock' | 'serial' | 'usb', requestingOrigin: string, details: PermissionCheckHandlerHandlerDetails) => boolean) | (null)): void;
|
|
8740
8774
|
/**
|
|
8741
8775
|
* Sets the handler which can be used to respond to permission requests for the
|
|
8742
8776
|
* `session`. Calling `callback(true)` will allow the permission and
|
|
@@ -8745,7 +8779,7 @@ declare namespace Electron {
|
|
|
8745
8779
|
* `setPermissionCheckHandler` to get complete permission handling. Most web APIs
|
|
8746
8780
|
* do a permission check and then make a permission request if the check is denied.
|
|
8747
8781
|
*/
|
|
8748
|
-
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | '
|
|
8782
|
+
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture' | 'fullscreen' | 'geolocation' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'pointerLock' | 'openExternal' | 'window-management' | 'unknown', callback: (permissionGranted: boolean) => void, details: PermissionRequestHandlerHandlerDetails) => void) | (null)): void;
|
|
8749
8783
|
/**
|
|
8750
8784
|
* Adds scripts that will be executed on ALL web contents that are associated with
|
|
8751
8785
|
* this session just before normal `preload` scripts run.
|
|
@@ -14549,16 +14583,16 @@ declare namespace Electron {
|
|
|
14549
14583
|
*/
|
|
14550
14584
|
origin?: string;
|
|
14551
14585
|
/**
|
|
14552
|
-
* The types of storages to clear, can
|
|
14586
|
+
* The types of storages to clear, can be `cookies`, `filesystem`, `indexdb`,
|
|
14553
14587
|
* `localstorage`, `shadercache`, `websql`, `serviceworkers`, `cachestorage`. If
|
|
14554
14588
|
* not specified, clear all storage types.
|
|
14555
14589
|
*/
|
|
14556
|
-
storages?:
|
|
14590
|
+
storages?: Array<'cookies' | 'filesystem' | 'indexdb' | 'localstorage' | 'shadercache' | 'websql' | 'serviceworkers' | 'cachestorage'>;
|
|
14557
14591
|
/**
|
|
14558
|
-
* The types of quotas to clear, can
|
|
14559
|
-
*
|
|
14592
|
+
* The types of quotas to clear, can be `temporary`, `syncable`. If not specified,
|
|
14593
|
+
* clear all quotas.
|
|
14560
14594
|
*/
|
|
14561
|
-
quotas?:
|
|
14595
|
+
quotas?: Array<'temporary' | 'syncable'>;
|
|
14562
14596
|
}
|
|
14563
14597
|
|
|
14564
14598
|
interface ClientRequestConstructorOptions {
|
|
@@ -14820,9 +14854,9 @@ declare namespace Electron {
|
|
|
14820
14854
|
frameCharset: string;
|
|
14821
14855
|
/**
|
|
14822
14856
|
* If the context menu was invoked on an input field, the type of that field.
|
|
14823
|
-
* Possible values
|
|
14857
|
+
* Possible values include `none`, `plainText`, `password`, `other`.
|
|
14824
14858
|
*/
|
|
14825
|
-
inputFieldType:
|
|
14859
|
+
inputFieldType: ('none' | 'plainText' | 'password' | 'other');
|
|
14826
14860
|
/**
|
|
14827
14861
|
* If the context is editable, whether or not spellchecking is enabled.
|
|
14828
14862
|
*/
|
|
@@ -16520,6 +16554,16 @@ declare namespace Electron {
|
|
|
16520
16554
|
* @platform darwin
|
|
16521
16555
|
*/
|
|
16522
16556
|
positioningItem?: number;
|
|
16557
|
+
/**
|
|
16558
|
+
* This should map to the `menuSourceType` provided by the `context-menu` event. It
|
|
16559
|
+
* is not recommended to set this value manually, only provide values you receive
|
|
16560
|
+
* from other APIs or leave it `undefined`. Can be `none`, `mouse`, `keyboard`,
|
|
16561
|
+
* `touch`, `touchMenu`, `longPress`, `longTap`, `touchHandle`, `stylus`,
|
|
16562
|
+
* `adjustSelection`, or `adjustSelectionReset`.
|
|
16563
|
+
*
|
|
16564
|
+
* @platform win32,linux
|
|
16565
|
+
*/
|
|
16566
|
+
sourceType?: ('none' | 'mouse' | 'keyboard' | 'touch' | 'touchMenu' | 'longPress' | 'longTap' | 'touchHandle' | 'stylus' | 'adjustSelection' | 'adjustSelectionReset');
|
|
16523
16567
|
/**
|
|
16524
16568
|
* Called when menu is closed.
|
|
16525
16569
|
*/
|
|
@@ -16703,13 +16747,14 @@ declare namespace Electron {
|
|
|
16703
16747
|
*/
|
|
16704
16748
|
height?: number;
|
|
16705
16749
|
/**
|
|
16706
|
-
* The desired quality of the resize image. Possible values
|
|
16707
|
-
* or `best`. The default is `best`. These values express a desired
|
|
16708
|
-
* tradeoff. They are translated into an algorithm-specific method
|
|
16709
|
-
* the capabilities (CPU, GPU) of the underlying platform. It is
|
|
16710
|
-
* three methods to be mapped to the same algorithm on a given
|
|
16750
|
+
* The desired quality of the resize image. Possible values include `good`,
|
|
16751
|
+
* `better`, or `best`. The default is `best`. These values express a desired
|
|
16752
|
+
* quality/speed tradeoff. They are translated into an algorithm-specific method
|
|
16753
|
+
* that depends on the capabilities (CPU, GPU) of the underlying platform. It is
|
|
16754
|
+
* possible for all three methods to be mapped to the same algorithm on a given
|
|
16755
|
+
* platform.
|
|
16711
16756
|
*/
|
|
16712
|
-
quality?:
|
|
16757
|
+
quality?: ('good' | 'better' | 'best');
|
|
16713
16758
|
}
|
|
16714
16759
|
|
|
16715
16760
|
interface ResolveHostOptions {
|
|
@@ -16952,9 +16997,9 @@ declare namespace Electron {
|
|
|
16952
16997
|
interface SourcesOptions {
|
|
16953
16998
|
/**
|
|
16954
16999
|
* An array of strings that lists the types of desktop sources to be captured,
|
|
16955
|
-
* available types
|
|
17000
|
+
* available types can be `screen` and `window`.
|
|
16956
17001
|
*/
|
|
16957
|
-
types:
|
|
17002
|
+
types: Array<'screen' | 'window'>;
|
|
16958
17003
|
/**
|
|
16959
17004
|
* The size that the media source thumbnail should be scaled to. Default is `150` x
|
|
16960
17005
|
* `150`. Set width or height to 0 when you do not need the thumbnails. This will
|
|
@@ -17327,7 +17372,7 @@ declare namespace Electron {
|
|
|
17327
17372
|
|
|
17328
17373
|
interface USBProtectedClassesHandlerHandlerDetails {
|
|
17329
17374
|
/**
|
|
17330
|
-
* The current list of protected USB classes. Possible class values
|
|
17375
|
+
* The current list of protected USB classes. Possible class values include:
|
|
17331
17376
|
*/
|
|
17332
17377
|
protectedClasses: Array<'audio' | 'audio-video' | 'hid' | 'mass-storage' | 'smart-card' | 'video' | 'wireless'>;
|
|
17333
17378
|
}
|
|
@@ -17916,9 +17961,9 @@ declare namespace Electron {
|
|
|
17916
17961
|
frameCharset: string;
|
|
17917
17962
|
/**
|
|
17918
17963
|
* If the context menu was invoked on an input field, the type of that field.
|
|
17919
|
-
* Possible values
|
|
17964
|
+
* Possible values include `none`, `plainText`, `password`, `other`.
|
|
17920
17965
|
*/
|
|
17921
|
-
inputFieldType:
|
|
17966
|
+
inputFieldType: ('none' | 'plainText' | 'password' | 'other');
|
|
17922
17967
|
/**
|
|
17923
17968
|
* If the context is editable, whether or not spellchecking is enabled.
|
|
17924
17969
|
*/
|
package/package.json
CHANGED