electron 45.3.1 → 46.0.0-alpha.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/abi_version CHANGED
@@ -1 +1 @@
1
- 150
1
+ 154
package/checksums.json CHANGED
@@ -1,69 +1,69 @@
1
1
  {
2
- "chromedriver-v45.3.1-darwin-arm64.zip": "0a777f58097e0cb2ea977adff6fb739f5f3658718f09be40d3984fcbc70f63c0",
3
- "chromedriver-v45.3.1-darwin-x64.zip": "e50d995866f67f1d44b0c6e0917a8caf54ef77090c7f4f4b5d5c022c35a00324",
4
- "chromedriver-v45.3.1-linux-arm64.zip": "b4afff12b5612c2ec3ab46f9ccae23dfd24b341a508f74c2e7246bebbbb58da5",
5
- "chromedriver-v45.3.1-linux-x64.zip": "73c8ee2e7dd27df15202a50b4e66579fdb47d3a8ad3509f2d79f27f0e205f682",
6
- "chromedriver-v45.3.1-mas-arm64.zip": "8a965c7e91c64b52c5900e9ce90bb4248ad0f2cf0bc9c2212ef11ab6dd5035c6",
7
- "chromedriver-v45.3.1-mas-x64.zip": "10747c0525f498c688467fc456161ba42d19076a106fbdefe9cd53ea2906b109",
8
- "chromedriver-v45.3.1-win32-arm64.zip": "7281a2783ecd58d5416ea28fa6c0d9c267b77c82bbbace8b32ae2270caf4a0a7",
9
- "chromedriver-v45.3.1-win32-x64.zip": "9f2e192a729c29d8c3a2da2376a7b4848b515cf4d17f076cb93d3c92e237b40a",
10
- "electron-api.json": "7733d11933fb655600062b4a00de18bcd3a5cbcc21efb6f1f2225ffb6890b733",
11
- "electron-v45.3.1-darwin-arm64-dsym-snapshot.zip": "3099111e3e28573b456153d0cd28df031cf978e75a38f2c08d32edab5dbb346e",
12
- "electron-v45.3.1-darwin-arm64-dsym.tar.xz": "7dd6334eb39a90e9cc767352ca5c9842d6d0bc31a616f11ef2819f495c9e304d",
13
- "electron-v45.3.1-darwin-arm64-symbols.zip": "a70075dd6123de9bea1474a11cb34ac32998a8fdfccf1ed26b9723185648f01c",
14
- "electron-v45.3.1-darwin-arm64.zip": "ed40f8473a3c62a7c0463bd42f6724ccb8d5919cfdc64e0d9f65f61bdb3fe4d2",
15
- "electron-v45.3.1-darwin-x64-dsym-snapshot.zip": "3099111e3e28573b456153d0cd28df031cf978e75a38f2c08d32edab5dbb346e",
16
- "electron-v45.3.1-darwin-x64-dsym.tar.xz": "6de9c8ef32fdf890db87e36f8cc8644169e4128ab1a394890c8ba25d5b60f102",
17
- "electron-v45.3.1-darwin-x64-symbols.zip": "47b6ea106f09b4d9cacdfaa933768b0df4810cdbd36a8acbba3f83d003b64f3b",
18
- "electron-v45.3.1-darwin-x64.zip": "68f7ff8aa374630f27403ce792d1956ae401690a95beff655a4e399ccc5d859b",
19
- "electron-v45.3.1-linux-arm64-debug.zip": "3b6c56a361450e1098b5494322200c6556bbcf0dd2850e5f9de8ad775be19e4c",
20
- "electron-v45.3.1-linux-arm64-symbols.zip": "b6d78864e5c903d95b406f1496380a6f2d0fadf49395773da08fd3bb059cb0b8",
21
- "electron-v45.3.1-linux-arm64.zip": "98bb5dbdcd5c6daaba6d2de293fe84bfae0ba61eb4288042a13723cf865b060a",
22
- "electron-v45.3.1-linux-x64-debug.zip": "31e26c85b791f4c726165686dd76f5e3e3616e48cfe54c6d2b4ee3c448cc3972",
23
- "electron-v45.3.1-linux-x64-symbols.zip": "c7b3e60ec065a148813257f8c24f685b0eeacb71201458b321463d125c33150e",
24
- "electron-v45.3.1-linux-x64.zip": "c61d44206f8bd533d30310840b5baaa7fd0e8421cd711b8d1f719a7a336cbce7",
25
- "electron-v45.3.1-mas-arm64-dsym-snapshot.zip": "3099111e3e28573b456153d0cd28df031cf978e75a38f2c08d32edab5dbb346e",
26
- "electron-v45.3.1-mas-arm64-dsym.tar.xz": "1c7f84ef10199addd94b41ecc694c0fd6d71df7d6e921abd266838bfec2f16a3",
27
- "electron-v45.3.1-mas-arm64-symbols.zip": "54613f12768c0f0d9bf1a446c97cc3c6fc49954efebe964d9fdce356000a0e66",
28
- "electron-v45.3.1-mas-arm64.zip": "ca082965c0db6c9e5d4fdb78c476514c3dacb9f819b2280a279d2140f5fdf544",
29
- "electron-v45.3.1-mas-x64-dsym-snapshot.zip": "3099111e3e28573b456153d0cd28df031cf978e75a38f2c08d32edab5dbb346e",
30
- "electron-v45.3.1-mas-x64-dsym.tar.xz": "181101f1dee0dfdb1ee60855b25d7b484cbcdceaf0996c6b37c6b324271a34e0",
31
- "electron-v45.3.1-mas-x64-symbols.zip": "af46d6387b3be96bd08a567f4a8c517ec277a7fa5e68abf16e3c62a86fd73ff9",
32
- "electron-v45.3.1-mas-x64.zip": "3f6c77f7b082159c24c23766666fc7339565b8f66c97c326a700b62c0f904201",
33
- "electron-v45.3.1-win32-arm64-pdb.zip": "d628a5ca56e5be409c39215ce2863f688dbbc6b4a6029a3d33722d58fab45ad1",
34
- "electron-v45.3.1-win32-arm64-symbols.zip": "ff92376f0eea8c71beb56c3670525f3694ce93e9aaddb1f49260a2a71733e2d8",
35
- "electron-v45.3.1-win32-arm64-toolchain-profile.zip": "221f819bcc433142bd71f2e71028511e60955c7a3ccd2617608aa38a899f3328",
36
- "electron-v45.3.1-win32-arm64.zip": "6c6560f89c74ef7e1977c5718f0adb7c6a6ce6b11bd26d0d910c3c8ae5a0bb90",
37
- "electron-v45.3.1-win32-x64-pdb.zip": "54e6a68c573a5f1b96525692849595c2c80a013681f2cf1e7ede82fa06c58d31",
38
- "electron-v45.3.1-win32-x64-symbols.zip": "b9c1a56cf5aba4fb5526454012d9b036b05886db1e1191730c0fe3fabf7c85ad",
39
- "electron-v45.3.1-win32-x64-toolchain-profile.zip": "221f819bcc433142bd71f2e71028511e60955c7a3ccd2617608aa38a899f3328",
40
- "electron-v45.3.1-win32-x64.zip": "d92d1aa4700e3a7e7f174731f5086ebd9c21f9773e642b260160fe0a6ebe12d2",
41
- "electron.d.ts": "33a3ac10368fc50bc3b96d019e3599140076ef4ad10e893926dc832d6dba19c5",
42
- "ffmpeg-v45.3.1-darwin-arm64.zip": "4f7f04dcd849deea0bcd9af389d57df35a8469869fe53355d723072fef60eedf",
43
- "ffmpeg-v45.3.1-darwin-x64.zip": "4a20096a78d5ce38e9e32e7f56aa166dbaccbfd9739008c9d3561749f7767812",
44
- "ffmpeg-v45.3.1-linux-arm64.zip": "ea8a2b5800675c3dbba226234d31582982d879f0686c3a69940fe35ede34fbbf",
45
- "ffmpeg-v45.3.1-linux-x64.zip": "fc244ae866d9d5578fd07aade77e9af6ba8da88a698009b3cfebe812220d4dec",
46
- "ffmpeg-v45.3.1-mas-arm64.zip": "b85cea8a5eedacd1c58517ec6357403434ba0f24560b52a31c344021db725394",
47
- "ffmpeg-v45.3.1-mas-x64.zip": "bbf8f1c46a5587a4e711993e13fdca2118339d817988f5ad9f6dc5fc8ea207d7",
48
- "ffmpeg-v45.3.1-win32-arm64.zip": "3556c943c9d5e9b06d7722e333a4c1fec5f5894e9ee29c5a1371f0ab4c715bff",
49
- "ffmpeg-v45.3.1-win32-x64.zip": "7420e5445e9d38e1712db911c2315f3f5c7c520e8dd16a929580f6945735cabb",
50
- "hunspell_dictionaries.zip": "1da2f49d8143ac7f0bbbdd1526b95d78ffa5aa10179d3e286beef171ee45e213",
51
- "libcxx-objects-v45.3.1-linux-arm64.zip": "b925b10580dbcc64cd7b4def0b2caa5f630714a460ce04c2a4657b27aa31e019",
52
- "libcxx-objects-v45.3.1-linux-x64.zip": "2effd0dbdaf2930931bad8f22af558423d4ecc52a082763af138664e6dad9f93",
53
- "libcxx_headers.zip": "2a121ec3dda5db23046fa8e6d3dd56d9a3076aabcaf2451996b7b8548213283c",
54
- "libcxxabi_headers.zip": "0ca2a9639319bb1dddd8af4278ebb7cdfac396611061e2f530083f2fc65b7628",
55
- "mksnapshot-v45.3.1-darwin-arm64.zip": "db8ad1b6f4553c69a030ebc368acef07c2443efb00bcd8e3361bd0de7e09db7e",
56
- "mksnapshot-v45.3.1-darwin-x64.zip": "71d8f2c11402ad2b4b1ae2db227518f106e3c7b55433aca29692f0065be66bb3",
57
- "mksnapshot-v45.3.1-linux-arm64-x64.zip": "92a856dff7944f2a3dacbe2cfa68fb43d3748a180a3e1f3ec9042ffabe9d2cd7",
58
- "mksnapshot-v45.3.1-linux-x64.zip": "f98c95e63ece1220598c108b3f882fece1c93703a8883ecd9509d2821ec83436",
59
- "mksnapshot-v45.3.1-mas-arm64.zip": "485448b5ab3af08b7d192859dcb12c0e4f7b78069d23d2950ea82f6346ade7b4",
60
- "mksnapshot-v45.3.1-mas-x64.zip": "855a9027d070bed07fc3d715020573c16ee1a818d348ef517c56f07b6761dc20",
61
- "mksnapshot-v45.3.1-win32-arm64-x64.zip": "153fdf0e4ef8c36fc6d37a1b545ca1e3e54044f6002722b3c7d458687b9fe7eb",
62
- "mksnapshot-v45.3.1-win32-x64.zip": "f7615cfcaaa3d320675804021efbbdf9781c229c12000128fb2663fe030bebb7",
63
- "xcache-v45.3.1-darwin-arm64.zip": "101c16118913c77bbba087a0f9c94eed4ad7d5e26a70902b510519826408162d",
64
- "xcache-v45.3.1-darwin-x64.zip": "f493f3a4dab26b89cd9cec09451e50a7281b3a5e0588c09e59b715336bd5a47d",
65
- "xcache-v45.3.1-linux-arm64.zip": "0600200a326b5ecc89a3053b8b2af446c0182f194b2f06365ba37410a518a420",
66
- "xcache-v45.3.1-linux-x64.zip": "57e8a2dbba39e0e7ed87409332801830f255571840a996366a48b053064e668d",
67
- "xcache-v45.3.1-win32-arm64.zip": "d80d976f938f7b278f3c152ca1c089dfd2fa82258817028171f3963cf1a156ce",
68
- "xcache-v45.3.1-win32-x64.zip": "67daeff602fced95dd1afa61557603b823e8d40abee68ea08b35e0fc8aa8e471"
2
+ "chromedriver-v46.0.0-alpha.10-darwin-arm64.zip": "29519b036a4f845688609aef367e8439f58ef3d3cc0ca8f4005ac09d6f584677",
3
+ "chromedriver-v46.0.0-alpha.10-darwin-x64.zip": "95efab1bbb87651b1cba7404c369bbdfc9df05603706a8a35e1d15113cbe6d4d",
4
+ "chromedriver-v46.0.0-alpha.10-linux-arm64.zip": "c6c2d63d8fc67566279eb4c8316ed3ab7720a0a5b4a11080b72cdc89bb6887eb",
5
+ "chromedriver-v46.0.0-alpha.10-linux-x64.zip": "185a877a7be99ee6648455b955e037e7c6e49e90cc48c0c57592d0db767ba636",
6
+ "chromedriver-v46.0.0-alpha.10-mas-arm64.zip": "18bf31db0d48b47eae2340f8578fe1a466f0cbe153d880b23df50095e7f7545c",
7
+ "chromedriver-v46.0.0-alpha.10-mas-x64.zip": "8ab3e3c85be78ca52dc9d4fa561f34b33b71cb31830178064adfd7f1eca4c6be",
8
+ "chromedriver-v46.0.0-alpha.10-win32-arm64.zip": "4cc188208d7d890202a8911985eba7bcc997776ae8eaafedd449c2ccf562be4c",
9
+ "chromedriver-v46.0.0-alpha.10-win32-x64.zip": "298105098bf6457788eb33b858bc87ab32853d87d6f6ef78d2f44c5380098b67",
10
+ "electron-api.json": "9f371d28c144ddcf7acb08b4f6afd5b5f64ba4f255897d7d053f8a344a9691ce",
11
+ "electron-v46.0.0-alpha.10-darwin-arm64-dsym-snapshot.zip": "f014d85dfafb91ea54ac2fbb50ca6aa857734058823898bcf370fcf881801ab3",
12
+ "electron-v46.0.0-alpha.10-darwin-arm64-dsym.tar.xz": "a213297a1f6cb29236692746233a67961f603118f67ed0c1aef132dd44e4965f",
13
+ "electron-v46.0.0-alpha.10-darwin-arm64-symbols.zip": "a142b9fc517ced66e29392c7a8b18f9f010a1e1c29a3dac09e1ea5da26b08216",
14
+ "electron-v46.0.0-alpha.10-darwin-arm64.zip": "24867eafe70c8458b6202b7ee19548ea7865f2d7cc10bb40af954cb777d12192",
15
+ "electron-v46.0.0-alpha.10-darwin-x64-dsym-snapshot.zip": "f014d85dfafb91ea54ac2fbb50ca6aa857734058823898bcf370fcf881801ab3",
16
+ "electron-v46.0.0-alpha.10-darwin-x64-dsym.tar.xz": "ea4913376e0423bcbf4481ace764771c5a66005ac5941990565bd81d736b20ae",
17
+ "electron-v46.0.0-alpha.10-darwin-x64-symbols.zip": "8e8a2a644cfd5c5e7b2a4c523c5d4f7d80e210544d2c91ac71829a084a563cb7",
18
+ "electron-v46.0.0-alpha.10-darwin-x64.zip": "1b413c09e73727bdefc15b4116a11efe488ce530e77df6f5bacd14a7fafff8c1",
19
+ "electron-v46.0.0-alpha.10-linux-arm64-debug.zip": "aa264e8151dfcdc8f1b7d71120532d643f677ae156f570ddefb37b01643032fb",
20
+ "electron-v46.0.0-alpha.10-linux-arm64-symbols.zip": "8caac21606682e1b1cec6af2eae62384e5cb76a1ec74373b5f5f548c2db3db61",
21
+ "electron-v46.0.0-alpha.10-linux-arm64.zip": "b2b99f0a004d2f204a42da3b7ad6e8ee183ffe937001438166a450e6141b4528",
22
+ "electron-v46.0.0-alpha.10-linux-x64-debug.zip": "48713514bfd6d3a73b59d238be01fd21d1edae0b741c1086fdbc17052547d3bc",
23
+ "electron-v46.0.0-alpha.10-linux-x64-symbols.zip": "c6513fe66c71aea2e4332c9e34356ea340ce2ace92b2b757b0c664bd116cfa21",
24
+ "electron-v46.0.0-alpha.10-linux-x64.zip": "41cf72697f5facf00356e328c7e6074e0157cd835062b7b47e787f6f362af783",
25
+ "electron-v46.0.0-alpha.10-mas-arm64-dsym-snapshot.zip": "f014d85dfafb91ea54ac2fbb50ca6aa857734058823898bcf370fcf881801ab3",
26
+ "electron-v46.0.0-alpha.10-mas-arm64-dsym.tar.xz": "ff09da1929f7a84e937dd0130ff198cd59cbf24009f51e9180c4ada2aefd6bac",
27
+ "electron-v46.0.0-alpha.10-mas-arm64-symbols.zip": "112c600f8d70869bf9d2fef3666860f5d53c54f7452ba420cf395728048a9b1b",
28
+ "electron-v46.0.0-alpha.10-mas-arm64.zip": "3646b858ec9131f63fc7366929d54cb3d80e99eeab85d3909969adf9d587663e",
29
+ "electron-v46.0.0-alpha.10-mas-x64-dsym-snapshot.zip": "f014d85dfafb91ea54ac2fbb50ca6aa857734058823898bcf370fcf881801ab3",
30
+ "electron-v46.0.0-alpha.10-mas-x64-dsym.tar.xz": "d493625c182085b233fc2e47a7d825cf0a587482aed04dbe504b2141b359fd25",
31
+ "electron-v46.0.0-alpha.10-mas-x64-symbols.zip": "249d5f31352311ed19a5dd383314d7952cd52f08f7ea04ba1293c7b603449002",
32
+ "electron-v46.0.0-alpha.10-mas-x64.zip": "83b63a5719d2eab7ba40c7462827eb798922afcda93266f7b0f11468a449aa14",
33
+ "electron-v46.0.0-alpha.10-win32-arm64-pdb.zip": "590bb69b7f5ea5ed7810a5f8dbcf03c8eb2030b3123696ff015cc9cf7235072a",
34
+ "electron-v46.0.0-alpha.10-win32-arm64-symbols.zip": "5b3d40dbb3166887929e619cc50e08c4142f7c8d7a4563000e9d1748f0723208",
35
+ "electron-v46.0.0-alpha.10-win32-arm64-toolchain-profile.zip": "221f819bcc433142bd71f2e71028511e60955c7a3ccd2617608aa38a899f3328",
36
+ "electron-v46.0.0-alpha.10-win32-arm64.zip": "bf32961eaf7a63e8155e54f5a7858b060d54da56b7392916937fe93b819c1372",
37
+ "electron-v46.0.0-alpha.10-win32-x64-pdb.zip": "1a853758a902e5eb68175d91ae9871e0d5c998c9fba595a5c54dc52be207590e",
38
+ "electron-v46.0.0-alpha.10-win32-x64-symbols.zip": "61de1e4d93360bd03265592f8cb2fb93ac1a62fb9c86a8d678698b70990b8231",
39
+ "electron-v46.0.0-alpha.10-win32-x64-toolchain-profile.zip": "221f819bcc433142bd71f2e71028511e60955c7a3ccd2617608aa38a899f3328",
40
+ "electron-v46.0.0-alpha.10-win32-x64.zip": "eb3ae83f9d68f9291f6453d2f5dcde8fbccd13bfb3b06ea083eaf6ca572f6d35",
41
+ "electron.d.ts": "028413fbd5128cea4765ef1195623d5b9cd25673d29273351eadce696a9b0bcc",
42
+ "ffmpeg-v46.0.0-alpha.10-darwin-arm64.zip": "579145d4094331cb02a4a2ddb86518368a7345cba1b23888b58598704723214f",
43
+ "ffmpeg-v46.0.0-alpha.10-darwin-x64.zip": "03e05512b37ac5a16f6b4f646877c925243b43477590f5c1869c56c0d12d55e9",
44
+ "ffmpeg-v46.0.0-alpha.10-linux-arm64.zip": "d1643c60f17809e32ada250a664c0dd40ad752233c6da227957c849d571d21cd",
45
+ "ffmpeg-v46.0.0-alpha.10-linux-x64.zip": "c18a62cb4add7791da18e4861b3b15bf0d88ced3c61fcd3f52a5bd3884c68c12",
46
+ "ffmpeg-v46.0.0-alpha.10-mas-arm64.zip": "0e02345b9203fd9b9f57a5f8a2a860ebfd716db22a636b3e5cba6b034e7d7ee9",
47
+ "ffmpeg-v46.0.0-alpha.10-mas-x64.zip": "7d40dbb2724eda27fc715c6a41bf25fdc5226d2c21cfd0b22f15bd2ba16fd95b",
48
+ "ffmpeg-v46.0.0-alpha.10-win32-arm64.zip": "38c50fc58b2e915118f7d2ec59daff8eb79cba9ef0216f8ce1b86e56e84604f4",
49
+ "ffmpeg-v46.0.0-alpha.10-win32-x64.zip": "a4c6e3fa832d25e2e06be2c813100602b666b70e0d255c58fdee6d3138690572",
50
+ "hunspell_dictionaries.zip": "b16fac6abbf141b81b92b6cdb3750cb3f16c456d92af3fa8dd9694d64a8e58c0",
51
+ "libcxx-objects-v46.0.0-alpha.10-linux-arm64.zip": "2d3353498f57b1c7182c2ea6908b3dbe5ac002a4537c3af9af6b1689806384e7",
52
+ "libcxx-objects-v46.0.0-alpha.10-linux-x64.zip": "12b22b364e1a931b66cffb3a026b54446d60a68a5d12bc9d1059663a61cebcb7",
53
+ "libcxx_headers.zip": "db5f7495af331807c5d2b86b4ffe337398cbc9586a0152463ead3582d452c7f2",
54
+ "libcxxabi_headers.zip": "50cba783a66328129330f3b2620807614c73ca6f1839477da08fac59a2192f57",
55
+ "mksnapshot-v46.0.0-alpha.10-darwin-arm64.zip": "6a44310c09709e5bb423240419e251504d9c92c6d4766ca9bc68a7dd242870b4",
56
+ "mksnapshot-v46.0.0-alpha.10-darwin-x64.zip": "30e56696b5f8f65d5f958bd9bec2e5bae25b7807ec0d3f36fe40d8707f6db9c2",
57
+ "mksnapshot-v46.0.0-alpha.10-linux-arm64-x64.zip": "18dbfe737c3eb59b5aa7bbaa93ee9a17610d0c98fde3b42a5ad71803194d62fc",
58
+ "mksnapshot-v46.0.0-alpha.10-linux-x64.zip": "7a2e4800e45f6f8ea91b63ca9ac9dd4fd3e9eabd8f4e2a5a7999ea5c19e01fac",
59
+ "mksnapshot-v46.0.0-alpha.10-mas-arm64.zip": "f4e30a5f205239ea32b11ab55ed8c4fcbdcfcddb90dc544dc15577eab48f57aa",
60
+ "mksnapshot-v46.0.0-alpha.10-mas-x64.zip": "058332716111e1d6f79d8fb42add3df51b0f1a2303e1326cebcfb94c46bbb5ae",
61
+ "mksnapshot-v46.0.0-alpha.10-win32-arm64-x64.zip": "77d21efc39be5bc303b13cf1b1e4c22f350b472f331621c9cc8f4da71964b03d",
62
+ "mksnapshot-v46.0.0-alpha.10-win32-x64.zip": "c87ff27b5f7c430fc80208f08cb7dfdcf045e7696fd57885d0b6e962ed0e11b5",
63
+ "xcache-v46.0.0-alpha.10-darwin-arm64.zip": "6677cf2b079ca8857cc8426a826b92ab0fad317c83127e0ebdb901cd3357630d",
64
+ "xcache-v46.0.0-alpha.10-darwin-x64.zip": "1daed2a3ec801d827e043a64e6d067d14c5c3e32c3bd2880733f2cde3b4a92f9",
65
+ "xcache-v46.0.0-alpha.10-linux-arm64.zip": "4634071f006bed8be2ac9db8f49d1bbb590fcdcb8baa6c9792a1425cc9ea52fb",
66
+ "xcache-v46.0.0-alpha.10-linux-x64.zip": "ff8f581ae9a08b0bf5379778c5a4839a91fc03a0e950506facba2d2b8ae57f17",
67
+ "xcache-v46.0.0-alpha.10-win32-arm64.zip": "e9332f603296368fafe90578c74301875c35f04a472d72b3369485306ac8a75d",
68
+ "xcache-v46.0.0-alpha.10-win32-x64.zip": "f70263d7f0983b44afd2016b325a6deb9b16e15e95237b6700779515816c667e"
69
69
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 45.3.1
1
+ // Type definitions for Electron 46.0.0-alpha.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
@@ -1114,6 +1114,21 @@ declare namespace Electron {
1114
1114
  * @platform darwin,win32
1115
1115
  */
1116
1116
  addRecentDocument(path: string): void;
1117
+ /**
1118
+ * `true` when the app runs with a full administrator token while UAC is enabled
1119
+ * (for example because it was started with "Run as administrator", from an
1120
+ * elevated installer or from an elevated shell), so that a filtered, non-elevated
1121
+ * token exists to relaunch with. It is `false` when the app is not elevated, for
1122
+ * the built-in Administrator account, and when UAC is turned off.
1123
+ *
1124
+ * Chromium's sandbox cannot always launch child processes from an elevated browser
1125
+ * process, and code that was not written to run elevated should not. An app that
1126
+ * does not need elevation can restart itself with the user's normal token before
1127
+ * doing anything else:
1128
+ *
1129
+ * @platform win32
1130
+ */
1131
+ canDeElevate(): boolean;
1117
1132
  /**
1118
1133
  * Clears the recent documents list.
1119
1134
  *
@@ -5926,7 +5941,10 @@ declare namespace Electron {
5926
5941
  * whole visible page. If the page is not visible, `rect` may be empty. The page is
5927
5942
  * considered visible when its browser window is hidden and the capturer count is
5928
5943
  * non-zero. If you would like the page to stay hidden, you should ensure that
5929
- * `stayHidden` is set to true.
5944
+ * `stayHidden` is set to true. The image has the page's device scale factor (for
5945
+ * offscreen rendering, `webPreferences.offscreen.deviceScaleFactor`), so
5946
+ * `image.getSize()` is in DIPs and `image.toBitmap()` holds the full-resolution
5947
+ * pixels.
5930
5948
  */
5931
5949
  capturePage(rect?: Rectangle, opts?: Opts): Promise<Electron.NativeImage>;
5932
5950
  /**
@@ -8124,6 +8142,20 @@ declare namespace Electron {
8124
8142
 
8125
8143
  // Docs: https://electronjs.org/docs/api/desktop-capturer
8126
8144
 
8145
+ /**
8146
+ * The current restore token for the source, or an empty string if it has none.
8147
+ *
8148
+ * The system may replace the token each time the source is opened, which happens
8149
+ * once in `desktopCapturer.getSources` and again when a stream is started from the
8150
+ * source, and then only the newest token works on the next launch. Read it with
8151
+ * this method once the stream is running, or before the app quits, and store that
8152
+ * value rather than the one `getSources` returned. See Restoring a source on
8153
+ * Wayland.
8154
+ *
8155
+ * @experimental
8156
+ * @platform linux
8157
+ */
8158
+ getRestoreToken(sourceId: string): string;
8127
8159
  /**
8128
8160
  * Resolves with an array of `DesktopCapturerSource` objects, each
8129
8161
  * `DesktopCapturerSource` represents a screen or an individual window that can be
@@ -8169,6 +8201,15 @@ declare namespace Electron {
8169
8201
  * the name of a window source will match the window title.
8170
8202
  */
8171
8203
  name: string;
8204
+ /**
8205
+ * A token that lets a later `desktopCapturer.getSources` call reopen this source
8206
+ * without showing the system picker, or an empty string if the system did not
8207
+ * issue one. See Restoring a source on Wayland.
8208
+ *
8209
+ * @experimental
8210
+ * @platform linux
8211
+ */
8212
+ restoreToken: string;
8172
8213
  /**
8173
8214
  * A thumbnail image. **Note:** There is no guarantee that the size of the
8174
8215
  * thumbnail is the same as the `thumbnailSize` specified in the `options` passed
@@ -8832,6 +8873,12 @@ declare namespace Electron {
8832
8873
 
8833
8874
  // Docs: https://electronjs.org/docs/api/structures/extension
8834
8875
 
8876
+ /**
8877
+ * A per-load identifier Chromium generates for the extension, used in place of
8878
+ * `id` in the `chrome-extension://` URLs of web accessible resources declared with
8879
+ * `use_dynamic_url`. It changes every time the extension is loaded.
8880
+ */
8881
+ dynamicId: string;
8835
8882
  id: string;
8836
8883
  /**
8837
8884
  * Copy of the extension's manifest data.
@@ -8995,10 +9042,85 @@ declare namespace Electron {
8995
9042
  isDirectory?: boolean;
8996
9043
  }
8997
9044
 
8998
- interface GlobalShortcut {
9045
+ interface GlobalShortcut extends NodeJS.EventEmitter {
8999
9046
 
9000
9047
  // Docs: https://electronjs.org/docs/api/global-shortcut
9001
9048
 
9049
+ /**
9050
+ * Emitted on Linux Wayland when the `org.freedesktop.portal.GlobalShortcuts`
9051
+ * portal resolves a registration request. The bind on this path is asynchronous
9052
+ * and consent-gated, so the boolean returned by `register()` only refers to if the
9053
+ * request was successfully submitted; this event reports the real outcome. `bound`
9054
+ * is `false` when the portal denied the bind (for example an invalid app identity
9055
+ * — see `app.setDesktopName()` — or a dismissed consent dialog) or the portal is
9056
+ * unavailable.
9057
+ *
9058
+ * The event is always emitted asynchronously, and may be emitted more than once
9059
+ * for the same accelerator: registering an additional shortcut re-binds the whole
9060
+ * set, which re-resolves previously bound accelerators.
9061
+ *
9062
+ * This event is not emitted on X11 or on other platforms, where the return value
9063
+ * of `register()` is already authoritative.
9064
+ *
9065
+ * @platform linux
9066
+ */
9067
+ on(event: 'registration-resolved', listener: (
9068
+ /**
9069
+ * The accelerator, as it was passed to `register()`.
9070
+ */
9071
+ accelerator: string,
9072
+ /**
9073
+ * Whether the portal accepted the bind request.
9074
+ */
9075
+ bound: boolean) => void): this;
9076
+ /**
9077
+ * @platform linux
9078
+ */
9079
+ off(event: 'registration-resolved', listener: (
9080
+ /**
9081
+ * The accelerator, as it was passed to `register()`.
9082
+ */
9083
+ accelerator: string,
9084
+ /**
9085
+ * Whether the portal accepted the bind request.
9086
+ */
9087
+ bound: boolean) => void): this;
9088
+ /**
9089
+ * @platform linux
9090
+ */
9091
+ once(event: 'registration-resolved', listener: (
9092
+ /**
9093
+ * The accelerator, as it was passed to `register()`.
9094
+ */
9095
+ accelerator: string,
9096
+ /**
9097
+ * Whether the portal accepted the bind request.
9098
+ */
9099
+ bound: boolean) => void): this;
9100
+ /**
9101
+ * @platform linux
9102
+ */
9103
+ addListener(event: 'registration-resolved', listener: (
9104
+ /**
9105
+ * The accelerator, as it was passed to `register()`.
9106
+ */
9107
+ accelerator: string,
9108
+ /**
9109
+ * Whether the portal accepted the bind request.
9110
+ */
9111
+ bound: boolean) => void): this;
9112
+ /**
9113
+ * @platform linux
9114
+ */
9115
+ removeListener(event: 'registration-resolved', listener: (
9116
+ /**
9117
+ * The accelerator, as it was passed to `register()`.
9118
+ */
9119
+ accelerator: string,
9120
+ /**
9121
+ * Whether the portal accepted the bind request.
9122
+ */
9123
+ bound: boolean) => void): this;
9002
9124
  /**
9003
9125
  * Whether this application has registered `accelerator`.
9004
9126
  *
@@ -9021,6 +9143,10 @@ declare namespace Electron {
9021
9143
  * silently fail. This behavior is intended by operating systems, since they don't
9022
9144
  * want applications to fight for global shortcuts.
9023
9145
  *
9146
+ * On Linux Wayland, the return value only indicates that the bind request was
9147
+ * submitted to the desktop portal; the portal resolves it asynchronously and the
9148
+ * actual outcome is reported by the `registration-resolved` event.
9149
+ *
9024
9150
  * The following accelerators will not be registered successfully on macOS 10.14
9025
9151
  * Mojave unless the app has been authorized as a trusted accessibility client:
9026
9152
  *
@@ -11928,7 +12054,7 @@ declare namespace Electron {
11928
12054
  id?: string;
11929
12055
  /**
11930
12056
  * Glob patterns applied after `matches`. A URL must also match one of these globs.
11931
- * `*` matches any sequence of characters and `?` matches zero or one character.
12057
+ * `*` matches any sequence of characters and `?` matches any single character.
11932
12058
  * Must not be empty.
11933
12059
  */
11934
12060
  includeGlobs?: string[];
@@ -12774,17 +12900,6 @@ declare namespace Electron {
12774
12900
 
12775
12901
  // Docs: https://electronjs.org/docs/api/safe-storage
12776
12902
 
12777
- /**
12778
- * the decrypted string. Decrypts the encrypted buffer obtained with
12779
- * `safeStorage.encryptString` back into a string.
12780
- *
12781
- * **Deprecated:** Use `safeStorage.decryptStringAsync(encrypted)` instead. Data
12782
- * encrypted with `safeStorage.encryptString` can be decrypted with
12783
- * `safeStorage.decryptStringAsync`.
12784
- *
12785
- * @deprecated
12786
- */
12787
- decryptString(encrypted: Buffer): string;
12788
12903
  /**
12789
12904
  * Resolve with an object containing the following:
12790
12905
  *
@@ -12795,16 +12910,6 @@ declare namespace Electron {
12795
12910
  * * `result` string - the decrypted string.
12796
12911
  */
12797
12912
  decryptStringAsync(encrypted: Buffer): Promise<Electron.DecryptStringAsyncReturnValue>;
12798
- /**
12799
- * An array of bytes representing the encrypted string.
12800
- *
12801
- * This function will throw an error if encryption fails.
12802
- *
12803
- * **Deprecated:** Use `safeStorage.encryptStringAsync(plainText)` instead.
12804
- *
12805
- * @deprecated
12806
- */
12807
- encryptString(plainText: string): Buffer;
12808
12913
  /**
12809
12914
  * An array of bytes representing the encrypted string.
12810
12915
  */
@@ -12840,18 +12945,6 @@ declare namespace Electron {
12840
12945
  * The returned promise resolves once initialization completes.
12841
12946
  */
12842
12947
  isAsyncEncryptionAvailable(): Promise<boolean>;
12843
- /**
12844
- * Whether encryption is available.
12845
- *
12846
- * On Linux, returns true if the app has emitted the `ready` event and the secret
12847
- * key is available. On MacOS, returns true if Keychain is available. On Windows,
12848
- * returns true once the app has emitted the `ready` event.
12849
- *
12850
- * **Deprecated:** Use `safeStorage.isAsyncEncryptionAvailable()` instead.
12851
- *
12852
- * @deprecated
12853
- */
12854
- isEncryptionAvailable(): boolean;
12855
12948
  /**
12856
12949
  * This function on Linux will force the module to use an in memory password for
12857
12950
  * creating symmetric key that is used for encrypt/decrypt functions when a valid
@@ -14327,7 +14420,7 @@ declare namespace Electron {
14327
14420
  * > [!NOTE] `isMainFrame` will always be `false` for a `fileSystem` request as a
14328
14421
  * result of Chromium limitations.
14329
14422
  */
14330
- setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission: 'ar' | 'automatic-fullscreen' | 'background-fetch' | 'background-sync' | 'captured-surface-control' | 'clipboard-read' | 'clipboard-sanitized-write' | 'deprecated-sync-clipboard-read' | 'display-capture' | 'fileSystem' | 'fullscreen' | 'geolocation' | 'geolocation-approximate' | 'hand-tracking' | 'hid' | 'idle-detection' | 'keyboardLock' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'openExternal' | 'payment-handler' | 'periodic-background-sync' | 'persistent-storage' | 'pointerLock' | 'screen-wake-lock' | 'sensors' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'system-wake-lock' | 'top-level-storage-access' | 'usb' | 'vr' | 'web-app-installation' | 'web-printing' | 'window-management' | 'unknown', requestingOrigin: string, details: PermissionCheckHandlerHandlerDetails) => boolean) | (null)): void;
14423
+ setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission: 'ar' | 'automatic-fullscreen' | 'background-fetch' | 'background-sync' | 'captured-surface-control' | 'clipboard-read' | 'clipboard-sanitized-write' | 'deprecated-sync-clipboard-read' | 'display-capture' | 'fileSystem' | 'fullscreen' | 'geolocation' | 'geolocation-approximate' | 'hand-tracking' | 'hid' | 'idle-detection' | 'keyboardLock' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'openExternal' | 'payment-handler' | 'periodic-background-sync' | 'persistent-storage' | 'pointerLock' | 'screen-wake-lock' | 'sensors' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'system-wake-lock' | 'usb' | 'vr' | 'web-app-installation' | 'web-printing' | 'window-management' | 'unknown', requestingOrigin: string, details: PermissionCheckHandlerHandlerDetails) => boolean) | (null)): void;
14331
14424
  /**
14332
14425
  * Sets the handler which can be used to respond to permission requests for the
14333
14426
  * `session`. Calling `callback(true)` will allow the permission and
@@ -14344,7 +14437,7 @@ declare namespace Electron {
14344
14437
  * control screen sharing separately should handle the two permissions
14345
14438
  * individually:
14346
14439
  */
