electron 26.0.0-beta.1 → 26.0.0-beta.11
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 +71 -54
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v26.0.0-beta.
|
|
3
|
-
"chromedriver-v26.0.0-beta.
|
|
4
|
-
"chromedriver-v26.0.0-beta.
|
|
5
|
-
"chromedriver-v26.0.0-beta.
|
|
6
|
-
"chromedriver-v26.0.0-beta.
|
|
7
|
-
"chromedriver-v26.0.0-beta.
|
|
8
|
-
"chromedriver-v26.0.0-beta.
|
|
9
|
-
"chromedriver-v26.0.0-beta.
|
|
10
|
-
"chromedriver-v26.0.0-beta.
|
|
11
|
-
"chromedriver-v26.0.0-beta.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v26.0.0-beta.
|
|
14
|
-
"electron-v26.0.0-beta.
|
|
15
|
-
"electron-v26.0.0-beta.
|
|
16
|
-
"electron-v26.0.0-beta.
|
|
17
|
-
"electron-v26.0.0-beta.
|
|
18
|
-
"electron-v26.0.0-beta.
|
|
19
|
-
"electron-v26.0.0-beta.
|
|
20
|
-
"electron-v26.0.0-beta.
|
|
21
|
-
"electron-v26.0.0-beta.
|
|
22
|
-
"electron-v26.0.0-beta.
|
|
23
|
-
"electron-v26.0.0-beta.
|
|
24
|
-
"electron-v26.0.0-beta.
|
|
25
|
-
"electron-v26.0.0-beta.
|
|
26
|
-
"electron-v26.0.0-beta.
|
|
27
|
-
"electron-v26.0.0-beta.
|
|
28
|
-
"electron-v26.0.0-beta.
|
|
29
|
-
"electron-v26.0.0-beta.
|
|
30
|
-
"electron-v26.0.0-beta.
|
|
31
|
-
"electron-v26.0.0-beta.
|
|
32
|
-
"electron-v26.0.0-beta.
|
|
33
|
-
"electron-v26.0.0-beta.
|
|
34
|
-
"electron-v26.0.0-beta.
|
|
35
|
-
"electron-v26.0.0-beta.
|
|
36
|
-
"electron-v26.0.0-beta.
|
|
37
|
-
"electron-v26.0.0-beta.
|
|
38
|
-
"electron-v26.0.0-beta.
|
|
39
|
-
"electron-v26.0.0-beta.
|
|
40
|
-
"electron-v26.0.0-beta.
|
|
41
|
-
"electron-v26.0.0-beta.
|
|
42
|
-
"electron-v26.0.0-beta.
|
|
43
|
-
"electron-v26.0.0-beta.
|
|
44
|
-
"electron-v26.0.0-beta.
|
|
45
|
-
"electron-v26.0.0-beta.
|
|
46
|
-
"electron-v26.0.0-beta.
|
|
47
|
-
"electron-v26.0.0-beta.
|
|
48
|
-
"electron-v26.0.0-beta.
|
|
49
|
-
"electron-v26.0.0-beta.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v26.0.0-beta.
|
|
52
|
-
"ffmpeg-v26.0.0-beta.
|
|
53
|
-
"ffmpeg-v26.0.0-beta.
|
|
54
|
-
"ffmpeg-v26.0.0-beta.
|
|
55
|
-
"ffmpeg-v26.0.0-beta.
|
|
56
|
-
"ffmpeg-v26.0.0-beta.
|
|
57
|
-
"ffmpeg-v26.0.0-beta.
|
|
58
|
-
"ffmpeg-v26.0.0-beta.
|
|
59
|
-
"ffmpeg-v26.0.0-beta.
|
|
60
|
-
"ffmpeg-v26.0.0-beta.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v26.0.0-beta.
|
|
63
|
-
"libcxx-objects-v26.0.0-beta.
|
|
64
|
-
"libcxx-objects-v26.0.0-beta.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v26.0.0-beta.
|
|
68
|
-
"mksnapshot-v26.0.0-beta.
|
|
69
|
-
"mksnapshot-v26.0.0-beta.
|
|
70
|
-
"mksnapshot-v26.0.0-beta.
|
|
71
|
-
"mksnapshot-v26.0.0-beta.
|
|
72
|
-
"mksnapshot-v26.0.0-beta.
|
|
73
|
-
"mksnapshot-v26.0.0-beta.
|
|
74
|
-
"mksnapshot-v26.0.0-beta.
|
|
75
|
-
"mksnapshot-v26.0.0-beta.
|
|
76
|
-
"mksnapshot-v26.0.0-beta.
|
|
2
|
+
"chromedriver-v26.0.0-beta.11-darwin-arm64.zip": "2eb4e317fa0935968addccd7d40df9f63f5103a640ab5d5cbaa6f4adb9737097",
|
|
3
|
+
"chromedriver-v26.0.0-beta.11-darwin-x64.zip": "cefc776ad3712cfe7bbaff56bf4f61766a20247e72c880af18f22bc0bb069612",
|
|
4
|
+
"chromedriver-v26.0.0-beta.11-linux-arm64.zip": "d0df6041d6cc92288b921d35d8e848b5b88b60b914cb95d3661f3171c7380fbd",
|
|
5
|
+
"chromedriver-v26.0.0-beta.11-linux-armv7l.zip": "cb51e35d5b5a28de2a49591961a00ded542465155b82e4d46e81a12e900c8ada",
|
|
6
|
+
"chromedriver-v26.0.0-beta.11-linux-x64.zip": "e8e8d49ca2f3b46689bf795957b12257f45d631ee702946b0df9715c1542b239",
|
|
7
|
+
"chromedriver-v26.0.0-beta.11-mas-arm64.zip": "a8522dfaf63923e0ec347b90ad1287996cba78f25b979c4aa8b1c8089ee56a01",
|
|
8
|
+
"chromedriver-v26.0.0-beta.11-mas-x64.zip": "acb33e15d323bf9d0c32620c05155841db2d9d6679e7d42d7562e4221084222f",
|
|
9
|
+
"chromedriver-v26.0.0-beta.11-win32-arm64.zip": "d031fe885d2d4de45f1d158c38ca4b2487fbb2a2748ac0f427d4ba0e1b8ff7ca",
|
|
10
|
+
"chromedriver-v26.0.0-beta.11-win32-ia32.zip": "4038e186840dcc7e6605fe5969ebbb76ad66a48a54921a54509e2aa13f264e62",
|
|
11
|
+
"chromedriver-v26.0.0-beta.11-win32-x64.zip": "39f6d47c2c273cdb68dfddc78626451f8614057e6d2ab83952d1f939a53aadf8",
|
|
12
|
+
"electron-api.json": "7bcb166d9c0513e366b54db2750f11162a5c3c73e2f66b02d119f71ecb55474d",
|
|
13
|
+
"electron-v26.0.0-beta.11-darwin-arm64-dsym-snapshot.zip": "1f90d21c86a0bc3e4aa8c190de1ebb0751267b65cc38e5a0ac7920baac7f0230",
|
|
14
|
+
"electron-v26.0.0-beta.11-darwin-arm64-dsym.zip": "4c01f26e4ec735104a2fc5126595c6553b4ed87bb35129a7858107faca56407a",
|
|
15
|
+
"electron-v26.0.0-beta.11-darwin-arm64-symbols.zip": "17293605fc4d4c46b4a4996e4503f7fda3ff1ff8c6dbf04af9376740ad14549f",
|
|
16
|
+
"electron-v26.0.0-beta.11-darwin-arm64.zip": "70a5801190ea17d0c71e6ccfa62634e57ac15c4388a3e9097c4de18c4d8b5b8a",
|
|
17
|
+
"electron-v26.0.0-beta.11-darwin-x64-dsym-snapshot.zip": "90496b9ad57d132a7feaab77113d87edff50cc556da6c19250cd2711e5f1e4b4",
|
|
18
|
+
"electron-v26.0.0-beta.11-darwin-x64-dsym.zip": "fc13e2278140523410238cc5977a3ac35978589d06f4c89e4aba45f2cc6ccda4",
|
|
19
|
+
"electron-v26.0.0-beta.11-darwin-x64-symbols.zip": "4bd42fb66e88b7934a8164027959393f37bac6ac643ded7ae757d52776e76ad0",
|
|
20
|
+
"electron-v26.0.0-beta.11-darwin-x64.zip": "6fcaf9bcafb0477e3e9704fa880ce9945f76695bae7162ef1a9f59f0e4591b38",
|
|
21
|
+
"electron-v26.0.0-beta.11-linux-arm64-debug.zip": "4fbe59d88b33378fa04fb94a7ca16062074a117baf76a479f39ade18ca326075",
|
|
22
|
+
"electron-v26.0.0-beta.11-linux-arm64-symbols.zip": "112b22c111d02e787cfe9d1bf6995eebe819a874537b3f7a1e745c41f95ce0aa",
|
|
23
|
+
"electron-v26.0.0-beta.11-linux-arm64.zip": "310083d9e0fc5fd1ea022706c13f5b43e6128f0cc3e63e81eb60642dea7a74ec",
|
|
24
|
+
"electron-v26.0.0-beta.11-linux-armv7l-debug.zip": "4fbe59d88b33378fa04fb94a7ca16062074a117baf76a479f39ade18ca326075",
|
|
25
|
+
"electron-v26.0.0-beta.11-linux-armv7l-symbols.zip": "c7dd1d6483002c60664fb443c6213e0d766f15836c223c33043d8f9c226aa46f",
|
|
26
|
+
"electron-v26.0.0-beta.11-linux-armv7l.zip": "b6fa86db31f25fc572dd9838ab87f84014477486184a322eb3d7b0ad55ca90ed",
|
|
27
|
+
"electron-v26.0.0-beta.11-linux-x64-debug.zip": "113a65a1f4c9fe9a88c2e6978507c5f0c423fc28b27ce2e3cca8de57eb5c59ec",
|
|
28
|
+
"electron-v26.0.0-beta.11-linux-x64-symbols.zip": "80eb114c424c279fea621e86474d9014c919352330de2e3f00e07a0726b8046d",
|
|
29
|
+
"electron-v26.0.0-beta.11-linux-x64.zip": "2195b2265edfa5c1373f417db74352ade9fbcbbf862214ae60b4eed59ecb161c",
|
|
30
|
+
"electron-v26.0.0-beta.11-mas-arm64-dsym-snapshot.zip": "1f90d21c86a0bc3e4aa8c190de1ebb0751267b65cc38e5a0ac7920baac7f0230",
|
|
31
|
+
"electron-v26.0.0-beta.11-mas-arm64-dsym.zip": "7f4bb060e19031123c2bc5ee840186edd2150c219eac9bb4f17982fe2fb064a8",
|
|
32
|
+
"electron-v26.0.0-beta.11-mas-arm64-symbols.zip": "5cf451456140240a5cf40518088b7cd54fc5fd89333874f0e91ae245e004e25c",
|
|
33
|
+
"electron-v26.0.0-beta.11-mas-arm64.zip": "d3d0375d6eb34241b285bb1bb67c698b2382d2c5be14fa682bb0e55cccf6b5db",
|
|
34
|
+
"electron-v26.0.0-beta.11-mas-x64-dsym-snapshot.zip": "20ba212a588622ccbccbf20fe4a5455ece64687d89c4fa459d226c67d838dc8a",
|
|
35
|
+
"electron-v26.0.0-beta.11-mas-x64-dsym.zip": "9c87e15518abbba107a72af788731b43268f8692b33188156652682632ca3139",
|
|
36
|
+
"electron-v26.0.0-beta.11-mas-x64-symbols.zip": "d12bcc5b610018f9736e9ac998c3a6e94a73bc109d8fd5c57e6b215ff7a74437",
|
|
37
|
+
"electron-v26.0.0-beta.11-mas-x64.zip": "3da4f14e68d775185e668aa9e73a0c7c95ec4b624a55ecbd60672244913d189c",
|
|
38
|
+
"electron-v26.0.0-beta.11-win32-arm64-pdb.zip": "a1b43a357315c8204799fb67e4061106517577f5b6e76faaf1b06e02089bc117",
|
|
39
|
+
"electron-v26.0.0-beta.11-win32-arm64-symbols.zip": "8fae9e75bf41b93ee4352c26c8a80269dc206405045cbb7dba4b88cec3d1e572",
|
|
40
|
+
"electron-v26.0.0-beta.11-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
41
|
+
"electron-v26.0.0-beta.11-win32-arm64.zip": "a53f2a7650c6246aa3e9ca9d967e80ab0cbe005bfdfab89e9b50d755e6048735",
|
|
42
|
+
"electron-v26.0.0-beta.11-win32-ia32-pdb.zip": "d03bf044f016a0fd23fe74f6f6218dddd7010ce1ab2b4ce88a518864f752a80c",
|
|
43
|
+
"electron-v26.0.0-beta.11-win32-ia32-symbols.zip": "170b045b760ee10f50a9919b3005bfbdfebc20205c5cb031a5edc767e7328849",
|
|
44
|
+
"electron-v26.0.0-beta.11-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
45
|
+
"electron-v26.0.0-beta.11-win32-ia32.zip": "74aad626750107b553659b77a4ad57687580ee9b97d39608c8c5a7eda0133793",
|
|
46
|
+
"electron-v26.0.0-beta.11-win32-x64-pdb.zip": "9f7ea1ad0f47861f1249a44ece27ef0d7ee488185c7ff33f4ad8fe5c46fb10e0",
|
|
47
|
+
"electron-v26.0.0-beta.11-win32-x64-symbols.zip": "7f2de55a558c2aa2fe6c642b8ab92e91365607d8780c1035e38ec50d67a9db98",
|
|
48
|
+
"electron-v26.0.0-beta.11-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
49
|
+
"electron-v26.0.0-beta.11-win32-x64.zip": "550bdf26a289cf3da746097591e5965d89b614b2b0d03100aa70f7b4d5c95f50",
|
|
50
|
+
"electron.d.ts": "62e8dc2a09a4f1ff7ce889d56d924b7a57181dc17185a0656e96ef948f4bc700",
|
|
51
|
+
"ffmpeg-v26.0.0-beta.11-darwin-arm64.zip": "90bc9143b953e7e1df3bbcfa730418e1cc81dcb8667585a09557bdef6051b70a",
|
|
52
|
+
"ffmpeg-v26.0.0-beta.11-darwin-x64.zip": "058034f30ffd0e56f5b1b19109f32ee601667a9d5772021a40d4fe75d8fbe824",
|
|
53
|
+
"ffmpeg-v26.0.0-beta.11-linux-arm64.zip": "71829378c1ca0b485cabcbf2d47574f0e22c07ef96803aadf20066880b36eb0f",
|
|
54
|
+
"ffmpeg-v26.0.0-beta.11-linux-armv7l.zip": "5a03ecdf9e07080152f7c89af094395f4bcbc2de98a6ef5281964830b08533da",
|
|
55
|
+
"ffmpeg-v26.0.0-beta.11-linux-x64.zip": "4453957a47a5cb5c07868b8f4d2a95ae7792da584306399363fefa5b5268907d",
|
|
56
|
+
"ffmpeg-v26.0.0-beta.11-mas-arm64.zip": "d590804c038de7d3c89ea0ebb36630554e1cdaa024136f8a851fe86d53818603",
|
|
57
|
+
"ffmpeg-v26.0.0-beta.11-mas-x64.zip": "59378b539d028e1fd153cec5041e2562e8a6389e5d42c2bcb632c119ee05913a",
|
|
58
|
+
"ffmpeg-v26.0.0-beta.11-win32-arm64.zip": "a8e988c1eccc714da842f8c256f5e51dcb98420658111e751344d7f8cfa0c93c",
|
|
59
|
+
"ffmpeg-v26.0.0-beta.11-win32-ia32.zip": "9b211e14fe38aaa76a7b37eefe4ad2920967639c058aa128e2f054ddc227f8ba",
|
|
60
|
+
"ffmpeg-v26.0.0-beta.11-win32-x64.zip": "d48d21d419638ad26509221b6b7becd5b32fba4616127d11031f6e93cc3ce60c",
|
|
61
|
+
"hunspell_dictionaries.zip": "c1572a845850aeb69dead35a21ca52ea3e5fbdef47e8e6d147cd5ecb835ced0d",
|
|
62
|
+
"libcxx-objects-v26.0.0-beta.11-linux-arm64.zip": "0b8f1d5f28dd79154f79eb40ebf1296f36e39045ee41be724bd32867ade8ca9e",
|
|
63
|
+
"libcxx-objects-v26.0.0-beta.11-linux-armv7l.zip": "6cbd233a88175382850e9cd3cef81844591fab72fe2925c1fae2a3115c3ab47c",
|
|
64
|
+
"libcxx-objects-v26.0.0-beta.11-linux-x64.zip": "a132b56e6758647bf717fb50155426c1195ad61e670ab365aba05f60f7aa4e3c",
|
|
65
|
+
"libcxx_headers.zip": "e8d3b6ee32da3c945f1db42c528a2b6405ae6f5b34ff6f6150d2087fb0400897",
|
|
66
|
+
"libcxxabi_headers.zip": "39bb75865eb1279e2c453e996c2a75c3783a32042993035df5b47f53105889f7",
|
|
67
|
+
"mksnapshot-v26.0.0-beta.11-darwin-arm64.zip": "e085d429af47c375a674a3bbb02716b3f95e6e2e1e58e5113825b085f8039615",
|
|
68
|
+
"mksnapshot-v26.0.0-beta.11-darwin-x64.zip": "175e49bfaebced91153de78386298678fe1984bb15015295623d4014e959f804",
|
|
69
|
+
"mksnapshot-v26.0.0-beta.11-linux-arm64-x64.zip": "c270b78c2b066827762558094317cb67421ee8b9dc97cdbf2dfb2fa812bba0cd",
|
|
70
|
+
"mksnapshot-v26.0.0-beta.11-linux-armv7l-x64.zip": "2c9335bb128b14e58c3a8f143ba12a429971f58d76fb15255c1fd179d426eb8d",
|
|
71
|
+
"mksnapshot-v26.0.0-beta.11-linux-x64.zip": "2b2160cfde64f11b516e5b6248dfb218fda9170230ff6f700f7f60299289c3f9",
|
|
72
|
+
"mksnapshot-v26.0.0-beta.11-mas-arm64.zip": "f3e3c47080faaa050cc3fd360f2695c60e7c0ebaa6e06e1160d0c91c487aa75c",
|
|
73
|
+
"mksnapshot-v26.0.0-beta.11-mas-x64.zip": "acc2ecc42492104bf8d63f89e38448cea0c54446513f59ddfd57afd900cb96a2",
|
|
74
|
+
"mksnapshot-v26.0.0-beta.11-win32-arm64-x64.zip": "53b20f0a216a6d301f3a66ff69847c1ff5dce46685b5138de0df6ae45ed85430",
|
|
75
|
+
"mksnapshot-v26.0.0-beta.11-win32-ia32.zip": "984ec6c3785d102de20508e569fb73bc9c1e2caf685dbe0645ec897c9f2ccda3",
|
|
76
|
+
"mksnapshot-v26.0.0-beta.11-win32-x64.zip": "724ddf3a33b9e02a096ce469945c0947719b3867abbc1b9d0cc4fc1e1d3485af"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 26.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 26.0.0-beta.11
|
|
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
|
|
@@ -5568,12 +5568,12 @@ declare namespace Electron {
|
|
|
5568
5568
|
* are serialized and only the `message` property from the original error is
|
|
5569
5569
|
* provided to the renderer process. Please refer to #24427 for details.
|
|
5570
5570
|
*/
|
|
5571
|
-
handle(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<
|
|
5571
|
+
handle(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Handles a single `invoke`able IPC message, then removes the listener. See
|
|
5574
5574
|
* `ipcMain.handle(channel, listener)`.
|
|
5575
5575
|
*/
|
|
5576
|
-
handleOnce(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<
|
|
5576
|
+
handleOnce(channel: string, listener: (event: IpcMainInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
5577
5577
|
/**
|
|
5578
5578
|
* Listens to `channel`, when a new message arrives `listener` would be called with
|
|
5579
5579
|
* `listener(event, args...)`.
|
|
@@ -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 {
|
|
@@ -7101,8 +7107,10 @@ declare namespace Electron {
|
|
|
7101
7107
|
start(type: 'prevent-app-suspension' | 'prevent-display-sleep'): number;
|
|
7102
7108
|
/**
|
|
7103
7109
|
* Stops the specified power save blocker.
|
|
7110
|
+
*
|
|
7111
|
+
* Whether the specified `powerSaveBlocker` has been stopped.
|
|
7104
7112
|
*/
|
|
7105
|
-
stop(id: number):
|
|
7113
|
+
stop(id: number): boolean;
|
|
7106
7114
|
}
|
|
7107
7115
|
|
|
7108
7116
|
interface PrinterInfo {
|
|
@@ -7738,6 +7746,27 @@ declare namespace Electron {
|
|
|
7738
7746
|
* This function will throw an error if encryption fails.
|
|
7739
7747
|
*/
|
|
7740
7748
|
encryptString(plainText: string): Buffer;
|
|
7749
|
+
/**
|
|
7750
|
+
* User friendly name of the password manager selected on Linux.
|
|
7751
|
+
*
|
|
7752
|
+
* This function will return one of the following values:
|
|
7753
|
+
*
|
|
7754
|
+
* * `basic_text` - When the desktop environment is not recognised or if the
|
|
7755
|
+
* following command line flag is provided `--password-store="basic"`.
|
|
7756
|
+
* * `gnome_libsecret` - When the desktop environment is `X-Cinnamon`, `Deepin`,
|
|
7757
|
+
* `GNOME`, `Pantheon`, `XFCE`, `UKUI`, `unity` or if the following command line
|
|
7758
|
+
* flag is provided `--password-store="gnome-libsecret"`.
|
|
7759
|
+
* * `kwallet` - When the desktop session is `kde4` or if the following command
|
|
7760
|
+
* line flag is provided `--password-store="kwallet"`.
|
|
7761
|
+
* * `kwallet5` - When the desktop session is `kde5` or if the following command
|
|
7762
|
+
* line flag is provided `--password-store="kwallet5"`.
|
|
7763
|
+
* * `kwallet6` - When the desktop session is `kde6`.
|
|
7764
|
+
* * `unknown` - When the function is called before app has emitted the `ready`
|
|
7765
|
+
* event.
|
|
7766
|
+
*
|
|
7767
|
+
* @platform linux
|
|
7768
|
+
*/
|
|
7769
|
+
getSelectedStorageBackend(): ('basic_text' | 'gnome_libsecret' | 'kwallet' | 'kwallet5' | 'kwallet6' | 'unknown');
|
|
7741
7770
|
/**
|
|
7742
7771
|
* Whether encryption is available.
|
|
7743
7772
|
*
|
|
@@ -7746,6 +7775,13 @@ declare namespace Electron {
|
|
|
7746
7775
|
* returns true once the app has emitted the `ready` event.
|
|
7747
7776
|
*/
|
|
7748
7777
|
isEncryptionAvailable(): boolean;
|
|
7778
|
+
/**
|
|
7779
|
+
* This function on Linux will force the module to use an in memory password for
|
|
7780
|
+
* creating symmetric key that is used for encrypt/decrypt functions when a valid
|
|
7781
|
+
* OS password manager cannot be determined for the current active desktop
|
|
7782
|
+
* environment. This function is a no-op on Windows and MacOS.
|
|
7783
|
+
*/
|
|
7784
|
+
setUsePlainTextEncryption(usePlainText: boolean): void;
|
|
7749
7785
|
}
|
|
7750
7786
|
|
|
7751
7787
|
interface Screen extends NodeJS.EventEmitter {
|
|
@@ -8736,7 +8772,7 @@ declare namespace Electron {
|
|
|
8736
8772
|
* make a permission request if the check is denied. To clear the handler, call
|
|
8737
8773
|
* `setPermissionCheckHandler(null)`.
|
|
8738
8774
|
*/
|
|
8739
|
-
setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission:
|
|
8775
|
+
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
8776
|
/**
|
|
8741
8777
|
* Sets the handler which can be used to respond to permission requests for the
|
|
8742
8778
|
* `session`. Calling `callback(true)` will allow the permission and
|
|
@@ -8745,7 +8781,7 @@ declare namespace Electron {
|
|
|
8745
8781
|
* `setPermissionCheckHandler` to get complete permission handling. Most web APIs
|
|
8746
8782
|
* do a permission check and then make a permission request if the check is denied.
|
|
8747
8783
|
*/
|
|
8748
|
-
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | '
|
|
8784
|
+
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
8785
|
/**
|
|
8750
8786
|
* Adds scripts that will be executed on ALL web contents that are associated with
|
|
8751
8787
|
* this session just before normal `preload` scripts run.
|
|
@@ -9304,36 +9340,6 @@ declare namespace Electron {
|
|
|
9304
9340
|
* @platform win32
|
|
9305
9341
|
*/
|
|
9306
9342
|
isAeroGlassEnabled(): boolean;
|
|
9307
|
-
/**
|
|
9308
|
-
* Whether the system is in Dark Mode.
|
|
9309
|
-
*
|
|
9310
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseDarkColors` API.
|
|
9311
|
-
*
|
|
9312
|
-
* @deprecated
|
|
9313
|
-
* @platform darwin,win32
|
|
9314
|
-
*/
|
|
9315
|
-
isDarkMode(): boolean;
|
|
9316
|
-
/**
|
|
9317
|
-
* `true` if a high contrast theme is active, `false` otherwise.
|
|
9318
|
-
*
|
|
9319
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseHighContrastColors`
|
|
9320
|
-
* API.
|
|
9321
|
-
*
|
|
9322
|
-
* @deprecated
|
|
9323
|
-
* @platform darwin,win32
|
|
9324
|
-
*/
|
|
9325
|
-
isHighContrastColorScheme(): boolean;
|
|
9326
|
-
/**
|
|
9327
|
-
* `true` if an inverted color scheme (a high contrast color scheme with light text
|
|
9328
|
-
* and dark backgrounds) is active, `false` otherwise.
|
|
9329
|
-
*
|
|
9330
|
-
* **Deprecated:** Should use the new `nativeTheme.shouldUseInvertedColorScheme`
|
|
9331
|
-
* API.
|
|
9332
|
-
*
|
|
9333
|
-
* @deprecated
|
|
9334
|
-
* @platform win32
|
|
9335
|
-
*/
|
|
9336
|
-
isInvertedColorScheme(): boolean;
|
|
9337
9343
|
/**
|
|
9338
9344
|
* Whether the Swipe between pages setting is on.
|
|
9339
9345
|
*
|
|
@@ -14549,16 +14555,16 @@ declare namespace Electron {
|
|
|
14549
14555
|
*/
|
|
14550
14556
|
origin?: string;
|
|
14551
14557
|
/**
|
|
14552
|
-
* The types of storages to clear, can
|
|
14558
|
+
* The types of storages to clear, can be `cookies`, `filesystem`, `indexdb`,
|
|
14553
14559
|
* `localstorage`, `shadercache`, `websql`, `serviceworkers`, `cachestorage`. If
|
|
14554
14560
|
* not specified, clear all storage types.
|
|
14555
14561
|
*/
|
|
14556
|
-
storages?:
|
|
14562
|
+
storages?: Array<'cookies' | 'filesystem' | 'indexdb' | 'localstorage' | 'shadercache' | 'websql' | 'serviceworkers' | 'cachestorage'>;
|
|
14557
14563
|
/**
|
|
14558
|
-
* The types of quotas to clear, can
|
|
14559
|
-
*
|
|
14564
|
+
* The types of quotas to clear, can be `temporary`, `syncable`. If not specified,
|
|
14565
|
+
* clear all quotas.
|
|
14560
14566
|
*/
|
|
14561
|
-
quotas?:
|
|
14567
|
+
quotas?: Array<'temporary' | 'syncable'>;
|
|
14562
14568
|
}
|
|
14563
14569
|
|
|
14564
14570
|
interface ClientRequestConstructorOptions {
|
|
@@ -14820,9 +14826,9 @@ declare namespace Electron {
|
|
|
14820
14826
|
frameCharset: string;
|
|
14821
14827
|
/**
|
|
14822
14828
|
* If the context menu was invoked on an input field, the type of that field.
|
|
14823
|
-
* Possible values
|
|
14829
|
+
* Possible values include `none`, `plainText`, `password`, `other`.
|
|
14824
14830
|
*/
|
|
14825
|
-
inputFieldType:
|
|
14831
|
+
inputFieldType: ('none' | 'plainText' | 'password' | 'other');
|
|
14826
14832
|
/**
|
|
14827
14833
|
* If the context is editable, whether or not spellchecking is enabled.
|
|
14828
14834
|
*/
|
|
@@ -16520,6 +16526,16 @@ declare namespace Electron {
|
|
|
16520
16526
|
* @platform darwin
|
|
16521
16527
|
*/
|
|
16522
16528
|
positioningItem?: number;
|
|
16529
|
+
/**
|
|
16530
|
+
* This should map to the `menuSourceType` provided by the `context-menu` event. It
|
|
16531
|
+
* is not recommended to set this value manually, only provide values you receive
|
|
16532
|
+
* from other APIs or leave it `undefined`. Can be `none`, `mouse`, `keyboard`,
|
|
16533
|
+
* `touch`, `touchMenu`, `longPress`, `longTap`, `touchHandle`, `stylus`,
|
|
16534
|
+
* `adjustSelection`, or `adjustSelectionReset`.
|
|
16535
|
+
*
|
|
16536
|
+
* @platform win32,linux
|
|
16537
|
+
*/
|
|
16538
|
+
sourceType?: ('none' | 'mouse' | 'keyboard' | 'touch' | 'touchMenu' | 'longPress' | 'longTap' | 'touchHandle' | 'stylus' | 'adjustSelection' | 'adjustSelectionReset');
|
|
16523
16539
|
/**
|
|
16524
16540
|
* Called when menu is closed.
|
|
16525
16541
|
*/
|
|
@@ -16703,13 +16719,14 @@ declare namespace Electron {
|
|
|
16703
16719
|
*/
|
|
16704
16720
|
height?: number;
|
|
16705
16721
|
/**
|
|
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
|
|
16722
|
+
* The desired quality of the resize image. Possible values include `good`,
|
|
16723
|
+
* `better`, or `best`. The default is `best`. These values express a desired
|
|
16724
|
+
* quality/speed tradeoff. They are translated into an algorithm-specific method
|
|
16725
|
+
* that depends on the capabilities (CPU, GPU) of the underlying platform. It is
|
|
16726
|
+
* possible for all three methods to be mapped to the same algorithm on a given
|
|
16727
|
+
* platform.
|
|
16711
16728
|
*/
|
|
16712
|
-
quality?:
|
|
16729
|
+
quality?: ('good' | 'better' | 'best');
|
|
16713
16730
|
}
|
|
16714
16731
|
|
|
16715
16732
|
interface ResolveHostOptions {
|
|
@@ -16952,9 +16969,9 @@ declare namespace Electron {
|
|
|
16952
16969
|
interface SourcesOptions {
|
|
16953
16970
|
/**
|
|
16954
16971
|
* An array of strings that lists the types of desktop sources to be captured,
|
|
16955
|
-
* available types
|
|
16972
|
+
* available types can be `screen` and `window`.
|
|
16956
16973
|
*/
|
|
16957
|
-
types:
|
|
16974
|
+
types: Array<'screen' | 'window'>;
|
|
16958
16975
|
/**
|
|
16959
16976
|
* The size that the media source thumbnail should be scaled to. Default is `150` x
|
|
16960
16977
|
* `150`. Set width or height to 0 when you do not need the thumbnails. This will
|
|
@@ -17327,7 +17344,7 @@ declare namespace Electron {
|
|
|
17327
17344
|
|
|
17328
17345
|
interface USBProtectedClassesHandlerHandlerDetails {
|
|
17329
17346
|
/**
|
|
17330
|
-
* The current list of protected USB classes. Possible class values
|
|
17347
|
+
* The current list of protected USB classes. Possible class values include:
|
|
17331
17348
|
*/
|
|
17332
17349
|
protectedClasses: Array<'audio' | 'audio-video' | 'hid' | 'mass-storage' | 'smart-card' | 'video' | 'wireless'>;
|
|
17333
17350
|
}
|
|
@@ -17916,9 +17933,9 @@ declare namespace Electron {
|
|
|
17916
17933
|
frameCharset: string;
|
|
17917
17934
|
/**
|
|
17918
17935
|
* If the context menu was invoked on an input field, the type of that field.
|
|
17919
|
-
* Possible values
|
|
17936
|
+
* Possible values include `none`, `plainText`, `password`, `other`.
|
|
17920
17937
|
*/
|
|
17921
|
-
inputFieldType:
|
|
17938
|
+
inputFieldType: ('none' | 'plainText' | 'password' | 'other');
|
|
17922
17939
|
/**
|
|
17923
17940
|
* If the context is editable, whether or not spellchecking is enabled.
|
|
17924
17941
|
*/
|
package/package.json
CHANGED