electron 35.0.0-beta.1 → 35.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +266 -53
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v35.0.0-beta.
|
|
3
|
-
"chromedriver-v35.0.0-beta.
|
|
4
|
-
"chromedriver-v35.0.0-beta.
|
|
5
|
-
"chromedriver-v35.0.0-beta.
|
|
6
|
-
"chromedriver-v35.0.0-beta.
|
|
7
|
-
"chromedriver-v35.0.0-beta.
|
|
8
|
-
"chromedriver-v35.0.0-beta.
|
|
9
|
-
"chromedriver-v35.0.0-beta.
|
|
10
|
-
"chromedriver-v35.0.0-beta.
|
|
11
|
-
"chromedriver-v35.0.0-beta.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v35.0.0-beta.
|
|
14
|
-
"electron-v35.0.0-beta.
|
|
15
|
-
"electron-v35.0.0-beta.
|
|
16
|
-
"electron-v35.0.0-beta.
|
|
17
|
-
"electron-v35.0.0-beta.
|
|
18
|
-
"electron-v35.0.0-beta.
|
|
19
|
-
"electron-v35.0.0-beta.
|
|
20
|
-
"electron-v35.0.0-beta.
|
|
21
|
-
"electron-v35.0.0-beta.
|
|
22
|
-
"electron-v35.0.0-beta.
|
|
23
|
-
"electron-v35.0.0-beta.
|
|
24
|
-
"electron-v35.0.0-beta.
|
|
25
|
-
"electron-v35.0.0-beta.
|
|
26
|
-
"electron-v35.0.0-beta.
|
|
27
|
-
"electron-v35.0.0-beta.
|
|
28
|
-
"electron-v35.0.0-beta.
|
|
29
|
-
"electron-v35.0.0-beta.
|
|
30
|
-
"electron-v35.0.0-beta.
|
|
31
|
-
"electron-v35.0.0-beta.
|
|
32
|
-
"electron-v35.0.0-beta.
|
|
33
|
-
"electron-v35.0.0-beta.
|
|
34
|
-
"electron-v35.0.0-beta.
|
|
35
|
-
"electron-v35.0.0-beta.
|
|
36
|
-
"electron-v35.0.0-beta.
|
|
37
|
-
"electron-v35.0.0-beta.
|
|
38
|
-
"electron-v35.0.0-beta.
|
|
39
|
-
"electron-v35.0.0-beta.
|
|
40
|
-
"electron-v35.0.0-beta.
|
|
41
|
-
"electron-v35.0.0-beta.
|
|
42
|
-
"electron-v35.0.0-beta.
|
|
43
|
-
"electron-v35.0.0-beta.
|
|
44
|
-
"electron-v35.0.0-beta.
|
|
45
|
-
"electron-v35.0.0-beta.
|
|
46
|
-
"electron-v35.0.0-beta.
|
|
47
|
-
"electron-v35.0.0-beta.
|
|
48
|
-
"electron-v35.0.0-beta.
|
|
49
|
-
"electron-v35.0.0-beta.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v35.0.0-beta.
|
|
52
|
-
"ffmpeg-v35.0.0-beta.
|
|
53
|
-
"ffmpeg-v35.0.0-beta.
|
|
54
|
-
"ffmpeg-v35.0.0-beta.
|
|
55
|
-
"ffmpeg-v35.0.0-beta.
|
|
56
|
-
"ffmpeg-v35.0.0-beta.
|
|
57
|
-
"ffmpeg-v35.0.0-beta.
|
|
58
|
-
"ffmpeg-v35.0.0-beta.
|
|
59
|
-
"ffmpeg-v35.0.0-beta.
|
|
60
|
-
"ffmpeg-v35.0.0-beta.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v35.0.0-beta.
|
|
63
|
-
"libcxx-objects-v35.0.0-beta.
|
|
64
|
-
"libcxx-objects-v35.0.0-beta.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v35.0.0-beta.
|
|
68
|
-
"mksnapshot-v35.0.0-beta.
|
|
69
|
-
"mksnapshot-v35.0.0-beta.
|
|
70
|
-
"mksnapshot-v35.0.0-beta.
|
|
71
|
-
"mksnapshot-v35.0.0-beta.
|
|
72
|
-
"mksnapshot-v35.0.0-beta.
|
|
73
|
-
"mksnapshot-v35.0.0-beta.
|
|
74
|
-
"mksnapshot-v35.0.0-beta.
|
|
75
|
-
"mksnapshot-v35.0.0-beta.
|
|
76
|
-
"mksnapshot-v35.0.0-beta.
|
|
2
|
+
"chromedriver-v35.0.0-beta.10-darwin-arm64.zip": "ee6177ea173e4da0a057c0cfbc4c2a7ace758ea3dd530ca540b22e57484c957d",
|
|
3
|
+
"chromedriver-v35.0.0-beta.10-darwin-x64.zip": "2d76850f71070955828cece924db0e5ec4b9ff2187646bd63ff97b5ec548de38",
|
|
4
|
+
"chromedriver-v35.0.0-beta.10-linux-arm64.zip": "842e30c66f56259a13cbb1224b5a302b960713359e6330297c390cb0870a60f1",
|
|
5
|
+
"chromedriver-v35.0.0-beta.10-linux-armv7l.zip": "fe9890d0db6b0372b04f90f2db1483f9effc13154bb443df945273294630e41a",
|
|
6
|
+
"chromedriver-v35.0.0-beta.10-linux-x64.zip": "51d6495b6df185e6b60b8cee26ad0df21eb4b900242f0ef089d9c27d97c205d3",
|
|
7
|
+
"chromedriver-v35.0.0-beta.10-mas-arm64.zip": "2c344952a2767a31c0ca4547d7a64a87be8db6fca794772552fb712b29320b0f",
|
|
8
|
+
"chromedriver-v35.0.0-beta.10-mas-x64.zip": "27735c852ab412dbec8cb44806ae0314f7bfa253f45c5c0ff17e7056806f9679",
|
|
9
|
+
"chromedriver-v35.0.0-beta.10-win32-arm64.zip": "e6692c73d19980c4546097d68150ef29b5a9660163f839ee8238f1c7b5583432",
|
|
10
|
+
"chromedriver-v35.0.0-beta.10-win32-ia32.zip": "a1d476bc1c9c896d605e1754718392077afd59dc4c16b61d93ba22dd8c4f5aa3",
|
|
11
|
+
"chromedriver-v35.0.0-beta.10-win32-x64.zip": "03e07c1b1522692a0844a66f43d8ccb185ae667a34556584b6b83752e6dafe84",
|
|
12
|
+
"electron-api.json": "32b3dbd8e6cbbf63a04144be8b3cff09945557743d529a056d3858f9595d30eb",
|
|
13
|
+
"electron-v35.0.0-beta.10-darwin-arm64-dsym-snapshot.zip": "29235f9abeda36e1a856c9858b4a38a08d4c2c89ed4d194900b7223cb53ba4b9",
|
|
14
|
+
"electron-v35.0.0-beta.10-darwin-arm64-dsym.zip": "cb953a22862d758bd16ddf4c244ba51be6953f2371485e56703305aeb7b8dbf5",
|
|
15
|
+
"electron-v35.0.0-beta.10-darwin-arm64-symbols.zip": "e86e8bb3c502a4071f768716809e2df54463da5ed831a44f86fd026659b2ae2f",
|
|
16
|
+
"electron-v35.0.0-beta.10-darwin-arm64.zip": "54152436876c744979a0cf352d51c463fb62b562ab83cf6b1e8b55cc39414a0d",
|
|
17
|
+
"electron-v35.0.0-beta.10-darwin-x64-dsym-snapshot.zip": "cb160a95dd20df98158835c8a24653fd4b38f4719b29349e2ea3a23760724607",
|
|
18
|
+
"electron-v35.0.0-beta.10-darwin-x64-dsym.zip": "a7892193a674fb3e3d8520e8372fe589f8e98e85564820985ae423486757eef7",
|
|
19
|
+
"electron-v35.0.0-beta.10-darwin-x64-symbols.zip": "8e3a74fd9bc8234016f55c382c0bec16050687ba15bcb979620f3be772636e97",
|
|
20
|
+
"electron-v35.0.0-beta.10-darwin-x64.zip": "3e84c16c97b56a436ad8a32f881498e6e1cb5112b1cce52de1c7b5c3104374a8",
|
|
21
|
+
"electron-v35.0.0-beta.10-linux-arm64-debug.zip": "bb6956806cbc8127664dccb35f75230f18cd4e7f7830b3c21f77b903c14bd09a",
|
|
22
|
+
"electron-v35.0.0-beta.10-linux-arm64-symbols.zip": "b666b35a5052b3e895ac3cba4bae4cbc235ae363d65a6dd4caa67a5c0e1059cb",
|
|
23
|
+
"electron-v35.0.0-beta.10-linux-arm64.zip": "024f6f76c512dab5d0dd0b75b80edf79ffbba005c9012ba8245b8c1a0b8ae6e1",
|
|
24
|
+
"electron-v35.0.0-beta.10-linux-armv7l-debug.zip": "bb6956806cbc8127664dccb35f75230f18cd4e7f7830b3c21f77b903c14bd09a",
|
|
25
|
+
"electron-v35.0.0-beta.10-linux-armv7l-symbols.zip": "b28f74b614c07003093dc02401e19d4062ecba52c917b8d220ada72e0cae1ead",
|
|
26
|
+
"electron-v35.0.0-beta.10-linux-armv7l.zip": "7f38344d1e7d60bea998466351c3b9570b11b75cfbf6aeb43ed39b73938da3e4",
|
|
27
|
+
"electron-v35.0.0-beta.10-linux-x64-debug.zip": "69e8091c549bf3449100100afc3746e8cf6516e40ff27a95577a9cf6e54dce63",
|
|
28
|
+
"electron-v35.0.0-beta.10-linux-x64-symbols.zip": "ae6898eab141570c0fc430366cd97fea737cea29e16d2f4f6793cbcdb5b074cc",
|
|
29
|
+
"electron-v35.0.0-beta.10-linux-x64.zip": "91ddfc7cc7360304a72066478b92f92b7c2141b938053150d2f3f1f8ed208f48",
|
|
30
|
+
"electron-v35.0.0-beta.10-mas-arm64-dsym-snapshot.zip": "753552fa6769b08924632e6950b95f5732dc40821041009b4deccee1d02a4184",
|
|
31
|
+
"electron-v35.0.0-beta.10-mas-arm64-dsym.zip": "299dd4071bff85bf6e83b42963182037801d05d3002bc27ba801f350a314fbfc",
|
|
32
|
+
"electron-v35.0.0-beta.10-mas-arm64-symbols.zip": "a05a950f1fd611885c0f31902f4a3d1f46ca7f305199f5cb9b9b7c41e0039e0b",
|
|
33
|
+
"electron-v35.0.0-beta.10-mas-arm64.zip": "5353280cd2f7a32dc85f81030551c508bc25539ab3933e89dbd0b57155cc49db",
|
|
34
|
+
"electron-v35.0.0-beta.10-mas-x64-dsym-snapshot.zip": "79320b6f963b29a87f8e18998c834942bc35356ce3c7b84a4630cab98f041e4d",
|
|
35
|
+
"electron-v35.0.0-beta.10-mas-x64-dsym.zip": "60ce130b2cd548041f1d7f42c0dbe3b1f8f0ca953e27a765015bbd0166e9b932",
|
|
36
|
+
"electron-v35.0.0-beta.10-mas-x64-symbols.zip": "ff2977efb86339b0769e283bec881ce9a137a8c068e735913f997cbb7ea6e576",
|
|
37
|
+
"electron-v35.0.0-beta.10-mas-x64.zip": "d26806daaa965e7c759657af1e723d12806b828b37c44c597e9340f0c379e6d1",
|
|
38
|
+
"electron-v35.0.0-beta.10-win32-arm64-pdb.zip": "3e6448ab008073866d20f7281c0e05f749c5df380b7deec3954968c23686ccfd",
|
|
39
|
+
"electron-v35.0.0-beta.10-win32-arm64-symbols.zip": "9d5d8cfade5a8e6d417781a308f7cec75f6d2cdcd5791a355504e8f86c4410bc",
|
|
40
|
+
"electron-v35.0.0-beta.10-win32-arm64-toolchain-profile.zip": "9d13b2bd61416eec28f43faa399cc5c0dc9e36dec226314bbf397828f55d74de",
|
|
41
|
+
"electron-v35.0.0-beta.10-win32-arm64.zip": "7033713cbbe70e06a47be2b119fb44a9d5781710b2ab2470e3b65eff719d00dd",
|
|
42
|
+
"electron-v35.0.0-beta.10-win32-ia32-pdb.zip": "e7e74efac0724c88ccc3af4111888940c245e230760d9549325bb3c789004cd0",
|
|
43
|
+
"electron-v35.0.0-beta.10-win32-ia32-symbols.zip": "1da910461413082b4f5b1d4871aeb6d0b179b969df87cf0a1dddb23452636419",
|
|
44
|
+
"electron-v35.0.0-beta.10-win32-ia32-toolchain-profile.zip": "9d13b2bd61416eec28f43faa399cc5c0dc9e36dec226314bbf397828f55d74de",
|
|
45
|
+
"electron-v35.0.0-beta.10-win32-ia32.zip": "6776d7de8691c59f91f855f94884c44caf5eacec87deaead56be64ab14a356ff",
|
|
46
|
+
"electron-v35.0.0-beta.10-win32-x64-pdb.zip": "51c9cce4a21951e01d9dcd3ce0c0ca899e7cb0a74490352f1ba1ddf866eb7c25",
|
|
47
|
+
"electron-v35.0.0-beta.10-win32-x64-symbols.zip": "bc13a7229be3c4dfe4080734d41383c1767accefb78a66c2ac785d8c7f6125ab",
|
|
48
|
+
"electron-v35.0.0-beta.10-win32-x64-toolchain-profile.zip": "9d13b2bd61416eec28f43faa399cc5c0dc9e36dec226314bbf397828f55d74de",
|
|
49
|
+
"electron-v35.0.0-beta.10-win32-x64.zip": "855d5914f205693f3f091cb35b73d19b45b89c273c38d5a9e1bf3c177f2f227e",
|
|
50
|
+
"electron.d.ts": "d29dcc0da389ef7f04bb3c798f71d0a3246e2e6b626738a3b1ac8ff3033fc8bf",
|
|
51
|
+
"ffmpeg-v35.0.0-beta.10-darwin-arm64.zip": "bdb827eed3dd5103b0b27dc13937845482e703628f7bce41a324117cfce6da6d",
|
|
52
|
+
"ffmpeg-v35.0.0-beta.10-darwin-x64.zip": "1eb09e8c4f68252ae31b332271c3c67831f279564f2daf05d30334fda7cf2c7d",
|
|
53
|
+
"ffmpeg-v35.0.0-beta.10-linux-arm64.zip": "d67b8866d4730233a0082ef8b8c4f8fa0735ecbdf6af8acf25098a17e287c134",
|
|
54
|
+
"ffmpeg-v35.0.0-beta.10-linux-armv7l.zip": "3ce6625249cbbcb60840ec5da91baea62e497cf504a0296b122580fa99d31e2a",
|
|
55
|
+
"ffmpeg-v35.0.0-beta.10-linux-x64.zip": "78325f0b0324e62eefe33b3e2edaa94cc9823d9275b9d1f0abe665b08759811a",
|
|
56
|
+
"ffmpeg-v35.0.0-beta.10-mas-arm64.zip": "bdb827eed3dd5103b0b27dc13937845482e703628f7bce41a324117cfce6da6d",
|
|
57
|
+
"ffmpeg-v35.0.0-beta.10-mas-x64.zip": "1eb09e8c4f68252ae31b332271c3c67831f279564f2daf05d30334fda7cf2c7d",
|
|
58
|
+
"ffmpeg-v35.0.0-beta.10-win32-arm64.zip": "4df3c693a677523365bce9c0d043a5b47a0d5716eaf1f8b84ff1385fbfba80ae",
|
|
59
|
+
"ffmpeg-v35.0.0-beta.10-win32-ia32.zip": "20762b40a7cdb5bbf0c3bfc6d94d9116d3297d59db1219551ad0af8853f05ba5",
|
|
60
|
+
"ffmpeg-v35.0.0-beta.10-win32-x64.zip": "d279af088a388ad4ea8af654bc3fc9e082b78ce4327d01fcd7f6fc0c1a39bc9f",
|
|
61
|
+
"hunspell_dictionaries.zip": "118d53856d62527f150ad5fa122fb84f6e3169903355b1beaec4f539815f6ddc",
|
|
62
|
+
"libcxx-objects-v35.0.0-beta.10-linux-arm64.zip": "d4576a910a9e5eaddd55c3a32482992770706485beb40862e1a04f7490e054af",
|
|
63
|
+
"libcxx-objects-v35.0.0-beta.10-linux-armv7l.zip": "2092bdd1b52233809a08b9beb6b1045eb4a3f607bd707f3ddf6d41ef905c3362",
|
|
64
|
+
"libcxx-objects-v35.0.0-beta.10-linux-x64.zip": "ca216f7bfa7f9bac2e77000dee108d7fc75a8929bf7b8a0c8530349b1fa3ec86",
|
|
65
|
+
"libcxx_headers.zip": "d640a19bab17f5462e89f729944123c43fc690d0fad9450ec16a300a5f29ddab",
|
|
66
|
+
"libcxxabi_headers.zip": "3ea41e9bd56e8f52ab8562c1406ba9416abe3993640935e981cbbd77c0f2654b",
|
|
67
|
+
"mksnapshot-v35.0.0-beta.10-darwin-arm64.zip": "d233e3864ccf4366534078566515c63f6d103c25afad7cb7e7365a1f09be8987",
|
|
68
|
+
"mksnapshot-v35.0.0-beta.10-darwin-x64.zip": "c3a4f79f65b2ee5c9b2c339c8a4fcc47208853a17ce25375fc71bc67143d2fd6",
|
|
69
|
+
"mksnapshot-v35.0.0-beta.10-linux-arm64-x64.zip": "53d123d41bbd22fae82b25855eb636829a9be353176f1fd143490f2ca7de3455",
|
|
70
|
+
"mksnapshot-v35.0.0-beta.10-linux-armv7l-x64.zip": "0f85275a1ceae87838e5b5d1402326788b3906aba1de2a618f7a3f7e0378ceb7",
|
|
71
|
+
"mksnapshot-v35.0.0-beta.10-linux-x64.zip": "448bc099835536ffb9eaa1c436f0737bb839fe3b3c9901507edfc122b9519e0b",
|
|
72
|
+
"mksnapshot-v35.0.0-beta.10-mas-arm64.zip": "cdf16816a0f1bbe04f81a9bc2ecbd314451b2967fdfbfb03916ee2328d1ea69e",
|
|
73
|
+
"mksnapshot-v35.0.0-beta.10-mas-x64.zip": "e056ac21c941f7dc2ddaf495136b548bf0170b045bfd1012589cc3bae0181cb8",
|
|
74
|
+
"mksnapshot-v35.0.0-beta.10-win32-arm64-x64.zip": "ac37d921918dbf45cf612903139f47040c2069b2ebec9acd28d0e657bc3d65eb",
|
|
75
|
+
"mksnapshot-v35.0.0-beta.10-win32-ia32.zip": "9bacafe2925be87c7902a0f88e2e4c9a69c3dc594701a78fc516ab8cd82fb720",
|
|
76
|
+
"mksnapshot-v35.0.0-beta.10-win32-x64.zip": "3d9deecf0774ad5ffb70627f469c2c94473e06d0bc4a8a43b0b03fa31e0f3967"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 35.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 35.0.0-beta.10
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -3685,11 +3685,12 @@ declare namespace Electron {
|
|
|
3685
3685
|
*/
|
|
3686
3686
|
resizable?: boolean;
|
|
3687
3687
|
/**
|
|
3688
|
-
* Whether frameless window should have rounded corners
|
|
3689
|
-
*
|
|
3690
|
-
*
|
|
3688
|
+
* Whether frameless window should have rounded corners. Default is `true`. Setting
|
|
3689
|
+
* this property to `false` will prevent the window from being fullscreenable on
|
|
3690
|
+
* macOS. On Windows versions older than Windows 11 Build 22000 this property has
|
|
3691
|
+
* no effect, and frameless windows will not have rounded corners.
|
|
3691
3692
|
*
|
|
3692
|
-
* @platform darwin
|
|
3693
|
+
* @platform darwin,win32
|
|
3693
3694
|
*/
|
|
3694
3695
|
roundedCorners?: boolean;
|
|
3695
3696
|
/**
|
|
@@ -7525,7 +7526,7 @@ declare namespace Electron {
|
|
|
7525
7526
|
*/
|
|
7526
7527
|
depthPerComponent: number;
|
|
7527
7528
|
/**
|
|
7528
|
-
* `true
|
|
7529
|
+
* `true` if the display is detected by the system.
|
|
7529
7530
|
*/
|
|
7530
7531
|
detected: boolean;
|
|
7531
7532
|
/**
|
|
@@ -8087,11 +8088,34 @@ declare namespace Electron {
|
|
|
8087
8088
|
|
|
8088
8089
|
// Docs: https://electronjs.org/docs/api/in-app-purchase
|
|
8089
8090
|
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8091
|
+
/**
|
|
8092
|
+
* Emitted when one or more transactions have been updated.
|
|
8093
|
+
*/
|
|
8094
|
+
on(event: 'transactions-updated', listener: (event: Event,
|
|
8095
|
+
/**
|
|
8096
|
+
* Array of `Transaction` objects.
|
|
8097
|
+
*/
|
|
8098
|
+
transactions: Transaction[]) => void): this;
|
|
8099
|
+
off(event: 'transactions-updated', listener: (event: Event,
|
|
8100
|
+
/**
|
|
8101
|
+
* Array of `Transaction` objects.
|
|
8102
|
+
*/
|
|
8103
|
+
transactions: Transaction[]) => void): this;
|
|
8104
|
+
once(event: 'transactions-updated', listener: (event: Event,
|
|
8105
|
+
/**
|
|
8106
|
+
* Array of `Transaction` objects.
|
|
8107
|
+
*/
|
|
8108
|
+
transactions: Transaction[]) => void): this;
|
|
8109
|
+
addListener(event: 'transactions-updated', listener: (event: Event,
|
|
8110
|
+
/**
|
|
8111
|
+
* Array of `Transaction` objects.
|
|
8112
|
+
*/
|
|
8113
|
+
transactions: Transaction[]) => void): this;
|
|
8114
|
+
removeListener(event: 'transactions-updated', listener: (event: Event,
|
|
8115
|
+
/**
|
|
8116
|
+
* Array of `Transaction` objects.
|
|
8117
|
+
*/
|
|
8118
|
+
transactions: Transaction[]) => void): this;
|
|
8095
8119
|
/**
|
|
8096
8120
|
* whether a user can make a payment.
|
|
8097
8121
|
*/
|
|
@@ -8382,6 +8406,10 @@ declare namespace Electron {
|
|
|
8382
8406
|
*
|
|
8383
8407
|
*/
|
|
8384
8408
|
readonly senderFrame: (WebFrameMain) | (null);
|
|
8409
|
+
/**
|
|
8410
|
+
* Possible values include `frame`
|
|
8411
|
+
*/
|
|
8412
|
+
type: ('frame');
|
|
8385
8413
|
}
|
|
8386
8414
|
|
|
8387
8415
|
interface IpcMainInvokeEvent extends Event {
|
|
@@ -8406,6 +8434,106 @@ declare namespace Electron {
|
|
|
8406
8434
|
*
|
|
8407
8435
|
*/
|
|
8408
8436
|
readonly senderFrame: (WebFrameMain) | (null);
|
|
8437
|
+
/**
|
|
8438
|
+
* Possible values include `frame`
|
|
8439
|
+
*/
|
|
8440
|
+
type: ('frame');
|
|
8441
|
+
}
|
|
8442
|
+
|
|
8443
|
+
class IpcMainServiceWorker extends NodeEventEmitter {
|
|
8444
|
+
|
|
8445
|
+
// Docs: https://electronjs.org/docs/api/ipc-main-service-worker
|
|
8446
|
+
|
|
8447
|
+
handle(channel: string, listener: (event: IpcMainServiceWorkerInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
8448
|
+
/**
|
|
8449
|
+
* Handles a single `invoke`able IPC message, then removes the listener. See
|
|
8450
|
+
* `ipcMainServiceWorker.handle(channel, listener)`.
|
|
8451
|
+
*/
|
|
8452
|
+
handleOnce(channel: string, listener: (event: IpcMainServiceWorkerInvokeEvent, ...args: any[]) => (Promise<any>) | (any)): void;
|
|
8453
|
+
/**
|
|
8454
|
+
* Listens to `channel`, when a new message arrives `listener` would be called with
|
|
8455
|
+
* `listener(event, args...)`.
|
|
8456
|
+
*/
|
|
8457
|
+
on(channel: string, listener: (event: IpcMainServiceWorkerEvent, ...args: any[]) => void): this;
|
|
8458
|
+
/**
|
|
8459
|
+
* Adds a one time `listener` function for the event. This `listener` is invoked
|
|
8460
|
+
* only the next time a message is sent to `channel`, after which it is removed.
|
|
8461
|
+
*/
|
|
8462
|
+
once(channel: string, listener: (event: IpcMainServiceWorkerEvent, ...args: any[]) => void): this;
|
|
8463
|
+
/**
|
|
8464
|
+
* Removes listeners of the specified `channel`.
|
|
8465
|
+
*/
|
|
8466
|
+
removeAllListeners(channel?: string): this;
|
|
8467
|
+
/**
|
|
8468
|
+
* Removes any handler for `channel`, if present.
|
|
8469
|
+
*/
|
|
8470
|
+
removeHandler(channel: string): void;
|
|
8471
|
+
/**
|
|
8472
|
+
* Removes the specified `listener` from the listener array for the specified
|
|
8473
|
+
* `channel`.
|
|
8474
|
+
*/
|
|
8475
|
+
removeListener(channel: string, listener: (...args: any[]) => void): this;
|
|
8476
|
+
}
|
|
8477
|
+
|
|
8478
|
+
interface IpcMainServiceWorkerEvent extends Event {
|
|
8479
|
+
|
|
8480
|
+
// Docs: https://electronjs.org/docs/api/structures/ipc-main-service-worker-event
|
|
8481
|
+
|
|
8482
|
+
/**
|
|
8483
|
+
* A list of MessagePorts that were transferred with this message
|
|
8484
|
+
*/
|
|
8485
|
+
ports: MessagePortMain[];
|
|
8486
|
+
/**
|
|
8487
|
+
* A function that will send an IPC message to the renderer frame that sent the
|
|
8488
|
+
* original message that you are currently handling. You should use this method to
|
|
8489
|
+
* "reply" to the sent message in order to guarantee the reply will go to the
|
|
8490
|
+
* correct process and frame.
|
|
8491
|
+
*/
|
|
8492
|
+
reply: (channel: string, ...args: any[]) => void;
|
|
8493
|
+
/**
|
|
8494
|
+
* Set this to the value to be returned in a synchronous message
|
|
8495
|
+
*/
|
|
8496
|
+
returnValue: any;
|
|
8497
|
+
/**
|
|
8498
|
+
* The service worker that sent this message
|
|
8499
|
+
*
|
|
8500
|
+
*/
|
|
8501
|
+
readonly serviceWorker: ServiceWorkerMain;
|
|
8502
|
+
/**
|
|
8503
|
+
* The `Session` instance with which the event is associated.
|
|
8504
|
+
*/
|
|
8505
|
+
session: Session;
|
|
8506
|
+
/**
|
|
8507
|
+
* Possible values include `service-worker`.
|
|
8508
|
+
*/
|
|
8509
|
+
type: ('service-worker');
|
|
8510
|
+
/**
|
|
8511
|
+
* The service worker version ID.
|
|
8512
|
+
*/
|
|
8513
|
+
versionId: number;
|
|
8514
|
+
}
|
|
8515
|
+
|
|
8516
|
+
interface IpcMainServiceWorkerInvokeEvent extends Event {
|
|
8517
|
+
|
|
8518
|
+
// Docs: https://electronjs.org/docs/api/structures/ipc-main-service-worker-invoke-event
|
|
8519
|
+
|
|
8520
|
+
/**
|
|
8521
|
+
* The service worker that sent this message
|
|
8522
|
+
*
|
|
8523
|
+
*/
|
|
8524
|
+
readonly serviceWorker: ServiceWorkerMain;
|
|
8525
|
+
/**
|
|
8526
|
+
* The `Session` instance with which the event is associated.
|
|
8527
|
+
*/
|
|
8528
|
+
session: Session;
|
|
8529
|
+
/**
|
|
8530
|
+
* Possible values include `service-worker`.
|
|
8531
|
+
*/
|
|
8532
|
+
type: ('service-worker');
|
|
8533
|
+
/**
|
|
8534
|
+
* The service worker version ID.
|
|
8535
|
+
*/
|
|
8536
|
+
versionId: number;
|
|
8409
8537
|
}
|
|
8410
8538
|
|
|
8411
8539
|
interface IpcRenderer extends NodeJS.EventEmitter {
|
|
@@ -9306,6 +9434,12 @@ declare namespace Electron {
|
|
|
9306
9434
|
|
|
9307
9435
|
// Docs: https://electronjs.org/docs/api/structures/navigation-entry
|
|
9308
9436
|
|
|
9437
|
+
/**
|
|
9438
|
+
* A base64 encoded data string containing Chromium page state including
|
|
9439
|
+
* information like the current scroll position or form values. It is committed by
|
|
9440
|
+
* Chromium before a navigation event and on a regular interval.
|
|
9441
|
+
*/
|
|
9442
|
+
pageState?: string;
|
|
9309
9443
|
title: string;
|
|
9310
9444
|
url: string;
|
|
9311
9445
|
}
|
|
@@ -9323,7 +9457,8 @@ declare namespace Electron {
|
|
|
9323
9457
|
*/
|
|
9324
9458
|
canGoForward(): boolean;
|
|
9325
9459
|
/**
|
|
9326
|
-
* Whether the web page can go to the specified `offset` from the current
|
|
9460
|
+
* Whether the web page can go to the specified relative `offset` from the current
|
|
9461
|
+
* entry.
|
|
9327
9462
|
*/
|
|
9328
9463
|
canGoToOffset(offset: number): boolean;
|
|
9329
9464
|
/**
|
|
@@ -9358,7 +9493,7 @@ declare namespace Electron {
|
|
|
9358
9493
|
*/
|
|
9359
9494
|
goToIndex(index: number): void;
|
|
9360
9495
|
/**
|
|
9361
|
-
* Navigates to the specified offset from the current entry.
|
|
9496
|
+
* Navigates to the specified relative offset from the current entry.
|
|
9362
9497
|
*/
|
|
9363
9498
|
goToOffset(offset: number): void;
|
|
9364
9499
|
/**
|
|
@@ -9372,6 +9507,13 @@ declare namespace Electron {
|
|
|
9372
9507
|
* Whether the navigation entry was removed from the webContents history.
|
|
9373
9508
|
*/
|
|
9374
9509
|
removeEntryAtIndex(index: number): boolean;
|
|
9510
|
+
/**
|
|
9511
|
+
* the promise will resolve when the page has finished loading the selected
|
|
9512
|
+
* navigation entry (see `did-finish-load`), and rejects if the page fails to load
|
|
9513
|
+
* (see `did-fail-load`). A noop rejection handler is already attached, which
|
|
9514
|
+
* avoids unhandled rejection errors.
|
|
9515
|
+
*/
|
|
9516
|
+
restore(options: RestoreOptions): Promise<void>;
|
|
9375
9517
|
}
|
|
9376
9518
|
|
|
9377
9519
|
interface Net {
|
|
@@ -9992,43 +10134,23 @@ declare namespace Electron {
|
|
|
9992
10134
|
*
|
|
9993
10135
|
* @platform darwin,win32
|
|
9994
10136
|
*/
|
|
9995
|
-
on(event: 'speed-limit-change', listener: (
|
|
9996
|
-
/**
|
|
9997
|
-
* The operating system's advertised speed limit for CPUs, in percent.
|
|
9998
|
-
*/
|
|
9999
|
-
limit: number) => void): this;
|
|
10137
|
+
on(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
|
|
10000
10138
|
/**
|
|
10001
10139
|
* @platform darwin,win32
|
|
10002
10140
|
*/
|
|
10003
|
-
off(event: 'speed-limit-change', listener: (
|
|
10004
|
-
/**
|
|
10005
|
-
* The operating system's advertised speed limit for CPUs, in percent.
|
|
10006
|
-
*/
|
|
10007
|
-
limit: number) => void): this;
|
|
10141
|
+
off(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
|
|
10008
10142
|
/**
|
|
10009
10143
|
* @platform darwin,win32
|
|
10010
10144
|
*/
|
|
10011
|
-
once(event: 'speed-limit-change', listener: (
|
|
10012
|
-
/**
|
|
10013
|
-
* The operating system's advertised speed limit for CPUs, in percent.
|
|
10014
|
-
*/
|
|
10015
|
-
limit: number) => void): this;
|
|
10145
|
+
once(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
|
|
10016
10146
|
/**
|
|
10017
10147
|
* @platform darwin,win32
|
|
10018
10148
|
*/
|
|
10019
|
-
addListener(event: 'speed-limit-change', listener: (
|
|
10020
|
-
/**
|
|
10021
|
-
* The operating system's advertised speed limit for CPUs, in percent.
|
|
10022
|
-
*/
|
|
10023
|
-
limit: number) => void): this;
|
|
10149
|
+
addListener(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
|
|
10024
10150
|
/**
|
|
10025
10151
|
* @platform darwin,win32
|
|
10026
10152
|
*/
|
|
10027
|
-
removeListener(event: 'speed-limit-change', listener: (
|
|
10028
|
-
/**
|
|
10029
|
-
* The operating system's advertised speed limit for CPUs, in percent.
|
|
10030
|
-
*/
|
|
10031
|
-
limit: number) => void): this;
|
|
10153
|
+
removeListener(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
|
|
10032
10154
|
/**
|
|
10033
10155
|
* Emitted when the system is suspending.
|
|
10034
10156
|
*/
|
|
@@ -10053,23 +10175,23 @@ declare namespace Electron {
|
|
|
10053
10175
|
*
|
|
10054
10176
|
* @platform darwin
|
|
10055
10177
|
*/
|
|
10056
|
-
on(event: 'thermal-state-change', listener: () => void): this;
|
|
10178
|
+
on(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
|
|
10057
10179
|
/**
|
|
10058
10180
|
* @platform darwin
|
|
10059
10181
|
*/
|
|
10060
|
-
off(event: 'thermal-state-change', listener: () => void): this;
|
|
10182
|
+
off(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
|
|
10061
10183
|
/**
|
|
10062
10184
|
* @platform darwin
|
|
10063
10185
|
*/
|
|
10064
|
-
once(event: 'thermal-state-change', listener: () => void): this;
|
|
10186
|
+
once(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
|
|
10065
10187
|
/**
|
|
10066
10188
|
* @platform darwin
|
|
10067
10189
|
*/
|
|
10068
|
-
addListener(event: 'thermal-state-change', listener: () => void): this;
|
|
10190
|
+
addListener(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
|
|
10069
10191
|
/**
|
|
10070
10192
|
* @platform darwin
|
|
10071
10193
|
*/
|
|
10072
|
-
removeListener(event: 'thermal-state-change', listener: () => void): this;
|
|
10194
|
+
removeListener(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
|
|
10073
10195
|
/**
|
|
10074
10196
|
* Emitted as soon as the systems screen is unlocked.
|
|
10075
10197
|
*
|
|
@@ -10220,9 +10342,9 @@ declare namespace Electron {
|
|
|
10220
10342
|
id: string;
|
|
10221
10343
|
/**
|
|
10222
10344
|
* Context type where the preload script will be executed. Possible values include
|
|
10223
|
-
* `frame`.
|
|
10345
|
+
* `frame` or `service-worker`.
|
|
10224
10346
|
*/
|
|
10225
|
-
type: ('frame');
|
|
10347
|
+
type: ('frame' | 'service-worker');
|
|
10226
10348
|
}
|
|
10227
10349
|
|
|
10228
10350
|
interface PreloadScriptRegistration {
|
|
@@ -10239,9 +10361,9 @@ declare namespace Electron {
|
|
|
10239
10361
|
id?: string;
|
|
10240
10362
|
/**
|
|
10241
10363
|
* Context type where the preload script will be executed. Possible values include
|
|
10242
|
-
* `frame`.
|
|
10364
|
+
* `frame` or `service-worker`.
|
|
10243
10365
|
*/
|
|
10244
|
-
type: ('frame');
|
|
10366
|
+
type: ('frame' | 'service-worker');
|
|
10245
10367
|
}
|
|
10246
10368
|
|
|
10247
10369
|
interface PrinterInfo {
|
|
@@ -11172,6 +11294,19 @@ declare namespace Electron {
|
|
|
11172
11294
|
* @experimental
|
|
11173
11295
|
*/
|
|
11174
11296
|
isDestroyed(): boolean;
|
|
11297
|
+
/**
|
|
11298
|
+
* Send an asynchronous message to the service worker process via `channel`, along
|
|
11299
|
+
* with arguments. Arguments will be serialized with the Structured Clone
|
|
11300
|
+
* Algorithm, just like `postMessage`, so prototype chains will not be included.
|
|
11301
|
+
* Sending Functions, Promises, Symbols, WeakMaps, or WeakSets will throw an
|
|
11302
|
+
* exception.
|
|
11303
|
+
*
|
|
11304
|
+
* The service worker process can handle the message by listening to `channel` with
|
|
11305
|
+
* the `ipcRenderer` module.
|
|
11306
|
+
*
|
|
11307
|
+
* @experimental
|
|
11308
|
+
*/
|
|
11309
|
+
send(channel: string, ...args: any[]): void;
|
|
11175
11310
|
/**
|
|
11176
11311
|
* * `end` Function - Method to call when the task has ended. If never called, the
|
|
11177
11312
|
* service won't terminate while otherwise idle.
|
|
@@ -11181,6 +11316,12 @@ declare namespace Electron {
|
|
|
11181
11316
|
* @experimental
|
|
11182
11317
|
*/
|
|
11183
11318
|
startTask(): StartTask;
|
|
11319
|
+
/**
|
|
11320
|
+
* An `IpcMainServiceWorker` instance scoped to the service worker.
|
|
11321
|
+
*
|
|
11322
|
+
* @experimental
|
|
11323
|
+
*/
|
|
11324
|
+
readonly ipc: IpcMainServiceWorker;
|
|
11184
11325
|
/**
|
|
11185
11326
|
* A `string` representing the scope URL of the service worker.
|
|
11186
11327
|
*
|
|
@@ -12220,7 +12361,7 @@ declare namespace Electron {
|
|
|
12220
12361
|
* make a permission request if the check is denied. To clear the handler, call
|
|
12221
12362
|
* `setPermissionCheckHandler(null)`.
|
|
12222
12363
|
*/
|
|
12223
|
-
setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'geolocation' | 'fullscreen' | 'hid' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'openExternal' | 'pointerLock' | 'serial' | 'storage-access' | 'top-level-storage-access' | 'usb', requestingOrigin: string, details: PermissionCheckHandlerHandlerDetails) => boolean) | (null)): void;
|
|
12364
|
+
setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'geolocation' | 'fullscreen' | 'hid' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'openExternal' | 'pointerLock' | 'serial' | 'storage-access' | 'top-level-storage-access' | 'usb' | 'deprecated-sync-clipboard-read', requestingOrigin: string, details: PermissionCheckHandlerHandlerDetails) => boolean) | (null)): void;
|
|
12224
12365
|
/**
|
|
12225
12366
|
* Sets the handler which can be used to respond to permission requests for the
|
|
12226
12367
|
* `session`. Calling `callback(true)` will allow the permission and
|
|
@@ -12779,9 +12920,10 @@ declare namespace Electron {
|
|
|
12779
12920
|
/**
|
|
12780
12921
|
* `true` if DWM composition (Aero Glass) is enabled, and `false` otherwise.
|
|
12781
12922
|
*
|
|
12782
|
-
*
|
|
12783
|
-
*
|
|
12923
|
+
* **Deprecated:** This function has been always returning `true` since Electron
|
|
12924
|
+
* 23, which only supports Windows 10+.
|
|
12784
12925
|
*
|
|
12926
|
+
* @deprecated
|
|
12785
12927
|
* @platform win32
|
|
12786
12928
|
*/
|
|
12787
12929
|
isAeroGlassEnabled(): boolean;
|
|
@@ -14516,6 +14658,11 @@ declare namespace Electron {
|
|
|
14516
14658
|
* The bounds of this View, relative to its parent.
|
|
14517
14659
|
*/
|
|
14518
14660
|
getBounds(): Rectangle;
|
|
14661
|
+
/**
|
|
14662
|
+
* Whether the view should be drawn. Note that this is different from whether the
|
|
14663
|
+
* view is visible on screen—it may still be obscured or out of view.
|
|
14664
|
+
*/
|
|
14665
|
+
getVisible(): boolean;
|
|
14519
14666
|
/**
|
|
14520
14667
|
* If the view passed as a parameter is not a child of this view, this method is a
|
|
14521
14668
|
* no-op.
|
|
@@ -17728,6 +17875,12 @@ declare namespace Electron {
|
|
|
17728
17875
|
* RuntimeEnabledFeatures.json5 file.
|
|
17729
17876
|
*/
|
|
17730
17877
|
enableBlinkFeatures?: string;
|
|
17878
|
+
/**
|
|
17879
|
+
* Whether to enable the `paste` execCommand. Default is `false`.
|
|
17880
|
+
*
|
|
17881
|
+
* @deprecated
|
|
17882
|
+
*/
|
|
17883
|
+
enableDeprecatedPaste?: boolean;
|
|
17731
17884
|
/**
|
|
17732
17885
|
* Whether to enable preferred size mode. The preferred size is the minimum size
|
|
17733
17886
|
* needed to contain the layout of the document—without requiring scrolling.
|
|
@@ -17995,6 +18148,10 @@ declare namespace Electron {
|
|
|
17995
18148
|
|
|
17996
18149
|
// Docs: https://electronjs.org/docs/api/structures/web-request-filter
|
|
17997
18150
|
|
|
18151
|
+
/**
|
|
18152
|
+
* Array of URL patterns used to exclude requests that match these patterns.
|
|
18153
|
+
*/
|
|
18154
|
+
excludeUrls?: string[];
|
|
17998
18155
|
/**
|
|
17999
18156
|
* Array of types that will be used to filter out the requests that do not match
|
|
18000
18157
|
* the types. When not specified, all types will be matched. Can be `mainFrame`,
|
|
@@ -18003,8 +18160,8 @@ declare namespace Electron {
|
|
|
18003
18160
|
*/
|
|
18004
18161
|
types?: Array<'mainFrame' | 'subFrame' | 'stylesheet' | 'script' | 'image' | 'font' | 'object' | 'xhr' | 'ping' | 'cspReport' | 'media' | 'webSocket'>;
|
|
18005
18162
|
/**
|
|
18006
|
-
* Array of URL patterns
|
|
18007
|
-
* match
|
|
18163
|
+
* Array of URL patterns used to include requests that match these patterns. Use
|
|
18164
|
+
* the pattern `<all_urls>` to match all URLs.
|
|
18008
18165
|
*/
|
|
18009
18166
|
urls: string[];
|
|
18010
18167
|
}
|
|
@@ -21155,6 +21312,21 @@ declare namespace Electron {
|
|
|
21155
21312
|
callback?: () => void;
|
|
21156
21313
|
}
|
|
21157
21314
|
|
|
21315
|
+
interface PowerMonitorSpeedLimitChangeEventParams {
|
|
21316
|
+
/**
|
|
21317
|
+
* The operating system's advertised speed limit for CPUs, in percent.
|
|
21318
|
+
*/
|
|
21319
|
+
limit: number;
|
|
21320
|
+
}
|
|
21321
|
+
|
|
21322
|
+
interface PowerMonitorThermalStateChangeEventParams {
|
|
21323
|
+
/**
|
|
21324
|
+
* The system's new thermal state. Can be `unknown`, `nominal`, `fair`, `serious`,
|
|
21325
|
+
* `critical`.
|
|
21326
|
+
*/
|
|
21327
|
+
state: ('unknown' | 'nominal' | 'fair' | 'serious' | 'critical');
|
|
21328
|
+
}
|
|
21329
|
+
|
|
21158
21330
|
interface PreconnectOptions {
|
|
21159
21331
|
/**
|
|
21160
21332
|
* URL for preconnect. Only the origin is relevant for opening the socket.
|
|
@@ -21404,6 +21576,19 @@ declare namespace Electron {
|
|
|
21404
21576
|
pin?: (string) | (null);
|
|
21405
21577
|
}
|
|
21406
21578
|
|
|
21579
|
+
interface RestoreOptions {
|
|
21580
|
+
/**
|
|
21581
|
+
* Result of a prior `getAllEntries()` call
|
|
21582
|
+
*/
|
|
21583
|
+
entries: NavigationEntry[];
|
|
21584
|
+
/**
|
|
21585
|
+
* Index of the stack that should be loaded. If you set it to `0`, the webContents
|
|
21586
|
+
* will load the first (oldest) entry. If you leave it undefined, Electron will
|
|
21587
|
+
* automatically load the last (newest) entry.
|
|
21588
|
+
*/
|
|
21589
|
+
index?: number;
|
|
21590
|
+
}
|
|
21591
|
+
|
|
21407
21592
|
interface Result {
|
|
21408
21593
|
requestId: number;
|
|
21409
21594
|
/**
|
|
@@ -22957,6 +23142,8 @@ declare namespace Electron {
|
|
|
22957
23142
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22958
23143
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22959
23144
|
type PopupOptions = Electron.PopupOptions;
|
|
23145
|
+
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
23146
|
+
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
22960
23147
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
22961
23148
|
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
22962
23149
|
type Privileges = Electron.Privileges;
|
|
@@ -22972,6 +23159,7 @@ declare namespace Electron {
|
|
|
22972
23159
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
22973
23160
|
type ResourceUsage = Electron.ResourceUsage;
|
|
22974
23161
|
type Response = Electron.Response;
|
|
23162
|
+
type RestoreOptions = Electron.RestoreOptions;
|
|
22975
23163
|
type Result = Electron.Result;
|
|
22976
23164
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
22977
23165
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
@@ -23059,6 +23247,8 @@ declare namespace Electron {
|
|
|
23059
23247
|
type InputEvent = Electron.InputEvent;
|
|
23060
23248
|
type IpcMainEvent = Electron.IpcMainEvent;
|
|
23061
23249
|
type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
|
|
23250
|
+
type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
|
|
23251
|
+
type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
|
|
23062
23252
|
type IpcRendererEvent = Electron.IpcRendererEvent;
|
|
23063
23253
|
type JumpListCategory = Electron.JumpListCategory;
|
|
23064
23254
|
type JumpListItem = Electron.JumpListItem;
|
|
@@ -23151,6 +23341,7 @@ declare namespace Electron {
|
|
|
23151
23341
|
type IncomingMessage = Electron.IncomingMessage;
|
|
23152
23342
|
const ipcMain: IpcMain;
|
|
23153
23343
|
type IpcMain = Electron.IpcMain;
|
|
23344
|
+
class IpcMainServiceWorker extends Electron.IpcMainServiceWorker {}
|
|
23154
23345
|
class Menu extends Electron.Menu {}
|
|
23155
23346
|
class MenuItem extends Electron.MenuItem {}
|
|
23156
23347
|
class MessageChannelMain extends Electron.MessageChannelMain {}
|
|
@@ -23321,6 +23512,8 @@ declare namespace Electron {
|
|
|
23321
23512
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
23322
23513
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
23323
23514
|
type PopupOptions = Electron.PopupOptions;
|
|
23515
|
+
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
23516
|
+
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
23324
23517
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
23325
23518
|
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
23326
23519
|
type Privileges = Electron.Privileges;
|
|
@@ -23336,6 +23529,7 @@ declare namespace Electron {
|
|
|
23336
23529
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
23337
23530
|
type ResourceUsage = Electron.ResourceUsage;
|
|
23338
23531
|
type Response = Electron.Response;
|
|
23532
|
+
type RestoreOptions = Electron.RestoreOptions;
|
|
23339
23533
|
type Result = Electron.Result;
|
|
23340
23534
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
23341
23535
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
@@ -23423,6 +23617,8 @@ declare namespace Electron {
|
|
|
23423
23617
|
type InputEvent = Electron.InputEvent;
|
|
23424
23618
|
type IpcMainEvent = Electron.IpcMainEvent;
|
|
23425
23619
|
type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
|
|
23620
|
+
type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
|
|
23621
|
+
type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
|
|
23426
23622
|
type IpcRendererEvent = Electron.IpcRendererEvent;
|
|
23427
23623
|
type JumpListCategory = Electron.JumpListCategory;
|
|
23428
23624
|
type JumpListItem = Electron.JumpListItem;
|
|
@@ -23616,6 +23812,8 @@ declare namespace Electron {
|
|
|
23616
23812
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
23617
23813
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
23618
23814
|
type PopupOptions = Electron.PopupOptions;
|
|
23815
|
+
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
23816
|
+
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
23619
23817
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
23620
23818
|
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
23621
23819
|
type Privileges = Electron.Privileges;
|
|
@@ -23631,6 +23829,7 @@ declare namespace Electron {
|
|
|
23631
23829
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
23632
23830
|
type ResourceUsage = Electron.ResourceUsage;
|
|
23633
23831
|
type Response = Electron.Response;
|
|
23832
|
+
type RestoreOptions = Electron.RestoreOptions;
|
|
23634
23833
|
type Result = Electron.Result;
|
|
23635
23834
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
23636
23835
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
@@ -23718,6 +23917,8 @@ declare namespace Electron {
|
|
|
23718
23917
|
type InputEvent = Electron.InputEvent;
|
|
23719
23918
|
type IpcMainEvent = Electron.IpcMainEvent;
|
|
23720
23919
|
type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
|
|
23920
|
+
type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
|
|
23921
|
+
type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
|
|
23721
23922
|
type IpcRendererEvent = Electron.IpcRendererEvent;
|
|
23722
23923
|
type JumpListCategory = Electron.JumpListCategory;
|
|
23723
23924
|
type JumpListItem = Electron.JumpListItem;
|
|
@@ -23908,6 +24109,8 @@ declare namespace Electron {
|
|
|
23908
24109
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
23909
24110
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
23910
24111
|
type PopupOptions = Electron.PopupOptions;
|
|
24112
|
+
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
24113
|
+
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
23911
24114
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
23912
24115
|
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
23913
24116
|
type Privileges = Electron.Privileges;
|
|
@@ -23923,6 +24126,7 @@ declare namespace Electron {
|
|
|
23923
24126
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
23924
24127
|
type ResourceUsage = Electron.ResourceUsage;
|
|
23925
24128
|
type Response = Electron.Response;
|
|
24129
|
+
type RestoreOptions = Electron.RestoreOptions;
|
|
23926
24130
|
type Result = Electron.Result;
|
|
23927
24131
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
23928
24132
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
@@ -24010,6 +24214,8 @@ declare namespace Electron {
|
|
|
24010
24214
|
type InputEvent = Electron.InputEvent;
|
|
24011
24215
|
type IpcMainEvent = Electron.IpcMainEvent;
|
|
24012
24216
|
type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
|
|
24217
|
+
type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
|
|
24218
|
+
type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
|
|
24013
24219
|
type IpcRendererEvent = Electron.IpcRendererEvent;
|
|
24014
24220
|
type JumpListCategory = Electron.JumpListCategory;
|
|
24015
24221
|
type JumpListItem = Electron.JumpListItem;
|
|
@@ -24108,6 +24314,7 @@ declare namespace Electron {
|
|
|
24108
24314
|
type IncomingMessage = Electron.IncomingMessage;
|
|
24109
24315
|
const ipcMain: IpcMain;
|
|
24110
24316
|
type IpcMain = Electron.IpcMain;
|
|
24317
|
+
class IpcMainServiceWorker extends Electron.IpcMainServiceWorker {}
|
|
24111
24318
|
const ipcRenderer: IpcRenderer;
|
|
24112
24319
|
type IpcRenderer = Electron.IpcRenderer;
|
|
24113
24320
|
class Menu extends Electron.Menu {}
|
|
@@ -24289,6 +24496,8 @@ declare namespace Electron {
|
|
|
24289
24496
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
24290
24497
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
24291
24498
|
type PopupOptions = Electron.PopupOptions;
|
|
24499
|
+
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
24500
|
+
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
24292
24501
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
24293
24502
|
type PrintToPDFOptions = Electron.PrintToPDFOptions;
|
|
24294
24503
|
type Privileges = Electron.Privileges;
|
|
@@ -24304,6 +24513,7 @@ declare namespace Electron {
|
|
|
24304
24513
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
24305
24514
|
type ResourceUsage = Electron.ResourceUsage;
|
|
24306
24515
|
type Response = Electron.Response;
|
|
24516
|
+
type RestoreOptions = Electron.RestoreOptions;
|
|
24307
24517
|
type Result = Electron.Result;
|
|
24308
24518
|
type SaveDialogOptions = Electron.SaveDialogOptions;
|
|
24309
24519
|
type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
|
|
@@ -24391,6 +24601,8 @@ declare namespace Electron {
|
|
|
24391
24601
|
type InputEvent = Electron.InputEvent;
|
|
24392
24602
|
type IpcMainEvent = Electron.IpcMainEvent;
|
|
24393
24603
|
type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
|
|
24604
|
+
type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
|
|
24605
|
+
type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
|
|
24394
24606
|
type IpcRendererEvent = Electron.IpcRendererEvent;
|
|
24395
24607
|
type JumpListCategory = Electron.JumpListCategory;
|
|
24396
24608
|
type JumpListItem = Electron.JumpListItem;
|
|
@@ -24756,11 +24968,12 @@ declare namespace NodeJS {
|
|
|
24756
24968
|
*
|
|
24757
24969
|
* * `browser` - The main process
|
|
24758
24970
|
* * `renderer` - A renderer process
|
|
24971
|
+
* * `service-worker` - In a service worker
|
|
24759
24972
|
* * `worker` - In a web worker
|
|
24760
24973
|
* * `utility` - In a node process launched as a service
|
|
24761
24974
|
*
|
|
24762
24975
|
*/
|
|
24763
|
-
readonly type: ('browser' | 'renderer' | 'worker' | 'utility');
|
|
24976
|
+
readonly type: ('browser' | 'renderer' | 'service-worker' | 'worker' | 'utility');
|
|
24764
24977
|
/**
|
|
24765
24978
|
* A `boolean`. If the app is running as a Windows Store app (appx), this property
|
|
24766
24979
|
* is `true`, for otherwise it is `undefined`.
|
package/package.json
CHANGED