electron 35.0.0-alpha.5 → 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 CHANGED
@@ -1,77 +1,77 @@
1
1
  {
2
- "chromedriver-v35.0.0-alpha.5-darwin-arm64.zip": "c09948f230c4876772ae075c773a5bb16cdbaac60fbccd8ef177889582e48437",
3
- "chromedriver-v35.0.0-alpha.5-darwin-x64.zip": "527ac6a6cce1f6483d0ce41d10491f3dcb2b785e6930f17b7e5d989b02d3a62f",
4
- "chromedriver-v35.0.0-alpha.5-linux-arm64.zip": "9654a83e660fb8f9eace72c4ae04af67a7a0049a01d587a6131b425b2cfdb6da",
5
- "chromedriver-v35.0.0-alpha.5-linux-armv7l.zip": "63d3b5aca27b797bc4b2fccedcd63143eab240641fe1da07077704a3b497c106",
6
- "chromedriver-v35.0.0-alpha.5-linux-x64.zip": "7fea7418e42d889ad0b3fa066f11c26ae8f511b97d2a3ecfd78e91e92acd838f",
7
- "chromedriver-v35.0.0-alpha.5-mas-arm64.zip": "7da317598b779c145879d3536fc11f1d70d39d304e1eabb41aacc6ef27cb79e1",
8
- "chromedriver-v35.0.0-alpha.5-mas-x64.zip": "a4da14b9a323ff85477cd6acac98704854194b6a9cbc669ea745f874c5b784f2",
9
- "chromedriver-v35.0.0-alpha.5-win32-arm64.zip": "af0785dcbaf138fd0b360be54c23310b5925ab1259295e65fac08087238e0b38",
10
- "chromedriver-v35.0.0-alpha.5-win32-ia32.zip": "ec54ab8a52ea8e845a764b6927569b39081c1f605544043d3e8e19ca9838d65a",
11
- "chromedriver-v35.0.0-alpha.5-win32-x64.zip": "3663e7bc545044a02eff6389aad5b252904e950443a6d8f6c6d27dbb5df23547",
12
- "electron-api.json": "27341aaa4a614ac2ac07491993ecd04c9220b88922d68aa6497a4cfc55654646",
13
- "electron-v35.0.0-alpha.5-darwin-arm64-dsym-snapshot.zip": "2a2771ddeaa717e41165455c342652d374570a9a3cef8b91f4d1c2a1a43f47cb",
14
- "electron-v35.0.0-alpha.5-darwin-arm64-dsym.zip": "b1df66393548f9b965a18d397669b87e7e95660512678dbab73607674e05f110",
15
- "electron-v35.0.0-alpha.5-darwin-arm64-symbols.zip": "f6aba3432178036e8abea3421559a931b81a1c52d9b44d242ad030337c55c86d",
16
- "electron-v35.0.0-alpha.5-darwin-arm64.zip": "e9050f5bdb61a28f697567b9ed005d9f13567f338329521977536591b892241b",
17
- "electron-v35.0.0-alpha.5-darwin-x64-dsym-snapshot.zip": "f11868c47ab8cbea21391523dc607854f83b624d924acf301844fe6258c8c026",
18
- "electron-v35.0.0-alpha.5-darwin-x64-dsym.zip": "b95960b0defa33f926da19127c7fba0e60060e43c2b5b911f76e094c700ce9ce",
19
- "electron-v35.0.0-alpha.5-darwin-x64-symbols.zip": "86c4d205fbad6ab9c21a264640f2faa618a22a86402df973a0cfe7b3f34aaccf",
20
- "electron-v35.0.0-alpha.5-darwin-x64.zip": "103402906edb1ec893af3aac1c164956bd60820e4cac172816141d86d2348651",
21
- "electron-v35.0.0-alpha.5-linux-arm64-debug.zip": "2702a0a7a19c43cbc1cc45b53460e96c0ccf51aa659163f448195f8a3dc671f2",
22
- "electron-v35.0.0-alpha.5-linux-arm64-symbols.zip": "f95b33ca96fdf5467e8a3d70f12ce6af95f4f21eb2b46bd752267e3d0dbda8c4",
23
- "electron-v35.0.0-alpha.5-linux-arm64.zip": "f25dd07e1495a5244955fefad117842a277c635b2c294fe5cfed176f583743b8",
24
- "electron-v35.0.0-alpha.5-linux-armv7l-debug.zip": "2702a0a7a19c43cbc1cc45b53460e96c0ccf51aa659163f448195f8a3dc671f2",
25
- "electron-v35.0.0-alpha.5-linux-armv7l-symbols.zip": "30800d10b7a65001af7fb52a88d0c4d48a7654c294a1faf797bf123b3c38ba03",
26
- "electron-v35.0.0-alpha.5-linux-armv7l.zip": "50350be65f4a69ec814818bc62aa9cc1883807ad2c71dbba94f89bd1b3f16315",
27
- "electron-v35.0.0-alpha.5-linux-x64-debug.zip": "f09014990eae5eb94d1178d13fc8a6d6f970165dd6701bd518e389ccc12a74eb",
28
- "electron-v35.0.0-alpha.5-linux-x64-symbols.zip": "86aac308044de502ce86f4221d95acbd2960a2f1efa3027565078ea3203d4b33",
29
- "electron-v35.0.0-alpha.5-linux-x64.zip": "c9e87b07fb671164cc28ae6dc735964fd1864afe04a36a8cfc355906984b0fcf",
30
- "electron-v35.0.0-alpha.5-mas-arm64-dsym-snapshot.zip": "058c4e249e7894bdb6a95815bc6279297cbe6479a25fefb6fa7e82d905a31981",
31
- "electron-v35.0.0-alpha.5-mas-arm64-dsym.zip": "810e332ce8c06afff1fe01eae9df442714d73e183c27d7c05d57b16cbb8f0486",
32
- "electron-v35.0.0-alpha.5-mas-arm64-symbols.zip": "107d088688c63a7f862553360554d5a81db3f35ef481fb47ded1ce491879e4d7",
33
- "electron-v35.0.0-alpha.5-mas-arm64.zip": "d18aa86e52d0e6545ab538063fa5ec57ac44805199aab5a1b7dd272a3e8aed8b",
34
- "electron-v35.0.0-alpha.5-mas-x64-dsym-snapshot.zip": "2062ed18c36c58c8f97078dfff464c7f8cc9209402085e7dcd006733ed9c8c59",
35
- "electron-v35.0.0-alpha.5-mas-x64-dsym.zip": "9cac404762d658f2c25a9da93f4ad2c514325fe5f1e0754bb5f6bc05e2c0234d",
36
- "electron-v35.0.0-alpha.5-mas-x64-symbols.zip": "61724b12f173df6e4a98656d2733dc109eec4dea3645585c784afc14b3a41eb5",
37
- "electron-v35.0.0-alpha.5-mas-x64.zip": "98d72d4870ceacf8c093a3f3731579847e729706bcecab3c45fdd2a66191f316",
38
- "electron-v35.0.0-alpha.5-win32-arm64-pdb.zip": "5afabea191c2d62c2231c7083e1d5173608999fcd719d1ea5444da4bc9a24ea2",
39
- "electron-v35.0.0-alpha.5-win32-arm64-symbols.zip": "c35eea36fbbb2c40281543cf14fc2c905ff7b7ca13ecbc179d9fb127954ee1dd",
40
- "electron-v35.0.0-alpha.5-win32-arm64-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
41
- "electron-v35.0.0-alpha.5-win32-arm64.zip": "313c9a992a0efd949e62798dd67af9abd1e0a53b15c3e0cee9370e92da587a91",
42
- "electron-v35.0.0-alpha.5-win32-ia32-pdb.zip": "48c1ed3ff71cb01427daad6409af3ad02bef12f7974722e9dea62f51ca590235",
43
- "electron-v35.0.0-alpha.5-win32-ia32-symbols.zip": "68c602f3825a18c1943521b5052cd728033f6774008d8eeb2b1946b8c53eb7a3",
44
- "electron-v35.0.0-alpha.5-win32-ia32-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
45
- "electron-v35.0.0-alpha.5-win32-ia32.zip": "ecb359e91566c1d749a99f57bd79e88c10255ea5f44325f435a524d75bef0213",
46
- "electron-v35.0.0-alpha.5-win32-x64-pdb.zip": "f782687fef07d38ec85008e832933ef8eb813a50dddaa70acd0639b061a2a76a",
47
- "electron-v35.0.0-alpha.5-win32-x64-symbols.zip": "0324e1d96f75dcd1218aa42029314741dd0237a91aa9af030589f592098b543f",
48
- "electron-v35.0.0-alpha.5-win32-x64-toolchain-profile.zip": "0805942ff7953b1fa8a041b88f67c57eb4d48075ac1be5375caec2233e1a9f0c",
49
- "electron-v35.0.0-alpha.5-win32-x64.zip": "b5f90c95fc7bde85edd5ba5e2ae004130c884d5aa8b81f54cb4d10837372d949",
50
- "electron.d.ts": "07c2996b28888dbad2f41a7add2890c675c9fd2b7e9ffec110c51ee0fdc98596",
51
- "ffmpeg-v35.0.0-alpha.5-darwin-arm64.zip": "59a7419f8d3153b79edccd3e1f8ae53c4e791ec94d66f170d467fbb7d7996aec",
52
- "ffmpeg-v35.0.0-alpha.5-darwin-x64.zip": "63998efd39a4461bd58565175640ca063421b4c2a1158ae1cf556912083b50b8",
53
- "ffmpeg-v35.0.0-alpha.5-linux-arm64.zip": "ddc6e8df1942bf692342f9abc7457c3b48cb9613145c537fd49aaf19fbc8987c",
54
- "ffmpeg-v35.0.0-alpha.5-linux-armv7l.zip": "0e328cd37e88bfc61f6e35b36aca82e0cbbe99c121a9b5e70f34e0c77229e563",
55
- "ffmpeg-v35.0.0-alpha.5-linux-x64.zip": "fedb158cc440e17f0a135a03748a3c4572e0f59be37253efc66d588c2cb2dfdd",
56
- "ffmpeg-v35.0.0-alpha.5-mas-arm64.zip": "59a7419f8d3153b79edccd3e1f8ae53c4e791ec94d66f170d467fbb7d7996aec",
57
- "ffmpeg-v35.0.0-alpha.5-mas-x64.zip": "63998efd39a4461bd58565175640ca063421b4c2a1158ae1cf556912083b50b8",
58
- "ffmpeg-v35.0.0-alpha.5-win32-arm64.zip": "b604687f77fa5ec7f3f20ef985a086a4bf6e8bc8dda41b56f047ec4b3c18f5f9",
59
- "ffmpeg-v35.0.0-alpha.5-win32-ia32.zip": "eeeb42744ab05fbbe96e18a90483a007eec27a006567602703e5c55c8f68c414",
60
- "ffmpeg-v35.0.0-alpha.5-win32-x64.zip": "370cdc800b202f20915ccbf2f8c7a3ec4f94973d3c326f44a9c46e2bb370d795",
61
- "hunspell_dictionaries.zip": "7a83aae1855c46cc3b2acb07bc743802cd977e0e43f9e61c79b5e3b3ffc6c964",
62
- "libcxx-objects-v35.0.0-alpha.5-linux-arm64.zip": "52cf559b67cede4b76e52dedb5020e0591266750d051a6a03dcb212b7cac209b",
63
- "libcxx-objects-v35.0.0-alpha.5-linux-armv7l.zip": "867849b114d4bfd3dcc8273fc2a428906c4086f99a58bd5cdca85c1aa1280203",
64
- "libcxx-objects-v35.0.0-alpha.5-linux-x64.zip": "193da98fdbd50ee1b8cc60abf49c9a6d0def8c1fb78c86a416f16f3824c263d9",
65
- "libcxx_headers.zip": "d259ad9595136ed3f04bae5029b0b9a7f657bcbb9df30633b77c0d01cf14138f",
66
- "libcxxabi_headers.zip": "a54dfee688fb899e9b0e6584aca8bcfbc1a621ff79ddd030da6515263553c845",
67
- "mksnapshot-v35.0.0-alpha.5-darwin-arm64.zip": "5774a0a9b5aa964522809d250e0a27e34bae7b383a3775998be527b863ae899f",
68
- "mksnapshot-v35.0.0-alpha.5-darwin-x64.zip": "0e1fbbbd5a27cab7529f9dbee56e1f25cbdbf3564b505cc83d4c450597689df8",
69
- "mksnapshot-v35.0.0-alpha.5-linux-arm64-x64.zip": "cf00c62f797b9d50d152e2db40f8309ba54605edddc2b540e8c3bcea778c73ff",
70
- "mksnapshot-v35.0.0-alpha.5-linux-armv7l-x64.zip": "14a428217c196dc1a097d8be780e9dc779ec55fbd1c489608d079c69f90e48a6",
71
- "mksnapshot-v35.0.0-alpha.5-linux-x64.zip": "fae5d693a3d5b147be07456750c661952252990d0bad6a77faf7fae734b07e7f",
72
- "mksnapshot-v35.0.0-alpha.5-mas-arm64.zip": "bf0fb3d7d3e2cbc57e0be00b67fc80df3c19916b127574f49bf67c4c85d1f39f",
73
- "mksnapshot-v35.0.0-alpha.5-mas-x64.zip": "700d119a3ac388afaf0abd28987f467edbd319ebb56b6f640f83ed81d0a572e2",
74
- "mksnapshot-v35.0.0-alpha.5-win32-arm64-x64.zip": "48317597c14b3b73854e657b72ad96844be07d6f2da2686814c8891b1228a344",
75
- "mksnapshot-v35.0.0-alpha.5-win32-ia32.zip": "eae3c91301e9e7438a882e0a7267d06400feddb1f4ace1b2f3a9a9935f71fa41",
76
- "mksnapshot-v35.0.0-alpha.5-win32-x64.zip": "dceeccb622bacb3c06f74acdd9b667179eb5d1b6b7367c9bb59760ab0bea4689"
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-alpha.5
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 on macOS. Default is
3689
- * `true`. Setting this property to `false` will prevent the window from being
3690
- * fullscreenable.
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
  /**
@@ -6750,6 +6751,13 @@ declare namespace Electron {
6750
6751
 
6751
6752
  // Docs: https://electronjs.org/docs/api/context-bridge
6752
6753
 
6754
+ /**
6755
+ * A copy of the resulting value from executing the function in the main world.
6756
+ * Refer to the table on how values are copied between worlds.
6757
+ *
6758
+ * @experimental
6759
+ */
6760
+ executeInMainWorld(executionScript: ExecutionScript): any;
6753
6761
  exposeInIsolatedWorld(worldId: number, apiKey: string, api: any): void;
6754
6762
  exposeInMainWorld(apiKey: string, api: any): void;
6755
6763
  }
