electron 42.1.0 → 42.3.0
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 +77 -14
- 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.0-darwin-arm64.zip": "caaf3fe945de448b908aec28eb2012eebd091dd7604d586ccba9d8dcde570564",
|
|
3
|
+
"chromedriver-v42.3.0-darwin-x64.zip": "c50daf833921ce7c9c4628d8fb8d9b294394cd4202a3dd4cd3a750dec6656ba9",
|
|
4
|
+
"chromedriver-v42.3.0-linux-arm64.zip": "140bac763a2793c82782eef9c27272027a1aace5b02ad2dda99a1bb342063d35",
|
|
5
|
+
"chromedriver-v42.3.0-linux-armv7l.zip": "e4ddb1ff88404ca0c189a54466924eba6c67e0bd67aeeefe4f894ef09eff7423",
|
|
6
|
+
"chromedriver-v42.3.0-linux-x64.zip": "3c29fef7bf4873a57318fc25e77bc57bec1758e40ec8c56b4717f8dac2decc71",
|
|
7
|
+
"chromedriver-v42.3.0-mas-arm64.zip": "f45331c0901119b479f741cce6adb59916f4665df7a790c7b0b006c102d1574b",
|
|
8
|
+
"chromedriver-v42.3.0-mas-x64.zip": "b7fddbaa402aaeb7755f542e6a8abe149919730b76ffd374ba924e8d85734232",
|
|
9
|
+
"chromedriver-v42.3.0-win32-arm64.zip": "91ebec1fd748c6ea62b5ae97c5bd9f81a5e64a8572c8640fac269aed22bb9a3a",
|
|
10
|
+
"chromedriver-v42.3.0-win32-ia32.zip": "87fcdd1c9307777da42bc419130b96694016ae222d0734c60324c4f4c2bf8e68",
|
|
11
|
+
"chromedriver-v42.3.0-win32-x64.zip": "de5050476d25abe05568377549f63ef67f5abdd56b02d6fe24dd9cde8a02d27a",
|
|
12
|
+
"electron-api.json": "c464321e07ebc309729ffb49afd799a5a82fdb3b7a736b50207d651ed074323f",
|
|
13
|
+
"electron-v42.3.0-darwin-arm64-dsym-snapshot.zip": "153e9870d2a5ade40bb57a78a696eb5245ce3376c46dbce76f98db934f7ad8d1",
|
|
14
|
+
"electron-v42.3.0-darwin-arm64-dsym.tar.xz": "6a8b9b30ae059f767f0f6bbfbf5e5def6e3972067fbbeeae495e79b2732be780",
|
|
15
|
+
"electron-v42.3.0-darwin-arm64-symbols.zip": "6a265ccf7fa3fe113b3dd2751e4f2b4ec092a5bfc04b10fe466482b424f2990b",
|
|
16
|
+
"electron-v42.3.0-darwin-arm64.zip": "19f4b0a4fcc3574e79befb53495cca8de02a126210d04363cf76f67099d128ef",
|
|
17
|
+
"electron-v42.3.0-darwin-x64-dsym-snapshot.zip": "bce8c1310f6c5ae0710cbccc010e69d1bb8a3e92644340c0b36d380b8bda0e42",
|
|
18
|
+
"electron-v42.3.0-darwin-x64-dsym.tar.xz": "2618cea989d18564188b2bb5d133baf11d2b447e8675a34b71bfd30ed3055891",
|
|
19
|
+
"electron-v42.3.0-darwin-x64-symbols.zip": "dbac430f7dd90dd93913f120a211dcdc2e5df7c7e2e7c7c1e23b4733bef69478",
|
|
20
|
+
"electron-v42.3.0-darwin-x64.zip": "92bc6bc82cbfe4c855e9b8c55cf48c32f0448553bb74defe8cc436da9588a73e",
|
|
21
|
+
"electron-v42.3.0-linux-arm64-debug.zip": "229430078baea1c990549a1364398b505542351dabeeb57dfbd9b889e2169f29",
|
|
22
|
+
"electron-v42.3.0-linux-arm64-symbols.zip": "63398d95e22a45949e6855a2543f5f8f0baa8a9dcaaac787d9a323d43cc877a2",
|
|
23
|
+
"electron-v42.3.0-linux-arm64.zip": "2a375ff973fb7bddc538a4f67b2141947e9d72513a1baa2beabec2a7f65cd0f0",
|
|
24
|
+
"electron-v42.3.0-linux-armv7l-debug.zip": "d51c4c10f485cf76f154c0f0548a1a966980e63128995c79da90e296b80e06d8",
|
|
25
|
+
"electron-v42.3.0-linux-armv7l-symbols.zip": "e9033a34a0ab29f3664dde49f540284b970194a8d475df70d5e87c90c7fd49cd",
|
|
26
|
+
"electron-v42.3.0-linux-armv7l.zip": "5d15e602d978d53772ec0c58af4ef02d1ba514dc3d6752ffe79c0ad21804c38c",
|
|
27
|
+
"electron-v42.3.0-linux-x64-debug.zip": "48851a453bb59c90b65abd18fa6e541c826fdb2182293527015ed8f544e22a5b",
|
|
28
|
+
"electron-v42.3.0-linux-x64-symbols.zip": "df7cd98f43f07b9ab70ada0584e6f5db3e4652fe61a8446a131ade98f189c259",
|
|
29
|
+
"electron-v42.3.0-linux-x64.zip": "487a667ca6a734b958c16cff1df74d9d44d2c18a6cccdb4dd51f6301a356c420",
|
|
30
|
+
"electron-v42.3.0-mas-arm64-dsym-snapshot.zip": "cde17e92400a1927752cbc26cc45e64a66e0034130d083c17117f26b17429c9e",
|
|
31
|
+
"electron-v42.3.0-mas-arm64-dsym.tar.xz": "899728f13b62bf09ee7af1aa9db6a118fa0b1e4576b31bd5a079f44e4f819baf",
|
|
32
|
+
"electron-v42.3.0-mas-arm64-symbols.zip": "4ddc9aab28a9399b6d769123024575a1e02e2a29902b3a4dad19fbed507603d8",
|
|
33
|
+
"electron-v42.3.0-mas-arm64.zip": "52f093618b43b593c12b33eb6d1c247f6a7b34f98588c1629d5386e5cd371501",
|
|
34
|
+
"electron-v42.3.0-mas-x64-dsym-snapshot.zip": "14b38bd72e1b8bab34568e8db359d879d0bbacdcc5d627a29a6a876e7fee2c34",
|
|
35
|
+
"electron-v42.3.0-mas-x64-dsym.tar.xz": "0e526256a12da3a9e2092376c7af3f6c62f6f8b4e8b07004dfe432d4221b4ec4",
|
|
36
|
+
"electron-v42.3.0-mas-x64-symbols.zip": "0d3213160f581965f1a100c9c104be8122335b69f8d527ad3655a739ea6560d9",
|
|
37
|
+
"electron-v42.3.0-mas-x64.zip": "3eae1e7d39de82aede389489df3638aaac47560495615264a9df15752183eaaf",
|
|
38
|
+
"electron-v42.3.0-win32-arm64-pdb.zip": "d8e6a299012f32da783b34723b2f3a5ad1b3853e26381d8a3237463cdeab3b2c",
|
|
39
|
+
"electron-v42.3.0-win32-arm64-symbols.zip": "667d817cd28d87daae619f24b974cbe7cd0c598118e6ec64da9441c1ef8b3a9c",
|
|
40
|
+
"electron-v42.3.0-win32-arm64-toolchain-profile.zip": "615b0145f304e0eea0ffd20c0fcf0e8e7e5255e1c3f3ae0577725a16ebb91994",
|
|
41
|
+
"electron-v42.3.0-win32-arm64.zip": "f10a8848772338d440931114ddd9c74e5a348af97fa356b23936a40f0a077d3b",
|
|
42
|
+
"electron-v42.3.0-win32-ia32-pdb.zip": "a58f1bf97fa4c20771fd98cab97aad95265b3948dbd91e88750bf8c0cf43f628",
|
|
43
|
+
"electron-v42.3.0-win32-ia32-symbols.zip": "70e961df9ce44bc4dcdc42d651e12818f7c2e39ed3bf2e7d5d1493d40478b542",
|
|
44
|
+
"electron-v42.3.0-win32-ia32-toolchain-profile.zip": "615b0145f304e0eea0ffd20c0fcf0e8e7e5255e1c3f3ae0577725a16ebb91994",
|
|
45
|
+
"electron-v42.3.0-win32-ia32.zip": "6f3d09af41871b22a05c1d78ba85e2dc6c1f5657239b0a1ff7bb2ef1b844b823",
|
|
46
|
+
"electron-v42.3.0-win32-x64-pdb.zip": "71549fb2f62420783bef6080d1cfd082006620e5e4e1981a50a7be66817e9193",
|
|
47
|
+
"electron-v42.3.0-win32-x64-symbols.zip": "d0a999ebc467f675d53cef6ef360967ce43c9004daca1fbad38bc1c1e46636e9",
|
|
48
|
+
"electron-v42.3.0-win32-x64-toolchain-profile.zip": "615b0145f304e0eea0ffd20c0fcf0e8e7e5255e1c3f3ae0577725a16ebb91994",
|
|
49
|
+
"electron-v42.3.0-win32-x64.zip": "01889ff05a2852b86f34e274f0fd7dc41f31ccc500a8d4e07d43f4984b8cec9a",
|
|
50
|
+
"electron.d.ts": "80c5c937e55e650f8b70a9b481d6abebb7df1d774f507188fc5c28def5409c77",
|
|
51
|
+
"ffmpeg-v42.3.0-darwin-arm64.zip": "e6f94ed763ce20d158694426a14758c54b379911ed4b9e0f59d46113ecb20b2a",
|
|
52
|
+
"ffmpeg-v42.3.0-darwin-x64.zip": "523657536715b7e0b4ebb0ac6d68c098c90df3d4553fa6c5f77f038202d94bcc",
|
|
53
|
+
"ffmpeg-v42.3.0-linux-arm64.zip": "94e2232e2160983b006bef26b3d0e0d5bad642cc63997f168732117b779fdb0b",
|
|
54
|
+
"ffmpeg-v42.3.0-linux-armv7l.zip": "777e4f2f1540c684e161c4a1b5ad0c8fa5c00cfb8ec25ad275b38a051cbcbc94",
|
|
55
|
+
"ffmpeg-v42.3.0-linux-x64.zip": "082c743adc25b3396437a37a007638c08008da5a4f22a98bc3496373f23fb8b7",
|
|
56
|
+
"ffmpeg-v42.3.0-mas-arm64.zip": "e6f94ed763ce20d158694426a14758c54b379911ed4b9e0f59d46113ecb20b2a",
|
|
57
|
+
"ffmpeg-v42.3.0-mas-x64.zip": "523657536715b7e0b4ebb0ac6d68c098c90df3d4553fa6c5f77f038202d94bcc",
|
|
58
|
+
"ffmpeg-v42.3.0-win32-arm64.zip": "7d32f7d91b9d207da971b37eaf7ba4e48f669d50898c334e29a3e2b7482bac32",
|
|
59
|
+
"ffmpeg-v42.3.0-win32-ia32.zip": "cd040f41f6e88033ceb1a912467439e3942dfbc5a1a4c4ef12e567e10e47bb4a",
|
|
60
|
+
"ffmpeg-v42.3.0-win32-x64.zip": "2843bb1f35a12618030c8928da70a87b3ef85357833612a781cb23379e2ef553",
|
|
61
|
+
"hunspell_dictionaries.zip": "30b4dbc36474812a1357eec0a69a17d99e4610cd0237d66f7887d53a4fe1f377",
|
|
62
|
+
"libcxx-objects-v42.3.0-linux-arm64.zip": "4465b57d6c42e637db521726618973a1db662bee6485b527abec94a04d928836",
|
|
63
|
+
"libcxx-objects-v42.3.0-linux-armv7l.zip": "14d1a1a64c992dfd01c64b4aac70cf802a87beb7d59e9d94cbdf3746b3e7a244",
|
|
64
|
+
"libcxx-objects-v42.3.0-linux-x64.zip": "95ed931326aec6b870d096d61185010789ad8c5c0a7e7d3a7b8528a308431c14",
|
|
65
|
+
"libcxx_headers.zip": "8e119c755b5d9d973803e3df4a107d935fd54a99bf6aa33aee5147c506955d66",
|
|
66
|
+
"libcxxabi_headers.zip": "44ead66e0b119cac843fc863d990a03da030f6a59192ec6fa6b77747cb2a3ed2",
|
|
67
|
+
"mksnapshot-v42.3.0-darwin-arm64.zip": "5c518851553f760d4b1ddc0199f6ebe8e0a8c425c010becdc1ae8360b31c0bb7",
|
|
68
|
+
"mksnapshot-v42.3.0-darwin-x64.zip": "8fbe841cb9e4e50c5d91df1f74b7e9d4d31baab3c067ddfec52f73a9dadf0bc1",
|
|
69
|
+
"mksnapshot-v42.3.0-linux-arm64-x64.zip": "5e3f9985b6aa936ae4d47b9f3b16e6f8e9ccaf69b7607d445f442f98d0e07b0a",
|
|
70
|
+
"mksnapshot-v42.3.0-linux-armv7l-x64.zip": "79b554e9a9f45b01ceced55f4baaf708c74e55743aa0db46eeae6eefc66cc613",
|
|
71
|
+
"mksnapshot-v42.3.0-linux-x64.zip": "d00c9083635ec77734e957b7461fc66b1579d24a5dfc0058ec934f7eca3ff7c8",
|
|
72
|
+
"mksnapshot-v42.3.0-mas-arm64.zip": "c48b0d6598fe8eb880ff300693da383ccf8ffa504ed1fb663e36b0250930e818",
|
|
73
|
+
"mksnapshot-v42.3.0-mas-x64.zip": "92075e29642a4d3066b3505a05573f34b75f164ae47e2dbd04594960db2d82e7",
|
|
74
|
+
"mksnapshot-v42.3.0-win32-arm64-x64.zip": "d77dbf37a14c19d466a7012c506d8341d83edbe6222aeced9115e1bd67fa5472",
|
|
75
|
+
"mksnapshot-v42.3.0-win32-ia32.zip": "fcf3c51bc630cf6b17e0439f0bfce00bd856e6217be28d66a47b2242d9659b1c",
|
|
76
|
+
"mksnapshot-v42.3.0-win32-x64.zip": "9cdfcd81e45ffa5a75896362a24cc168d8a07f4f5aff5b4bed475c83cc5e2914"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 42.
|
|
1
|
+
// Type definitions for Electron 42.3.0
|
|
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
|
/**
|
|
@@ -10319,7 +10317,7 @@ declare namespace Electron {
|
|
|
10319
10317
|
* Emitted when an error is encountered while creating and showing the native
|
|
10320
10318
|
* notification.
|
|
10321
10319
|
*
|
|
10322
|
-
* @platform win32
|
|
10320
|
+
* @platform darwin,win32
|
|
10323
10321
|
*/
|
|
10324
10322
|
on(event: 'failed', listener: (event: Event,
|
|
10325
10323
|
/**
|
|
@@ -10327,7 +10325,7 @@ declare namespace Electron {
|
|
|
10327
10325
|
*/
|
|
10328
10326
|
error: string) => void): this;
|
|
10329
10327
|
/**
|
|
10330
|
-
* @platform win32
|
|
10328
|
+
* @platform darwin,win32
|
|
10331
10329
|
*/
|
|
10332
10330
|
off(event: 'failed', listener: (event: Event,
|
|
10333
10331
|
/**
|
|
@@ -10335,7 +10333,7 @@ declare namespace Electron {
|
|
|
10335
10333
|
*/
|
|
10336
10334
|
error: string) => void): this;
|
|
10337
10335
|
/**
|
|
10338
|
-
* @platform win32
|
|
10336
|
+
* @platform darwin,win32
|
|
10339
10337
|
*/
|
|
10340
10338
|
once(event: 'failed', listener: (event: Event,
|
|
10341
10339
|
/**
|
|
@@ -10343,7 +10341,7 @@ declare namespace Electron {
|
|
|
10343
10341
|
*/
|
|
10344
10342
|
error: string) => void): this;
|
|
10345
10343
|
/**
|
|
10346
|
-
* @platform win32
|
|
10344
|
+
* @platform darwin,win32
|
|
10347
10345
|
*/
|
|
10348
10346
|
addListener(event: 'failed', listener: (event: Event,
|
|
10349
10347
|
/**
|
|
@@ -10351,7 +10349,7 @@ declare namespace Electron {
|
|
|
10351
10349
|
*/
|
|
10352
10350
|
error: string) => void): this;
|
|
10353
10351
|
/**
|
|
10354
|
-
* @platform win32
|
|
10352
|
+
* @platform darwin,win32
|
|
10355
10353
|
*/
|
|
10356
10354
|
removeListener(event: 'failed', listener: (event: Event,
|
|
10357
10355
|
/**
|
|
@@ -10476,6 +10474,26 @@ declare namespace Electron {
|
|
|
10476
10474
|
* Whether or not desktop notifications are supported on the current system
|
|
10477
10475
|
*/
|
|
10478
10476
|
static isSupported(): boolean;
|
|
10477
|
+
/**
|
|
10478
|
+
* Removes one or more delivered notifications from Notification Center by their
|
|
10479
|
+
* identifier(s).
|
|
10480
|
+
*
|
|
10481
|
+
* @platform darwin
|
|
10482
|
+
*/
|
|
10483
|
+
static remove(id: (string) | (string[])): void;
|
|
10484
|
+
/**
|
|
10485
|
+
* Removes all of the app's delivered notifications from Notification Center.
|
|
10486
|
+
*
|
|
10487
|
+
* @platform darwin
|
|
10488
|
+
*/
|
|
10489
|
+
static removeAll(): void;
|
|
10490
|
+
/**
|
|
10491
|
+
* Removes all delivered notifications with the given `groupId` from Notification
|
|
10492
|
+
* Center.
|
|
10493
|
+
*
|
|
10494
|
+
* @platform darwin
|
|
10495
|
+
*/
|
|
10496
|
+
static removeGroup(groupId: string): void;
|
|
10479
10497
|
/**
|
|
10480
10498
|
* Dismisses the notification.
|
|
10481
10499
|
*
|
|
@@ -15626,6 +15644,31 @@ declare namespace Electron {
|
|
|
15626
15644
|
* GetExitCodeProcess on Windows.
|
|
15627
15645
|
*/
|
|
15628
15646
|
code: number) => void): this;
|
|
15647
|
+
/**
|
|
15648
|
+
* Emitted when the utility process encounters an HTTP 401 or 407 authentication
|
|
15649
|
+
* challenge, if the process was created with both
|
|
15650
|
+
* `respondToAuthRequestsFromMainProcess: true` and a `session` option. The
|
|
15651
|
+
* `callback` should be called with credentials to respond to the challenge.
|
|
15652
|
+
* Calling `callback` without arguments will cancel the request.
|
|
15653
|
+
*
|
|
15654
|
+
* This behaves the same as the `login` event on `app` but is scoped to the
|
|
15655
|
+
* individual utility process instance.
|
|
15656
|
+
*/
|
|
15657
|
+
on(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15658
|
+
authInfo: AuthInfo,
|
|
15659
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15660
|
+
off(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15661
|
+
authInfo: AuthInfo,
|
|
15662
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15663
|
+
once(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15664
|
+
authInfo: AuthInfo,
|
|
15665
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15666
|
+
addListener(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15667
|
+
authInfo: AuthInfo,
|
|
15668
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15669
|
+
removeListener(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15670
|
+
authInfo: AuthInfo,
|
|
15671
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15629
15672
|
/**
|
|
15630
15673
|
* Emitted when the child process sends a message using
|
|
15631
15674
|
* `process.parentPort.postMessage()`.
|
|
@@ -21308,6 +21351,22 @@ declare namespace Electron {
|
|
|
21308
21351
|
* Current working directory of the child process.
|
|
21309
21352
|
*/
|
|
21310
21353
|
cwd?: string;
|
|
21354
|
+
/**
|
|
21355
|
+
* Sets the session used by the process for network requests. By default, network
|
|
21356
|
+
* requests from the utility process will use the system network context which does
|
|
21357
|
+
* not have HTTP cache support. Setting a session enables HTTP caching and other
|
|
21358
|
+
* session-specific network features. See session for more information.
|
|
21359
|
+
*/
|
|
21360
|
+
session?: Session;
|
|
21361
|
+
/**
|
|
21362
|
+
* Sets the session used by the process according to the session's partition
|
|
21363
|
+
* string. If `partition` starts with `persist:`, the process will use a persistent
|
|
21364
|
+
* session available to all pages in the app with the same `partition`. If there is
|
|
21365
|
+
* no `persist:` prefix, the process will use an in-memory session. By assigning
|
|
21366
|
+
* the same `partition`, multiple processes can share the same session. If the
|
|
21367
|
+
* `session` option is set, this option is ignored.
|
|
21368
|
+
*/
|
|
21369
|
+
partition?: string;
|
|
21311
21370
|
/**
|
|
21312
21371
|
* Allows configuring the mode for `stdout` and `stderr` of the child process.
|
|
21313
21372
|
* Default is `inherit`. String value can be one of `pipe`, `ignore`, `inherit`,
|
|
@@ -21349,9 +21408,11 @@ declare namespace Electron {
|
|
|
21349
21408
|
disclaim?: boolean;
|
|
21350
21409
|
/**
|
|
21351
21410
|
* 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
|
-
*
|
|
21411
|
+
* will allow responding to them via the `login` event on the `UtilityProcess`
|
|
21412
|
+
* instance when a `session` is provided, or via the `app#login` event in the main
|
|
21413
|
+
* process when using the default system network context. Without this flag, auth
|
|
21414
|
+
* challenges are handled by the default `login` event on the `ClientRequest`
|
|
21415
|
+
* object. Default is `false`.
|
|
21355
21416
|
*/
|
|
21356
21417
|
respondToAuthRequestsFromMainProcess?: boolean;
|
|
21357
21418
|
}
|
|
@@ -22102,8 +22163,9 @@ declare namespace Electron {
|
|
|
22102
22163
|
* A unique identifier for the notification. On macOS, maps to
|
|
22103
22164
|
* `UNNotificationRequest`'s `identifier` property. On Windows, maps to the toast
|
|
22104
22165
|
* notification's `Tag` property. Defaults to a random UUID if not provided or if
|
|
22105
|
-
* an empty string is passed.
|
|
22106
|
-
* delivered notifications.
|
|
22166
|
+
* an empty string is passed. Use this identifier with `Notification.remove()` to
|
|
22167
|
+
* remove specific delivered notifications, or with `Notification.getHistory()` to
|
|
22168
|
+
* identify them.
|
|
22107
22169
|
*
|
|
22108
22170
|
* @platform darwin,win32
|
|
22109
22171
|
*/
|
|
@@ -22112,7 +22174,8 @@ declare namespace Electron {
|
|
|
22112
22174
|
* A string identifier used to visually group notifications together in
|
|
22113
22175
|
* Notification Center / Action Center. On macOS, maps to `UNNotificationContent`'s
|
|
22114
22176
|
* `threadIdentifier` property. On Windows, maps to the toast notification's
|
|
22115
|
-
* `Group` property.
|
|
22177
|
+
* `Group` property. Use this identifier with `Notification.removeGroup()` to
|
|
22178
|
+
* remove all notifications in a group.
|
|
22116
22179
|
*
|
|
22117
22180
|
* @platform darwin,win32
|
|
22118
22181
|
*/
|