electron 44.0.0-alpha.9 → 44.0.0-beta.2

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.
Files changed (3) hide show
  1. package/checksums.json +61 -61
  2. package/electron.d.ts +123 -129
  3. package/package.json +1 -1
package/checksums.json CHANGED
@@ -1,63 +1,63 @@
1
1
  {
2
- "chromedriver-v44.0.0-alpha.9-darwin-arm64.zip": "999ef60a4caa1096639a30d8b1eb738122ec54683a0146f4f9f50d419593d430",
3
- "chromedriver-v44.0.0-alpha.9-darwin-x64.zip": "154b2a7c0752eb931bf58faf8755447240b508cf488f2a95fd5aa244cd6504c9",
4
- "chromedriver-v44.0.0-alpha.9-linux-arm64.zip": "10d67c79867cd4b5a28720bdcd26f2c28e9e0eb2e7d3a4e8869b8f559fb7d71b",
5
- "chromedriver-v44.0.0-alpha.9-linux-x64.zip": "9e1d441b12e5430e786701bda3abaa38c3ad900b72de5cd39c702e63c2651559",
6
- "chromedriver-v44.0.0-alpha.9-mas-arm64.zip": "87834f4be2827500f0bbdcd3e9507c4853da0ca156c5efda561558bb0278698d",
7
- "chromedriver-v44.0.0-alpha.9-mas-x64.zip": "57e3d8f29af662e464d09ccb1a22ae4353bc4d8f48883c4553f3ca7fc9f3c2b8",
8
- "chromedriver-v44.0.0-alpha.9-win32-arm64.zip": "7809f33a63fd8c7012886a08b150036092850cba644ffdc482d29340c19b4d13",
9
- "chromedriver-v44.0.0-alpha.9-win32-x64.zip": "412b9d5a9c9c0c285bfcdd22c9cc2038cc350a164235bc1043f6f28977b0336c",
10
- "electron-api.json": "462c6c4cabb001fc7b0ba34d910afa99a411a3d7c1ef5d45f679778ede713d07",
11
- "electron-v44.0.0-alpha.9-darwin-arm64-dsym-snapshot.zip": "beb262da2d9d7e4adb7eb37ffba3367838a030757550faa0bbdf3c4067715e47",
12
- "electron-v44.0.0-alpha.9-darwin-arm64-dsym.tar.xz": "18d66bb26cf3e2e077544290f8875844c50034ecba7a68043215da9829095321",
13
- "electron-v44.0.0-alpha.9-darwin-arm64-symbols.zip": "eefba10fe646dfec88dcc125d6386029fb498a80b2a8962efcfe8d32da7450ed",
14
- "electron-v44.0.0-alpha.9-darwin-arm64.zip": "50c93a33d66a195f88935d765a4b08f00217f70818f1d804657e788e03ea8fdf",
15
- "electron-v44.0.0-alpha.9-darwin-x64-dsym-snapshot.zip": "10e03de1e46605f229655337d7b2964bd0de01c08402c0b89e539204b7809f35",
16
- "electron-v44.0.0-alpha.9-darwin-x64-dsym.tar.xz": "93966500377b0294ba563e53a66776cc67b24ee0a432b16e7556ee9efd6bef08",
17
- "electron-v44.0.0-alpha.9-darwin-x64-symbols.zip": "2f7a1eb7aefd346560c48f6a7f9e3610ed5c2efad9f37aa4ed63781f6409c01f",
18
- "electron-v44.0.0-alpha.9-darwin-x64.zip": "2b2f1fcee7950518364e7b6a1843136fdd416d4f81f6872547d7e070301ca391",
19
- "electron-v44.0.0-alpha.9-linux-arm64-debug.zip": "1cc4f87b5d72b66bfadbd462130d537cb350d516f30a1a410db5887d7b61fdf1",
20
- "electron-v44.0.0-alpha.9-linux-arm64-symbols.zip": "14bc9b83af0986c3559dfefb2664aae96466c35f3aae09d6cd266f18863e3926",
21
- "electron-v44.0.0-alpha.9-linux-arm64.zip": "e4f5464911cdfa05df08319e4a8d2e84ecd3d855bf94f8bab04ae8ba41bb3b2c",
22
- "electron-v44.0.0-alpha.9-linux-x64-debug.zip": "40034cc2742c64aeaffc8c3194dc70a49480cb164d34f4e3ae5948082726d51f",
23
- "electron-v44.0.0-alpha.9-linux-x64-symbols.zip": "11d95acc019972e2e1aa09946ac21dac9986e5836f3f1a15c75d454466a3ffb6",
24
- "electron-v44.0.0-alpha.9-linux-x64.zip": "4412ea0299f6c319ca318fd6383f32fea396bf53e31d00f1a13aa0319dfa3018",
25
- "electron-v44.0.0-alpha.9-mas-arm64-dsym-snapshot.zip": "d9a013f495ef0356e4e5724c63c9f862d00f187a3f56792f838e3f287bc7e728",
26
- "electron-v44.0.0-alpha.9-mas-arm64-dsym.tar.xz": "b213191ccd6bddfb42bb48a7501b29e7bf71f86c0c8be099ae93cb36d1a0c973",
27
- "electron-v44.0.0-alpha.9-mas-arm64-symbols.zip": "8d475f7b60552c109e0d021534a5b0c0d4b15d56d84f2be81067c4869c0752ef",
28
- "electron-v44.0.0-alpha.9-mas-arm64.zip": "adabd76e5f07103a71d4fa32383094296bb8bf24ebf82f6c63f6fd942463f8e6",
29
- "electron-v44.0.0-alpha.9-mas-x64-dsym-snapshot.zip": "1a15b3fdf0a65a3fb872cd81e19f706ce8f059a40857cf524ef733c85f22ccfe",
30
- "electron-v44.0.0-alpha.9-mas-x64-dsym.tar.xz": "be150d0b762c167c1cd58ddcfda225103750386114fa955eb2cacb416719eaa4",
31
- "electron-v44.0.0-alpha.9-mas-x64-symbols.zip": "a990b9ee63d3b6e45c4073049dd89750cf578fbc9e954ff09b0f03938da8ba7c",
32
- "electron-v44.0.0-alpha.9-mas-x64.zip": "ecdde68a8250c4c48928229668e68b0553ddbd9afb232b9e5f39a5a1c97827ed",
33
- "electron-v44.0.0-alpha.9-win32-arm64-pdb.zip": "abb9ce2307d97d8e292eaee1fec2d83f4622781fde39130cb6c72aff9899ef3a",
34
- "electron-v44.0.0-alpha.9-win32-arm64-symbols.zip": "97b2e0e543c8e658929e7d033a49ce1cc8bb140c7f5ee2e2ba830ec8588e5895",
35
- "electron-v44.0.0-alpha.9-win32-arm64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
36
- "electron-v44.0.0-alpha.9-win32-arm64.zip": "1d0bf62b42250eb1431f0e9e8012f317330d3a684ae0e21895e25b8c9a2d26b5",
37
- "electron-v44.0.0-alpha.9-win32-x64-pdb.zip": "7aead56ca16d6f25b7f4d8283c3e6c0153ecbaed357b8f786f539a81a5319a24",
38
- "electron-v44.0.0-alpha.9-win32-x64-symbols.zip": "a9be9d9ad90f07d49218dc041efb73fd0fc7e60fc5a63f164ff17a0287e52ea5",
39
- "electron-v44.0.0-alpha.9-win32-x64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
40
- "electron-v44.0.0-alpha.9-win32-x64.zip": "0f2ba76bbd3e4dc7d4b8fe1f19cc3291341958ab2ac284791e8c4e1a479788ed",
41
- "electron.d.ts": "e6fec956a443bb75b0bc1403ba4c1c983d02ef93ccce7e40755bf09b2dc1df79",
42
- "ffmpeg-v44.0.0-alpha.9-darwin-arm64.zip": "5456a9c25771c262937196cc9d89c8711f4e10a0fa57249b574d5b2aa9bd091f",
43
- "ffmpeg-v44.0.0-alpha.9-darwin-x64.zip": "2e546a194c8725f374e9ba45a63ec80c29aaf488b804472c473032f02b901baf",
44
- "ffmpeg-v44.0.0-alpha.9-linux-arm64.zip": "83cbb9e1933f6765d1f417a431073cddbddc324a25d72cdf1ebe6214fca9eddd",
45
- "ffmpeg-v44.0.0-alpha.9-linux-x64.zip": "8a1d6aff81cb03cdc661e562ded1908399c6af19c4625f3190964f49e1975702",
46
- "ffmpeg-v44.0.0-alpha.9-mas-arm64.zip": "b92d75d77b910dbf00440ec2a1d27bc9240701a9c501495eacd957431882d45b",
47
- "ffmpeg-v44.0.0-alpha.9-mas-x64.zip": "4e3c220c752680a62b738d88292af91cefb7e3b25c2324f97807dc7791b2047e",
48
- "ffmpeg-v44.0.0-alpha.9-win32-arm64.zip": "ed6090aba53402224d95ba17d2a5a71eae34fb68b346ca24a8d1183689880701",
49
- "ffmpeg-v44.0.0-alpha.9-win32-x64.zip": "a114c8daeccf4c81421023c9b18a2095e4139f6b43a998ade8469bdc8b0fb214",
50
- "hunspell_dictionaries.zip": "c9c9ac19b39f2bdaf4c4e5ec04eca4d939438f7825d94a156bc23184028c9b33",
51
- "libcxx-objects-v44.0.0-alpha.9-linux-arm64.zip": "5c249370a1de392f3f6ca34449e89dd11e0178badb3663f6be65412dcd79f9a1",
52
- "libcxx-objects-v44.0.0-alpha.9-linux-x64.zip": "343b985a363b0ae877b13520a8198b4559820c9ee24c1497f0cce8a4e051172c",
53
- "libcxx_headers.zip": "4b0f983850e3fa8b8cc832c038dbfd2660e8882f49aae326ad6371a4af29d7e9",
54
- "libcxxabi_headers.zip": "0ccd65db7b9278d87d7de7456c8936fc907f1601fd9f915436e59f84d7e602d5",
55
- "mksnapshot-v44.0.0-alpha.9-darwin-arm64.zip": "07607dcff7d3095c49bb3ab281f2afe11ecac27f312b4d5c7b15a5d865d43b59",
56
- "mksnapshot-v44.0.0-alpha.9-darwin-x64.zip": "585d322c8683909e882a3702e5d141f2ecc835e5099c0ab7bd0fd06f42e02ce8",
57
- "mksnapshot-v44.0.0-alpha.9-linux-arm64-x64.zip": "56833aeafdb3c0d80871a0842171700b11f030fcec9bc681a4db5b6b94ee07cb",
58
- "mksnapshot-v44.0.0-alpha.9-linux-x64.zip": "85e0855859200c09a80f0451a43c5c0a66bfe14bca4e53b8a2d18c20940849c7",
59
- "mksnapshot-v44.0.0-alpha.9-mas-arm64.zip": "cad194beb2a4f63c92d812442db11a94ed1b15e5032a210373c62b729057c9f6",
60
- "mksnapshot-v44.0.0-alpha.9-mas-x64.zip": "4ec3001f1fbd92ca9635036220473b8f6d5a17436b69e15369e11e7ff7598727",
61
- "mksnapshot-v44.0.0-alpha.9-win32-arm64-x64.zip": "bf5a3d57613eb1ede19395509c199a1dce379ffcaa18d299e5dfede764ab6172",
62
- "mksnapshot-v44.0.0-alpha.9-win32-x64.zip": "d00ec350858fd2ce17900f54c4d0d3e7440c104f1f9b85cbcf8bf52ffa95b3e0"
2
+ "chromedriver-v44.0.0-beta.2-darwin-arm64.zip": "851a53308a5cc0287f4be90b4a18b38bed5c6940366b1cd6e2682a9c10dd0b61",
3
+ "chromedriver-v44.0.0-beta.2-darwin-x64.zip": "a43e917e53bd9b3f7b0e977d2d78824a2b89329f54d6f560281a3f752d44e585",
4
+ "chromedriver-v44.0.0-beta.2-linux-arm64.zip": "ac5b0a7e56beba8db10288a0fc6a9b4e056503fd825ac2aec10a0cdf0d28d25a",
5
+ "chromedriver-v44.0.0-beta.2-linux-x64.zip": "4697e493d5506b9dbd2de99425be825f01aa4c13b6dc133a93d73daaf76184a3",
6
+ "chromedriver-v44.0.0-beta.2-mas-arm64.zip": "9f4f17345d3f86dab56d8b42d35bde6d078d98c3abb6abc6581c14dab0b8940d",
7
+ "chromedriver-v44.0.0-beta.2-mas-x64.zip": "0738017ad111f76f56d19483160145b652d25903f2d9dae2aa0b31f9bf7bb91d",
8
+ "chromedriver-v44.0.0-beta.2-win32-arm64.zip": "9edc233f7ecd56652147e2be10b19b0bdb2d5043c6dab5c0a16364f23dd5e516",
9
+ "chromedriver-v44.0.0-beta.2-win32-x64.zip": "2bdd3f2ad2d374e39d0d31a2b62dc4ad6601f93f2715c60b8e373eaff2faf51f",
10
+ "electron-api.json": "29a3b65ade4721b3944141e7cc4ba96a14df8797318c6b23b136a2c90cbb4fa2",
11
+ "electron-v44.0.0-beta.2-darwin-arm64-dsym-snapshot.zip": "ca6e57a7b1f647259f73b5ffb55f1c644eff94b417bb650c896cc2163e43d3ab",
12
+ "electron-v44.0.0-beta.2-darwin-arm64-dsym.tar.xz": "e66c7b697f03aca610ff39f7cc04edcd7673aef314a25ff376cb803705dffd27",
13
+ "electron-v44.0.0-beta.2-darwin-arm64-symbols.zip": "48e4f35dbad057bd5e10a89e312212fefa11f7b7bae08be0a0ff0deefd919cc2",
14
+ "electron-v44.0.0-beta.2-darwin-arm64.zip": "4397bd75e53d0e910e75c9537ba32990a48dd7b9c808c1ba57c26a069cf11058",
15
+ "electron-v44.0.0-beta.2-darwin-x64-dsym-snapshot.zip": "a8dc56e4b070ffd5f932628610b7789e1e5b84f291b9007516df062b98ea27d7",
16
+ "electron-v44.0.0-beta.2-darwin-x64-dsym.tar.xz": "ccda4172e3e6de0731430183e9d649dde6312b726b7a4b5aff2d09c6cb76a92a",
17
+ "electron-v44.0.0-beta.2-darwin-x64-symbols.zip": "0c34042699fc3dc45644d4dd3113df1ffe2008e11f36996d8abf62ae6fffee29",
18
+ "electron-v44.0.0-beta.2-darwin-x64.zip": "e4d2b7bf197863c545be148626c052d022ad023cf04886a7bcca8745ed63dd35",
19
+ "electron-v44.0.0-beta.2-linux-arm64-debug.zip": "6c47b3dd353f63ef462e383fc149dec7482e6b3d639bb86ed7606aac04c812d5",
20
+ "electron-v44.0.0-beta.2-linux-arm64-symbols.zip": "98c9a7078061936d170c0b791b1e770de59f8a9224b0c8d84868b2d1a9cbe9f5",
21
+ "electron-v44.0.0-beta.2-linux-arm64.zip": "eb694a2a57c26d71c7a5963c9b30661727400d6636dffc3278299417e29f6670",
22
+ "electron-v44.0.0-beta.2-linux-x64-debug.zip": "02618c9a73461b8c3d0d3c655d967616b464e5d908b5be18b0d380c7c2492d0a",
23
+ "electron-v44.0.0-beta.2-linux-x64-symbols.zip": "883720fc876917b05a6ee22ea5aeeb2260f1a43b4d84016ccb186784db3607a8",
24
+ "electron-v44.0.0-beta.2-linux-x64.zip": "18b73841a623ee908ce8f5f0ed8237ee2354150052b1c3915034194cf3c643c1",
25
+ "electron-v44.0.0-beta.2-mas-arm64-dsym-snapshot.zip": "71e55ce534200c4443b00e755a7513a6cfcb841484ee6059fdd1ce588f8ed228",
26
+ "electron-v44.0.0-beta.2-mas-arm64-dsym.tar.xz": "01d9f4f6e2e0e35eac68721879b9b40ba53d6a010466983faa655bfc9285e14a",
27
+ "electron-v44.0.0-beta.2-mas-arm64-symbols.zip": "2ee5a4eba8373d84e7dc8bad836ac158c0ce1773263f74119ca4351e39001565",
28
+ "electron-v44.0.0-beta.2-mas-arm64.zip": "303dcc8284c7787939e783da7e666095ab737249878c0b4eb5c029aa54270c0b",
29
+ "electron-v44.0.0-beta.2-mas-x64-dsym-snapshot.zip": "06596f1f2293bad6d7b5aaa9d1c315c6042af4c244562a35a2d28708bd6788d7",
30
+ "electron-v44.0.0-beta.2-mas-x64-dsym.tar.xz": "510d5093e725199f2996f7b212ccf564c2751ecf48d350bcee30ea7139eb9f2f",
31
+ "electron-v44.0.0-beta.2-mas-x64-symbols.zip": "6744c554b5c43ee31408552dc6549297da0b5b2b7e0ac45e37dd2366778edbd4",
32
+ "electron-v44.0.0-beta.2-mas-x64.zip": "19f32beb42910eb05e8385fbb237c6edc34e4254c551b2fe4ab685b822b7689e",
33
+ "electron-v44.0.0-beta.2-win32-arm64-pdb.zip": "bdce46499f9a7b1508390fb6cf705e45345a6ef4b663d9928fdf857a5654289e",
34
+ "electron-v44.0.0-beta.2-win32-arm64-symbols.zip": "9da0e81df7db7568a67b7136fcb96eb1e179955000861b21566ec6feea23a772",
35
+ "electron-v44.0.0-beta.2-win32-arm64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
36
+ "electron-v44.0.0-beta.2-win32-arm64.zip": "4f7d3a2b650c3c95743c34246e432ec2069466d64aa4591c251a5779af042e32",
37
+ "electron-v44.0.0-beta.2-win32-x64-pdb.zip": "a424c53e53a8545c0b6ce5db57fe2b48f7c554771306057f7cdefc8edddd2f89",
38
+ "electron-v44.0.0-beta.2-win32-x64-symbols.zip": "65b5f9d1613dde1fa3798e25507391f915700bd51bdc8afc0087f8b2f3c73cc1",
39
+ "electron-v44.0.0-beta.2-win32-x64-toolchain-profile.zip": "93e0253324919c9cd187a9864291f4452e4632747b8ecc1d9ec7e6d6afbf86e9",
40
+ "electron-v44.0.0-beta.2-win32-x64.zip": "f1b0d78bf17b178da2f4d61a34955ffbddf026c084c9f262de9578f5bc1790de",
41
+ "electron.d.ts": "50077fee2e1771ee8b06aef84f456d9aee1fb9f5011f9f39dd3fc96eae441847",
42
+ "ffmpeg-v44.0.0-beta.2-darwin-arm64.zip": "d6d50ea44989aa84bbf4296f777f401806fbc47a75602759e5097f788d97126c",
43
+ "ffmpeg-v44.0.0-beta.2-darwin-x64.zip": "c4c7bd41586d86f3cae6a75b54946c166c40e9265e8c06ff7e43dcab8c3dba50",
44
+ "ffmpeg-v44.0.0-beta.2-linux-arm64.zip": "e18f351b0bcf68fd5a7e4c71bf762b1fcd6bd4c5514cf848f43d01102872140e",
45
+ "ffmpeg-v44.0.0-beta.2-linux-x64.zip": "022779cbca289b4800a1b20206df3b4d7faa2759dd95441f65632a5c462c90c1",
46
+ "ffmpeg-v44.0.0-beta.2-mas-arm64.zip": "545f6cc5ad3d45dc042676974271519b836c8f23a847c477e23381ff3c9cd3c8",
47
+ "ffmpeg-v44.0.0-beta.2-mas-x64.zip": "ec3462a88b6af79e83ea79fd4e9985f920be03c324b7e028bada36b8aa8927f6",
48
+ "ffmpeg-v44.0.0-beta.2-win32-arm64.zip": "f94e207d3f685a9492addd322f10d7947f734f28d9609526c0be36f58fc2fab4",
49
+ "ffmpeg-v44.0.0-beta.2-win32-x64.zip": "f97856712d89f717687d02852ad07cd08757363922b5adbb5d746d7837befb36",
50
+ "hunspell_dictionaries.zip": "86b15cf74c4eddee49a092bc19a076e33687cb5295e0287e29a3e1bcc9479ecb",
51
+ "libcxx-objects-v44.0.0-beta.2-linux-arm64.zip": "ead02620c5bd3878b1587f20d19d7497dc3eceb7d638107a3a0e7a56dae92610",
52
+ "libcxx-objects-v44.0.0-beta.2-linux-x64.zip": "9a6e2e386f6a8d815837a5b3fffaa9873393233aa2594fa6f138913ebf8dfcfe",
53
+ "libcxx_headers.zip": "414305c95a57a9d8752e10e687d9750a4c03907db14063a59ca57d24463efe1a",
54
+ "libcxxabi_headers.zip": "4c150f4569cb6c661f2c6def9aac93bc396520fe0dccb9544a95958e74ccfa7b",
55
+ "mksnapshot-v44.0.0-beta.2-darwin-arm64.zip": "39faf984607bf3d6f86497c293ac984c0d63446cf2b805db3e0b754a5b41e2d0",
56
+ "mksnapshot-v44.0.0-beta.2-darwin-x64.zip": "f9f9da534dcdac8d35b6bb83a840a5373bfb134da754658cf7df6797a1a0693d",
57
+ "mksnapshot-v44.0.0-beta.2-linux-arm64-x64.zip": "b76bf7205a1b8aabe9ec40acf62f9d73f5fb390085d571852421c8efee25bfc7",
58
+ "mksnapshot-v44.0.0-beta.2-linux-x64.zip": "d62d13e2728b8d41617baccc2bae5b67c10f7840c8104e2d7943ef3e0c7121dc",
59
+ "mksnapshot-v44.0.0-beta.2-mas-arm64.zip": "82bb5d93c38f35c9d49366e28f208417432740fe9cc392c01dcc7d8a554b6d6d",
60
+ "mksnapshot-v44.0.0-beta.2-mas-x64.zip": "9707fbbcec606581b700c502a0cd0ec6fac8612c6f9c62eee160c3b04c408078",
61
+ "mksnapshot-v44.0.0-beta.2-win32-arm64-x64.zip": "fc78a343762058aac64641bd7ef7055de65c755efff5e10074a8a57724511f5c",
62
+ "mksnapshot-v44.0.0-beta.2-win32-x64.zip": "edc953ebeaa1f29e9e4cf6ffe8d355c32d5a8544e71ff75396b345d3dcfad8f3"
63
63
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 44.0.0-alpha.9
1
+ // Type definitions for Electron 44.0.0-beta.2
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
@@ -1252,19 +1252,8 @@ declare namespace Electron {
1252
1252
  *
1253
1253
  *
1254
1254
  * * `openAtLogin` boolean - `true` if the app is set to open at login.
1255
- * * `openAsHidden` boolean _macOS_ _Deprecated_ - `true` if the app is set to open
1256
- * as hidden at login. This does not work on macOS 13 and up.
1257
1255
  * * `wasOpenedAtLogin` boolean _macOS_ - `true` if the app was opened at login
1258
1256
  * automatically.
1259
- * * `wasOpenedAsHidden` boolean _macOS_ _Deprecated_ - `true` if the app was
1260
- * opened as a hidden login item. This indicates that the app should not open any
1261
- * windows at startup. This setting is not available on MAS builds or on macOS 13
1262
- * and up.
1263
- * * `restoreState` boolean _macOS_ _Deprecated_ - `true` if the app was opened as
1264
- * a login item that should restore the state from the previous session. This
1265
- * indicates that the app should restore the windows that were open the last time
1266
- * the app was closed. This setting is not available on MAS builds or on macOS 13
1267
- * and up.
1268
1257
  * * `status` string _macOS_ - can be `not-registered`, `enabled`,
1269
1258
  * `requires-approval`, or `not-found`.
1270
1259
  * * `executableWillLaunchAtLogin` boolean _Windows_ - `true` if app is set to open
@@ -1759,8 +1748,8 @@ declare namespace Electron {
1759
1748
  * is a stub application automatically generated by Squirrel which will
1760
1749
  * automatically launch the latest version.
1761
1750
  *
1762
- * For more information about setting different services as login items on macOS 13
1763
- * and up, see `SMAppService`.
1751
+ * For more information about setting different services as login items on macOS,
1752
+ * see `SMAppService`.
1764
1753
  *
1765
1754
  * @platform darwin,win32
1766
1755
  */
@@ -11206,6 +11195,95 @@ declare namespace Electron {
11206
11195
  options: Options;
11207
11196
  }
11208
11197
 
11198
+ interface PrintToPDFMargins {
11199
+
11200
+ // Docs: https://electronjs.org/docs/api/structures/print-to-pdf-margins
11201
+
11202
+ /**
11203
+ * Bottom margin in inches. Defaults to 1cm (~0.4 inches).
11204
+ */
11205
+ bottom?: number;
11206
+ /**
11207
+ * Left margin in inches. Defaults to 1cm (~0.4 inches).
11208
+ */
11209
+ left?: number;
11210
+ /**
11211
+ * Right margin in inches. Defaults to 1cm (~0.4 inches).
11212
+ */
11213
+ right?: number;
11214
+ /**
11215
+ * Top margin in inches. Defaults to 1cm (~0.4 inches).
11216
+ */
11217
+ top?: number;
11218
+ }
11219
+
11220
+ interface PrintToPDFOptions {
11221
+
11222
+ // Docs: https://electronjs.org/docs/api/structures/print-to-pdf-options
11223
+
11224
+ /**
11225
+ * Whether to display header and footer. Defaults to false.
11226
+ */
11227
+ displayHeaderFooter?: boolean;
11228
+ /**
11229
+ * HTML template for the print footer. Should use the same format as the
11230
+ * `headerTemplate`.
11231
+ */
11232
+ footerTemplate?: string;
11233
+ /**
11234
+ * Whether or not to generate a PDF document outline from content headers. Defaults
11235
+ * to false.
11236
+ *
11237
+ * @experimental
11238
+ */
11239
+ generateDocumentOutline?: boolean;
11240
+ /**
11241
+ * Whether or not to generate a tagged (accessible) PDF. Defaults to false. As this
11242
+ * property is experimental, the generated PDF may not adhere fully to PDF/UA and
11243
+ * WCAG standards.
11244
+ *
11245
+ * @experimental
11246
+ */
11247
+ generateTaggedPDF?: boolean;
11248
+ /**
11249
+ * HTML template for the print header. Should be valid HTML markup with following
11250
+ * classes used to inject printing values into them: `date` (formatted print date),
11251
+ * `title` (document title), `url` (document location), `pageNumber` (current page
11252
+ * number) and `totalPages` (total pages in the document). For example, `<span
11253
+ * class=title></span>` would generate span containing the title.
11254
+ */
11255
+ headerTemplate?: string;
11256
+ /**
11257
+ * Paper orientation.`true` for landscape, `false` for portrait. Defaults to false.
11258
+ */
11259
+ landscape?: boolean;
11260
+ margins?: PrintToPDFMargins;
11261
+ /**
11262
+ * Page ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which
11263
+ * means print all pages.
11264
+ */
11265
+ pageRanges?: string;
11266
+ /**
11267
+ * Specify page size of the generated PDF. Can be `A0`, `A1`, `A2`, `A3`, `A4`,
11268
+ * `A5`, `A6`, `Legal`, `Letter`, `Tabloid`, `Ledger`, or an Object containing
11269
+ * `height` and `width` in inches. Defaults to `Letter`.
11270
+ */
11271
+ pageSize?: (('A0' | 'A1' | 'A2' | 'A3' | 'A4' | 'A5' | 'A6' | 'Legal' | 'Letter' | 'Tabloid' | 'Ledger')) | (Size);
11272
+ /**
11273
+ * Whether or not to prefer page size as defined by css. Defaults to false, in
11274
+ * which case the content will be scaled to fit the paper size.
11275
+ */
11276
+ preferCSSPageSize?: boolean;
11277
+ /**
11278
+ * Whether to print background graphics. Defaults to false.
11279
+ */
11280
+ printBackground?: boolean;
11281
+ /**
11282
+ * Scale of the webpage rendering. Defaults to 1.
11283
+ */
11284
+ scale?: number;
11285
+ }
11286
+
11209
11287
  interface ProcessMemoryInfo {
11210
11288
 
11211
11289
  // Docs: https://electronjs.org/docs/api/structures/process-memory-info
@@ -18979,6 +19057,22 @@ declare namespace Electron {
18979
19057
  * For example:
18980
19058
  */
18981
19059
  postMessage(channel: string, message: any, transfer?: MessagePortMain[]): void;
19060
+ /**
19061
+ * Resolves with the generated PDF data.
19062
+ *
19063
+ * Prints the frame's web page as PDF.
19064
+ *
19065
+ * Unlike `webContents.printToPDF`, this method prints only the contents of the
19066
+ * frame it is called on. This can be used to print an individual `<iframe>` from
19067
+ * the main process.
19068
+ *
19069
+ * The `landscape` will be ignored if `@page` CSS at-rule is used in the web page.
19070
+ *
19071
+ * An example of printing an iframe to PDF:
19072
+ *
19073
+ * See Page.printToPdf for more information.
19074
+ */
19075
+ printToPDF(options: PrintToPDFOptions): Promise<Buffer>;
18982
19076
  /**
18983
19077
  * Whether the reload was initiated successfully. Only results in `false` when the
18984
19078
  * frame has no history.
@@ -22080,39 +22174,12 @@ declare namespace Electron {
22080
22174
  * `true` if the app is set to open at login.
22081
22175
  */
22082
22176
  openAtLogin: boolean;
22083
- /**
22084
- * `true` if the app is set to open as hidden at login. This does not work on macOS
22085
- * 13 and up.
22086
- *
22087
- * @deprecated
22088
- * @platform darwin
22089
- */
22090
- openAsHidden: boolean;
22091
22177
  /**
22092
22178
  * `true` if the app was opened at login automatically.
22093
22179
  *
22094
22180
  * @platform darwin
22095
22181
  */
22096
22182
  wasOpenedAtLogin: boolean;
22097
- /**
22098
- * `true` if the app was opened as a hidden login item. This indicates that the app
22099
- * should not open any windows at startup. This setting is not available on MAS
22100
- * builds or on macOS 13 and up.
22101
- *
22102
- * @deprecated
22103
- * @platform darwin
22104
- */
22105
- wasOpenedAsHidden: boolean;
22106
- /**
22107
- * `true` if the app was opened as a login item that should restore the state from
22108
- * the previous session. This indicates that the app should restore the windows
22109
- * that were open the last time the app was closed. This setting is not available
22110
- * on MAS builds or on macOS 13 and up.
22111
- *
22112
- * @deprecated
22113
- * @platform darwin
22114
- */
22115
- restoreState: boolean;
22116
22183
  /**
22117
22184
  * can be `not-registered`, `enabled`, `requires-approval`, or `not-found`.
22118
22185
  *
@@ -22134,15 +22201,14 @@ declare namespace Electron {
22134
22201
  interface LoginItemSettingsOptions {
22135
22202
  /**
22136
22203
  * Can be `mainAppService`, `agentService`, `daemonService`, or `loginItemService`.
22137
- * Defaults to `mainAppService`. Only available on macOS 13 and up. See
22138
- * app.setLoginItemSettings for more information about each type.
22204
+ * Defaults to `mainAppService`. See app.setLoginItemSettings for more information
22205
+ * about each type.
22139
22206
  *
22140
22207
  * @platform darwin
22141
22208
  */
22142
22209
  type?: ('mainAppService' | 'agentService' | 'daemonService' | 'loginItemService');
22143
22210
  /**
22144
- * The name of the service. Required if `type` is non-default. Only available on
22145
- * macOS 13 and up.
22211
+ * The name of the service. Required if `type` is non-default.
22146
22212
  *
22147
22213
  * @platform darwin
22148
22214
  */
@@ -23150,70 +23216,6 @@ declare namespace Electron {
23150
23216
  numSockets?: number;
23151
23217
  }
23152
23218
 
23153
- interface PrintToPDFOptions {
23154
- /**
23155
- * Paper orientation.`true` for landscape, `false` for portrait. Defaults to false.
23156
- */
23157
- landscape?: boolean;
23158
- /**
23159
- * Whether to display header and footer. Defaults to false.
23160
- */
23161
- displayHeaderFooter?: boolean;
23162
- /**
23163
- * Whether to print background graphics. Defaults to false.
23164
- */
23165
- printBackground?: boolean;
23166
- /**
23167
- * Scale of the webpage rendering. Defaults to 1.
23168
- */
23169
- scale?: number;
23170
- /**
23171
- * Specify page size of the generated PDF. Can be `A0`, `A1`, `A2`, `A3`, `A4`,
23172
- * `A5`, `A6`, `Legal`, `Letter`, `Tabloid`, `Ledger`, or an Object containing
23173
- * `height` and `width` in inches. Defaults to `Letter`.
23174
- */
23175
- pageSize?: (('A0' | 'A1' | 'A2' | 'A3' | 'A4' | 'A5' | 'A6' | 'Legal' | 'Letter' | 'Tabloid' | 'Ledger')) | (Size);
23176
- margins?: Margins;
23177
- /**
23178
- * Page ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which
23179
- * means print all pages.
23180
- */
23181
- pageRanges?: string;
23182
- /**
23183
- * HTML template for the print header. Should be valid HTML markup with following
23184
- * classes used to inject printing values into them: `date` (formatted print date),
23185
- * `title` (document title), `url` (document location), `pageNumber` (current page
23186
- * number) and `totalPages` (total pages in the document). For example, `<span
23187
- * class=title></span>` would generate span containing the title.
23188
- */
23189
- headerTemplate?: string;
23190
- /**
23191
- * HTML template for the print footer. Should use the same format as the
23192
- * `headerTemplate`.
23193
- */
23194
- footerTemplate?: string;
23195
- /**
23196
- * Whether or not to prefer page size as defined by css. Defaults to false, in
23197
- * which case the content will be scaled to fit the paper size.
23198
- */
23199
- preferCSSPageSize?: boolean;
23200
- /**
23201
- * Whether or not to generate a tagged (accessible) PDF. Defaults to false. As this
23202
- * property is experimental, the generated PDF may not adhere fully to PDF/UA and
23203
- * WCAG standards.
23204
- *
23205
- * @experimental
23206
- */
23207
- generateTaggedPDF?: boolean;
23208
- /**
23209
- * Whether or not to generate a PDF document outline from content headers. Defaults
23210
- * to false.
23211
- *
23212
- * @experimental
23213
- */
23214
- generateDocumentOutline?: boolean;
23215
- }
23216
-
23217
23219
  interface Privileges {
23218
23220
  /**
23219
23221
  * Default false.
@@ -23613,26 +23615,13 @@ declare namespace Electron {
23613
23615
  */
23614
23616
  openAtLogin?: boolean;
23615
23617
  /**
23616
- * `true` to open the app as hidden. Defaults to `false`. The user can edit this
23617
- * setting from the System Preferences so
23618
- * `app.getLoginItemSettings().wasOpenedAsHidden` should be checked when the app is
23619
- * opened to know the current value. This setting is not available on MAS builds or
23620
- * on macOS 13 and up.
23621
- *
23622
- * @deprecated
23623
- * @platform darwin
23624
- */
23625
- openAsHidden?: boolean;
23626
- /**
23627
- * The type of service to add as a login item. Defaults to `mainAppService`. Only
23628
- * available on macOS 13 and up.
23618
+ * The type of service to add as a login item. Defaults to `mainAppService`.
23629
23619
  *
23630
23620
  * @platform darwin
23631
23621
  */
23632
23622
  type?: ('mainAppService' | 'agentService' | 'daemonService' | 'loginItemService');
23633
23623
  /**
23634
- * The name of the service. Required if `type` is non-default. Only available on
23635
- * macOS 13 and up.
23624
+ * The name of the service. Required if `type` is non-default.
23636
23625
  *
23637
23626
  * @platform darwin
23638
23627
  */
@@ -25148,7 +25137,6 @@ declare namespace Electron {
25148
25137
  type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
25149
25138
  type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
25150
25139
  type PreconnectOptions = Electron.PreconnectOptions;
25151
- type PrintToPDFOptions = Electron.PrintToPDFOptions;
25152
25140
  type Privileges = Electron.Privileges;
25153
25141
  type ProgressBarOptions = Electron.ProgressBarOptions;
25154
25142
  type Provider = Electron.Provider;
@@ -25291,6 +25279,8 @@ declare namespace Electron {
25291
25279
  type PreloadScript = Electron.PreloadScript;
25292
25280
  type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
25293
25281
  type PrinterInfo = Electron.PrinterInfo;
25282
+ type PrintToPDFMargins = Electron.PrintToPDFMargins;
25283
+ type PrintToPDFOptions = Electron.PrintToPDFOptions;
25294
25284
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
25295
25285
  type ProcessMetric = Electron.ProcessMetric;
25296
25286
  type Product = Electron.Product;
@@ -25559,7 +25549,6 @@ declare namespace Electron {
25559
25549
  type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
25560
25550
  type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
25561
25551
  type PreconnectOptions = Electron.PreconnectOptions;
25562
- type PrintToPDFOptions = Electron.PrintToPDFOptions;
25563
25552
  type Privileges = Electron.Privileges;
25564
25553
  type ProgressBarOptions = Electron.ProgressBarOptions;
25565
25554
  type Provider = Electron.Provider;
@@ -25702,6 +25691,8 @@ declare namespace Electron {
25702
25691
  type PreloadScript = Electron.PreloadScript;
25703
25692
  type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
25704
25693
  type PrinterInfo = Electron.PrinterInfo;
25694
+ type PrintToPDFMargins = Electron.PrintToPDFMargins;
25695
+ type PrintToPDFOptions = Electron.PrintToPDFOptions;
25705
25696
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
25706
25697
  type ProcessMetric = Electron.ProcessMetric;
25707
25698
  type Product = Electron.Product;
@@ -25894,7 +25885,6 @@ declare namespace Electron {
25894
25885
  type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
25895
25886
  type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
25896
25887
  type PreconnectOptions = Electron.PreconnectOptions;
25897
- type PrintToPDFOptions = Electron.PrintToPDFOptions;
25898
25888
  type Privileges = Electron.Privileges;
25899
25889
  type ProgressBarOptions = Electron.ProgressBarOptions;
25900
25890
  type Provider = Electron.Provider;
@@ -26037,6 +26027,8 @@ declare namespace Electron {
26037
26027
  type PreloadScript = Electron.PreloadScript;
26038
26028
  type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
26039
26029
  type PrinterInfo = Electron.PrinterInfo;
26030
+ type PrintToPDFMargins = Electron.PrintToPDFMargins;
26031
+ type PrintToPDFOptions = Electron.PrintToPDFOptions;
26040
26032
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
26041
26033
  type ProcessMetric = Electron.ProcessMetric;
26042
26034
  type Product = Electron.Product;
@@ -26228,7 +26220,6 @@ declare namespace Electron {
26228
26220
  type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
26229
26221
  type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
26230
26222
  type PreconnectOptions = Electron.PreconnectOptions;
26231
- type PrintToPDFOptions = Electron.PrintToPDFOptions;
26232
26223
  type Privileges = Electron.Privileges;
26233
26224
  type ProgressBarOptions = Electron.ProgressBarOptions;
26234
26225
  type Provider = Electron.Provider;
@@ -26371,6 +26362,8 @@ declare namespace Electron {
26371
26362
  type PreloadScript = Electron.PreloadScript;
26372
26363
  type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
26373
26364
  type PrinterInfo = Electron.PrinterInfo;
26365
+ type PrintToPDFMargins = Electron.PrintToPDFMargins;
26366
+ type PrintToPDFOptions = Electron.PrintToPDFOptions;
26374
26367
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
26375
26368
  type ProcessMetric = Electron.ProcessMetric;
26376
26369
  type Product = Electron.Product;
@@ -26658,7 +26651,6 @@ declare namespace Electron {
26658
26651
  type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
26659
26652
  type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
26660
26653
  type PreconnectOptions = Electron.PreconnectOptions;
26661
- type PrintToPDFOptions = Electron.PrintToPDFOptions;
26662
26654
  type Privileges = Electron.Privileges;
26663
26655
  type ProgressBarOptions = Electron.ProgressBarOptions;
26664
26656
  type Provider = Electron.Provider;
@@ -26801,6 +26793,8 @@ declare namespace Electron {
26801
26793
  type PreloadScript = Electron.PreloadScript;
26802
26794
  type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
26803
26795
  type PrinterInfo = Electron.PrinterInfo;
26796
+ type PrintToPDFMargins = Electron.PrintToPDFMargins;
26797
+ type PrintToPDFOptions = Electron.PrintToPDFOptions;
26804
26798
  type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
26805
26799
  type ProcessMetric = Electron.ProcessMetric;
26806
26800
  type Product = Electron.Product;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron",
3
- "version": "44.0.0-alpha.9",
3
+ "version": "44.0.0-beta.2",
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",