@@ -7518,7 +7526,7 @@ declare namespace Electron {
7518
7526
  */
7519
7527
  depthPerComponent: number;
7520
7528
  /**
7521
- * `true`` if the display is detected by the system.
7529
+ * `true` if the display is detected by the system.
7522
7530
  */
7523
7531
  detected: boolean;
7524
7532
  /**
@@ -8080,11 +8088,34 @@ declare namespace Electron {
8080
8088
 
8081
8089
  // Docs: https://electronjs.org/docs/api/in-app-purchase
8082
8090
 
8083
- on(event: 'transactions-updated', listener: () => void): this;
8084
- off(event: 'transactions-updated', listener: () => void): this;
8085
- once(event: 'transactions-updated', listener: () => void): this;
8086
- addListener(event: 'transactions-updated', listener: () => void): this;
8087
- removeListener(event: 'transactions-updated', listener: () => void): this;
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;
8088
8119
  /**
8089
8120
  * whether a user can make a payment.
8090
8121
  */
@@ -8375,6 +8406,10 @@ declare namespace Electron {
8375
8406
  *
8376
8407
  */
8377
8408
  readonly senderFrame: (WebFrameMain) | (null);
8409
+ /**
8410
+ * Possible values include `frame`
8411
+ */
8412
+ type: ('frame');
8378
8413
  }
8379
8414
 
8380
8415
  interface IpcMainInvokeEvent extends Event {
@@ -8399,6 +8434,106 @@ declare namespace Electron {
8399
8434
  *
8400
8435
  */
8401
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;
8402
8537
  }
8403
8538
 
8404
8539
  interface IpcRenderer extends NodeJS.EventEmitter {
@@ -8448,6 +8583,13 @@ declare namespace Electron {
8448
8583
  /**
8449
8584
  * Listens to `channel`, when a new message arrives `listener` would be called with
8450
8585
  * `listener(event, args...)`.
8586
+ *
8587
+ * :::warning Do not expose the `event` argument to the renderer for security
8588
+ * reasons! Wrap any callback that you receive from the renderer in another
8589
+ * function like this: `ipcRenderer.on('my-channel', (event, ...args) =>
8590
+ * callback(...args))`. Not wrapping the callback in such a function would expose
8591
+ * dangerous Electron APIs to the renderer process. See the security guide for more
8592
+ * info. :::
8451
8593
  */
8452
8594
  on(channel: string, listener: (event: IpcRendererEvent, ...args: any[]) => void): this;
8453
8595
  /**
@@ -9292,6 +9434,12 @@ declare namespace Electron {
9292
9434
 
9293
9435
  // Docs: https://electronjs.org/docs/api/structures/navigation-entry
9294
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;
9295
9443
  title: string;
9296
9444
  url: string;
9297
9445
  }
@@ -9309,7 +9457,8 @@ declare namespace Electron {
9309
9457
  */
9310
9458
  canGoForward(): boolean;
9311
9459
  /**
9312
- * Whether the web page can go to the specified `offset` from the current entry.
9460
+ * Whether the web page can go to the specified relative `offset` from the current
9461
+ * entry.
9313
9462
  */
9314
9463
  canGoToOffset(offset: number): boolean;
9315
9464
  /**
@@ -9344,7 +9493,7 @@ declare namespace Electron {
9344
9493
  */
9345
9494
  goToIndex(index: number): void;
9346
9495
  /**
9347
- * Navigates to the specified offset from the current entry.
9496
+ * Navigates to the specified relative offset from the current entry.
9348
9497
  */
9349
9498
  goToOffset(offset: number): void;
9350
9499
  /**
@@ -9358,6 +9507,13 @@ declare namespace Electron {
9358
9507
  * Whether the navigation entry was removed from the webContents history.
9359
9508
  */
9360
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>;
9361
9517
  }
9362
9518
 
9363
9519
  interface Net {
@@ -9978,43 +10134,23 @@ declare namespace Electron {
9978
10134
  *
9979
10135
  * @platform darwin,win32
9980
10136
  */
9981
- on(event: 'speed-limit-change', listener: (
9982
- /**
9983
- * The operating system's advertised speed limit for CPUs, in percent.
9984
- */
9985
- limit: number) => void): this;
10137
+ on(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
9986
10138
  /**
9987
10139
  * @platform darwin,win32
9988
10140
  */
9989
- off(event: 'speed-limit-change', listener: (
9990
- /**
9991
- * The operating system's advertised speed limit for CPUs, in percent.
9992
- */
9993
- limit: number) => void): this;
10141
+ off(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
9994
10142
  /**
9995
10143
  * @platform darwin,win32
9996
10144
  */
9997
- once(event: 'speed-limit-change', listener: (
9998
- /**
9999
- * The operating system's advertised speed limit for CPUs, in percent.
10000
- */
10001
- limit: number) => void): this;
10145
+ once(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
10002
10146
  /**
10003
10147
  * @platform darwin,win32
10004
10148
  */
10005
- addListener(event: 'speed-limit-change', listener: (
10006
- /**
10007
- * The operating system's advertised speed limit for CPUs, in percent.
10008
- */
10009
- limit: number) => void): this;
10149
+ addListener(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
10010
10150
  /**
10011
10151
  * @platform darwin,win32
10012
10152
  */
10013
- removeListener(event: 'speed-limit-change', listener: (
10014
- /**
10015
- * The operating system's advertised speed limit for CPUs, in percent.
10016
- */
10017
- limit: number) => void): this;
10153
+ removeListener(event: 'speed-limit-change', listener: (details: Event<PowerMonitorSpeedLimitChangeEventParams>) => void): this;
10018
10154
  /**
10019
10155
  * Emitted when the system is suspending.
10020
10156
  */
@@ -10039,23 +10175,23 @@ declare namespace Electron {
10039
10175
  *
10040
10176
  * @platform darwin
10041
10177
  */
10042
- on(event: 'thermal-state-change', listener: () => void): this;
10178
+ on(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
10043
10179
  /**
10044
10180
  * @platform darwin
10045
10181
  */
10046
- off(event: 'thermal-state-change', listener: () => void): this;
10182
+ off(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
10047
10183
  /**
10048
10184
  * @platform darwin
10049
10185
  */
10050
- once(event: 'thermal-state-change', listener: () => void): this;
10186
+ once(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
10051
10187
  /**
10052
10188
  * @platform darwin
10053
10189
  */
10054
- addListener(event: 'thermal-state-change', listener: () => void): this;
10190
+ addListener(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
10055
10191
  /**
10056
10192
  * @platform darwin
10057
10193
  */
10058
- removeListener(event: 'thermal-state-change', listener: () => void): this;
10194
+ removeListener(event: 'thermal-state-change', listener: (details: Event<PowerMonitorThermalStateChangeEventParams>) => void): this;
10059
10195
  /**
10060
10196
  * Emitted as soon as the systems screen is unlocked.
10061
10197
  *
@@ -10192,6 +10328,44 @@ declare namespace Electron {
10192
10328
  stop(id: number): boolean;
10193
10329
  }
10194
10330
 
10331
+ interface PreloadScript {
10332
+
10333
+ // Docs: https://electronjs.org/docs/api/structures/preload-script
10334
+
10335
+ /**
10336
+ * Path of the script file. Must be an absolute path.
10337
+ */
10338
+ filePath: string;
10339
+ /**
10340
+ * Unique ID of preload script.
10341
+ */
10342
+ id: string;
10343
+ /**
10344
+ * Context type where the preload script will be executed. Possible values include
10345
+ * `frame` or `service-worker`.
10346
+ */
10347
+ type: ('frame' | 'service-worker');
10348
+ }
10349
+
10350
+ interface PreloadScriptRegistration {
10351
+
10352
+ // Docs: https://electronjs.org/docs/api/structures/preload-script-registration
10353
+
10354
+ /**
10355
+ * Path of the script file. Must be an absolute path.
10356
+ */
10357
+ filePath: string;
10358
+ /**
10359
+ * Unique ID of preload script. Defaults to a random UUID.
10360
+ */
10361
+ id?: string;
10362
+ /**
10363
+ * Context type where the preload script will be executed. Possible values include
10364
+ * `frame` or `service-worker`.
10365
+ */
10366
+ type: ('frame' | 'service-worker');
10367
+ }
10368
+
10195
10369
  interface PrinterInfo {
10196
10370
 
10197
10371
  // Docs: https://electronjs.org/docs/api/structures/printer-info
@@ -11104,6 +11278,63 @@ declare namespace Electron {
11104
11278
  * The full URL to the script that this service worker runs
11105
11279
  */
11106
11280
  scriptUrl: string;
11281
+ /**
11282
+ * ID of the service worker version
11283
+ */
11284
+ versionId: number;
11285
+ }
11286
+
11287
+ class ServiceWorkerMain {
11288
+
11289
+ // Docs: https://electronjs.org/docs/api/service-worker-main
11290
+
11291
+ /**
11292
+ * Whether the service worker has been destroyed.
11293
+ *
11294
+ * @experimental
11295
+ */
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;
11310
+ /**
11311
+ * * `end` Function - Method to call when the task has ended. If never called, the
11312
+ * service won't terminate while otherwise idle.
11313
+ *
11314
+ * Initiate a task to keep the service worker alive until ended.
11315
+ *
11316
+ * @experimental
11317
+ */
11318
+ startTask(): StartTask;
11319
+ /**
11320
+ * An `IpcMainServiceWorker` instance scoped to the service worker.
11321
+ *
11322
+ * @experimental
11323
+ */
11324
+ readonly ipc: IpcMainServiceWorker;
11325
+ /**
11326
+ * A `string` representing the scope URL of the service worker.
11327
+ *
11328
+ * @experimental
11329
+ */
11330
+ readonly scope: string;
11331
+ /**
11332
+ * A `number` representing the ID of the specific version of the service worker
11333
+ * script in its scope.
11334
+ *
11335
+ * @experimental
11336
+ */
11337
+ readonly versionId: number;
11107
11338
  }
11108
11339
 
11109
11340
  class ServiceWorkers extends NodeEventEmitter {
@@ -11168,6 +11399,28 @@ declare namespace Electron {
11168
11399
  * Information about the registered service worker
11169
11400
  */
11170
11401
  details: RegistrationCompletedDetails) => void): this;
11402
+ /**
11403
+ * Emitted when a service worker's running status has changed.
11404
+ *
11405
+ * @experimental
11406
+ */
11407
+ on(event: 'running-status-changed', listener: (details: Event<ServiceWorkersRunningStatusChangedEventParams>) => void): this;
11408
+ /**
11409
+ * @experimental
11410
+ */
11411
+ off(event: 'running-status-changed', listener: (details: Event<ServiceWorkersRunningStatusChangedEventParams>) => void): this;
11412
+ /**
11413
+ * @experimental
11414
+ */
11415
+ once(event: 'running-status-changed', listener: (details: Event<ServiceWorkersRunningStatusChangedEventParams>) => void): this;
11416
+ /**
11417
+ * @experimental
11418
+ */
11419
+ addListener(event: 'running-status-changed', listener: (details: Event<ServiceWorkersRunningStatusChangedEventParams>) => void): this;
11420
+ /**
11421
+ * @experimental
11422
+ */
11423
+ removeListener(event: 'running-status-changed', listener: (details: Event<ServiceWorkersRunningStatusChangedEventParams>) => void): this;
11171
11424
  /**
11172
11425
  * A ServiceWorkerInfo object where the keys are the service worker version ID and
11173
11426
  * the values are the information about that service worker.
@@ -11178,8 +11431,35 @@ declare namespace Electron {
11178
11431
  *
11179
11432
  * If the service worker does not exist or is not running this method will throw an
11180
11433
  * exception.
11434
+ *
11435
+ * **Deprecated:** Use the new `serviceWorkers.getInfoFromVersionID` API.
11436
+ *
11437
+ * @deprecated
11181
11438
  */
11182
11439
  getFromVersionID(versionId: number): ServiceWorkerInfo;
11440
+ /**
11441
+ * Information about this service worker
11442
+ *
11443
+ * If the service worker does not exist or is not running this method will throw an
11444
+ * exception.
11445
+ */
11446
+ getInfoFromVersionID(versionId: number): ServiceWorkerInfo;
11447
+ /**
11448
+ * Instance of the service worker associated with the given version ID. If there's
11449
+ * no associated version, or its running status has changed to 'stopped', this will
11450
+ * return `undefined`.
11451
+ *
11452
+ * @experimental
11453
+ */
11454
+ getWorkerFromVersionID(versionId: number): (ServiceWorkerMain) | (undefined);
11455
+ /**
11456
+ * Resolves with the service worker when it's started.
11457
+ *
11458
+ * Starts the service worker or does nothing if already running.
11459
+ *
11460
+ * @experimental
11461
+ */
11462
+ startWorkerForScope(scope: string): Promise<Electron.ServiceWorkerMain>;
11183
11463
  }
11184
11464
 
11185
11465
  class Session extends NodeEventEmitter {
@@ -11871,8 +12151,17 @@ declare namespace Electron {
11871
12151
  getExtension(extensionId: string): (Extension) | (null);
11872
12152
  /**
11873
12153
  * an array of paths to preload scripts that have been registered.
12154
+ *
12155
+ * **Deprecated:** Use the new `ses.getPreloadScripts` API. This will only return
12156
+ * preload script paths for `frame` context types.
12157
+ *
12158
+ * @deprecated
11874
12159
  */
11875
12160
  getPreloads(): string[];
12161
+ /**
12162
+ * An array of paths to preload scripts that have been registered.
12163
+ */
12164
+ getPreloadScripts(): PreloadScript[];
11876
12165
  /**
11877
12166
  * an array of shared dictionary information entries in Chromium's networking
11878
12167
  * service's storage.
@@ -11959,6 +12248,14 @@ declare namespace Electron {
11959
12248
  * Preconnects the given number of sockets to an origin.
11960
12249
  */
11961
12250
  preconnect(options: PreconnectOptions): void;
12251
+ /**
12252
+ * Registers preload script that will be executed in its associated context type in
12253
+ * this session. For `frame` contexts, this will run prior to any preload defined
12254
+ * in the web preferences of a WebContents.
12255
+ *
12256
+ * The ID of the registered preload script.
12257
+ */
12258
+ registerPreloadScript(script: PreloadScriptRegistration): string;
11962
12259
  /**
11963
12260
  * Unloads an extension.
11964
12261
  *
@@ -12064,7 +12361,7 @@ declare namespace Electron {
12064
12361
  * make a permission request if the check is denied. To clear the handler, call
12065
12362
  * `setPermissionCheckHandler(null)`.
12066
12363
  */
12067
- 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;
12068
12365
  /**
12069
12366
  * Sets the handler which can be used to respond to permission requests for the
12070
12367
  * `session`. Calling `callback(true)` will allow the permission and
@@ -12077,6 +12374,10 @@ declare namespace Electron {
12077
12374
  /**
12078
12375
  * Adds scripts that will be executed on ALL web contents that are associated with
12079
12376
  * this session just before normal `preload` scripts run.
12377
+ *
12378
+ * **Deprecated:** Use the new `ses.registerPreloadScript` API.
12379
+ *
12380
+ * @deprecated
12080
12381
  */
12081
12382
  setPreloads(preloads: string[]): void;
12082
12383
  /**
@@ -12162,6 +12463,10 @@ declare namespace Electron {
12162
12463
  * `webContents.setUserAgent` to override the session-wide user agent.
12163
12464
  */
12164
12465
  setUserAgent(userAgent: string, acceptLanguages?: string): void;
12466
+ /**
12467
+ * Unregisters script.
12468
+ */
12469
+ unregisterPreloadScript(id: string): void;
12165
12470
  /**
12166
12471
  * A `string[]` array which consists of all the known available spell checker
12167
12472
  * languages. Providing a language code to the `setSpellCheckerLanguages` API that
@@ -12615,9 +12920,10 @@ declare namespace Electron {
12615
12920
  /**
12616
12921
  * `true` if DWM composition (Aero Glass) is enabled, and `false` otherwise.
12617
12922
  *
12618
- * An example of using it to determine if you should create a transparent window or
12619
- * not (transparent windows won't work correctly when DWM composition is disabled):
12923
+ * **Deprecated:** This function has been always returning `true` since Electron
12924
+ * 23, which only supports Windows 10+.
12620
12925
  *
12926
+ * @deprecated
12621
12927
  * @platform win32
12622
12928
  */
12623
12929
  isAeroGlassEnabled(): boolean;
@@ -14352,6 +14658,11 @@ declare namespace Electron {
14352
14658
  * The bounds of this View, relative to its parent.
14353
14659
  */
14354
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;
14355
14666
  /**
14356
14667
  * If the view passed as a parameter is not a child of this view, this method is a
14357
14668
  * no-op.
@@ -17564,6 +17875,12 @@ declare namespace Electron {
17564
17875
  * RuntimeEnabledFeatures.json5 file.
17565
17876
  */
17566
17877
  enableBlinkFeatures?: string;
17878
+ /**
17879
+ * Whether to enable the `paste` execCommand. Default is `false`.
17880
+ *
17881
+ * @deprecated
17882
+ */
17883
+ enableDeprecatedPaste?: boolean;
17567
17884
  /**
17568
17885
  * Whether to enable preferred size mode. The preferred size is the minimum size
17569
17886
  * needed to contain the layout of the document—without requiring scrolling.
@@ -17831,6 +18148,10 @@ declare namespace Electron {
17831
18148
 
17832
18149
  // Docs: https://electronjs.org/docs/api/structures/web-request-filter
17833
18150
 
18151
+ /**
18152
+ * Array of URL patterns used to exclude requests that match these patterns.
18153
+ */
18154
+ excludeUrls?: string[];
17834
18155
  /**
17835
18156
  * Array of types that will be used to filter out the requests that do not match
17836
18157
  * the types. When not specified, all types will be matched. Can be `mainFrame`,
@@ -17839,8 +18160,8 @@ declare namespace Electron {
17839
18160
  */
17840
18161
  types?: Array<'mainFrame' | 'subFrame' | 'stylesheet' | 'script' | 'image' | 'font' | 'object' | 'xhr' | 'ping' | 'cspReport' | 'media' | 'webSocket'>;
17841
18162
  /**
17842
- * Array of URL patterns that will be used to filter out the requests that do not
17843
- * match the URL patterns.
18163
+ * Array of URL patterns used to include requests that match these patterns. Use
18164
+ * the pattern `<all_urls>` to match all URLs.
17844
18165
  */
17845
18166
  urls: string[];
17846
18167
  }
@@ -19650,6 +19971,19 @@ declare namespace Electron {
19650
19971
  uploadThroughput?: number;
19651
19972
  }
19652
19973
 
19974
+ interface ExecutionScript {
19975
+ /**
19976
+ * A JavaScript function to execute. This function will be serialized which means
19977
+ * that any bound parameters and execution context will be lost.
19978
+ */
19979
+ func: (...args: any[]) => any;
19980
+ /**
19981
+ * An array of arguments to pass to the provided function. These arguments will be
19982
+ * copied between worlds in accordance with the table of supported types.
19983
+ */
19984
+ args?: any[];
19985
+ }
19986
+
19653
19987
  interface FeedURLOptions {
19654
19988
  url: string;
19655
19989
  /**
@@ -20978,6 +21312,21 @@ declare namespace Electron {
20978
21312
  callback?: () => void;
20979
21313
  }
20980
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
+
20981
21330
  interface PreconnectOptions {
20982
21331
  /**
20983
21332
  * URL for preconnect. Only the origin is relevant for opening the socket.
@@ -21227,6 +21576,19 @@ declare namespace Electron {
21227
21576
  pin?: (string) | (null);
21228
21577
  }
21229
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
+
21230
21592
  interface Result {
21231
21593
  requestId: number;
21232
21594
  /**
@@ -21382,6 +21744,18 @@ declare namespace Electron {
21382
21744
  origin: string;
21383
21745
  }
21384
21746
 
21747
+ interface ServiceWorkersRunningStatusChangedEventParams {
21748
+ /**
21749
+ * ID of the updated service worker version
21750
+ */
21751
+ versionId: number;
21752
+ /**
21753
+ * Running status. Possible values include `starting`, `running`, `stopping`, or
21754
+ * `stopped`.
21755
+ */
21756
+ runningStatus: ('starting' | 'running' | 'stopping' | 'stopped');
21757
+ }
21758
+
21385
21759
  interface Settings {
21386
21760
  /**
21387
21761
  * `true` to open the app at login, `false` to remove the app as a login item.
@@ -21492,6 +21866,14 @@ declare namespace Electron {
21492
21866
  maxFileSize?: number;
21493
21867
  }
21494
21868
 
21869
+ interface StartTask {
21870
+ /**
21871
+ * Method to call when the task has ended. If never called, the service won't
21872
+ * terminate while otherwise idle.
21873
+ */
21874
+ end: () => void;
21875
+ }
21876
+
21495
21877
  interface Streams {
21496
21878
  video?: (Video) | (WebFrameMain);
21497
21879
  /**
@@ -22697,6 +23079,7 @@ declare namespace Electron {
22697
23079
  type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandlerOpts;
22698
23080
  type DownloadURLOptions = Electron.DownloadURLOptions;
22699
23081
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
23082
+ type ExecutionScript = Electron.ExecutionScript;
22700
23083
  type FeedURLOptions = Electron.FeedURLOptions;
22701
23084
  type FileIconOptions = Electron.FileIconOptions;
22702
23085
  type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestrictedDetails;
@@ -22759,6 +23142,8 @@ declare namespace Electron {
22759
23142
  type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
22760
23143
  type PluginCrashedEvent = Electron.PluginCrashedEvent;
22761
23144
  type PopupOptions = Electron.PopupOptions;
23145
+ type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
23146
+ type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
22762
23147
  type PreconnectOptions = Electron.PreconnectOptions;
22763
23148
  type PrintToPDFOptions = Electron.PrintToPDFOptions;
22764
23149
  type Privileges = Electron.Privileges;
@@ -22774,6 +23159,7 @@ declare namespace Electron {
22774
23159
  type ResolveHostOptions = Electron.ResolveHostOptions;
22775
23160
  type ResourceUsage = Electron.ResourceUsage;
22776
23161
  type Response = Electron.Response;
23162
+ type RestoreOptions = Electron.RestoreOptions;
22777
23163
  type Result = Electron.Result;
22778
23164
  type SaveDialogOptions = Electron.SaveDialogOptions;
22779
23165
  type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
@@ -22781,10 +23167,12 @@ declare namespace Electron {
22781
23167
  type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
22782
23168
  type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
22783
23169
  type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
23170
+ type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
22784
23171
  type Settings = Electron.Settings;
22785
23172
  type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
22786
23173
  type SourcesOptions = Electron.SourcesOptions;
22787
23174
  type StartLoggingOptions = Electron.StartLoggingOptions;
23175
+ type StartTask = Electron.StartTask;
22788
23176
  type Streams = Electron.Streams;
22789
23177
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
22790
23178
  type TextureInfo = Electron.TextureInfo;
@@ -22859,6 +23247,8 @@ declare namespace Electron {
22859
23247
  type InputEvent = Electron.InputEvent;
22860
23248
  type IpcMainEvent = Electron.IpcMainEvent;
22861
23249
  type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
23250
+ type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
23251
+ type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
22862
23252
  type IpcRendererEvent = Electron.IpcRendererEvent;
22863
23253
  type JumpListCategory = Electron.JumpListCategory;
22864
23254
  type JumpListItem = Electron.JumpListItem;
@@ -22879,6 +23269,8 @@ declare namespace Electron {
22879
23269
  type PermissionRequest = Electron.PermissionRequest;
22880
23270
  type Point = Electron.Point;
22881
23271
  type PostBody = Electron.PostBody;
23272
+ type PreloadScript = Electron.PreloadScript;
23273
+ type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
22882
23274
  type PrinterInfo = Electron.PrinterInfo;
22883
23275
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
22884
23276
  type ProcessMetric = Electron.ProcessMetric;
@@ -22949,6 +23341,7 @@ declare namespace Electron {
22949
23341
  type IncomingMessage = Electron.IncomingMessage;
22950
23342
  const ipcMain: IpcMain;
22951
23343
  type IpcMain = Electron.IpcMain;
23344
+ class IpcMainServiceWorker extends Electron.IpcMainServiceWorker {}
22952
23345
  class Menu extends Electron.Menu {}
22953
23346
  class MenuItem extends Electron.MenuItem {}
22954
23347
  class MessageChannelMain extends Electron.MessageChannelMain {}
@@ -22973,6 +23366,7 @@ declare namespace Electron {
22973
23366
  type SafeStorage = Electron.SafeStorage;
22974
23367
  const screen: Screen;
22975
23368
  type Screen = Electron.Screen;
23369
+ type ServiceWorkerMain = Electron.ServiceWorkerMain;
22976
23370
  type ServiceWorkers = Electron.ServiceWorkers;
22977
23371
  const session: typeof Session;
22978
23372
  type Session = Electron.Session;
@@ -23055,6 +23449,7 @@ declare namespace Electron {
23055
23449
  type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandlerOpts;
23056
23450
  type DownloadURLOptions = Electron.DownloadURLOptions;
23057
23451
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
23452
+ type ExecutionScript = Electron.ExecutionScript;
23058
23453
  type FeedURLOptions = Electron.FeedURLOptions;
23059
23454
  type FileIconOptions = Electron.FileIconOptions;
23060
23455
  type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestrictedDetails;
@@ -23117,6 +23512,8 @@ declare namespace Electron {
23117
23512
  type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
23118
23513
  type PluginCrashedEvent = Electron.PluginCrashedEvent;
23119
23514
  type PopupOptions = Electron.PopupOptions;
23515
+ type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
23516
+ type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
23120
23517
  type PreconnectOptions = Electron.PreconnectOptions;
23121
23518
  type PrintToPDFOptions = Electron.PrintToPDFOptions;
23122
23519
  type Privileges = Electron.Privileges;
@@ -23132,6 +23529,7 @@ declare namespace Electron {
23132
23529
  type ResolveHostOptions = Electron.ResolveHostOptions;
23133
23530
  type ResourceUsage = Electron.ResourceUsage;
23134
23531
  type Response = Electron.Response;
23532
+ type RestoreOptions = Electron.RestoreOptions;
23135
23533
  type Result = Electron.Result;
23136
23534
  type SaveDialogOptions = Electron.SaveDialogOptions;
23137
23535
  type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
@@ -23139,10 +23537,12 @@ declare namespace Electron {
23139
23537
  type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
23140
23538
  type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
23141
23539
  type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
23540
+ type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
23142
23541
  type Settings = Electron.Settings;
23143
23542
  type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
23144
23543
  type SourcesOptions = Electron.SourcesOptions;
23145
23544
  type StartLoggingOptions = Electron.StartLoggingOptions;
23545
+ type StartTask = Electron.StartTask;
23146
23546
  type Streams = Electron.Streams;
23147
23547
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
23148
23548
  type TextureInfo = Electron.TextureInfo;
@@ -23217,6 +23617,8 @@ declare namespace Electron {
23217
23617
  type InputEvent = Electron.InputEvent;
23218
23618
  type IpcMainEvent = Electron.IpcMainEvent;
23219
23619
  type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
23620
+ type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
23621
+ type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
23220
23622
  type IpcRendererEvent = Electron.IpcRendererEvent;
23221
23623
  type JumpListCategory = Electron.JumpListCategory;
23222
23624
  type JumpListItem = Electron.JumpListItem;
@@ -23237,6 +23639,8 @@ declare namespace Electron {
23237
23639
  type PermissionRequest = Electron.PermissionRequest;
23238
23640
  type Point = Electron.Point;
23239
23641
  type PostBody = Electron.PostBody;
23642
+ type PreloadScript = Electron.PreloadScript;
23643
+ type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
23240
23644
  type PrinterInfo = Electron.PrinterInfo;
23241
23645
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
23242
23646
  type ProcessMetric = Electron.ProcessMetric;
@@ -23345,6 +23749,7 @@ declare namespace Electron {
23345
23749
  type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandlerOpts;
23346
23750
  type DownloadURLOptions = Electron.DownloadURLOptions;
23347
23751
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
23752
+ type ExecutionScript = Electron.ExecutionScript;
23348
23753
  type FeedURLOptions = Electron.FeedURLOptions;
23349
23754
  type FileIconOptions = Electron.FileIconOptions;
23350
23755
  type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestrictedDetails;
@@ -23407,6 +23812,8 @@ declare namespace Electron {
23407
23812
  type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
23408
23813
  type PluginCrashedEvent = Electron.PluginCrashedEvent;
23409
23814
  type PopupOptions = Electron.PopupOptions;
23815
+ type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
23816
+ type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
23410
23817
  type PreconnectOptions = Electron.PreconnectOptions;
23411
23818
  type PrintToPDFOptions = Electron.PrintToPDFOptions;
23412
23819
  type Privileges = Electron.Privileges;
@@ -23422,6 +23829,7 @@ declare namespace Electron {
23422
23829
  type ResolveHostOptions = Electron.ResolveHostOptions;
23423
23830
  type ResourceUsage = Electron.ResourceUsage;
23424
23831
  type Response = Electron.Response;
23832
+ type RestoreOptions = Electron.RestoreOptions;
23425
23833
  type Result = Electron.Result;
23426
23834
  type SaveDialogOptions = Electron.SaveDialogOptions;
23427
23835
  type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
@@ -23429,10 +23837,12 @@ declare namespace Electron {
23429
23837
  type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
23430
23838
  type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
23431
23839
  type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
23840
+ type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
23432
23841
  type Settings = Electron.Settings;
23433
23842
  type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
23434
23843
  type SourcesOptions = Electron.SourcesOptions;
23435
23844
  type StartLoggingOptions = Electron.StartLoggingOptions;
23845
+ type StartTask = Electron.StartTask;
23436
23846
  type Streams = Electron.Streams;
23437
23847
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
23438
23848
  type TextureInfo = Electron.TextureInfo;
@@ -23507,6 +23917,8 @@ declare namespace Electron {
23507
23917
  type InputEvent = Electron.InputEvent;
23508
23918
  type IpcMainEvent = Electron.IpcMainEvent;
23509
23919
  type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
23920
+ type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
23921
+ type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
23510
23922
  type IpcRendererEvent = Electron.IpcRendererEvent;
23511
23923
  type JumpListCategory = Electron.JumpListCategory;
23512
23924
  type JumpListItem = Electron.JumpListItem;
@@ -23527,6 +23939,8 @@ declare namespace Electron {
23527
23939
  type PermissionRequest = Electron.PermissionRequest;
23528
23940
  type Point = Electron.Point;
23529
23941
  type PostBody = Electron.PostBody;
23942
+ type PreloadScript = Electron.PreloadScript;
23943
+ type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
23530
23944
  type PrinterInfo = Electron.PrinterInfo;
23531
23945
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
23532
23946
  type ProcessMetric = Electron.ProcessMetric;
@@ -23632,6 +24046,7 @@ declare namespace Electron {
23632
24046
  type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandlerOpts;
23633
24047
  type DownloadURLOptions = Electron.DownloadURLOptions;
23634
24048
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
24049
+ type ExecutionScript = Electron.ExecutionScript;
23635
24050
  type FeedURLOptions = Electron.FeedURLOptions;
23636
24051
  type FileIconOptions = Electron.FileIconOptions;
23637
24052
  type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestrictedDetails;
@@ -23694,6 +24109,8 @@ declare namespace Electron {
23694
24109
  type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
23695
24110
  type PluginCrashedEvent = Electron.PluginCrashedEvent;
23696
24111
  type PopupOptions = Electron.PopupOptions;
24112
+ type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
24113
+ type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
23697
24114
  type PreconnectOptions = Electron.PreconnectOptions;
23698
24115
  type PrintToPDFOptions = Electron.PrintToPDFOptions;
23699
24116
  type Privileges = Electron.Privileges;
@@ -23709,6 +24126,7 @@ declare namespace Electron {
23709
24126
  type ResolveHostOptions = Electron.ResolveHostOptions;
23710
24127
  type ResourceUsage = Electron.ResourceUsage;
23711
24128
  type Response = Electron.Response;
24129
+ type RestoreOptions = Electron.RestoreOptions;
23712
24130
  type Result = Electron.Result;
23713
24131
  type SaveDialogOptions = Electron.SaveDialogOptions;
23714
24132
  type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
@@ -23716,10 +24134,12 @@ declare namespace Electron {
23716
24134
  type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
23717
24135
  type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
23718
24136
  type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
24137
+ type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
23719
24138
  type Settings = Electron.Settings;
23720
24139
  type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
23721
24140
  type SourcesOptions = Electron.SourcesOptions;
23722
24141
  type StartLoggingOptions = Electron.StartLoggingOptions;
24142
+ type StartTask = Electron.StartTask;
23723
24143
  type Streams = Electron.Streams;
23724
24144
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
23725
24145
  type TextureInfo = Electron.TextureInfo;
@@ -23794,6 +24214,8 @@ declare namespace Electron {
23794
24214
  type InputEvent = Electron.InputEvent;
23795
24215
  type IpcMainEvent = Electron.IpcMainEvent;
23796
24216
  type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
24217
+ type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
24218
+ type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
23797
24219
  type IpcRendererEvent = Electron.IpcRendererEvent;
23798
24220
  type JumpListCategory = Electron.JumpListCategory;
23799
24221
  type JumpListItem = Electron.JumpListItem;
@@ -23814,6 +24236,8 @@ declare namespace Electron {
23814
24236
  type PermissionRequest = Electron.PermissionRequest;
23815
24237
  type Point = Electron.Point;
23816
24238
  type PostBody = Electron.PostBody;
24239
+ type PreloadScript = Electron.PreloadScript;
24240
+ type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
23817
24241
  type PrinterInfo = Electron.PrinterInfo;
23818
24242
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
23819
24243
  type ProcessMetric = Electron.ProcessMetric;
@@ -23890,6 +24314,7 @@ declare namespace Electron {
23890
24314
  type IncomingMessage = Electron.IncomingMessage;
23891
24315
  const ipcMain: IpcMain;
23892
24316
  type IpcMain = Electron.IpcMain;
24317
+ class IpcMainServiceWorker extends Electron.IpcMainServiceWorker {}
23893
24318
  const ipcRenderer: IpcRenderer;
23894
24319
  type IpcRenderer = Electron.IpcRenderer;
23895
24320
  class Menu extends Electron.Menu {}
@@ -23918,6 +24343,7 @@ declare namespace Electron {
23918
24343
  type SafeStorage = Electron.SafeStorage;
23919
24344
  const screen: Screen;
23920
24345
  type Screen = Electron.Screen;
24346
+ type ServiceWorkerMain = Electron.ServiceWorkerMain;
23921
24347
  type ServiceWorkers = Electron.ServiceWorkers;
23922
24348
  const session: typeof Session;
23923
24349
  type Session = Electron.Session;
@@ -24007,6 +24433,7 @@ declare namespace Electron {
24007
24433
  type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandlerOpts;
24008
24434
  type DownloadURLOptions = Electron.DownloadURLOptions;
24009
24435
  type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions;
24436
+ type ExecutionScript = Electron.ExecutionScript;
24010
24437
  type FeedURLOptions = Electron.FeedURLOptions;
24011
24438
  type FileIconOptions = Electron.FileIconOptions;
24012
24439
  type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestrictedDetails;
@@ -24069,6 +24496,8 @@ declare namespace Electron {
24069
24496
  type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
24070
24497
  type PluginCrashedEvent = Electron.PluginCrashedEvent;
24071
24498
  type PopupOptions = Electron.PopupOptions;
24499
+ type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
24500
+ type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
24072
24501
  type PreconnectOptions = Electron.PreconnectOptions;
24073
24502
  type PrintToPDFOptions = Electron.PrintToPDFOptions;
24074
24503
  type Privileges = Electron.Privileges;
@@ -24084,6 +24513,7 @@ declare namespace Electron {
24084
24513
  type ResolveHostOptions = Electron.ResolveHostOptions;
24085
24514
  type ResourceUsage = Electron.ResourceUsage;
24086
24515
  type Response = Electron.Response;
24516
+ type RestoreOptions = Electron.RestoreOptions;
24087
24517
  type Result = Electron.Result;
24088
24518
  type SaveDialogOptions = Electron.SaveDialogOptions;
24089
24519
  type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
@@ -24091,10 +24521,12 @@ declare namespace Electron {
24091
24521
  type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
24092
24522
  type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
24093
24523
  type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
24524
+ type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
24094
24525
  type Settings = Electron.Settings;
24095
24526
  type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
24096
24527
  type SourcesOptions = Electron.SourcesOptions;
24097
24528
  type StartLoggingOptions = Electron.StartLoggingOptions;
24529
+ type StartTask = Electron.StartTask;
24098
24530
  type Streams = Electron.Streams;
24099
24531
  type SystemMemoryInfo = Electron.SystemMemoryInfo;
24100
24532
  type TextureInfo = Electron.TextureInfo;
@@ -24169,6 +24601,8 @@ declare namespace Electron {
24169
24601
  type InputEvent = Electron.InputEvent;
24170
24602
  type IpcMainEvent = Electron.IpcMainEvent;
24171
24603
  type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
24604
+ type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
24605
+ type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvokeEvent;
24172
24606
  type IpcRendererEvent = Electron.IpcRendererEvent;
24173
24607
  type JumpListCategory = Electron.JumpListCategory;
24174
24608
  type JumpListItem = Electron.JumpListItem;
@@ -24189,6 +24623,8 @@ declare namespace Electron {
24189
24623
  type PermissionRequest = Electron.PermissionRequest;
24190
24624
  type Point = Electron.Point;
24191
24625
  type PostBody = Electron.PostBody;
24626
+ type PreloadScript = Electron.PreloadScript;
24627
+ type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
24192
24628
  type PrinterInfo = Electron.PrinterInfo;
24193
24629
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
24194
24630
  type ProcessMetric = Electron.ProcessMetric;
@@ -24532,11 +24968,12 @@ declare namespace NodeJS {
24532
24968
  *
24533
24969
  * * `browser` - The main process
24534
24970
  * * `renderer` - A renderer process
24971
+ * * `service-worker` - In a service worker
24535
24972
  * * `worker` - In a web worker
24536
24973
  * * `utility` - In a node process launched as a service
24537
24974
  *
24538
24975
  */
24539
- readonly type: ('browser' | 'renderer' | 'worker' | 'utility');
24976
+ readonly type: ('browser' | 'renderer' | 'service-worker' | 'worker' | 'utility');
24540
24977
  /**
24541
24978
  * A `boolean`. If the app is running as a Windows Store app (appx), this property
24542
24979
  * is `true`, for otherwise it is `undefined`.
package/package.json CHANGED
@@ -23,5 +23,5 @@
23
23
  "keywords": [
24
24
  "electron"
25
25
  ],
26
- "version": "35.0.0-alpha.5"
26
+ "version": "35.0.0-beta.10"
27
27
  }