electron 42.2.0 → 42.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +85 -10
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v42.
|
|
3
|
-
"chromedriver-v42.
|
|
4
|
-
"chromedriver-v42.
|
|
5
|
-
"chromedriver-v42.
|
|
6
|
-
"chromedriver-v42.
|
|
7
|
-
"chromedriver-v42.
|
|
8
|
-
"chromedriver-v42.
|
|
9
|
-
"chromedriver-v42.
|
|
10
|
-
"chromedriver-v42.
|
|
11
|
-
"chromedriver-v42.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v42.
|
|
14
|
-
"electron-v42.
|
|
15
|
-
"electron-v42.
|
|
16
|
-
"electron-v42.
|
|
17
|
-
"electron-v42.
|
|
18
|
-
"electron-v42.
|
|
19
|
-
"electron-v42.
|
|
20
|
-
"electron-v42.
|
|
21
|
-
"electron-v42.
|
|
22
|
-
"electron-v42.
|
|
23
|
-
"electron-v42.
|
|
24
|
-
"electron-v42.
|
|
25
|
-
"electron-v42.
|
|
26
|
-
"electron-v42.
|
|
27
|
-
"electron-v42.
|
|
28
|
-
"electron-v42.
|
|
29
|
-
"electron-v42.
|
|
30
|
-
"electron-v42.
|
|
31
|
-
"electron-v42.
|
|
32
|
-
"electron-v42.
|
|
33
|
-
"electron-v42.
|
|
34
|
-
"electron-v42.
|
|
35
|
-
"electron-v42.
|
|
36
|
-
"electron-v42.
|
|
37
|
-
"electron-v42.
|
|
38
|
-
"electron-v42.
|
|
39
|
-
"electron-v42.
|
|
40
|
-
"electron-v42.
|
|
41
|
-
"electron-v42.
|
|
42
|
-
"electron-v42.
|
|
43
|
-
"electron-v42.
|
|
44
|
-
"electron-v42.
|
|
45
|
-
"electron-v42.
|
|
46
|
-
"electron-v42.
|
|
47
|
-
"electron-v42.
|
|
48
|
-
"electron-v42.
|
|
49
|
-
"electron-v42.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v42.
|
|
52
|
-
"ffmpeg-v42.
|
|
53
|
-
"ffmpeg-v42.
|
|
54
|
-
"ffmpeg-v42.
|
|
55
|
-
"ffmpeg-v42.
|
|
56
|
-
"ffmpeg-v42.
|
|
57
|
-
"ffmpeg-v42.
|
|
58
|
-
"ffmpeg-v42.
|
|
59
|
-
"ffmpeg-v42.
|
|
60
|
-
"ffmpeg-v42.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v42.
|
|
63
|
-
"libcxx-objects-v42.
|
|
64
|
-
"libcxx-objects-v42.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v42.
|
|
68
|
-
"mksnapshot-v42.
|
|
69
|
-
"mksnapshot-v42.
|
|
70
|
-
"mksnapshot-v42.
|
|
71
|
-
"mksnapshot-v42.
|
|
72
|
-
"mksnapshot-v42.
|
|
73
|
-
"mksnapshot-v42.
|
|
74
|
-
"mksnapshot-v42.
|
|
75
|
-
"mksnapshot-v42.
|
|
76
|
-
"mksnapshot-v42.
|
|
2
|
+
"chromedriver-v42.3.1-darwin-arm64.zip": "efb4142a82aedffb88d59141ce63420dcd2eb8ff7659645b5620975203d4c248",
|
|
3
|
+
"chromedriver-v42.3.1-darwin-x64.zip": "cb36366510bcff88e69fba912327ba161c41f790ddf11b228e5a74bf72eee78f",
|
|
4
|
+
"chromedriver-v42.3.1-linux-arm64.zip": "083eef76ec00722f3a42518332395e8776b3ef433e61f0c71df056a091f87368",
|
|
5
|
+
"chromedriver-v42.3.1-linux-armv7l.zip": "cd81395b061d02452821234274e10dd9b9a388cdd15ccc49b60a87cffffd4329",
|
|
6
|
+
"chromedriver-v42.3.1-linux-x64.zip": "1258818c57a9bbbcf385490efb9c784a40eef93d32dbf953d1638488e0fc0950",
|
|
7
|
+
"chromedriver-v42.3.1-mas-arm64.zip": "920305891de03d621526ecbdfc710438e0b1a6f9a23139c55e04ac2a9bfc96bf",
|
|
8
|
+
"chromedriver-v42.3.1-mas-x64.zip": "cc3e29963fad27b05a88c14ae3c06ae95be1c7405124061bb1cddec787824a3c",
|
|
9
|
+
"chromedriver-v42.3.1-win32-arm64.zip": "549e2e259d7a1833f93c0308cfe086d374e0667b033a6ff23e567dee24580d64",
|
|
10
|
+
"chromedriver-v42.3.1-win32-ia32.zip": "d7891edfd68960a91739b43b16f78f57a25e69d9b0ce82433b34160908c5ced7",
|
|
11
|
+
"chromedriver-v42.3.1-win32-x64.zip": "e61ed0c9eb39bf244d2707fc34c98a5b89d6aa3264006ba5bc989d46a538efe1",
|
|
12
|
+
"electron-api.json": "60c19446cb9eb5b42fbce3983242210ad9400ef810a0da9612a85a79f7d3249b",
|
|
13
|
+
"electron-v42.3.1-darwin-arm64-dsym-snapshot.zip": "18258059e89beb3ee5f1690db482cb0e5c7b53336d9cef251746a6e7de51b214",
|
|
14
|
+
"electron-v42.3.1-darwin-arm64-dsym.tar.xz": "5bc01202b0668d7778e81e1a2d5f5c0a106070522692cf9f069c1244a7a44080",
|
|
15
|
+
"electron-v42.3.1-darwin-arm64-symbols.zip": "39124544b95cc7c0b9e0f1aa78af66f28f658aa8a161bf0e8b1a3475d7bcd138",
|
|
16
|
+
"electron-v42.3.1-darwin-arm64.zip": "42367edb62be9a3d5f8a3200214e210e5e64669e4999edb5baf4e05de073091e",
|
|
17
|
+
"electron-v42.3.1-darwin-x64-dsym-snapshot.zip": "30cd4703a2914bc58f01924b3a9b465f57d02883f357a1e4452005549731daeb",
|
|
18
|
+
"electron-v42.3.1-darwin-x64-dsym.tar.xz": "4b9cc7bc236afe30fd1b18fd386a86138ef22a82de413ede152885ceabe49cea",
|
|
19
|
+
"electron-v42.3.1-darwin-x64-symbols.zip": "492e2703123de811a839cba59da1098aaa386c8a10111f780eddc1a06769f82c",
|
|
20
|
+
"electron-v42.3.1-darwin-x64.zip": "16a73d60e5a74216214c5d6e67e1ab1d2fc828946f57c33aaae2f61bc8a1932a",
|
|
21
|
+
"electron-v42.3.1-linux-arm64-debug.zip": "4d97e807a800f31983123ac83e64a4eae44ceaef1d3c660e201d0674d30dc4ea",
|
|
22
|
+
"electron-v42.3.1-linux-arm64-symbols.zip": "73910f83c82430e6fca289405763f6563ea206d9454a9cd9c32197c3d36d41a5",
|
|
23
|
+
"electron-v42.3.1-linux-arm64.zip": "48c5720ca175627188e0efc7c4b00163815059df49d687b7cb9bdc7a91f4cf1a",
|
|
24
|
+
"electron-v42.3.1-linux-armv7l-debug.zip": "72ef37deed32f811e66ebd4330c9f4b63d198d4f671c4d457d358e5c0d050e82",
|
|
25
|
+
"electron-v42.3.1-linux-armv7l-symbols.zip": "8dd187ffb0db8bb66fa2e48935aa5eaedde2149d603aad8d2797726fc81e21f9",
|
|
26
|
+
"electron-v42.3.1-linux-armv7l.zip": "12a46d85a65afdcff136898e6570a31c1586b76886ac20d84f4eee517483764a",
|
|
27
|
+
"electron-v42.3.1-linux-x64-debug.zip": "01913ec2302e8b270e40ce05f9a446631a2869097ed36deccb7e8b2adb6f1996",
|
|
28
|
+
"electron-v42.3.1-linux-x64-symbols.zip": "a179834ed918bc4577c000cc1fcf3e268e8580b0c872ba313611ab89c503ff2c",
|
|
29
|
+
"electron-v42.3.1-linux-x64.zip": "b577f4db81aa18552d8798f28d9ec25ade9149169261d96c1109db0aabb98d79",
|
|
30
|
+
"electron-v42.3.1-mas-arm64-dsym-snapshot.zip": "73b95653cf9d0f1f4a9b712dc2cc618a4d332132b956521b037cd764074072c2",
|
|
31
|
+
"electron-v42.3.1-mas-arm64-dsym.tar.xz": "e25d134ed372c20511d1c1314005582968eca6e3fae3d193acbed003d5983899",
|
|
32
|
+
"electron-v42.3.1-mas-arm64-symbols.zip": "6cae9b56c36ecd6e1744ebe4e142dfc3ba1961011bb914787905273871422815",
|
|
33
|
+
"electron-v42.3.1-mas-arm64.zip": "afcf24e174a7c520b400f27226f301faaf168fc400daa8893458f6bd74905bd2",
|
|
34
|
+
"electron-v42.3.1-mas-x64-dsym-snapshot.zip": "b81c9a7a19d70b74ab755ff26f495d359e4752f25c5675bbfe4a3444b708359f",
|
|
35
|
+
"electron-v42.3.1-mas-x64-dsym.tar.xz": "900cdcbc50a57297e8b642471bf6b4bf359a0c3c6d62604cc6917f7cc424ce8a",
|
|
36
|
+
"electron-v42.3.1-mas-x64-symbols.zip": "c139c86f782afa0a47264e11ec7ff7fe043fff69128afaa8c00567dc268d7ac2",
|
|
37
|
+
"electron-v42.3.1-mas-x64.zip": "58c1c47c2e1a97b44fc1d32d60de98c08a12655954947fcf032d5d242cc2523c",
|
|
38
|
+
"electron-v42.3.1-win32-arm64-pdb.zip": "765af09023190b3ab14d4c6df846d5b6d616f9087ce8062817718a752034d139",
|
|
39
|
+
"electron-v42.3.1-win32-arm64-symbols.zip": "2d26355c8202f11b6265cab735d9756c4467dcba9eec19d26ae9f5c81d6fb90f",
|
|
40
|
+
"electron-v42.3.1-win32-arm64-toolchain-profile.zip": "615b0145f304e0eea0ffd20c0fcf0e8e7e5255e1c3f3ae0577725a16ebb91994",
|
|
41
|
+
"electron-v42.3.1-win32-arm64.zip": "3c959acda0f6a531fa7aff6adebe596af61fc2419c961ae82928613ee4fd3ad8",
|
|
42
|
+
"electron-v42.3.1-win32-ia32-pdb.zip": "7e235dce76b87141f150fb6978d50c4b803780b82ca0b9d8b970a6c430f4a393",
|
|
43
|
+
"electron-v42.3.1-win32-ia32-symbols.zip": "42374166187163a451793392c3269ebe381f6a841363ed4565ceb2812f89ed05",
|
|
44
|
+
"electron-v42.3.1-win32-ia32-toolchain-profile.zip": "615b0145f304e0eea0ffd20c0fcf0e8e7e5255e1c3f3ae0577725a16ebb91994",
|
|
45
|
+
"electron-v42.3.1-win32-ia32.zip": "c46b1a0dfc42b5d6d85bbecaf6870c2f780275da327cca4932876fd045eae735",
|
|
46
|
+
"electron-v42.3.1-win32-x64-pdb.zip": "46edc06e85e2e33cf4a59df9f98a365f8019a76ea60c8c9604d0346c5b70db70",
|
|
47
|
+
"electron-v42.3.1-win32-x64-symbols.zip": "6cf30cde6ae03c21fdc3e1b735012697ecb05bfae800afea6c47ff4709103bc4",
|
|
48
|
+
"electron-v42.3.1-win32-x64-toolchain-profile.zip": "615b0145f304e0eea0ffd20c0fcf0e8e7e5255e1c3f3ae0577725a16ebb91994",
|
|
49
|
+
"electron-v42.3.1-win32-x64.zip": "dd36bb3eb443fc5fdad5bc48e0195be3b91a2bf5f5de3d283c039eb06784c04b",
|
|
50
|
+
"electron.d.ts": "52385991711c447c0567e4a6108ab52c0dbdc325da51325e6df3368bb5bc7499",
|
|
51
|
+
"ffmpeg-v42.3.1-darwin-arm64.zip": "10473554966a9ffac42b896c28b15ca08b5d458e14197c3477bcc799b36f22ee",
|
|
52
|
+
"ffmpeg-v42.3.1-darwin-x64.zip": "42b1aa505476116f6ba86621676268aee8f7374c924d98920a0eb1ff94c204c6",
|
|
53
|
+
"ffmpeg-v42.3.1-linux-arm64.zip": "89734dc4fd09f48573be1143d4cd7c6ea17528a7ee04226e30369f4da2ae32d7",
|
|
54
|
+
"ffmpeg-v42.3.1-linux-armv7l.zip": "61affc83d44039980650431f6d66b7b5d3aa981c6894baa8b5f600c2c9a03b3e",
|
|
55
|
+
"ffmpeg-v42.3.1-linux-x64.zip": "242c83913028f535fab30759bdc2f217f0b57d5b63b8cc44ee2dd228711879fe",
|
|
56
|
+
"ffmpeg-v42.3.1-mas-arm64.zip": "81ee84deded77b5f901643dec5ca63b639a6a749ceb7104eb8a9dbf6512888df",
|
|
57
|
+
"ffmpeg-v42.3.1-mas-x64.zip": "142e2449e71bc677e099df264cc09247b02420eee51fe6ce4842f1744c325cd7",
|
|
58
|
+
"ffmpeg-v42.3.1-win32-arm64.zip": "cfb09a1dc79aec7cf5842fc91ff0fdf6bfbae9aa33306e9a1eae1055beb8106c",
|
|
59
|
+
"ffmpeg-v42.3.1-win32-ia32.zip": "7fa6df931575f6a6342564de2caa7643f29050b77a5685b6f6cfd56b26f77090",
|
|
60
|
+
"ffmpeg-v42.3.1-win32-x64.zip": "b811d5848f8791f361af9419a0cfb833e46c90827f4a08986a85f2598d739fd7",
|
|
61
|
+
"hunspell_dictionaries.zip": "bdca7122f82bc151343a2af7c7e2fc92141cfd1970056f51ce3bce51dcff98a6",
|
|
62
|
+
"libcxx-objects-v42.3.1-linux-arm64.zip": "a039a24a4d7d9142f9ebd48de57764e9a8a3bb9499554051756ba02dc8b1218d",
|
|
63
|
+
"libcxx-objects-v42.3.1-linux-armv7l.zip": "7a4a6cb8525c2115fe33940f7c9ded96e8876fcd5d4df2c6fdc12177790b964f",
|
|
64
|
+
"libcxx-objects-v42.3.1-linux-x64.zip": "86f7f368e9a708c53ff8862dff49a28cba63ef6f4dfcc428d40bdbe018c00d8c",
|
|
65
|
+
"libcxx_headers.zip": "7c07365c24b52639c1263a68eba30fb308d79194c35464e9279b6bc0fa9ff3cd",
|
|
66
|
+
"libcxxabi_headers.zip": "88a69e434f5a001028891091b32535b7b4e95c7764e4a7597112467042615d9b",
|
|
67
|
+
"mksnapshot-v42.3.1-darwin-arm64.zip": "1b17d0a3cf93ab8e470bd7c73bd7209268f069495a59914dd2939dff957cdb62",
|
|
68
|
+
"mksnapshot-v42.3.1-darwin-x64.zip": "98eec270a44d161da3025f0893eba84d0b7b6788ae2b41ca637d70aa5d9f5d2e",
|
|
69
|
+
"mksnapshot-v42.3.1-linux-arm64-x64.zip": "a6c5fb60f2d221d3e7f90637004b4a0c7ee91c38657062b70350220f25b70260",
|
|
70
|
+
"mksnapshot-v42.3.1-linux-armv7l-x64.zip": "0e7d12295086ebdef5e35e0824a4d14bc496cf03847983d49fa8cf74d8143ac6",
|
|
71
|
+
"mksnapshot-v42.3.1-linux-x64.zip": "ddaadd160c531397cc0c6cb9775ca63a748dfd839e08b06b4a83281934269b67",
|
|
72
|
+
"mksnapshot-v42.3.1-mas-arm64.zip": "247e41f3dfeb51dfe59d155aafc579e997eb08ac1c6f005c91eb14dee7aad884",
|
|
73
|
+
"mksnapshot-v42.3.1-mas-x64.zip": "2c35149d88e2a50e4401ff35351e9e35aacc6754e28df0049c37236993b0e19f",
|
|
74
|
+
"mksnapshot-v42.3.1-win32-arm64-x64.zip": "78c3f1983c8c2d2df3041b5aa08d87db8ea3fd3da1ff36f69738d42d15b82a89",
|
|
75
|
+
"mksnapshot-v42.3.1-win32-ia32.zip": "3fe095788b9a2720577e2c2ac210924fa4d2331aa06161418e5e15ac8540c28e",
|
|
76
|
+
"mksnapshot-v42.3.1-win32-x64.zip": "d03afc57e013eb7dada2b9646af1c615b22532696b5b425a7d3f65fe26c3781f"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 42.
|
|
1
|
+
// Type definitions for Electron 42.3.1
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -1133,8 +1133,6 @@ declare namespace Electron {
|
|
|
1133
1133
|
*
|
|
1134
1134
|
* This method returns a promise that contains the application name, icon and path
|
|
1135
1135
|
* of the default handler for the protocol (aka URI scheme) of a URL.
|
|
1136
|
-
*
|
|
1137
|
-
* @platform darwin,win32
|
|
1138
1136
|
*/
|
|
1139
1137
|
getApplicationInfoForProtocol(url: string): Promise<Electron.ApplicationInfoForProtocolReturnValue>;
|
|
1140
1138
|
/**
|
|
@@ -2231,6 +2229,10 @@ declare namespace Electron {
|
|
|
2231
2229
|
removeListener(event: 'maximize', listener: () => void): this;
|
|
2232
2230
|
/**
|
|
2233
2231
|
* Emitted when the window is minimized.
|
|
2232
|
+
*
|
|
2233
|
+
* > [!NOTE] On Wayland, “minimized” is not currently a supported state. The
|
|
2234
|
+
* minimize event will only fire when triggered by client-side decoration (e.g.
|
|
2235
|
+
* clicking the minimize button on a frameless window’s Window Control Overlay)
|
|
2234
2236
|
*/
|
|
2235
2237
|
on(event: 'minimize', listener: () => void): this;
|
|
2236
2238
|
off(event: 'minimize', listener: () => void): this;
|
|
@@ -4400,6 +4402,10 @@ declare namespace Electron {
|
|
|
4400
4402
|
removeListener(event: 'maximize', listener: () => void): this;
|
|
4401
4403
|
/**
|
|
4402
4404
|
* Emitted when the window is minimized.
|
|
4405
|
+
*
|
|
4406
|
+
* > [!NOTE] On Wayland, “minimized” is not currently a supported state. The
|
|
4407
|
+
* minimize event will only fire when triggered by client-side decoration (e.g.
|
|
4408
|
+
* clicking the minimize button on a frameless window’s Window Control Overlay)
|
|
4403
4409
|
*/
|
|
4404
4410
|
on(event: 'minimize', listener: () => void): this;
|
|
4405
4411
|
off(event: 'minimize', listener: () => void): this;
|
|
@@ -4408,6 +4414,10 @@ declare namespace Electron {
|
|
|
4408
4414
|
removeListener(event: 'minimize', listener: () => void): this;
|
|
4409
4415
|
/**
|
|
4410
4416
|
* Emitted when the window is minimized.
|
|
4417
|
+
*
|
|
4418
|
+
* > [!NOTE] On Wayland, “minimized” is not currently a supported state. The
|
|
4419
|
+
* minimize event will only fire when triggered by client-side decoration (e.g.
|
|
4420
|
+
* clicking the minimize button on a frameless window’s Window Control Overlay)
|
|
4411
4421
|
*/
|
|
4412
4422
|
on(event: 'minimize', listener: () => void): this;
|
|
4413
4423
|
off(event: 'minimize', listener: () => void): this;
|
|
@@ -10476,6 +10486,26 @@ declare namespace Electron {
|
|
|
10476
10486
|
* Whether or not desktop notifications are supported on the current system
|
|
10477
10487
|
*/
|
|
10478
10488
|
static isSupported(): boolean;
|
|
10489
|
+
/**
|
|
10490
|
+
* Removes one or more delivered notifications from Notification Center by their
|
|
10491
|
+
* identifier(s).
|
|
10492
|
+
*
|
|
10493
|
+
* @platform darwin
|
|
10494
|
+
*/
|
|
10495
|
+
static remove(id: (string) | (string[])): void;
|
|
10496
|
+
/**
|
|
10497
|
+
* Removes all of the app's delivered notifications from Notification Center.
|
|
10498
|
+
*
|
|
10499
|
+
* @platform darwin
|
|
10500
|
+
*/
|
|
10501
|
+
static removeAll(): void;
|
|
10502
|
+
/**
|
|
10503
|
+
* Removes all delivered notifications with the given `groupId` from Notification
|
|
10504
|
+
* Center.
|
|
10505
|
+
*
|
|
10506
|
+
* @platform darwin
|
|
10507
|
+
*/
|
|
10508
|
+
static removeGroup(groupId: string): void;
|
|
10479
10509
|
/**
|
|
10480
10510
|
* Dismisses the notification.
|
|
10481
10511
|
*
|
|
@@ -15626,6 +15656,31 @@ declare namespace Electron {
|
|
|
15626
15656
|
* GetExitCodeProcess on Windows.
|
|
15627
15657
|
*/
|
|
15628
15658
|
code: number) => void): this;
|
|
15659
|
+
/**
|
|
15660
|
+
* Emitted when the utility process encounters an HTTP 401 or 407 authentication
|
|
15661
|
+
* challenge, if the process was created with both
|
|
15662
|
+
* `respondToAuthRequestsFromMainProcess: true` and a `session` option. The
|
|
15663
|
+
* `callback` should be called with credentials to respond to the challenge.
|
|
15664
|
+
* Calling `callback` without arguments will cancel the request.
|
|
15665
|
+
*
|
|
15666
|
+
* This behaves the same as the `login` event on `app` but is scoped to the
|
|
15667
|
+
* individual utility process instance.
|
|
15668
|
+
*/
|
|
15669
|
+
on(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15670
|
+
authInfo: AuthInfo,
|
|
15671
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15672
|
+
off(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15673
|
+
authInfo: AuthInfo,
|
|
15674
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15675
|
+
once(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15676
|
+
authInfo: AuthInfo,
|
|
15677
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15678
|
+
addListener(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15679
|
+
authInfo: AuthInfo,
|
|
15680
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15681
|
+
removeListener(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15682
|
+
authInfo: AuthInfo,
|
|
15683
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15629
15684
|
/**
|
|
15630
15685
|
* Emitted when the child process sends a message using
|
|
15631
15686
|
* `process.parentPort.postMessage()`.
|
|
@@ -18067,7 +18122,7 @@ declare namespace Electron {
|
|
|
18067
18122
|
* When `contents` is a `<webview>` tag, the `mode` would be `detach` by default,
|
|
18068
18123
|
* explicitly passing an empty `mode` can force using last used dock state.
|
|
18069
18124
|
*
|
|
18070
|
-
* On Windows, if
|
|
18125
|
+
* On Windows, if Window Control Overlay is enabled, DevTools will be opened with
|
|
18071
18126
|
* `mode: 'detach'`.
|
|
18072
18127
|
*/
|
|
18073
18128
|
openDevTools(options?: OpenDevToolsOptions): void;
|
|
@@ -21308,6 +21363,22 @@ declare namespace Electron {
|
|
|
21308
21363
|
* Current working directory of the child process.
|
|
21309
21364
|
*/
|
|
21310
21365
|
cwd?: string;
|
|
21366
|
+
/**
|
|
21367
|
+
* Sets the session used by the process for network requests. By default, network
|
|
21368
|
+
* requests from the utility process will use the system network context which does
|
|
21369
|
+
* not have HTTP cache support. Setting a session enables HTTP caching and other
|
|
21370
|
+
* session-specific network features. See session for more information.
|
|
21371
|
+
*/
|
|
21372
|
+
session?: Session;
|
|
21373
|
+
/**
|
|
21374
|
+
* Sets the session used by the process according to the session's partition
|
|
21375
|
+
* string. If `partition` starts with `persist:`, the process will use a persistent
|
|
21376
|
+
* session available to all pages in the app with the same `partition`. If there is
|
|
21377
|
+
* no `persist:` prefix, the process will use an in-memory session. By assigning
|
|
21378
|
+
* the same `partition`, multiple processes can share the same session. If the
|
|
21379
|
+
* `session` option is set, this option is ignored.
|
|
21380
|
+
*/
|
|
21381
|
+
partition?: string;
|
|
21311
21382
|
/**
|
|
21312
21383
|
* Allows configuring the mode for `stdout` and `stderr` of the child process.
|
|
21313
21384
|
* Default is `inherit`. String value can be one of `pipe`, `ignore`, `inherit`,
|
|
@@ -21349,9 +21420,11 @@ declare namespace Electron {
|
|
|
21349
21420
|
disclaim?: boolean;
|
|
21350
21421
|
/**
|
|
21351
21422
|
* With this flag, all HTTP 401 and 407 network requests created via the net module
|
|
21352
|
-
* will allow responding to them via the `
|
|
21353
|
-
*
|
|
21354
|
-
*
|
|
21423
|
+
* will allow responding to them via the `login` event on the `UtilityProcess`
|
|
21424
|
+
* instance when a `session` is provided, or via the `app#login` event in the main
|
|
21425
|
+
* process when using the default system network context. Without this flag, auth
|
|
21426
|
+
* challenges are handled by the default `login` event on the `ClientRequest`
|
|
21427
|
+
* object. Default is `false`.
|
|
21355
21428
|
*/
|
|
21356
21429
|
respondToAuthRequestsFromMainProcess?: boolean;
|
|
21357
21430
|
}
|
|
@@ -22102,8 +22175,9 @@ declare namespace Electron {
|
|
|
22102
22175
|
* A unique identifier for the notification. On macOS, maps to
|
|
22103
22176
|
* `UNNotificationRequest`'s `identifier` property. On Windows, maps to the toast
|
|
22104
22177
|
* notification's `Tag` property. Defaults to a random UUID if not provided or if
|
|
22105
|
-
* an empty string is passed.
|
|
22106
|
-
* delivered notifications.
|
|
22178
|
+
* an empty string is passed. Use this identifier with `Notification.remove()` to
|
|
22179
|
+
* remove specific delivered notifications, or with `Notification.getHistory()` to
|
|
22180
|
+
* identify them.
|
|
22107
22181
|
*
|
|
22108
22182
|
* @platform darwin,win32
|
|
22109
22183
|
*/
|
|
@@ -22112,7 +22186,8 @@ declare namespace Electron {
|
|
|
22112
22186
|
* A string identifier used to visually group notifications together in
|
|
22113
22187
|
* Notification Center / Action Center. On macOS, maps to `UNNotificationContent`'s
|
|
22114
22188
|
* `threadIdentifier` property. On Windows, maps to the toast notification's
|
|
22115
|
-
* `Group` property.
|
|
22189
|
+
* `Group` property. Use this identifier with `Notification.removeGroup()` to
|
|
22190
|
+
* remove all notifications in a group.
|
|
22116
22191
|
*
|
|
22117
22192
|
* @platform darwin,win32
|
|
22118
22193
|
*/
|