14347
- setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'ar' | 'automatic-fullscreen' | 'background-fetch' | 'background-sync' | 'captured-surface-control' | 'clipboard-read' | 'clipboard-sanitized-write' | 'deprecated-sync-clipboard-read' | 'display-capture' | 'fileSystem' | 'fullscreen' | 'geolocation' | 'geolocation-approximate' | 'hand-tracking' | 'hid' | 'idle-detection' | 'keyboardLock' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'openExternal' | 'payment-handler' | 'periodic-background-sync' | 'persistent-storage' | 'pointerLock' | 'screen-wake-lock' | 'sensors' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'system-wake-lock' | 'top-level-storage-access' | 'usb' | 'vr' | 'web-app-installation' | 'web-printing' | 'window-management' | 'unknown', callback: (permissionGranted: boolean) => void, details: (PermissionRequest) | (FilesystemPermissionRequest) | (MediaAccessPermissionRequest) | (OpenExternalPermissionRequest)) => void) | (null)): void;
14440
+ setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'ar' | 'automatic-fullscreen' | 'background-fetch' | 'background-sync' | 'captured-surface-control' | 'clipboard-read' | 'clipboard-sanitized-write' | 'deprecated-sync-clipboard-read' | 'display-capture' | 'fileSystem' | 'fullscreen' | 'geolocation' | 'geolocation-approximate' | 'hand-tracking' | 'hid' | 'idle-detection' | 'keyboardLock' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'openExternal' | 'payment-handler' | 'periodic-background-sync' | 'persistent-storage' | 'pointerLock' | 'screen-wake-lock' | 'sensors' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'system-wake-lock' | 'usb' | 'vr' | 'web-app-installation' | 'web-printing' | 'window-management' | 'unknown', callback: (permissionGranted: boolean) => void, details: (PermissionRequest) | (FilesystemPermissionRequest) | (MediaAccessPermissionRequest) | (OpenExternalPermissionRequest)) => void) | (null)): void;
14348
14441
  /**
14349
14442
  * Adds scripts that will be executed on ALL web contents that are associated with
14350
14443
  * this session just before normal `preload` scripts run.
@@ -16874,9 +16967,12 @@ declare namespace Electron {
16874
16967
  addListener(event: 'spawn', listener: () => void): this;
16875
16968
  removeListener(event: 'spawn', listener: () => void): this;
16876
16969
  /**
16877
- * Terminates the process gracefully. On POSIX, it uses SIGTERM but will ensure the
16878
- * process is reaped on exit. This function returns true if the kill is successful,
16879
- * and false otherwise.
16970
+ * Terminates the process gracefully. On POSIX, it sends `SIGTERM`; on Windows, it
16971
+ * terminates the process. Like Node's `child_process.kill()`, this delivers the
16972
+ * signal but does not guarantee that the process exits: a child that handles
16973
+ * `SIGTERM` decides when, or whether, to exit. On POSIX, the child is reaped by
16974
+ * Electron once it exits. Returns `true` if the signal was delivered, and `false`
16975
+ * otherwise.
16880
16976
  */
