electron 17.0.0-beta.7 β†’ 18.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![CircleCI Build Status](https://circleci.com/gh/electron/electron/tree/main.svg?style=shield)](https://circleci.com/gh/electron/electron/tree/main)
4
4
  [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/4lggi9dpjc1qob7k/branch/main?svg=true)](https://ci.appveyor.com/project/electron-bot/electron-ljo26/branch/main)
5
- [![Electron Discord Invite](https://img.shields.io/discord/745037351163527189?color=%237289DA&label=chat&logo=discord&logoColor=white)](https://discord.com/invite/electron)
5
+ [![Electron Discord Invite](https://img.shields.io/discord/745037351163527189?color=%237289DA&label=chat&logo=discord&logoColor=white)](https://discord.com/invite/APGC3k5yaH)
6
6
 
7
7
  :memo: Available Translations: πŸ‡¨πŸ‡³ πŸ‡§πŸ‡· πŸ‡ͺπŸ‡Έ πŸ‡―πŸ‡΅ πŸ‡·πŸ‡Ί πŸ‡«πŸ‡· πŸ‡ΊπŸ‡Έ πŸ‡©πŸ‡ͺ.
8
8
  View these docs in other languages at [electron/i18n](https://github.com/electron/i18n/tree/master/content/).
@@ -80,7 +80,7 @@ const child = proc.spawn(electron)
80
80
 
81
81
  ### Mirrors
82
82
 
83
- - [China](https://npm.taobao.org/mirrors/electron)
83
+ - [China](https://npmmirror.com/mirrors/electron)
84
84
 
85
85
  ## Documentation Translations
86
86
 
package/checksums.json CHANGED
@@ -1,80 +1,80 @@
1
1
  {
2
- "chromedriver-v17.0.0-beta.7-darwin-arm64.zip": "003247cb2ea6b4a2bbdfe55b4f9ac1427109947fd99cb66b73f959e8660088ad",
3
- "chromedriver-v17.0.0-beta.7-darwin-x64.zip": "c2bfd0d65fe3de8e66605bb6b302e45a8d229f75e14f4cdbe0d31cca7f11970d",
4
- "chromedriver-v17.0.0-beta.7-linux-arm64.zip": "4ca5e4d9c922ef5ebbc373b0a79d0fb88e1e59a3f75136c6c4a143b5a711850f",
5
- "chromedriver-v17.0.0-beta.7-linux-armv7l.zip": "8323328aecef8b6895caa69dafdfb4ced828f7d0534f32ce0eb3fe640c10c058",
6
- "chromedriver-v17.0.0-beta.7-linux-ia32.zip": "624e38704e1d31cc49e1205af961f86ca2fac1e0710db994a7096f7376b9fa68",
7
- "chromedriver-v17.0.0-beta.7-linux-x64.zip": "975f1192abefdddf754f0b057feb62c50bb8733c4375390aefece1bd950a59d6",
8
- "chromedriver-v17.0.0-beta.7-mas-arm64.zip": "c456040333f21711942dae10e2eadc9c49ac939f3d9101924ba76fe46b577c33",
9
- "chromedriver-v17.0.0-beta.7-mas-x64.zip": "21d4c88df7398d08256e3b9490c9c64dcea4ad9f23bbc0e01666c9d2741337a1",
10
- "chromedriver-v17.0.0-beta.7-win32-arm64.zip": "bb5378963d770800ccf36487260f6d49a247b9a707928916bd590693e7d82435",
11
- "chromedriver-v17.0.0-beta.7-win32-ia32.zip": "d6fc7412014f73df2117a51a0d1385c2820b8e0d33301e9371659e9889421856",
12
- "chromedriver-v17.0.0-beta.7-win32-x64.zip": "302985fdb78bfdd2b3da11354294b15ce3115758252247461cbb4d5b0f6d71d6",
13
- "electron-api.json": "000d1ab156c43ee8fe9d0a457c4b68665b388eaaafd3b6a37fae44c85f2baa13",
14
- "electron-v17.0.0-beta.7-darwin-arm64-dsym.zip": "b70f517e7901695c0d427ae39fd9c3b460067abbcb536a3a23e2d9141f1c4367",
15
- "electron-v17.0.0-beta.7-darwin-arm64-symbols.zip": "840652e61be87f18e601929ccc757bd820dc3b0909f843e5a0ff0f735796206d",
16
- "electron-v17.0.0-beta.7-darwin-arm64.zip": "f6ebccbb23d6158eca740ab04604654d148ac598d2384a97fb3bbc251c75c908",
17
- "electron-v17.0.0-beta.7-darwin-x64-dsym.zip": "b64165bfd865f1cfada198e516e0712d8b634a74b2ddd00aedda78b08f55ca68",
18
- "electron-v17.0.0-beta.7-darwin-x64-symbols.zip": "144527ceef2dd59af365c46f76e626ff95f8df420bccfefbb2f8ee4eee08ec5e",
19
- "electron-v17.0.0-beta.7-darwin-x64.zip": "0f3d53139d63116f4ad9a988f26a68f76354d7d066974e591a11ffd8cc34642a",
20
- "electron-v17.0.0-beta.7-linux-arm64-debug.zip": "14435e683374e49c94d4909238c3b392b4e5c47291fc0607ed6332cc62f0e797",
21
- "electron-v17.0.0-beta.7-linux-arm64-symbols.zip": "ff5c13d41b8999175bc761aa0fbb937fbc247773735c81a7d71d9ac8d1b0f1c5",
22
- "electron-v17.0.0-beta.7-linux-arm64.zip": "a74e0aa499d14363b499de9b713cfc91075d5599cd5cb894fb6617d0e955851a",
23
- "electron-v17.0.0-beta.7-linux-armv7l-debug.zip": "14435e683374e49c94d4909238c3b392b4e5c47291fc0607ed6332cc62f0e797",
24
- "electron-v17.0.0-beta.7-linux-armv7l-symbols.zip": "03d5ae09f6ce493b42198bf789f81243e49be056081c97e4bf920da0de97812e",
25
- "electron-v17.0.0-beta.7-linux-armv7l.zip": "db88460c51f7511e18feee66393afffb36f5cca51bca898f5b6c24fc04ad6346",
26
- "electron-v17.0.0-beta.7-linux-ia32-debug.zip": "14435e683374e49c94d4909238c3b392b4e5c47291fc0607ed6332cc62f0e797",
27
- "electron-v17.0.0-beta.7-linux-ia32-symbols.zip": "7bcc8580beb8ac14b93eeb2e71f609b0769242ab3fdef3edc8e7db29afc250fb",
28
- "electron-v17.0.0-beta.7-linux-ia32.zip": "96da88f1fb96462a2c17cb6e0b591481729218b31044d1a4fc130fca707506ea",
29
- "electron-v17.0.0-beta.7-linux-x64-debug.zip": "9eec506b59fcc9b7e08774d4ddcc7231275be9f57c233445ba4b548888fbe741",
30
- "electron-v17.0.0-beta.7-linux-x64-symbols.zip": "7edea22eea57edf884ff17d6720e7e8cf3a0ef06eb4137569d97a212fc1b4ae0",
31
- "electron-v17.0.0-beta.7-linux-x64.zip": "a88c8dd47b6bf309531bb254dd7536bfce0b30cfaeb1d722ff181077ac3fd763",
32
- "electron-v17.0.0-beta.7-mas-arm64-dsym.zip": "fbadc7a41e2d75604a57b04863954de858d74e6b189884f973298d89a45ba4c5",
33
- "electron-v17.0.0-beta.7-mas-arm64-symbols.zip": "0d5b26bbc9cecde72abc2923e9dcf717c8d3a4eb4124b6e63b77d37c5d28b2a6",
34
- "electron-v17.0.0-beta.7-mas-arm64.zip": "9956b7d1f29b86f253261e5857cd5df1b76899e60cbc1b174a16b2545e0c3894",
35
- "electron-v17.0.0-beta.7-mas-x64-dsym.zip": "0a5d0c1c02431b8ba19fb38ad4c5a3b2f35d3149505134bfb8f8e16c73c8cbbe",
36
- "electron-v17.0.0-beta.7-mas-x64-symbols.zip": "06c67ba944a60cec1ba2ed6aa041d5d251e553abde869656cb2eb3a89e19bfd7",
37
- "electron-v17.0.0-beta.7-mas-x64.zip": "f448bc62cd043f06b6f3c11f4245625a36fed88d204a40ae47582de7237b56b5",
38
- "electron-v17.0.0-beta.7-win32-arm64-pdb.zip": "3ecc23394e693dcf411f7bac29543a48c88584a623a1c015a8502504935e0703",
39
- "electron-v17.0.0-beta.7-win32-arm64-symbols.zip": "20ea5d3cdf76ede6e46ecca9b495775bae72bcb98643c6c4154c5fccf78e54ff",
40
- "electron-v17.0.0-beta.7-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
41
- "electron-v17.0.0-beta.7-win32-arm64.zip": "9d4c3c4568173b338cf6c279f498d86fea555962223df89e13c2acfe156287df",
42
- "electron-v17.0.0-beta.7-win32-ia32-pdb.zip": "475a4ef1eb03d03ec6c58b13bd920af9c879c1d573a96b87c991be15d3991558",
43
- "electron-v17.0.0-beta.7-win32-ia32-symbols.zip": "62567a9b9214a62c71484b1d99b9fce041af429b7818b84475c402dacf2b5362",
44
- "electron-v17.0.0-beta.7-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
45
- "electron-v17.0.0-beta.7-win32-ia32.zip": "de12b4430053fc8f41e70316cf7f42f1006acc165d2cc5d54a71f52746c469f0",
46
- "electron-v17.0.0-beta.7-win32-x64-pdb.zip": "35441d1fbc94c50310d5bb256806e97fed8f0595acdcb197b6a31a7279125372",
47
- "electron-v17.0.0-beta.7-win32-x64-symbols.zip": "afd016e6d09d512cf03e0b330645dd92f4f6b0e020ed9e9e6aa5055b39e9a141",
48
- "electron-v17.0.0-beta.7-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
49
- "electron-v17.0.0-beta.7-win32-x64.zip": "f50bb7e9a455040b4042861586d4408eff6a50235387d26f8b388140f3488430",
50
- "electron.d.ts": "8fa33b90ccb0afccec71cbe0fc2c07e0f1340028912a16521260e651fbf7b4f8",
51
- "ffmpeg-v17.0.0-beta.7-darwin-arm64.zip": "89a600e8954b0624ab2b0f4b780a1ac724993de1ba0295ecd7cac18587614aa1",
52
- "ffmpeg-v17.0.0-beta.7-darwin-x64.zip": "339fa7755598fe0a5a416c81f6762ab91d20834e5dbfbdd2fd19c96c3e711741",
53
- "ffmpeg-v17.0.0-beta.7-linux-arm64.zip": "8739ee90c55fc0367ff64ebf06e7030d93e08e28279b9ee5ea9bf2486ef50a9f",
54
- "ffmpeg-v17.0.0-beta.7-linux-armv7l.zip": "cf851f4dda0590ac2c32e11708e8e4f8b347494364cfc3bc1a60ba9ec47cc489",
55
- "ffmpeg-v17.0.0-beta.7-linux-ia32.zip": "294be6fa46ce2f175714cbe01f1b7922c281191b5abf28bf013d30c82fa3eaa9",
56
- "ffmpeg-v17.0.0-beta.7-linux-x64.zip": "95c81db0cc343275b59a881965f6e1e8e737ac9db861d372a3ea811ad514350c",
57
- "ffmpeg-v17.0.0-beta.7-mas-arm64.zip": "89a600e8954b0624ab2b0f4b780a1ac724993de1ba0295ecd7cac18587614aa1",
58
- "ffmpeg-v17.0.0-beta.7-mas-x64.zip": "339fa7755598fe0a5a416c81f6762ab91d20834e5dbfbdd2fd19c96c3e711741",
59
- "ffmpeg-v17.0.0-beta.7-win32-arm64.zip": "5f5c948f2024bea39cca94cd9e1b77c906084727bce2f39f97edc23f4c7c5c60",
60
- "ffmpeg-v17.0.0-beta.7-win32-ia32.zip": "4bf377da8d47eae9d4797ffa2d4b98f45b6294c78df1f7736030d2376b8ad008",
61
- "ffmpeg-v17.0.0-beta.7-win32-x64.zip": "9a130ccf03a8b76e7bf01fc5b7d6da1c0c18518699272b7bf8b8c1d0f868206b",
62
- "hunspell_dictionaries.zip": "387b3334cd36f76c74beb7db4c931ca9b6f3f3c05362982f98e5f204bdabb855",
63
- "libcxx-objects-v17.0.0-beta.7-linux-arm64.zip": "8ab4b709eb614c5cebd38d7096889f299d500637fc7cbda95c4457a1b32a454d",
64
- "libcxx-objects-v17.0.0-beta.7-linux-armv7l.zip": "c431cb8f0c1d55b2a60ec9ca2a9fc5f07443117dbde7c2fb72ade430a59704fa",
65
- "libcxx-objects-v17.0.0-beta.7-linux-ia32.zip": "2534b0a1d775145b546465b32ea605680514904ddd5e67a865585537c9616452",
66
- "libcxx-objects-v17.0.0-beta.7-linux-x64.zip": "0eac972782f2297b45cbd98965494e456c64c8dcbdbfb40610c103cdf3e8a588",
67
- "libcxx_headers.zip": "06eb5438a932e3bc7064bfecc56db95f419645339236ca4965a8dc8da992ef7e",
68
- "libcxxabi_headers.zip": "a92699344a7ec9ae6fc0f9454df8b1d6b754cb082083eafd1e98cac1dabfcd46",
69
- "mksnapshot-v17.0.0-beta.7-darwin-arm64.zip": "cd3c356f0eb1e6bb98816cb4b8e6f2eb5bc1307a3ef2030f7529a82ea8884b11",
70
- "mksnapshot-v17.0.0-beta.7-darwin-x64.zip": "5a1ce0fc2ce78bacade870de004206f3eaf91d3a05b33d52a257ed6c8e106a01",
71
- "mksnapshot-v17.0.0-beta.7-linux-arm64-x64.zip": "c7b510bcd1e2d5f2a882b4b6c41b725fcfd450f8a67e856b726dc6a94cc56311",
72
- "mksnapshot-v17.0.0-beta.7-linux-armv7l-x64.zip": "ff4bd4d77ba9fca4ad77c5c40e8d49e3330e338e877daf73fb087ba721d9d911",
73
- "mksnapshot-v17.0.0-beta.7-linux-ia32.zip": "97537e0958cb85dc4d0f43f82eb84c06fb077d5177889bb5e95131c3436fb97f",
74
- "mksnapshot-v17.0.0-beta.7-linux-x64.zip": "8ebfe74c4e66335e6645bcba060b3f74cd9df24d75cbfeb57c23417962c9991f",
75
- "mksnapshot-v17.0.0-beta.7-mas-arm64.zip": "9b723c9af418d1bfbcce5509b76ddeb13efe9e632fc9564ba3d1c0ff99ad1e76",
76
- "mksnapshot-v17.0.0-beta.7-mas-x64.zip": "4d5bd9fa22f79ff68e4f959f32c814a4242910e346a6aa7d6f58509de346fb2b",
77
- "mksnapshot-v17.0.0-beta.7-win32-arm64-x64.zip": "da60fe9a97e52d43b75eb4c20b5b4e7134302e12a955254be6f70bf74a314b52",
78
- "mksnapshot-v17.0.0-beta.7-win32-ia32.zip": "afd6dc178de3dbe1c6eea21febcf49b948386fdde178b5516c7a101f4d188ef8",
79
- "mksnapshot-v17.0.0-beta.7-win32-x64.zip": "23fffcbc8fac75cc460f6d7a0490a88f6c5b49356fc0485a7cd60f685689d2b6"
2
+ "chromedriver-v18.0.0-alpha.1-darwin-arm64.zip": "17b5602bd34e72f1c4e2029af855365c1dba0cc29d50050f68c95c3792ff76d9",
3
+ "chromedriver-v18.0.0-alpha.1-darwin-x64.zip": "3a931965503b8045af8daab371340925db6dc534748112a9ffba03fe2457c6b9",
4
+ "chromedriver-v18.0.0-alpha.1-linux-arm64.zip": "bd5491f2c5a847d65e5d7da6e65c7e3c747f2c383dd03509f609113d430c8342",
5
+ "chromedriver-v18.0.0-alpha.1-linux-armv7l.zip": "b59c2e6f38f4247e16397c8534823e0dd817cde0994283644ca2741abd1d2735",
6
+ "chromedriver-v18.0.0-alpha.1-linux-ia32.zip": "e71889c251ec9b0ba04676b45480d9a8a156631493620763e67ecde2c1a7f60c",
7
+ "chromedriver-v18.0.0-alpha.1-linux-x64.zip": "2468edca42f859d196189e2cb81399fa85ca81761b0854adc0ebac8618e1fe73",
8
+ "chromedriver-v18.0.0-alpha.1-mas-arm64.zip": "13692796992a0b4664d0282f4bfb40c71871c77f10c9ae8f537104934e5a698f",
9
+ "chromedriver-v18.0.0-alpha.1-mas-x64.zip": "d20afd55cea9c7b30554d8cb4d2efc1f40aa268395bf8bde239d1075b28b9125",
10
+ "chromedriver-v18.0.0-alpha.1-win32-arm64.zip": "c5e399fef310441008b4743bb4a6fe413d47bf7d78f21fe6da23745dfe20e911",
11
+ "chromedriver-v18.0.0-alpha.1-win32-ia32.zip": "0952d5c1f372733ec23b9c2b5b9966b452b52e1765e275adad9319544513c07e",
12
+ "chromedriver-v18.0.0-alpha.1-win32-x64.zip": "574f9e2948e36b1808ff9e93c32d3ab26a7f03de9931f3d1a877a5b1ecf945e0",
13
+ "electron-api.json": "969e6752b08e446edfdcd2c64f533215a901d971385d7d4b40703732fe41d74e",
14
+ "electron-v18.0.0-alpha.1-darwin-arm64-dsym.zip": "8e9cce279ae33c94505d4fdcd92ee5ac8cb43be05530a208d1d68120b50ac259",
15
+ "electron-v18.0.0-alpha.1-darwin-arm64-symbols.zip": "929fa8967898efb8c8e8ac94a333eef6de5a69a2906634a531bcd68539e73db7",
16
+ "electron-v18.0.0-alpha.1-darwin-arm64.zip": "aa3f91aabacfc2c70c7fbb100922049263fb7ea608187e51c744e86958630c98",
17
+ "electron-v18.0.0-alpha.1-darwin-x64-dsym.zip": "a4c4f6c1e247d4f1c4d54a320fa2b72785dfe7667dbfd6ca40a77a3e698c7f47",
18
+ "electron-v18.0.0-alpha.1-darwin-x64-symbols.zip": "e75be99540e1117799383659f666be3d90cf792697e3835f10f8ca5265a136fc",
19
+ "electron-v18.0.0-alpha.1-darwin-x64.zip": "a5ebe02fa44da6ee40391231e707d9143cf95c392a730fb0a0b8bf484e135b80",
20
+ "electron-v18.0.0-alpha.1-linux-arm64-debug.zip": "18375a591c6770ca7e4e61f90a2aa3aa21293184350b5ff844e085bdacdc0ff7",
21
+ "electron-v18.0.0-alpha.1-linux-arm64-symbols.zip": "aaf17920fc229025c0bf7ab1bd863f23542cd4d430e36332f7472711988bebcd",
22
+ "electron-v18.0.0-alpha.1-linux-arm64.zip": "c46bc7e8c4ab591206ce6a023ddb436cffbb17d01ca2e6b496eb71ad67a9886f",
23
+ "electron-v18.0.0-alpha.1-linux-armv7l-debug.zip": "18375a591c6770ca7e4e61f90a2aa3aa21293184350b5ff844e085bdacdc0ff7",
24
+ "electron-v18.0.0-alpha.1-linux-armv7l-symbols.zip": "b04974abc393fbb4933e489133d1d818bc692db563d5a0af10db6373b004b5af",
25
+ "electron-v18.0.0-alpha.1-linux-armv7l.zip": "68970abeb35b90b15f7a4399b0e5cfd7d9c96faad6183da1a12e1a532186e4fe",
26
+ "electron-v18.0.0-alpha.1-linux-ia32-debug.zip": "18375a591c6770ca7e4e61f90a2aa3aa21293184350b5ff844e085bdacdc0ff7",
27
+ "electron-v18.0.0-alpha.1-linux-ia32-symbols.zip": "4f8aaddd1413454317c761b1ad1120486a5a21b0d0d5db02b8efab46b01c80b4",
28
+ "electron-v18.0.0-alpha.1-linux-ia32.zip": "a0b6156a098e241d606024d277a8327813d4ff45f8a5594718a0bb6d055b059d",
29
+ "electron-v18.0.0-alpha.1-linux-x64-debug.zip": "836b3010a62481ef3a6b218e99d40125b560c98e7c469fb4568574db344fcb9a",
30
+ "electron-v18.0.0-alpha.1-linux-x64-symbols.zip": "2994956b9906c39574065298b2d131931cba5164ce38478fbef4f17ffdf7575e",
31
+ "electron-v18.0.0-alpha.1-linux-x64.zip": "2dcc10b6635406cf778f10310f275e696b042e9e1f021979224283b744e112b7",
32
+ "electron-v18.0.0-alpha.1-mas-arm64-dsym.zip": "b5d8785d9bc8b1a6150a35cc60efa59467b43c3e9eb86d79db105300d073a6c5",
33
+ "electron-v18.0.0-alpha.1-mas-arm64-symbols.zip": "5cad708702efa94dbd8d461de80ab409453c156b34240f85a14627ce1a28bad5",
34
+ "electron-v18.0.0-alpha.1-mas-arm64.zip": "c75238f03bcbdf73423a19e640acf47e99eabdaddd188c94d6369d0379768dc7",
35
+ "electron-v18.0.0-alpha.1-mas-x64-dsym.zip": "02690a48ec645238d70588d6a2f52b77abe2b91b726a5085e203aee1cff62574",
36
+ "electron-v18.0.0-alpha.1-mas-x64-symbols.zip": "c51546a0cc9f5c52ab7c861ccb05cb177c13767c9a7bf5dde100d8268c21d470",
37
+ "electron-v18.0.0-alpha.1-mas-x64.zip": "ced3cce895f7a0c40bf892d42d9d2a5107df52e897eea4178b62d883fdbdf06e",
38
+ "electron-v18.0.0-alpha.1-win32-arm64-pdb.zip": "e864a1ca8cd721eb6f617ca9f2708589f89f15b04e4eae1fb51cc8206df11124",
39
+ "electron-v18.0.0-alpha.1-win32-arm64-symbols.zip": "0b6a04180ab9f1c60fdfb89e2f370471b8e6fc0acc6dbaa44216275285455dc0",
40
+ "electron-v18.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
41
+ "electron-v18.0.0-alpha.1-win32-arm64.zip": "7fbe01a756399eb54cf65eaecc5eae264d8d2fbec3cfbc9f070f95cf5de748a3",
42
+ "electron-v18.0.0-alpha.1-win32-ia32-pdb.zip": "789bfb9eec4c8695a97ae64b20855ad07770d3b0123b43ff2d7969b46b114a45",
43
+ "electron-v18.0.0-alpha.1-win32-ia32-symbols.zip": "89f29a5d23bd5dde86abbc90d0bb40c51216bada30893ebf6b3dd3f0089296ca",
44
+ "electron-v18.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
45
+ "electron-v18.0.0-alpha.1-win32-ia32.zip": "183c879ea70e24a567e1c160e9f5b6fcdd355156d380a055e4e55d434e9cee01",
46
+ "electron-v18.0.0-alpha.1-win32-x64-pdb.zip": "f4bbcfc74508abd0aa9b6a9f74705c6603f60ba064a1def4168dc26bd4bef4ed",
47
+ "electron-v18.0.0-alpha.1-win32-x64-symbols.zip": "023e5f5b4ed4482fb0077f245324a1bb9aed1a8360b2d6fbf98eabe31b746eef",
48
+ "electron-v18.0.0-alpha.1-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
49
+ "electron-v18.0.0-alpha.1-win32-x64.zip": "0c831dc89bb562b807e7fda94f59b8e58bdc7c726a0f858293cc51a32af937e5",
50
+ "electron.d.ts": "842d2aace1ca89410ca682047760f64977350d8a935a407b65727f0c76453cc3",
51
+ "ffmpeg-v18.0.0-alpha.1-darwin-arm64.zip": "0739b99836bb4a3d76f1fdd9a5b853cf0f5274e7f1469e707739fc844ab8b0fb",
52
+ "ffmpeg-v18.0.0-alpha.1-darwin-x64.zip": "8755e967e7f60259af54e648fb0abca528862a2e1160baf1a9c4d5113df93bf0",
53
+ "ffmpeg-v18.0.0-alpha.1-linux-arm64.zip": "87a6f36f5a8be7756232cb988c3504da86ee729d0f4c4cd434cc0119c6379fc2",
54
+ "ffmpeg-v18.0.0-alpha.1-linux-armv7l.zip": "f3d243661455ec55e15c6458600b56d6e86d4dc5fc3774ea8fc82a3921959913",
55
+ "ffmpeg-v18.0.0-alpha.1-linux-ia32.zip": "7fc940a3d6b7426dd9cb0a4ba9a67774b93253374e8a101a56ae1831319c92bc",
56
+ "ffmpeg-v18.0.0-alpha.1-linux-x64.zip": "4fa7a3210e6f20f463dfe31a677945a290ad18063797bd18c1c7b00859d0ee2f",
57
+ "ffmpeg-v18.0.0-alpha.1-mas-arm64.zip": "0739b99836bb4a3d76f1fdd9a5b853cf0f5274e7f1469e707739fc844ab8b0fb",
58
+ "ffmpeg-v18.0.0-alpha.1-mas-x64.zip": "8755e967e7f60259af54e648fb0abca528862a2e1160baf1a9c4d5113df93bf0",
59
+ "ffmpeg-v18.0.0-alpha.1-win32-arm64.zip": "00eeccd662e25d436976b032fe753dadd781d3ee2b00707e4ea911d21b52cc8f",
60
+ "ffmpeg-v18.0.0-alpha.1-win32-ia32.zip": "e1e9e7d2a78b5ed16fa4b641e87223289b717e8123767e1d9b930ccab33bdfc5",
61
+ "ffmpeg-v18.0.0-alpha.1-win32-x64.zip": "f443a9a7ebdaed87b7fc27da5c36ed10939d85c40addf86f7b07d26d54582d60",
62
+ "hunspell_dictionaries.zip": "c5df4fd9a271285d5d66bc7f1a57a73c33fd3306dbc0d200eb784dd16d48b915",
63
+ "libcxx-objects-v18.0.0-alpha.1-linux-arm64.zip": "5b8e5ff402a3dc86db887158033a6c22c750c0ebc397a45cafc7c539e10dab56",
64
+ "libcxx-objects-v18.0.0-alpha.1-linux-armv7l.zip": "40a0215056f874e9358afd2e6c93b404421527cfd2150bdb66659c14b8c56e87",
65
+ "libcxx-objects-v18.0.0-alpha.1-linux-ia32.zip": "71769aebdf58da433d6367684db12c88f4c7ac4d2722cfe0d62463b2ecf00b19",
66
+ "libcxx-objects-v18.0.0-alpha.1-linux-x64.zip": "1468341b9187283ff47706caa1355d67d2c94aea7dd39feb7135f54ea3aaf06c",
67
+ "libcxx_headers.zip": "e601d7026d1c9db5db55c8c55787447d8f819d450567234f4a37cdd47e564056",
68
+ "libcxxabi_headers.zip": "4f5740d38b223e2626dcdbf3dce933a85bd32732e076893b81b3494ab63714f7",
69
+ "mksnapshot-v18.0.0-alpha.1-darwin-arm64.zip": "aec83192ce89a038ed94a5516ff0e7dd5963d11d62c657712ef35ba245d6004e",
70
+ "mksnapshot-v18.0.0-alpha.1-darwin-x64.zip": "ea6cefa19a4baba87dbbcd299bdfac1740454b83e77861b5a6e020e56892609e",
71
+ "mksnapshot-v18.0.0-alpha.1-linux-arm64-x64.zip": "7288c86da8dfecd5cef3425585bb2db1305be5db86010fadc8726671f19c2816",
72
+ "mksnapshot-v18.0.0-alpha.1-linux-armv7l-x64.zip": "92d1eb5038868a813c9f085ae3a22a65b5e014130a4584c8ff18aee4ec8fd561",
73
+ "mksnapshot-v18.0.0-alpha.1-linux-ia32.zip": "adc89298165bcb534e41076f0a242bd14cfe5d8758da260c562929055fa02fac",
74
+ "mksnapshot-v18.0.0-alpha.1-linux-x64.zip": "acef3193bba331b003f88b0d84b495238c3615df2f118381ab887f1079f46115",
75
+ "mksnapshot-v18.0.0-alpha.1-mas-arm64.zip": "4b8b9c6bbeca91cdfc4127e0b49c137dc0dea8da71512cf4a2e2b36de1d498c8",
76
+ "mksnapshot-v18.0.0-alpha.1-mas-x64.zip": "8d979e4d80cee249afa71dda1ede3bd40d7395b0552d0b1c94fc1c5f46fb684f",
77
+ "mksnapshot-v18.0.0-alpha.1-win32-arm64-x64.zip": "607d82c6b09782f2b6a4be2a47e6a17c2a0be36a38b2576ee0e9aee185c2cadd",
78
+ "mksnapshot-v18.0.0-alpha.1-win32-ia32.zip": "ee4bea7961b45ea18c1803679fb4c2aac218f4b92e265acf9c0cb2f0ddc636c3",
79
+ "mksnapshot-v18.0.0-alpha.1-win32-x64.zip": "8b0d77c1d0b2ffe93b66fce5a1ac1ea31549b6b2baa71c5675c0b53dbf9e804c"
80
80
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 17.0.0-beta.7
1
+ // Type definitions for Electron 18.0.0-alpha.1
2
2
  // Project: http://electronjs.org/
3
3
  // Definitions by: The Electron Team <https://github.com/electron/electron>
4
4
  // Definitions: https://github.com/electron/electron-typescript-definitions
@@ -314,6 +314,35 @@ declare namespace Electron {
314
314
  once(event: 'did-become-active', listener: (event: Event) => void): this;
315
315
  addListener(event: 'did-become-active', listener: (event: Event) => void): this;
316
316
  removeListener(event: 'did-become-active', listener: (event: Event) => void): this;
317
+ /**
318
+ * This event will be emitted within the second instance during the call to
319
+ * `app.requestSingleInstanceLock()`, when the first instance calls the
320
+ * `ackCallback` provided by the `second-instance` event handler.
321
+ */
322
+ on(event: 'first-instance-ack', listener: (event: Event,
323
+ /**
324
+ * A JSON object of additional data passed from the first instance, in response to
325
+ * the first instance's `second-instance` event.
326
+ */
327
+ additionalData: unknown) => void): this;
328
+ once(event: 'first-instance-ack', listener: (event: Event,
329
+ /**
330
+ * A JSON object of additional data passed from the first instance, in response to
331
+ * the first instance's `second-instance` event.
332
+ */
333
+ additionalData: unknown) => void): this;
334
+ addListener(event: 'first-instance-ack', listener: (event: Event,
335
+ /**
336
+ * A JSON object of additional data passed from the first instance, in response to
337
+ * the first instance's `second-instance` event.
338
+ */
339
+ additionalData: unknown) => void): this;
340
+ removeListener(event: 'first-instance-ack', listener: (event: Event,
341
+ /**
342
+ * A JSON object of additional data passed from the first instance, in response to
343
+ * the first instance's `second-instance` event.
344
+ */
345
+ additionalData: unknown) => void): this;
317
346
  /**
318
347
  * Emitted whenever there is a GPU info update.
319
348
  */
@@ -499,6 +528,19 @@ declare namespace Electron {
499
528
  * **Note:** If the second instance is started by a different user than the first,
500
529
  * the `argv` array will not include the arguments.
501
530
  *
531
+ * **Note:** `ackCallback` allows the user to send data back to the second instance
532
+ * during the `app.requestSingleInstanceLock()` flow. This callback can be used for
533
+ * cases where the second instance needs to obtain additional information from the
534
+ * first instance before quitting.
535
+ *
536
+ * Currently, the limit on the message size is kMaxMessageLength, or around 32kB.
537
+ * To be safe, keep the amount of data passed to 31kB at most.
538
+ *
539
+ * In order to call the callback, `event.preventDefault()` must be called, first.
540
+ * If the callback is not called in either case, `null` will be sent back. If
541
+ * `event.preventDefault()` is not called, but `ackCallback` is called by the user
542
+ * in the event, then the behaviour is undefined.
543
+ *
502
544
  * This event is guaranteed to be emitted after the `ready` event of `app` gets
503
545
  * emitted.
504
546
  *
@@ -517,7 +559,11 @@ declare namespace Electron {
517
559
  /**
518
560
  * A JSON object of additional data passed from the second instance
519
561
  */
520
- additionalData: unknown) => void): this;
562
+ additionalData: unknown,
563
+ /**
564
+ * A function that can be used to send data back to the second instance
565
+ */
566
+ ackCallback: unknown) => void): this;
521
567
  once(event: 'second-instance', listener: (event: Event,
522
568
  /**
523
569
  * An array of the second instance's command line arguments
@@ -530,7 +576,11 @@ declare namespace Electron {
530
576
  /**
531
577
  * A JSON object of additional data passed from the second instance
532
578
  */
533
- additionalData: unknown) => void): this;
579
+ additionalData: unknown,
580
+ /**
581
+ * A function that can be used to send data back to the second instance
582
+ */
583
+ ackCallback: unknown) => void): this;
534
584
  addListener(event: 'second-instance', listener: (event: Event,
535
585
  /**
536
586
  * An array of the second instance's command line arguments
@@ -543,7 +593,11 @@ declare namespace Electron {
543
593
  /**
544
594
  * A JSON object of additional data passed from the second instance
545
595
  */
546
- additionalData: unknown) => void): this;
596
+ additionalData: unknown,
597
+ /**
598
+ * A function that can be used to send data back to the second instance
599
+ */
600
+ ackCallback: unknown) => void): this;
547
601
  removeListener(event: 'second-instance', listener: (event: Event,
548
602
  /**
549
603
  * An array of the second instance's command line arguments
@@ -556,7 +610,11 @@ declare namespace Electron {
556
610
  /**
557
611
  * A JSON object of additional data passed from the second instance
558
612
  */
559
- additionalData: unknown) => void): this;
613
+ additionalData: unknown,
614
+ /**
615
+ * A function that can be used to send data back to the second instance
616
+ */
617
+ ackCallback: unknown) => void): this;
560
618
  /**
561
619
  * Emitted when a client certificate is requested.
562
620
  *
@@ -1116,10 +1174,6 @@ declare namespace Electron {
1116
1174
  */
1117
1175
  removeAsDefaultProtocolClient(protocol: string, path?: string, args?: string[]): boolean;
1118
1176
  /**
1119
- * * `additionalData` unknown (optional) - A JSON object containing additional data
1120
- * to send to the first instance.
1121
- *
1122
- *
1123
1177
  * The return value of this method indicates whether or not this instance of your
1124
1178
  * application successfully obtained the lock. If it failed to obtain the lock,
1125
1179
  * you can assume that another instance of your application is already running with
@@ -1139,7 +1193,7 @@ declare namespace Electron {
1139
1193
  * An example of activating the window of primary instance when a second instance
1140
1194
  * starts:
1141
1195
  */
1142
- requestSingleInstanceLock(): boolean;
1196
+ requestSingleInstanceLock(additionalData?: Record<any, any>): boolean;
1143
1197
  /**
1144
1198
  * Marks the current Handoff user activity as inactive without invalidating it.
1145
1199
  *
@@ -3040,44 +3094,6 @@ declare namespace Electron {
3040
3094
  readonly webContents: WebContents;
3041
3095
  }
3042
3096
 
3043
- class BrowserWindowProxy {
3044
-
3045
- // Docs: https://electronjs.org/docs/api/browser-window-proxy
3046
-
3047
- /**
3048
- * Removes focus from the child window.
3049
- */
3050
- blur(): void;
3051
- /**
3052
- * Forcefully closes the child window without calling its unload event.
3053
- */
3054
- close(): void;
3055
- /**
3056
- * Evaluates the code in the child window.
3057
- */
3058
- eval(code: string): void;
3059
- /**
3060
- * Focuses the child window (brings the window to front).
3061
- */
3062
- focus(): void;
3063
- /**
3064
- * Sends a message to the child window with the specified origin or `*` for no
3065
- * origin preference.
3066
- *
3067
- * In addition to these methods, the child window implements `window.opener` object
3068
- * with no properties and a single method.
3069
- */
3070
- postMessage(message: any, targetOrigin: string): void;
3071
- /**
3072
- * Invokes the print dialog on the child window.
3073
- */
3074
- print(): void;
3075
- /**
3076
- * A `boolean` that is set to true after the child window gets closed.
3077
- */
3078
- closed: boolean;
3079
- }
3080
-
3081
3097
  interface Certificate {
3082
3098
 
3083
3099
  // Docs: https://electronjs.org/docs/api/structures/certificate
@@ -4342,8 +4358,8 @@ declare namespace Electron {
4342
4358
  * However, the request remains active until either the application becomes active
4343
4359
  * or the request is canceled.
4344
4360
  *
4345
- * **Nota Bene:** This method can only be used while the app is not focused; when
4346
- * the app is focused it will return -1.
4361
+ * **Note:** This method can only be used while the app is not focused; when the
4362
+ * app is focused it will return -1.
4347
4363
  *
4348
4364
  * @platform darwin
4349
4365
  */
@@ -4930,6 +4946,14 @@ declare namespace Electron {
4930
4946
  * An `Integer` indicating the HTTP protocol minor version number.
4931
4947
  */
4932
4948
  httpVersionMinor: number;
4949
+ /**
4950
+ * A `string[]` containing the raw HTTP response headers exactly as they were
4951
+ * received. The keys and values are in the same list. It is not a list of tuples.
4952
+ * So, the even-numbered offsets are key values, and the odd-numbered offsets are
4953
+ * the associated values. Header names are not lowercased, and duplicates are not
4954
+ * merged.
4955
+ */
4956
+ rawHeaders: string[];
4933
4957
  /**
4934
4958
  * An `Integer` indicating the HTTP response status code.
4935
4959
  */
@@ -6236,6 +6260,34 @@ declare namespace Electron {
6236
6260
  userText?: string;
6237
6261
  }
6238
6262
 
6263
+ interface PaymentDiscount {
6264
+
6265
+ // Docs: https://electronjs.org/docs/api/structures/payment-discount
6266
+
6267
+ /**
6268
+ * A string used to uniquely identify a discount offer for a product.
6269
+ */
6270
+ identifier: string;
6271
+ /**
6272
+ * A string that identifies the key used to generate the signature.
6273
+ */
6274
+ keyIdentifier: string;
6275
+ /**
6276
+ * A universally unique ID (UUID) value that you define.
6277
+ */
6278
+ nonce: string;
6279
+ /**
6280
+ * A UTF-8 string representing the properties of a specific discount offer,
6281
+ * cryptographically signed.
6282
+ */
6283
+ signature: string;
6284
+ /**
6285
+ * The date and time of the signature's creation in milliseconds, formatted in Unix
6286
+ * epoch time.
6287
+ */
6288
+ timestamp: number;
6289
+ }
6290
+
6239
6291
  interface Point {
6240
6292
 
6241
6293
  // Docs: https://electronjs.org/docs/api/structures/point
@@ -6528,10 +6580,27 @@ declare namespace Electron {
6528
6580
  * 3 character code presenting a product's currency based on the ISO 4217 standard.
6529
6581
  */
6530
6582
  currencyCode: string;
6583
+ /**
6584
+ * An array of discount offers
6585
+ */
6586
+ discounts: ProductDiscount[];
6587
+ /**
6588
+ * The total size of the content, in bytes.
6589
+ */
6590
+ downloadContentLengths: number[];
6591
+ /**
6592
+ * A string that identifies the version of the content.
6593
+ */
6594
+ downloadContentVersion: string;
6531
6595
  /**
6532
6596
  * The locale formatted price of the product.
6533
6597
  */
6534
6598
  formattedPrice: string;
6599
+ /**
6600
+ * The object containing introductory price information for the product. available
6601
+ * for the product.
6602
+ */
6603
+ introductoryPrice?: ProductDiscount;
6535
6604
  /**
6536
6605
  * A boolean value that indicates whether the App Store has downloadable content
6537
6606
  * for this product. `true` if at least one file has been associated with the
@@ -6554,6 +6623,65 @@ declare namespace Electron {
6554
6623
  * The string that identifies the product to the Apple App Store.
6555
6624
  */
6556
6625
  productIdentifier: string;
6626
+ /**
6627
+ * The identifier of the subscription group to which the subscription belongs.
6628
+ */
6629
+ subscriptionGroupIdentifier: string;
6630
+ /**
6631
+ * The period details for products that are subscriptions.
6632
+ */
6633
+ subscriptionPeriod?: ProductSubscriptionPeriod;
6634
+ }
6635
+
6636
+ interface ProductDiscount {
6637
+
6638
+ // Docs: https://electronjs.org/docs/api/structures/product-discount
6639
+
6640
+ /**
6641
+ * A string used to uniquely identify a discount offer for a product.
6642
+ */
6643
+ identifier: string;
6644
+ /**
6645
+ * An integer that indicates the number of periods the product discount is
6646
+ * available.
6647
+ */
6648
+ numberOfPeriods: number;
6649
+ /**
6650
+ * The payment mode for this product discount. Can be `payAsYouGo`, `payUpFront`,
6651
+ * or `freeTrial`.
6652
+ */
6653
+ paymentMode: ('payAsYouGo' | 'payUpFront' | 'freeTrial');
6654
+ /**
6655
+ * The discount price of the product in the local currency.
6656
+ */
6657
+ price: number;
6658
+ /**
6659
+ * The locale used to format the discount price of the product.
6660
+ */
6661
+ priceLocale: string;
6662
+ /**
6663
+ * An object that defines the period for the product discount.
6664
+ */
6665
+ subscriptionPeriod?: ProductSubscriptionPeriod;
6666
+ /**
6667
+ * The type of discount offer.
6668
+ */
6669
+ type: number;
6670
+ }
6671
+
6672
+ interface ProductSubscriptionPeriod {
6673
+
6674
+ // Docs: https://electronjs.org/docs/api/structures/product-subscription-period
6675
+
6676
+ /**
6677
+ * The number of units per subscription period.
6678
+ */
6679
+ numberOfUnits: number;
6680
+ /**
6681
+ * The increment of time that a subscription period is specified in. Can be `day`,
6682
+ * `week`, `month`, `year`.
6683
+ */
6684
+ unit: ('day' | 'week' | 'month' | 'year');
6557
6685
  }
6558
6686
 
6559
6687
  interface Protocol {
@@ -9466,6 +9594,13 @@ declare namespace Electron {
9466
9594
  * Input properties.
9467
9595
  */
9468
9596
  input: Input) => void): this;
9597
+ /**
9598
+ * Emitted when the `WebContents` loses focus.
9599
+ */
9600
+ on(event: 'blur', listener: Function): this;
9601
+ once(event: 'blur', listener: Function): this;
9602
+ addListener(event: 'blur', listener: Function): this;
9603
+ removeListener(event: 'blur', listener: Function): this;
9469
9604
  /**
9470
9605
  * Emitted when failed to verify the `certificate` for `url`.
9471
9606
  *
@@ -10082,6 +10217,13 @@ declare namespace Electron {
10082
10217
  once(event: 'enter-html-full-screen', listener: Function): this;
10083
10218
  addListener(event: 'enter-html-full-screen', listener: Function): this;
10084
10219
  removeListener(event: 'enter-html-full-screen', listener: Function): this;
10220
+ /**
10221
+ * Emitted when the `WebContents` gains focus.
10222
+ */
10223
+ on(event: 'focus', listener: Function): this;
10224
+ once(event: 'focus', listener: Function): this;
10225
+ addListener(event: 'focus', listener: Function): this;
10226
+ removeListener(event: 'focus', listener: Function): this;
10085
10227
  /**
10086
10228
  * Emitted when a result is available for [`webContents.findInPage`] request.
10087
10229
  */
@@ -10611,7 +10753,7 @@ declare namespace Electron {
10611
10753
  addListener(event: 'will-prevent-unload', listener: (event: Event) => void): this;
10612
10754
  removeListener(event: 'will-prevent-unload', listener: (event: Event) => void): this;
10613
10755
  /**
10614
- * Emitted as a server side redirect occurs during navigation. For example a 302
10756
+ * Emitted when a server side redirect occurs during navigation. For example a 302
10615
10757
  * redirect.
10616
10758
  *
10617
10759
  * This event will be emitted after `did-start-navigation` and always before the
@@ -12864,7 +13006,7 @@ declare namespace Electron {
12864
13006
  */
12865
13007
  webPreferences?: WebPreferences;
12866
13008
  /**
12867
- * When using a frameless window in conjuction with
13009
+ * When using a frameless window in conjunction with
12868
13010
  * `win.setWindowButtonVisibility(true)` on macOS or using a `titleBarStyle` so
12869
13011
  * that the standard window controls ("traffic lights" on macOS) are visible, this
12870
13012
  * property enables the Window Controls Overlay JavaScript APIs and CSS Environment
@@ -13936,13 +14078,15 @@ declare namespace Electron {
13936
14078
  * `selectAll`, `reload`, `forceReload`, `toggleDevTools`, `resetZoom`, `zoomIn`,
13937
14079
  * `zoomOut`, `toggleSpellChecker`, `togglefullscreen`, `window`, `minimize`,
13938
14080
  * `close`, `help`, `about`, `services`, `hide`, `hideOthers`, `unhide`, `quit`,
13939
- * `startSpeaking`, `stopSpeaking`, `zoom`, `front`, `appMenu`, `fileMenu`,
13940
- * `editMenu`, `viewMenu`, `shareMenu`, `recentDocuments`, `toggleTabBar`,
13941
- * `selectNextTab`, `selectPreviousTab`, `mergeAllWindows`, `clearRecentDocuments`,
13942
- * `moveTabToNewWindow` or `windowMenu` - Define the action of the menu item, when
13943
- * specified the `click` property will be ignored. See roles.
14081
+ * 'showSubstitutions', 'toggleSmartQuotes', 'toggleSmartDashes',
14082
+ * 'toggleTextReplacement', `startSpeaking`, `stopSpeaking`, `zoom`, `front`,
14083
+ * `appMenu`, `fileMenu`, `editMenu`, `viewMenu`, `shareMenu`, `recentDocuments`,
14084
+ * `toggleTabBar`, `selectNextTab`, `selectPreviousTab`, `mergeAllWindows`,
14085
+ * `clearRecentDocuments`, `moveTabToNewWindow` or `windowMenu` - Define the action
14086
+ * of the menu item, when specified the `click` property will be ignored. See
14087
+ * roles.
13944
14088
  */
13945
- role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
14089
+ role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'showSubstitutions' | 'toggleSmartQuotes' | 'toggleSmartDashes' | 'toggleTextReplacement' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
13946
14090
  /**
13947
14091
  * Can be `normal`, `separator`, `submenu`, `checkbox` or `radio`.
13948
14092
  */
@@ -14368,6 +14512,7 @@ declare namespace Electron {
14368
14512
  resourceType: ('mainFrame' | 'subFrame' | 'stylesheet' | 'script' | 'image' | 'font' | 'object' | 'xhr' | 'ping' | 'cspReport' | 'media' | 'webSocket' | 'other');
14369
14513
  referrer: string;
14370
14514
  timestamp: number;
14515
+ uploadData?: UploadData[];
14371
14516
  requestHeaders: Record<string, string>;
14372
14517
  }
14373
14518
 
@@ -14631,6 +14776,14 @@ declare namespace Electron {
14631
14776
  * The quantity purchased.
14632
14777
  */
14633
14778
  quantity: number;
14779
+ /**
14780
+ * An opaque identifier for the user’s account on your system.
14781
+ */
14782
+ applicationUsername: string;
14783
+ /**
14784
+ * The details of the discount offer to apply to the payment.
14785
+ */
14786
+ paymentDiscount?: PaymentDiscount;
14634
14787
  }
14635
14788
 
14636
14789
  interface PermissionCheckHandlerHandlerDetails {
@@ -15859,6 +16012,13 @@ declare namespace Electron {
15859
16012
  * @platform win32
15860
16013
  */
15861
16014
  symbolColor?: string;
16015
+ /**
16016
+ * The height of the title bar and Window Controls Overlay in pixels. Default is
16017
+ * system height.
16018
+ *
16019
+ * @platform darwin,win32
16020
+ */
16021
+ height?: number;
15862
16022
  }
15863
16023
 
15864
16024
  interface WebPreferences {
@@ -16018,12 +16178,6 @@ declare namespace Electron {
16018
16178
  * tab.
16019
16179
  */
16020
16180
  contextIsolation?: boolean;
16021
- /**
16022
- * Whether to use native `window.open()`. Defaults to `true`. Child windows will
16023
- * always have node integration disabled unless `nodeIntegrationInSubFrames` is
16024
- * true.
16025
- */
16026
- nativeWindowOpen?: boolean;
16027
16181
  /**
16028
16182
  * Whether to enable the `<webview>` tag. Defaults to `false`. **Note:** The
16029
16183
  * `preload` script configured for the `<webview>` will have node integration
@@ -16358,12 +16512,15 @@ declare namespace Electron {
16358
16512
  type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
16359
16513
  type NotificationAction = Electron.NotificationAction;
16360
16514
  type NotificationResponse = Electron.NotificationResponse;
16515
+ type PaymentDiscount = Electron.PaymentDiscount;
16361
16516
  type Point = Electron.Point;
16362
16517
  type PostBody = Electron.PostBody;
16363
16518
  type PrinterInfo = Electron.PrinterInfo;
16364
16519
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
16365
16520
  type ProcessMetric = Electron.ProcessMetric;
16366
16521
  type Product = Electron.Product;
16522
+ type ProductDiscount = Electron.ProductDiscount;
16523
+ type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
16367
16524
  type ProtocolRequest = Electron.ProtocolRequest;
16368
16525
  type ProtocolResponse = Electron.ProtocolResponse;
16369
16526
  type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
@@ -16647,12 +16804,15 @@ declare namespace Electron {
16647
16804
  type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
16648
16805
  type NotificationAction = Electron.NotificationAction;
16649
16806
  type NotificationResponse = Electron.NotificationResponse;
16807
+ type PaymentDiscount = Electron.PaymentDiscount;
16650
16808
  type Point = Electron.Point;
16651
16809
  type PostBody = Electron.PostBody;
16652
16810
  type PrinterInfo = Electron.PrinterInfo;
16653
16811
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
16654
16812
  type ProcessMetric = Electron.ProcessMetric;
16655
16813
  type Product = Electron.Product;
16814
+ type ProductDiscount = Electron.ProductDiscount;
16815
+ type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
16656
16816
  type ProtocolRequest = Electron.ProtocolRequest;
16657
16817
  type ProtocolResponse = Electron.ProtocolResponse;
16658
16818
  type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
@@ -16680,7 +16840,6 @@ declare namespace Electron {
16680
16840
  }
16681
16841
 
16682
16842
  namespace Renderer {
16683
- type BrowserWindowProxy = Electron.BrowserWindowProxy;
16684
16843
  const contextBridge: ContextBridge;
16685
16844
  type ContextBridge = Electron.ContextBridge;
16686
16845
  const ipcRenderer: IpcRenderer;
@@ -16874,12 +17033,15 @@ declare namespace Electron {
16874
17033
  type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
16875
17034
  type NotificationAction = Electron.NotificationAction;
16876
17035
  type NotificationResponse = Electron.NotificationResponse;
17036
+ type PaymentDiscount = Electron.PaymentDiscount;
16877
17037
  type Point = Electron.Point;
16878
17038
  type PostBody = Electron.PostBody;
16879
17039
  type PrinterInfo = Electron.PrinterInfo;
16880
17040
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
16881
17041
  type ProcessMetric = Electron.ProcessMetric;
16882
17042
  type Product = Electron.Product;
17043
+ type ProductDiscount = Electron.ProductDiscount;
17044
+ type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
16883
17045
  type ProtocolRequest = Electron.ProtocolRequest;
16884
17046
  type ProtocolResponse = Electron.ProtocolResponse;
16885
17047
  type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
@@ -16913,7 +17075,6 @@ declare namespace Electron {
16913
17075
  type AutoUpdater = Electron.AutoUpdater;
16914
17076
  class BrowserView extends Electron.BrowserView {}
16915
17077
  class BrowserWindow extends Electron.BrowserWindow {}
16916
- type BrowserWindowProxy = Electron.BrowserWindowProxy;
16917
17078
  type ClientRequest = Electron.ClientRequest;
16918
17079
  const clipboard: Clipboard;
16919
17080
  type Clipboard = Electron.Clipboard;
@@ -17178,12 +17339,15 @@ declare namespace Electron {
17178
17339
  type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
17179
17340
  type NotificationAction = Electron.NotificationAction;
17180
17341
  type NotificationResponse = Electron.NotificationResponse;
17342
+ type PaymentDiscount = Electron.PaymentDiscount;
17181
17343
  type Point = Electron.Point;
17182
17344
  type PostBody = Electron.PostBody;
17183
17345
  type PrinterInfo = Electron.PrinterInfo;
17184
17346
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
17185
17347
  type ProcessMetric = Electron.ProcessMetric;
17186
17348
  type Product = Electron.Product;
17349
+ type ProductDiscount = Electron.ProductDiscount;
17350
+ type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
17187
17351
  type ProtocolRequest = Electron.ProtocolRequest;
17188
17352
  type ProtocolResponse = Electron.ProtocolResponse;
17189
17353
  type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "node": ">= 8.6"
17
17
  },
18
18
  "name": "electron",
19
- "version": "17.0.0-beta.7",
19
+ "version": "18.0.0-alpha.1",
20
20
  "repository": "https://github.com/electron/electron",
21
21
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
22
22
  "license": "MIT",