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 +2 -2
- package/checksums.json +78 -78
- package/electron.d.ts +230 -66
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://circleci.com/gh/electron/electron/tree/main)
|
|
4
4
|
[](https://ci.appveyor.com/project/electron-bot/electron-ljo26/branch/main)
|
|
5
|
-
[](https://discord.com/invite/
|
|
5
|
+
[](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://
|
|
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-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"chromedriver-
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-
|
|
15
|
-
"electron-
|
|
16
|
-
"electron-
|
|
17
|
-
"electron-
|
|
18
|
-
"electron-
|
|
19
|
-
"electron-
|
|
20
|
-
"electron-
|
|
21
|
-
"electron-
|
|
22
|
-
"electron-
|
|
23
|
-
"electron-
|
|
24
|
-
"electron-
|
|
25
|
-
"electron-
|
|
26
|
-
"electron-
|
|
27
|
-
"electron-
|
|
28
|
-
"electron-
|
|
29
|
-
"electron-
|
|
30
|
-
"electron-
|
|
31
|
-
"electron-
|
|
32
|
-
"electron-
|
|
33
|
-
"electron-
|
|
34
|
-
"electron-
|
|
35
|
-
"electron-
|
|
36
|
-
"electron-
|
|
37
|
-
"electron-
|
|
38
|
-
"electron-
|
|
39
|
-
"electron-
|
|
40
|
-
"electron-
|
|
41
|
-
"electron-
|
|
42
|
-
"electron-
|
|
43
|
-
"electron-
|
|
44
|
-
"electron-
|
|
45
|
-
"electron-
|
|
46
|
-
"electron-
|
|
47
|
-
"electron-
|
|
48
|
-
"electron-
|
|
49
|
-
"electron-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-
|
|
52
|
-
"ffmpeg-
|
|
53
|
-
"ffmpeg-
|
|
54
|
-
"ffmpeg-
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"ffmpeg-
|
|
62
|
-
"hunspell_dictionaries.zip": "
|
|
63
|
-
"libcxx-objects-
|
|
64
|
-
"libcxx-objects-
|
|
65
|
-
"libcxx-objects-
|
|
66
|
-
"libcxx-objects-
|
|
67
|
-
"libcxx_headers.zip": "
|
|
68
|
-
"libcxxabi_headers.zip": "
|
|
69
|
-
"mksnapshot-
|
|
70
|
-
"mksnapshot-
|
|
71
|
-
"mksnapshot-
|
|
72
|
-
"mksnapshot-
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
77
|
-
"mksnapshot-
|
|
78
|
-
"mksnapshot-
|
|
79
|
-
"mksnapshot-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
* **
|
|
4346
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
13940
|
-
*
|
|
13941
|
-
* `
|
|
13942
|
-
* `
|
|
13943
|
-
*
|
|
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": "
|
|
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",
|