16881
16977
  kill(): boolean;
16882
16978
  /**
@@ -18316,7 +18412,8 @@ declare namespace Electron {
18316
18412
  explicitSet: boolean) => void): this;
18317
18413
  /**
18318
18414
  * Emitted when a new frame is generated. Only the dirty area is passed in the
18319
- * buffer.
18415
+ * buffer. `image` has the view's device scale factor, so `image.getSize()` is in
18416
+ * DIPs, while `dirtyRect` is in the pixels of `image.toBitmap()`.
18320
18417
  *
18321
18418
  * When using shared texture (set `webPreferences.offscreen.useSharedTexture` to
18322
18419
  * `true`) feature, you can pass the texture handle to external rendering pipeline
@@ -18912,7 +19009,9 @@ declare namespace Electron {
18912
19009
  * will be called with `callback(image, dirtyRect)` when there is a presentation
18913
19010
  * event.
18914
19011
  *
18915
- * The `image` is an instance of NativeImage that stores the captured frame.
19012
+ * The `image` is an instance of NativeImage that stores the captured frame. It has
19013
+ * the page's device scale factor, so `image.getSize()` is in DIPs, while
19014
+ * `dirtyRect` is in the pixels of `image.toBitmap()`.
18916
19015
  *
18917
19016
  * The `dirtyRect` is an object with `x, y, width, height` properties that
18918
19017
  * describes which part of the page was repainted. If `onlyDirty` is set to `true`,
@@ -18924,7 +19023,9 @@ declare namespace Electron {
18924
19023
  * will be called with `callback(image, dirtyRect)` when there is a presentation
18925
19024
  * event.
18926
19025
  *
18927
- * The `image` is an instance of NativeImage that stores the captured frame.
19026
+ * The `image` is an instance of NativeImage that stores the captured frame. It has
19027
+ * the page's device scale factor, so `image.getSize()` is in DIPs, while
19028
+ * `dirtyRect` is in the pixels of `image.toBitmap()`.
18928
19029
  *
18929
19030
  * The `dirtyRect` is an object with `x, y, width, height` properties that
18930
19031
  * describes which part of the page was repainted. If `onlyDirty` is set to `true`,
@@ -18963,7 +19064,10 @@ declare namespace Electron {
18963
19064
  * Captures a snapshot of the page within `rect`. Omitting `rect` will capture the
18964
19065
  * whole visible page. The page is considered visible when its browser window is
18965
19066
  * hidden and the capturer count is non-zero. If you would like the page to stay
18966
- * hidden, you should ensure that `stayHidden` is set to true.
19067
+ * hidden, you should ensure that `stayHidden` is set to true. The image has the
19068
+ * page's device scale factor (for offscreen rendering,
19069
+ * `webPreferences.offscreen.deviceScaleFactor`), so `image.getSize()` is in DIPs
19070
+ * and `image.toBitmap()` holds the full-resolution pixels.
18967
19071
  */
