electron 45.0.0-alpha.13 → 45.0.0-alpha.15
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 +67 -67
- package/electron.d.ts +117 -4
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v45.0.0-alpha.
|
|
3
|
-
"chromedriver-v45.0.0-alpha.
|
|
4
|
-
"chromedriver-v45.0.0-alpha.
|
|
5
|
-
"chromedriver-v45.0.0-alpha.
|
|
6
|
-
"chromedriver-v45.0.0-alpha.
|
|
7
|
-
"chromedriver-v45.0.0-alpha.
|
|
8
|
-
"chromedriver-v45.0.0-alpha.
|
|
9
|
-
"chromedriver-v45.0.0-alpha.
|
|
10
|
-
"electron-api.json": "
|
|
11
|
-
"electron-v45.0.0-alpha.
|
|
12
|
-
"electron-v45.0.0-alpha.
|
|
13
|
-
"electron-v45.0.0-alpha.
|
|
14
|
-
"electron-v45.0.0-alpha.
|
|
15
|
-
"electron-v45.0.0-alpha.
|
|
16
|
-
"electron-v45.0.0-alpha.
|
|
17
|
-
"electron-v45.0.0-alpha.
|
|
18
|
-
"electron-v45.0.0-alpha.
|
|
19
|
-
"electron-v45.0.0-alpha.
|
|
20
|
-
"electron-v45.0.0-alpha.
|
|
21
|
-
"electron-v45.0.0-alpha.
|
|
22
|
-
"electron-v45.0.0-alpha.
|
|
23
|
-
"electron-v45.0.0-alpha.
|
|
24
|
-
"electron-v45.0.0-alpha.
|
|
25
|
-
"electron-v45.0.0-alpha.
|
|
26
|
-
"electron-v45.0.0-alpha.
|
|
27
|
-
"electron-v45.0.0-alpha.
|
|
28
|
-
"electron-v45.0.0-alpha.
|
|
29
|
-
"electron-v45.0.0-alpha.
|
|
30
|
-
"electron-v45.0.0-alpha.
|
|
31
|
-
"electron-v45.0.0-alpha.
|
|
32
|
-
"electron-v45.0.0-alpha.
|
|
33
|
-
"electron-v45.0.0-alpha.
|
|
34
|
-
"electron-v45.0.0-alpha.
|
|
35
|
-
"electron-v45.0.0-alpha.
|
|
36
|
-
"electron-v45.0.0-alpha.
|
|
37
|
-
"electron-v45.0.0-alpha.
|
|
38
|
-
"electron-v45.0.0-alpha.
|
|
39
|
-
"electron-v45.0.0-alpha.
|
|
40
|
-
"electron-v45.0.0-alpha.
|
|
41
|
-
"electron.d.ts": "
|
|
42
|
-
"ffmpeg-v45.0.0-alpha.
|
|
43
|
-
"ffmpeg-v45.0.0-alpha.
|
|
44
|
-
"ffmpeg-v45.0.0-alpha.
|
|
45
|
-
"ffmpeg-v45.0.0-alpha.
|
|
46
|
-
"ffmpeg-v45.0.0-alpha.
|
|
47
|
-
"ffmpeg-v45.0.0-alpha.
|
|
48
|
-
"ffmpeg-v45.0.0-alpha.
|
|
49
|
-
"ffmpeg-v45.0.0-alpha.
|
|
50
|
-
"hunspell_dictionaries.zip": "
|
|
51
|
-
"libcxx-objects-v45.0.0-alpha.
|
|
52
|
-
"libcxx-objects-v45.0.0-alpha.
|
|
53
|
-
"libcxx_headers.zip": "
|
|
54
|
-
"libcxxabi_headers.zip": "
|
|
55
|
-
"mksnapshot-v45.0.0-alpha.
|
|
56
|
-
"mksnapshot-v45.0.0-alpha.
|
|
57
|
-
"mksnapshot-v45.0.0-alpha.
|
|
58
|
-
"mksnapshot-v45.0.0-alpha.
|
|
59
|
-
"mksnapshot-v45.0.0-alpha.
|
|
60
|
-
"mksnapshot-v45.0.0-alpha.
|
|
61
|
-
"mksnapshot-v45.0.0-alpha.
|
|
62
|
-
"mksnapshot-v45.0.0-alpha.
|
|
63
|
-
"xcache-v45.0.0-alpha.
|
|
64
|
-
"xcache-v45.0.0-alpha.
|
|
65
|
-
"xcache-v45.0.0-alpha.
|
|
66
|
-
"xcache-v45.0.0-alpha.
|
|
67
|
-
"xcache-v45.0.0-alpha.
|
|
68
|
-
"xcache-v45.0.0-alpha.
|
|
2
|
+
"chromedriver-v45.0.0-alpha.15-darwin-arm64.zip": "90fbfe6f920255b9b30e7406cb3c284f2c39018a101898e4e816461be4fd9952",
|
|
3
|
+
"chromedriver-v45.0.0-alpha.15-darwin-x64.zip": "9d15444699f32e8bb61df3b11a28b6d45e6d80cc184d5c32070919f25679af68",
|
|
4
|
+
"chromedriver-v45.0.0-alpha.15-linux-arm64.zip": "f4c295279df27ff0029dbfe65db2471c02d2ccfc4f0d2934caefbeb6164aac3b",
|
|
5
|
+
"chromedriver-v45.0.0-alpha.15-linux-x64.zip": "95f8ecf58fffc4079926f289b6b400f0877eec413bca564a73d94da65d3d9c93",
|
|
6
|
+
"chromedriver-v45.0.0-alpha.15-mas-arm64.zip": "9ed7b3d00d2aab31f9d3bc9d71ef15b4e284da977c6334624f7e0300c455947e",
|
|
7
|
+
"chromedriver-v45.0.0-alpha.15-mas-x64.zip": "65c7a3f18f6cab98c74e5b57d9fd8aa41098e601eb03f8c9913568791f6f17eb",
|
|
8
|
+
"chromedriver-v45.0.0-alpha.15-win32-arm64.zip": "d0cf4edddfd39252fb9d265409a7420c1403fec1d845f94bddc1ce0c3a635098",
|
|
9
|
+
"chromedriver-v45.0.0-alpha.15-win32-x64.zip": "a284be8fcb650d02d6674bc460e48ae53b5389db5997a68a668c77a4a6e05a98",
|
|
10
|
+
"electron-api.json": "194b8c50001d2648241410b53e283ac831b787ff162af41c15b5cf8b5e1b339c",
|
|
11
|
+
"electron-v45.0.0-alpha.15-darwin-arm64-dsym-snapshot.zip": "b525528760e34cfd374bdedb1628ad28925e5c7a93844cb0f21eb0c0263d169d",
|
|
12
|
+
"electron-v45.0.0-alpha.15-darwin-arm64-dsym.tar.xz": "7560ba8710c67c0540e0cdc6f064279537c81c86429d81dfdfe0a22b8e275e43",
|
|
13
|
+
"electron-v45.0.0-alpha.15-darwin-arm64-symbols.zip": "08a6dfd865c9389b6d775c7ae73f54b8d58470424aca8b5e46a29a7501b9d7b3",
|
|
14
|
+
"electron-v45.0.0-alpha.15-darwin-arm64.zip": "6f77a7a84d332ad5e00d090c9b6c6b7a9d756276d8aa3c2fd3106e9bf81d9fa8",
|
|
15
|
+
"electron-v45.0.0-alpha.15-darwin-x64-dsym-snapshot.zip": "b525528760e34cfd374bdedb1628ad28925e5c7a93844cb0f21eb0c0263d169d",
|
|
16
|
+
"electron-v45.0.0-alpha.15-darwin-x64-dsym.tar.xz": "52df5bb0d22a50e523c8d6c4f5723330be6c97515df3aafc293a1f2ed12ab029",
|
|
17
|
+
"electron-v45.0.0-alpha.15-darwin-x64-symbols.zip": "6a61664c1028bb705be63dd2e4ebbe5e54b579793d561611dcec2aecec6e9925",
|
|
18
|
+
"electron-v45.0.0-alpha.15-darwin-x64.zip": "291e84e0f267a7ae8cd690eac6b876df1b7c8862866c086b6bff9ada92c34cd9",
|
|
19
|
+
"electron-v45.0.0-alpha.15-linux-arm64-debug.zip": "513dbf45ffa42f262e3e9ed118cf7ac43c3a830c94e5aff6b8e2147699394ff7",
|
|
20
|
+
"electron-v45.0.0-alpha.15-linux-arm64-symbols.zip": "d05c3ea3b65adceacdf3b8d7a5c1b463c70a167b11c02a24edc95780a0ba1d82",
|
|
21
|
+
"electron-v45.0.0-alpha.15-linux-arm64.zip": "c4e947b6b8a7f7f3a9eccca234e549849c09e5e3d4a52c1eacddc6144960e95e",
|
|
22
|
+
"electron-v45.0.0-alpha.15-linux-x64-debug.zip": "94869dbd4058fb76e6e766d0f69364a402e5932e2fad870b4da080e79ad1dba0",
|
|
23
|
+
"electron-v45.0.0-alpha.15-linux-x64-symbols.zip": "e8e9eb81a683aaba43211c1b918a42add6cb377bdb88ea7e546ad83ec425a069",
|
|
24
|
+
"electron-v45.0.0-alpha.15-linux-x64.zip": "caf4cc44935e742254da2679e2f2317f08a21e8a51c3607fdb86e8bb58cda249",
|
|
25
|
+
"electron-v45.0.0-alpha.15-mas-arm64-dsym-snapshot.zip": "b525528760e34cfd374bdedb1628ad28925e5c7a93844cb0f21eb0c0263d169d",
|
|
26
|
+
"electron-v45.0.0-alpha.15-mas-arm64-dsym.tar.xz": "00666c2618c4415f0106726e9328990bf4460ff03cf0a844cc85bb3a43150d44",
|
|
27
|
+
"electron-v45.0.0-alpha.15-mas-arm64-symbols.zip": "3ed70d0bb4a5180f0f84af8e84474820efef2d0d8dc103049a9e8e62756047c1",
|
|
28
|
+
"electron-v45.0.0-alpha.15-mas-arm64.zip": "a8147f9d280e69a6237195e1e10b7d4f98b1c3adfb813e70b882f86cdd4f42f2",
|
|
29
|
+
"electron-v45.0.0-alpha.15-mas-x64-dsym-snapshot.zip": "b525528760e34cfd374bdedb1628ad28925e5c7a93844cb0f21eb0c0263d169d",
|
|
30
|
+
"electron-v45.0.0-alpha.15-mas-x64-dsym.tar.xz": "d192ca40313b180f1c9b907de147d68313f9f044df028a2b2fdf9a358dd6d764",
|
|
31
|
+
"electron-v45.0.0-alpha.15-mas-x64-symbols.zip": "e2a14c24fb25eaf243959b4858514078ee15dfe71d59c1458ef313ea6d87d9af",
|
|
32
|
+
"electron-v45.0.0-alpha.15-mas-x64.zip": "cf47e5bb15a21661fb6a4b1e2f8d7b4c844376d310d9fe10f0c639c81f01c3bc",
|
|
33
|
+
"electron-v45.0.0-alpha.15-win32-arm64-pdb.zip": "ec531a439ce70f0d41bb111d70f988e4bff670d1d75614eaea706679a2e25b7f",
|
|
34
|
+
"electron-v45.0.0-alpha.15-win32-arm64-symbols.zip": "8db0e175450914a407eb8cfbabf7c008f221b43e56c8c1e1726b154bfd5789e3",
|
|
35
|
+
"electron-v45.0.0-alpha.15-win32-arm64-toolchain-profile.zip": "c74afb2f66851265ce1b0bbe06018bb54fbc928e15ba08f24e194acd6a80f2a1",
|
|
36
|
+
"electron-v45.0.0-alpha.15-win32-arm64.zip": "743003db8a7362c1d4fe2eaecf9d1900128b9c82f61f5ea959689d85191e139e",
|
|
37
|
+
"electron-v45.0.0-alpha.15-win32-x64-pdb.zip": "60cecae9edcc4ea2a5e0d52e6153c9e314d9aed8c0fc488e625701de08026b0f",
|
|
38
|
+
"electron-v45.0.0-alpha.15-win32-x64-symbols.zip": "cdd3456468051110911ac0dab1d3e5737cfe496ee4e0fe29c9b24b1c7d24c734",
|
|
39
|
+
"electron-v45.0.0-alpha.15-win32-x64-toolchain-profile.zip": "c74afb2f66851265ce1b0bbe06018bb54fbc928e15ba08f24e194acd6a80f2a1",
|
|
40
|
+
"electron-v45.0.0-alpha.15-win32-x64.zip": "d1928213c362318ecfbe90a746561316971b17b345ad95303f65f77738e19a5a",
|
|
41
|
+
"electron.d.ts": "2c9363f7f45eaadf244a0777b307cb0613d2b785daca3273efc314530d0d5010",
|
|
42
|
+
"ffmpeg-v45.0.0-alpha.15-darwin-arm64.zip": "1d676ac1d263f54121f07780e2b364b6b3dcd9cdcfda0190b5c3308cd368eaff",
|
|
43
|
+
"ffmpeg-v45.0.0-alpha.15-darwin-x64.zip": "6ea4bdd764c6aed9d3fa5b0ce3fef6b9c09a47c54709a4245db28638f84946ba",
|
|
44
|
+
"ffmpeg-v45.0.0-alpha.15-linux-arm64.zip": "584a0fecae75afb4d07ddc2f3299da9a6e994ece6a8766ea47687040349e4995",
|
|
45
|
+
"ffmpeg-v45.0.0-alpha.15-linux-x64.zip": "f669e527707647388ea30888e5bb802feee55791c2cd7cf79783f37c60515f2b",
|
|
46
|
+
"ffmpeg-v45.0.0-alpha.15-mas-arm64.zip": "76e38a3b3b0fe477c701c0e5470abed6175fa7c7cd2d64fca37ac4e30e29bbfd",
|
|
47
|
+
"ffmpeg-v45.0.0-alpha.15-mas-x64.zip": "bd102c6e322cd605998b314debbca69624924c2359e590be27a2dbf5ec66e2f0",
|
|
48
|
+
"ffmpeg-v45.0.0-alpha.15-win32-arm64.zip": "62c223ee7762c2f4a60f8ecf5ca0e4b118a01ae55a69b8113a6c6d674b4091f2",
|
|
49
|
+
"ffmpeg-v45.0.0-alpha.15-win32-x64.zip": "6a961377b7cbeb03ca5da5649e80737dfe46074033087629d35ab6c715c26d90",
|
|
50
|
+
"hunspell_dictionaries.zip": "0b05671b49b5b569c640a3322d8e4c782860a4faa6199e238b4745b340a323d2",
|
|
51
|
+
"libcxx-objects-v45.0.0-alpha.15-linux-arm64.zip": "48a12d2a710c8e68a5d80749b30e455adb05ff689fd437f3d4d20998aa81fa41",
|
|
52
|
+
"libcxx-objects-v45.0.0-alpha.15-linux-x64.zip": "ac5a818b0b02c7faece6f0f2815d904c5265ce5ba5e993361663b298ab977e91",
|
|
53
|
+
"libcxx_headers.zip": "464a4db71bd204c0a0350eb83e6f1e5c3fbe1f83e56ac3d1b20d7c98dbc06851",
|
|
54
|
+
"libcxxabi_headers.zip": "e4a377f8fdde1e1f1e8261debd29604a34817d95e68ee344499a1a5c372b5202",
|
|
55
|
+
"mksnapshot-v45.0.0-alpha.15-darwin-arm64.zip": "a9e6260d6dffac8861193f619fdd627bd0067541ef9cb0a23852725ea898533d",
|
|
56
|
+
"mksnapshot-v45.0.0-alpha.15-darwin-x64.zip": "b614b5e40c47494e6350d4215fcda92115bfce0f4dd73052f7e28713567db180",
|
|
57
|
+
"mksnapshot-v45.0.0-alpha.15-linux-arm64-x64.zip": "894b2ee54ef78c0496a0e01835963a61cc439fdf9fb74cf88616451615998c6a",
|
|
58
|
+
"mksnapshot-v45.0.0-alpha.15-linux-x64.zip": "c1153153b29ae220405a4033e41716b6d62f84529e64c28689e0901b6717d420",
|
|
59
|
+
"mksnapshot-v45.0.0-alpha.15-mas-arm64.zip": "a06e12235068e45ba9c611c125b7ab0bdf0347919eb4d3862500ba02ee2102c3",
|
|
60
|
+
"mksnapshot-v45.0.0-alpha.15-mas-x64.zip": "54f3a6723459fd7ab98ea53322dbe4d586352a1692acd05d4349d0085ac44b1e",
|
|
61
|
+
"mksnapshot-v45.0.0-alpha.15-win32-arm64-x64.zip": "d504a286ed430d225796ba524d9274760b68bc2110c9f080dc55c604b8233243",
|
|
62
|
+
"mksnapshot-v45.0.0-alpha.15-win32-x64.zip": "e42fedacae67e7de1ca469cd4fc8b696af5abc4214e4ef2e32d57fd228ff5224",
|
|
63
|
+
"xcache-v45.0.0-alpha.15-darwin-arm64.zip": "525a320a07e268112fcab39391368ba735c2706caa073f56f28c783c831948e2",
|
|
64
|
+
"xcache-v45.0.0-alpha.15-darwin-x64.zip": "7325c8f3503c048d5c2fa1dcc49311dfd0f5493f2fcedc2cbfd313b4bac77f83",
|
|
65
|
+
"xcache-v45.0.0-alpha.15-linux-arm64.zip": "819d301cc60a26d20108217053418d7ebe9e1804358047df6fccc0e8090114c2",
|
|
66
|
+
"xcache-v45.0.0-alpha.15-linux-x64.zip": "0d2864586d91e5822e5742e859e8339642d5318adc2c5f4fa2d74a9874dcaa75",
|
|
67
|
+
"xcache-v45.0.0-alpha.15-win32-arm64.zip": "418eb64da166236b9945b961c115d5689bb3de43e8cf433827aa8056fb4d09eb",
|
|
68
|
+
"xcache-v45.0.0-alpha.15-win32-x64.zip": "101e2f8e1ea64f212592779db9ce3eeef368070fb8078ee615fd76c18ceaee3d"
|
|
69
69
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 45.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 45.0.0-alpha.15
|
|
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
|
|
@@ -11795,6 +11795,12 @@ declare namespace Electron {
|
|
|
11795
11795
|
|
|
11796
11796
|
// Docs: https://electronjs.org/docs/api/protocol
|
|
11797
11797
|
|
|
11798
|
+
/**
|
|
11799
|
+
* The source registered for `scheme` with `protocol.registerSource`, or `null`.
|
|
11800
|
+
*
|
|
11801
|
+
* @experimental
|
|
11802
|
+
*/
|
|
11803
|
+
getSource(scheme: string): (ProtocolSource) | (null);
|
|
11798
11804
|
/**
|
|
11799
11805
|
* Register a protocol handler for `scheme`. Requests made to URLs with this scheme
|
|
11800
11806
|
* will delegate to this handler to determine what response should be sent.
|
|
@@ -11858,7 +11864,7 @@ declare namespace Electron {
|
|
|
11858
11864
|
*/
|
|
11859
11865
|
interceptStringProtocol(scheme: string, handler: (request: ProtocolRequest, callback: (response: (string) | (ProtocolResponse)) => void) => void): boolean;
|
|
11860
11866
|
/**
|
|
11861
|
-
* Whether `scheme`
|
|
11867
|
+
* Whether `scheme` already has a handler or a source.
|
|
11862
11868
|
*/
|
|
11863
11869
|
isProtocolHandled(scheme: string): boolean;
|
|
11864
11870
|
/**
|
|
@@ -11953,6 +11959,28 @@ declare namespace Electron {
|
|
|
11953
11959
|
* correctly expect streaming responses.
|
|
11954
11960
|
*/
|
|
11955
11961
|
registerSchemesAsPrivileged(customSchemes: CustomScheme[]): void;
|
|
11962
|
+
/**
|
|
11963
|
+
* Serves `scheme` from directories on disk without a JavaScript handler. Each
|
|
11964
|
+
* request is matched against `routes` (a route with a `host` wins over one
|
|
11965
|
+
* without, then the longest `path` prefix wins), the rest of the URL's path is
|
|
11966
|
+
* resolved inside that route's `root`, and the file is streamed to the requester
|
|
11967
|
+
* the way `file:` URLs are, including from `asar` archives, with `Content-Type`
|
|
11968
|
+
* taken from the file extension. A path that resolves outside `root`, a missing
|
|
11969
|
+
* file, a request that matches no route, or a method other than `GET`/`HEAD` fails
|
|
11970
|
+
* with `net::ERR_FILE_NOT_FOUND`. A URL whose path ends in `/` serves the route's
|
|
11971
|
+
* `index` file.
|
|
11972
|
+
*
|
|
11973
|
+
* Use this instead of `protocol.handle` when a scheme only serves an app's own
|
|
11974
|
+
* bundled files: no request touches the main thread, so pages and their
|
|
11975
|
+
* subresources load at the same speed whether or not the main process is busy.
|
|
11976
|
+
*
|
|
11977
|
+
* A scheme has either a handler or a source; `protocol.unhandle` removes either,
|
|
11978
|
+
* and `protocol.isProtocolHandled` reports both. `webRequest` listeners apply to
|
|
11979
|
+
* these requests as to any other.
|
|
11980
|
+
*
|
|
11981
|
+
* @experimental
|
|
11982
|
+
*/
|
|
11983
|
+
registerSource(scheme: string, source: ProtocolSource): void;
|
|
11956
11984
|
/**
|
|
11957
11985
|
* Whether the protocol was successfully registered
|
|
11958
11986
|
*
|
|
@@ -11983,7 +12011,8 @@ declare namespace Electron {
|
|
|
11983
12011
|
*/
|
|
11984
12012
|
registerStringProtocol(scheme: string, handler: (request: ProtocolRequest, callback: (response: (string) | (ProtocolResponse)) => void) => void): boolean;
|
|
11985
12013
|
/**
|
|
11986
|
-
* Removes a protocol handler registered with `protocol.handle
|
|
12014
|
+
* Removes a protocol handler registered with `protocol.handle` or a source
|
|
12015
|
+
* registered with `protocol.registerSource`.
|
|
11987
12016
|
*/
|
|
11988
12017
|
unhandle(scheme: string): void;
|
|
11989
12018
|
/**
|
|
@@ -12100,6 +12129,32 @@ declare namespace Electron {
|
|
|
12100
12129
|
data: (string) | (Buffer);
|
|
12101
12130
|
}
|
|
12102
12131
|
|
|
12132
|
+
interface ProtocolRoute {
|
|
12133
|
+
|
|
12134
|
+
// Docs: https://electronjs.org/docs/api/structures/protocol-route
|
|
12135
|
+
|
|
12136
|
+
/**
|
|
12137
|
+
* Which URLs on the scheme this route serves. A route without `match` serves every
|
|
12138
|
+
* URL.
|
|
12139
|
+
*/
|
|
12140
|
+
match?: Match;
|
|
12141
|
+
/**
|
|
12142
|
+
* What the matched URLs are served from.
|
|
12143
|
+
*/
|
|
12144
|
+
source: Source;
|
|
12145
|
+
}
|
|
12146
|
+
|
|
12147
|
+
interface ProtocolSource {
|
|
12148
|
+
|
|
12149
|
+
// Docs: https://electronjs.org/docs/api/structures/protocol-source
|
|
12150
|
+
|
|
12151
|
+
/**
|
|
12152
|
+
* How URLs on the scheme map to directories on disk; see
|
|
12153
|
+
* `protocol.registerSource`.
|
|
12154
|
+
*/
|
|
12155
|
+
routes: ProtocolRoute[];
|
|
12156
|
+
}
|
|
12157
|
+
|
|
12103
12158
|
interface ProxyConfig {
|
|
12104
12159
|
|
|
12105
12160
|
// Docs: https://electronjs.org/docs/api/structures/proxy-config
|
|
@@ -13767,7 +13822,7 @@ declare namespace Electron {
|
|
|
13767
13822
|
*
|
|
13768
13823
|
* Passing `null` instead of a function resets the handler to its default state.
|
|
13769
13824
|
*/
|
|
13770
|
-
setDisplayMediaRequestHandler(handler: ((request: DisplayMediaRequestHandlerHandlerRequest, callback: (streams: Streams) => void) => void) | (null), opts?: DisplayMediaRequestHandlerOpts): void;
|
|
13825
|
+
setDisplayMediaRequestHandler(handler: ((request: DisplayMediaRequestHandlerHandlerRequest, callback: (streams: (Streams) | (null)) => void) => void) | (null), opts?: DisplayMediaRequestHandlerOpts): void;
|
|
13771
13826
|
/**
|
|
13772
13827
|
* Sets download saving directory. By default, the download directory will be the
|
|
13773
13828
|
* `Downloads` under the respective app folder.
|
|
@@ -22802,6 +22857,20 @@ declare namespace Electron {
|
|
|
22802
22857
|
args?: string[];
|
|
22803
22858
|
}
|
|
22804
22859
|
|
|
22860
|
+
interface Match {
|
|
22861
|
+
/**
|
|
22862
|
+
* Host name to match, for standard schemes. It is compared with the URL's host as
|
|
22863
|
+
* a whole, case-insensitively; there is no wildcard or subdomain matching. Omit to
|
|
22864
|
+
* match any host.
|
|
22865
|
+
*/
|
|
22866
|
+
host?: string;
|
|
22867
|
+
/**
|
|
22868
|
+
* Path prefix to match, starting with `/` and written as it appears in a URL
|
|
22869
|
+
* (percent-encoded). Defaults to `/`.
|
|
22870
|
+
*/
|
|
22871
|
+
path?: string;
|
|
22872
|
+
}
|
|
22873
|
+
|
|
22805
22874
|
interface MenuItemConstructorOptions {
|
|
22806
22875
|
/**
|
|
22807
22876
|
* Will be called with `click(menuItem, window, event)` when the menu item is
|
|
@@ -24340,6 +24409,30 @@ declare namespace Electron {
|
|
|
24340
24409
|
topFrameSite: string;
|
|
24341
24410
|
}
|
|
24342
24411
|
|
|
24412
|
+
interface Source {
|
|
24413
|
+
/**
|
|
24414
|
+
* Must be `directory`.
|
|
24415
|
+
*/
|
|
24416
|
+
type: string;
|
|
24417
|
+
/**
|
|
24418
|
+
* Absolute path of the directory. The part of the URL's path after `match.path` is
|
|
24419
|
+
* resolved inside it; paths that would leave it are not served. May point into an
|
|
24420
|
+
* `asar` archive.
|
|
24421
|
+
*/
|
|
24422
|
+
root: string;
|
|
24423
|
+
/**
|
|
24424
|
+
* File served for a URL whose path ends in `/`. Defaults to `index.html`; an empty
|
|
24425
|
+
* string disables it.
|
|
24426
|
+
*/
|
|
24427
|
+
index?: string;
|
|
24428
|
+
/**
|
|
24429
|
+
* Response headers added to every file served by this route. Headers computed by
|
|
24430
|
+
* the file loader, including `Content-Type`, `Content-Length`, and
|
|
24431
|
+
* `Content-Range`, will override these supplied values.
|
|
24432
|
+
*/
|
|
24433
|
+
headers?: Record<string, string>;
|
|
24434
|
+
}
|
|
24435
|
+
|
|
24343
24436
|
interface SourcesOptions {
|
|
24344
24437
|
/**
|
|
24345
24438
|
* An array of strings that lists the types of desktop sources to be captured,
|
|
@@ -25778,6 +25871,7 @@ declare namespace Electron {
|
|
|
25778
25871
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
25779
25872
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
25780
25873
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
25874
|
+
type Match = Electron.Match;
|
|
25781
25875
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
25782
25876
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
25783
25877
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -25844,6 +25938,7 @@ declare namespace Electron {
|
|
|
25844
25938
|
type SessionSelectWebauthnAuthenticatorEventParams = Electron.SessionSelectWebauthnAuthenticatorEventParams;
|
|
25845
25939
|
type Settings = Electron.Settings;
|
|
25846
25940
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
25941
|
+
type Source = Electron.Source;
|
|
25847
25942
|
type SourcesOptions = Electron.SourcesOptions;
|
|
25848
25943
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
25849
25944
|
type StartTask = Electron.StartTask;
|
|
@@ -25978,6 +26073,8 @@ declare namespace Electron {
|
|
|
25978
26073
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
25979
26074
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
25980
26075
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
26076
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
26077
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
25981
26078
|
type ProxyConfig = Electron.ProxyConfig;
|
|
25982
26079
|
type Rectangle = Electron.Rectangle;
|
|
25983
26080
|
type Referrer = Electron.Referrer;
|
|
@@ -26202,6 +26299,7 @@ declare namespace Electron {
|
|
|
26202
26299
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26203
26300
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26204
26301
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26302
|
+
type Match = Electron.Match;
|
|
26205
26303
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
26206
26304
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
26207
26305
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -26268,6 +26366,7 @@ declare namespace Electron {
|
|
|
26268
26366
|
type SessionSelectWebauthnAuthenticatorEventParams = Electron.SessionSelectWebauthnAuthenticatorEventParams;
|
|
26269
26367
|
type Settings = Electron.Settings;
|
|
26270
26368
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
26369
|
+
type Source = Electron.Source;
|
|
26271
26370
|
type SourcesOptions = Electron.SourcesOptions;
|
|
26272
26371
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
26273
26372
|
type StartTask = Electron.StartTask;
|
|
@@ -26402,6 +26501,8 @@ declare namespace Electron {
|
|
|
26402
26501
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
26403
26502
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
26404
26503
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
26504
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
26505
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
26405
26506
|
type ProxyConfig = Electron.ProxyConfig;
|
|
26406
26507
|
type Rectangle = Electron.Rectangle;
|
|
26407
26508
|
type Referrer = Electron.Referrer;
|
|
@@ -26550,6 +26651,7 @@ declare namespace Electron {
|
|
|
26550
26651
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26551
26652
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26552
26653
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
26654
|
+
type Match = Electron.Match;
|
|
26553
26655
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
26554
26656
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
26555
26657
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -26616,6 +26718,7 @@ declare namespace Electron {
|
|
|
26616
26718
|
type SessionSelectWebauthnAuthenticatorEventParams = Electron.SessionSelectWebauthnAuthenticatorEventParams;
|
|
26617
26719
|
type Settings = Electron.Settings;
|
|
26618
26720
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
26721
|
+
type Source = Electron.Source;
|
|
26619
26722
|
type SourcesOptions = Electron.SourcesOptions;
|
|
26620
26723
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
26621
26724
|
type StartTask = Electron.StartTask;
|
|
@@ -26750,6 +26853,8 @@ declare namespace Electron {
|
|
|
26750
26853
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
26751
26854
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
26752
26855
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
26856
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
26857
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
26753
26858
|
type ProxyConfig = Electron.ProxyConfig;
|
|
26754
26859
|
type Rectangle = Electron.Rectangle;
|
|
26755
26860
|
type Referrer = Electron.Referrer;
|
|
@@ -26900,6 +27005,7 @@ declare namespace Electron {
|
|
|
26900
27005
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
26901
27006
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
26902
27007
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
27008
|
+
type Match = Electron.Match;
|
|
26903
27009
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
26904
27010
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
26905
27011
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -26966,6 +27072,7 @@ declare namespace Electron {
|
|
|
26966
27072
|
type SessionSelectWebauthnAuthenticatorEventParams = Electron.SessionSelectWebauthnAuthenticatorEventParams;
|
|
26967
27073
|
type Settings = Electron.Settings;
|
|
26968
27074
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
27075
|
+
type Source = Electron.Source;
|
|
26969
27076
|
type SourcesOptions = Electron.SourcesOptions;
|
|
26970
27077
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
26971
27078
|
type StartTask = Electron.StartTask;
|
|
@@ -27100,6 +27207,8 @@ declare namespace Electron {
|
|
|
27100
27207
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
27101
27208
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
27102
27209
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
27210
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
27211
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
27103
27212
|
type ProxyConfig = Electron.ProxyConfig;
|
|
27104
27213
|
type Rectangle = Electron.Rectangle;
|
|
27105
27214
|
type Referrer = Electron.Referrer;
|
|
@@ -27346,6 +27455,7 @@ declare namespace Electron {
|
|
|
27346
27455
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
27347
27456
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
27348
27457
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
27458
|
+
type Match = Electron.Match;
|
|
27349
27459
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
27350
27460
|
type MessageBoxOptions = Electron.MessageBoxOptions;
|
|
27351
27461
|
type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
|
|
@@ -27412,6 +27522,7 @@ declare namespace Electron {
|
|
|
27412
27522
|
type SessionSelectWebauthnAuthenticatorEventParams = Electron.SessionSelectWebauthnAuthenticatorEventParams;
|
|
27413
27523
|
type Settings = Electron.Settings;
|
|
27414
27524
|
type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
|
|
27525
|
+
type Source = Electron.Source;
|
|
27415
27526
|
type SourcesOptions = Electron.SourcesOptions;
|
|
27416
27527
|
type StartLoggingOptions = Electron.StartLoggingOptions;
|
|
27417
27528
|
type StartTask = Electron.StartTask;
|
|
@@ -27546,6 +27657,8 @@ declare namespace Electron {
|
|
|
27546
27657
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
27547
27658
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
27548
27659
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
27660
|
+
type ProtocolRoute = Electron.ProtocolRoute;
|
|
27661
|
+
type ProtocolSource = Electron.ProtocolSource;
|
|
27549
27662
|
type ProxyConfig = Electron.ProxyConfig;
|
|
27550
27663
|
type Rectangle = Electron.Rectangle;
|
|
27551
27664
|
type Referrer = Electron.Referrer;
|
package/package.json
CHANGED