18968
19072
  capturePage(rect?: Rectangle, opts?: Opts): Promise<Electron.NativeImage>;
18969
19073
  /**
@@ -20187,9 +20291,9 @@ declare namespace Electron {
20187
20291
  send(channel: string, ...args: any[]): void;
20188
20292
  /**
20189
20293
  * A `Boolean` representing whether the frame is detached from the frame tree. If a
20190
- * frame is accessed while the corresponding page is running any unload listeners,
20191
- * it may become detached as the newly navigated page replaced it in the frame
20192
- * tree.
20294
+ * frame is accessed while the corresponding page is running any `pagehide` or
20295
+ * `unload` listeners, it may become detached as the newly navigated page replaced
20296
+ * it in the frame tree.
20193
20297
  *
20194
20298
  */
20195
20299
  readonly detached: boolean;
@@ -20414,10 +20518,6 @@ declare namespace Electron {
20414
20518
  * `WebContents` when the preferred size changes. Default is `false`.
20415
20519
  */
20416
20520
  enablePreferredSizeMode?: boolean;
20417
- /**
20418
- * Whether to enable the WebSQL api. Default is `true`.
20419
- */
20420
- enableWebSQL?: boolean;
20421
20521
  /**
20422
20522
  * Enables Chromium's experimental features. Default is `false`.
20423
20523
  */
@@ -21134,7 +21234,9 @@ declare namespace Electron {
21134
21234
  * Resolves with a NativeImage
21135
21235
  *
21136
21236
  * Captures a snapshot of the page within `rect`. Omitting `rect` will capture the
21137
- * whole visible page.
21237
+ * whole visible page. The image has the page's device scale factor (for offscreen
21238
+ * rendering, `webPreferences.offscreen.deviceScaleFactor`), so `image.getSize()`
21239
+ * is in DIPs and `image.toBitmap()` holds the full-resolution pixels.
21138
21240
  */
21139
21241
  capturePage(rect?: Rectangle): Promise<Electron.NativeImage>;
21140
21242
  /**
@@ -21458,7 +21560,7 @@ declare namespace Electron {
21458
21560
  */
21459
21561
  nodeintegration: boolean;
21460
21562
  /**
21461
- * A `boolean` for the experimental option for enabling NodeJS support in
21563
+ * A `boolean` for the experimental option for enabling Node.js support in
21462
21564
  * sub-frames such as iframes inside the `webview`. All your preloads will load for
21463
21565
  * every iframe, you can use `process.isMainFrame` to determine if you are in the
21464
21566
  * main frame or not. This option is disabled by default in the guest page.
@@ -21522,10 +21624,9 @@ declare namespace Electron {
21522
21624
  *
21523
21625
  * Security-critical preferences cannot be used to make the guest less secure than
21524
21626
  * its embedder. When the embedder has any of `contextIsolation`, `javascript`,
21525
- * `nodeIntegration`, `nodeIntegrationInWorker`, `sandbox`,
21526
- * `nodeIntegrationInSubFrames` or `enableWebSQL` set to its more secure value, the
21527
- * guest inherits that value and the corresponding `webpreferences` entry is
21528
- * ignored.
21627
+ * `nodeIntegration`, `nodeIntegrationInWorker`, `sandbox` or
21628
+ * `nodeIntegrationInSubFrames` set to its more secure value, the guest inherits
21629
+ * that value and the corresponding `webpreferences` entry is ignored.
21529
21630
  */
21530
21631
  webpreferences: string;
21531
21632
  }
@@ -21870,7 +21971,7 @@ declare namespace Electron {
21870
21971
  * can potentially include data types not explicitly listed here. (See Chromium's
21871
21972
  * `BrowsingDataRemover` for the full list.)
21872
21973
  */
21873
- dataTypes?: Array<'backgroundFetch' | 'cache' | 'cookies' | 'downloads' | 'fileSystems' | 'indexedDB' | 'localStorage' | 'serviceWorkers' | 'webSQL'>;
21974
+ dataTypes?: Array<'backgroundFetch' | 'cache' | 'cookies' | 'downloads' | 'fileSystems' | 'indexedDB' | 'localStorage' | 'serviceWorkers'>;
21874
21975
  /**
21875
21976
  * Clear data for only these origins. Cannot be used with `excludeOrigins`.
21876
21977
  */
@@ -24547,6 +24648,13 @@ declare namespace Electron {
24547
24648
  interface RelaunchOptions {
24548
24649
  args?: string[];
24549
24650
  execPath?: string;
24651
+ /**
24652
+ * Start the new instance with the user's normal token instead of the current
24653
+ * elevated one. See `app.canDeElevate()`.
24654
+ *
24655
+ * @platform win32
24656
+ */
24657
+ deElevate?: boolean;
24550
24658
  }
24551
24659
 
24552
24660
  interface RenderProcessGoneEvent extends DOMEvent {
@@ -24979,6 +25087,30 @@ declare namespace Electron {
24979
25087
  * type screen.
24980
25088
  */
24981
25089
  fetchWindowIcons?: boolean;
25090
+ /**
25091
+ * Can be `transient` or `persistent`. How long the source the user picks in the
25092
+ * system picker can be reopened without showing the picker again. `transient`, the
25093
+ * default, lasts at most until the app exits. `persistent` lasts across launches
25094
+ * until the user revokes it; store the returned source's `restoreToken` to use it
25095
+ * on a later launch. See Restoring a source on Wayland.
25096
+ *
25097
+ * @experimental
25098
+ * @platform linux
25099
+ */
25100
+ persistMode?: ('transient' | 'persistent');
25101
+ /**
25102
+ * A `restoreToken` from an earlier call; `persistMode` must be passed with it. If
25103
+ * the system still honors the token, the promise resolves with that source and no
25104
+ * picker is shown. A token that was revoked or names a source that no longer
25105
+ * exists is ignored and the picker is shown as if no token was passed; a value
25106
+ * that is not a token the system issued makes the promise reject. Pass
25107
+ * `persistMode: 'persistent'` with a persistent token every time: restoring it as
25108
+ * `transient` ends the persistent grant.
25109
+ *
25110
+ * @experimental
25111
+ * @platform linux
25112
+ */
25113
+ restoreToken?: string;
24982
25114
  }
24983
25115
 
24984
25116
  interface StartAppShimServerOptions {
@@ -28620,4 +28752,4 @@ declare namespace NodeJS {
28620
28752
  readonly electron: string;
28621
28753
  readonly chrome: string;
28622
28754
  }
28623
- }
28755
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron",
3
- "version": "45.3.1",
3
+ "version": "46.0.0-alpha.10",
4
4
  "repository": "https://github.com/electron/electron",
5
5
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
6
6
  "license": "MIT",
@@ -30,6 +30,6 @@
30
30
  "dependencies": {
31
31
  "@electron-internal/extract-zip": "^1.0.1",
32
32
  "@electron/get": "^5.0.0",
33
- "@types/node": "^24.9.0"
33
+ "@types/node": "^26.6.5"
34
34
  }
35
35
  }