electron 21.0.0-alpha.2 → 21.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +62 -1
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v21.0.0-alpha.
|
|
3
|
-
"chromedriver-v21.0.0-alpha.
|
|
4
|
-
"chromedriver-v21.0.0-alpha.
|
|
5
|
-
"chromedriver-v21.0.0-alpha.
|
|
6
|
-
"chromedriver-v21.0.0-alpha.
|
|
7
|
-
"chromedriver-v21.0.0-alpha.
|
|
8
|
-
"chromedriver-v21.0.0-alpha.
|
|
9
|
-
"chromedriver-v21.0.0-alpha.
|
|
10
|
-
"chromedriver-v21.0.0-alpha.
|
|
11
|
-
"chromedriver-v21.0.0-alpha.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v21.0.0-alpha.
|
|
14
|
-
"electron-v21.0.0-alpha.
|
|
15
|
-
"electron-v21.0.0-alpha.
|
|
16
|
-
"electron-v21.0.0-alpha.
|
|
17
|
-
"electron-v21.0.0-alpha.
|
|
18
|
-
"electron-v21.0.0-alpha.
|
|
19
|
-
"electron-v21.0.0-alpha.
|
|
20
|
-
"electron-v21.0.0-alpha.
|
|
21
|
-
"electron-v21.0.0-alpha.
|
|
22
|
-
"electron-v21.0.0-alpha.
|
|
23
|
-
"electron-v21.0.0-alpha.
|
|
24
|
-
"electron-v21.0.0-alpha.
|
|
25
|
-
"electron-v21.0.0-alpha.
|
|
26
|
-
"electron-v21.0.0-alpha.
|
|
27
|
-
"electron-v21.0.0-alpha.
|
|
28
|
-
"electron-v21.0.0-alpha.
|
|
29
|
-
"electron-v21.0.0-alpha.
|
|
30
|
-
"electron-v21.0.0-alpha.
|
|
31
|
-
"electron-v21.0.0-alpha.
|
|
32
|
-
"electron-v21.0.0-alpha.
|
|
33
|
-
"electron-v21.0.0-alpha.
|
|
34
|
-
"electron-v21.0.0-alpha.
|
|
35
|
-
"electron-v21.0.0-alpha.
|
|
36
|
-
"electron-v21.0.0-alpha.
|
|
37
|
-
"electron-v21.0.0-alpha.
|
|
38
|
-
"electron-v21.0.0-alpha.
|
|
39
|
-
"electron-v21.0.0-alpha.
|
|
40
|
-
"electron-v21.0.0-alpha.
|
|
41
|
-
"electron-v21.0.0-alpha.
|
|
42
|
-
"electron-v21.0.0-alpha.
|
|
43
|
-
"electron-v21.0.0-alpha.
|
|
44
|
-
"electron-v21.0.0-alpha.
|
|
45
|
-
"electron-v21.0.0-alpha.
|
|
46
|
-
"electron-v21.0.0-alpha.
|
|
47
|
-
"electron-v21.0.0-alpha.
|
|
48
|
-
"electron-v21.0.0-alpha.
|
|
49
|
-
"electron-v21.0.0-alpha.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v21.0.0-alpha.
|
|
52
|
-
"ffmpeg-v21.0.0-alpha.
|
|
53
|
-
"ffmpeg-v21.0.0-alpha.
|
|
54
|
-
"ffmpeg-v21.0.0-alpha.
|
|
55
|
-
"ffmpeg-v21.0.0-alpha.
|
|
56
|
-
"ffmpeg-v21.0.0-alpha.
|
|
57
|
-
"ffmpeg-v21.0.0-alpha.
|
|
58
|
-
"ffmpeg-v21.0.0-alpha.
|
|
59
|
-
"ffmpeg-v21.0.0-alpha.
|
|
60
|
-
"ffmpeg-v21.0.0-alpha.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v21.0.0-alpha.
|
|
63
|
-
"libcxx-objects-v21.0.0-alpha.
|
|
64
|
-
"libcxx-objects-v21.0.0-alpha.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v21.0.0-alpha.
|
|
68
|
-
"mksnapshot-v21.0.0-alpha.
|
|
69
|
-
"mksnapshot-v21.0.0-alpha.
|
|
70
|
-
"mksnapshot-v21.0.0-alpha.
|
|
71
|
-
"mksnapshot-v21.0.0-alpha.
|
|
72
|
-
"mksnapshot-v21.0.0-alpha.
|
|
73
|
-
"mksnapshot-v21.0.0-alpha.
|
|
74
|
-
"mksnapshot-v21.0.0-alpha.
|
|
75
|
-
"mksnapshot-v21.0.0-alpha.
|
|
76
|
-
"mksnapshot-v21.0.0-alpha.
|
|
2
|
+
"chromedriver-v21.0.0-alpha.5-darwin-arm64.zip": "bd55c52fc5c8b986a4fc9c08f2f68f6b8f927f480fe22dab20c8d843fbbf96b7",
|
|
3
|
+
"chromedriver-v21.0.0-alpha.5-darwin-x64.zip": "5a5009cda138e6d4bf8d0f950bdabb02ac1144a4be03c8b61aa5d9f6a0a2910f",
|
|
4
|
+
"chromedriver-v21.0.0-alpha.5-linux-arm64.zip": "9d70b34689617d14ab9967030b8671c0441089ff408912cbbd12e2053d512878",
|
|
5
|
+
"chromedriver-v21.0.0-alpha.5-linux-armv7l.zip": "a4b1ce09991e817165ad3a512e01f3ecdb4fef1c8b00af4a306dba9f5a95a74c",
|
|
6
|
+
"chromedriver-v21.0.0-alpha.5-linux-x64.zip": "3feb55bebeb9c9daf4158c83c39f37a4660cd868e873d935e884e02fa1c95bb2",
|
|
7
|
+
"chromedriver-v21.0.0-alpha.5-mas-arm64.zip": "6975e91c2a02bb76511f1d046ecd65df1992eefdeff9a77384854be094831de2",
|
|
8
|
+
"chromedriver-v21.0.0-alpha.5-mas-x64.zip": "fdc7188626e454dd7f436ef587822f26516edb44408fc6275cbe0397825b6a2d",
|
|
9
|
+
"chromedriver-v21.0.0-alpha.5-win32-arm64.zip": "dfd400daaa7ef4a40d387a4947667e4ba3272770f41a110cc0d51af6ca72b06d",
|
|
10
|
+
"chromedriver-v21.0.0-alpha.5-win32-ia32.zip": "61334bcdd8e887766d647db5424c54d782139121d577d7c29a263c6b92aabd68",
|
|
11
|
+
"chromedriver-v21.0.0-alpha.5-win32-x64.zip": "9f38f052f490a787feda4249bc237b6b675f7146fe5ef313688124a04a0bc1c9",
|
|
12
|
+
"electron-api.json": "2fba02ec564a46a13bfe80d971345c66a2e8c4b2f11a23e349e009a94ab9f98a",
|
|
13
|
+
"electron-v21.0.0-alpha.5-darwin-arm64-dsym-snapshot.zip": "ebd55a5c09ccda37218abb5128ae69edae0b37e656211afded1a526241992051",
|
|
14
|
+
"electron-v21.0.0-alpha.5-darwin-arm64-dsym.zip": "b49f7a79e3305ecc3ef3df816d8d7a6ef2c2707ec21d5fbef810d337581c2080",
|
|
15
|
+
"electron-v21.0.0-alpha.5-darwin-arm64-symbols.zip": "7fc54a7ce2639f2066b297d26154f695d31cc60db6a33295954b1d538731c333",
|
|
16
|
+
"electron-v21.0.0-alpha.5-darwin-arm64.zip": "3e69babb7a7381f998ccbafd591d3b66f9bbec55aee486d06008d2ffdc8b21fa",
|
|
17
|
+
"electron-v21.0.0-alpha.5-darwin-x64-dsym-snapshot.zip": "25078d624f07e54cd798ff91c3f1fb44ce1e895584e1eca38498313344df591e",
|
|
18
|
+
"electron-v21.0.0-alpha.5-darwin-x64-dsym.zip": "0cdf4a28be6753d135a1fba0b34c9ffd3cc7a9eff9e91aafe9c8b4fcff2e41fd",
|
|
19
|
+
"electron-v21.0.0-alpha.5-darwin-x64-symbols.zip": "ae0c2c056f93f4dad60879dcffc34ee2d517a58ef2edf91d09d8442529ec1e39",
|
|
20
|
+
"electron-v21.0.0-alpha.5-darwin-x64.zip": "970d9c1d1ba53438941d5c64a144f4718647248ddd3205e122cf3736e8cd706b",
|
|
21
|
+
"electron-v21.0.0-alpha.5-linux-arm64-debug.zip": "ec29ca8c3bfff26025984be26e11dd3d3dfdb998683e85a5ce07c5921219547f",
|
|
22
|
+
"electron-v21.0.0-alpha.5-linux-arm64-symbols.zip": "ed93c2967a9dd8e59ae48925a240b7dc544c5a18be9bd85b3df5b562b08e94f0",
|
|
23
|
+
"electron-v21.0.0-alpha.5-linux-arm64.zip": "290d4a15558b99a08d5fc741aa667be563a51b25e2c62e6947fefe7d73965bc5",
|
|
24
|
+
"electron-v21.0.0-alpha.5-linux-armv7l-debug.zip": "ec29ca8c3bfff26025984be26e11dd3d3dfdb998683e85a5ce07c5921219547f",
|
|
25
|
+
"electron-v21.0.0-alpha.5-linux-armv7l-symbols.zip": "7d8edd171d0f61c84f7688b8cd588e04b96cf6c021dc37ef99114d2112a6f2ed",
|
|
26
|
+
"electron-v21.0.0-alpha.5-linux-armv7l.zip": "457b975ae7d17a96e7339401e5607c967b7e637da98d0f4d8abe965fbb8cda18",
|
|
27
|
+
"electron-v21.0.0-alpha.5-linux-x64-debug.zip": "4470e7024754a9d24cf0dbf18eeea28eaed7ca79aceea22e92d18e8f019e11ec",
|
|
28
|
+
"electron-v21.0.0-alpha.5-linux-x64-symbols.zip": "193f0f0f9aae523d3df4afc750ef4aa868fafe6f125b4848da3ff7c624f41953",
|
|
29
|
+
"electron-v21.0.0-alpha.5-linux-x64.zip": "74e8d38eae28838a45ca818e22b948c45dd8a9718531dbbd3c35b800109145c7",
|
|
30
|
+
"electron-v21.0.0-alpha.5-mas-arm64-dsym-snapshot.zip": "ebd55a5c09ccda37218abb5128ae69edae0b37e656211afded1a526241992051",
|
|
31
|
+
"electron-v21.0.0-alpha.5-mas-arm64-dsym.zip": "1cf36b4cb6b6ecfaa92ba5a79a7031e1b8f673a1676aef132cfc713d740e690f",
|
|
32
|
+
"electron-v21.0.0-alpha.5-mas-arm64-symbols.zip": "9376cee37e0b64ab74f50d5e942eceda1d68761484ef0c2f8857d07b64ac8360",
|
|
33
|
+
"electron-v21.0.0-alpha.5-mas-arm64.zip": "8ac0201fe31b42dcfebf191d8e5e18fb65d0ae89247cba4864cc9719ce39a743",
|
|
34
|
+
"electron-v21.0.0-alpha.5-mas-x64-dsym-snapshot.zip": "cd6b441edf459b5c85ecd7735968d000ba599959c5ad7b6d1d088462dbbef3ad",
|
|
35
|
+
"electron-v21.0.0-alpha.5-mas-x64-dsym.zip": "9f4e5b02f9c1cc6ce64c812cd09b1d8b6177df7f8b2fab03d2d760619e47bb8c",
|
|
36
|
+
"electron-v21.0.0-alpha.5-mas-x64-symbols.zip": "3df17959509547e86a39f33245e614d34b8cf07050ca908620a2d7a3f3685bc2",
|
|
37
|
+
"electron-v21.0.0-alpha.5-mas-x64.zip": "de7c3b5331e37858b82afc073f6ac61e992f00f32fb08fbc7a737f9fec67c1cf",
|
|
38
|
+
"electron-v21.0.0-alpha.5-win32-arm64-pdb.zip": "b1df7222d7d7eecbc88f54a5c9b593adde0fa39dc6b11918ce2819e94ff46ecc",
|
|
39
|
+
"electron-v21.0.0-alpha.5-win32-arm64-symbols.zip": "1d1e1fcd0d2fbcda534b543a255dc3ec46d74ff041afa728c948a35ca529c6e0",
|
|
40
|
+
"electron-v21.0.0-alpha.5-win32-arm64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
41
|
+
"electron-v21.0.0-alpha.5-win32-arm64.zip": "b3f3955b3031865efc266420eb3f93a5a050f011207debcd57dc69c95ca21c7a",
|
|
42
|
+
"electron-v21.0.0-alpha.5-win32-ia32-pdb.zip": "7560b3685a7a95aba52c3acf95d6ceb592636e5dd254f30afcd5087fe1ba7cf5",
|
|
43
|
+
"electron-v21.0.0-alpha.5-win32-ia32-symbols.zip": "0407b1e5855252a45b8674de4c52c1a202f81ac23bac955d0997da299d8afa84",
|
|
44
|
+
"electron-v21.0.0-alpha.5-win32-ia32-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
45
|
+
"electron-v21.0.0-alpha.5-win32-ia32.zip": "6005c45677a112a3622077cc10ac6b14c402b6c35276099c8945b178b93b9ff4",
|
|
46
|
+
"electron-v21.0.0-alpha.5-win32-x64-pdb.zip": "60103bc6342131e91c625d0abe42841c7b85d21bb4e9493d8a148f671cc23621",
|
|
47
|
+
"electron-v21.0.0-alpha.5-win32-x64-symbols.zip": "f443c45e457ff14d3913bb770252e18e456523d538b605386b1021b5bafdb945",
|
|
48
|
+
"electron-v21.0.0-alpha.5-win32-x64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
49
|
+
"electron-v21.0.0-alpha.5-win32-x64.zip": "ac03216833ef4073fac07e5d13356168172cbfb37339d07562c94c52f3396b53",
|
|
50
|
+
"electron.d.ts": "de99658bd798dcc2d55b57fd30a5849fa2632f73fb9453cb317ce4c75ae3f07f",
|
|
51
|
+
"ffmpeg-v21.0.0-alpha.5-darwin-arm64.zip": "495eabe3ff10748cd23535dfd9e803cf316b8f0880fa494ac4eb8ed0e7fa1a32",
|
|
52
|
+
"ffmpeg-v21.0.0-alpha.5-darwin-x64.zip": "917ec29b4bd8f78486f9feab00c439e4d3f05be8f0e9afbaa999e83808b89ed9",
|
|
53
|
+
"ffmpeg-v21.0.0-alpha.5-linux-arm64.zip": "8ebfbf76881e70bc12c68e6094e28dfc9c5d73e6e08c4f5f2368383ca35b54e0",
|
|
54
|
+
"ffmpeg-v21.0.0-alpha.5-linux-armv7l.zip": "c14702cc92794b2c9072b9ad26b67bc247bf607a0f3b700c224472c5043d14f3",
|
|
55
|
+
"ffmpeg-v21.0.0-alpha.5-linux-x64.zip": "232ac11980241773cd42397a6f76f9f7564756b9f5a9468837007593356298cd",
|
|
56
|
+
"ffmpeg-v21.0.0-alpha.5-mas-arm64.zip": "24706f4dde94ee2467fe3c42b558b76f7956a4d6886d1955fc2c9080942efac3",
|
|
57
|
+
"ffmpeg-v21.0.0-alpha.5-mas-x64.zip": "b680326209f27da70f913aaa4e702ae0fe9847928ddf3acf35a85e46d688074e",
|
|
58
|
+
"ffmpeg-v21.0.0-alpha.5-win32-arm64.zip": "cd44a2d69126db900e8b338eab7f3c2a15ac1c032d61979bebcc67be111d8955",
|
|
59
|
+
"ffmpeg-v21.0.0-alpha.5-win32-ia32.zip": "c99978aaee540401babe6f4c8b0f924cabdd6ae8ee22bbb5c661534e29663a8a",
|
|
60
|
+
"ffmpeg-v21.0.0-alpha.5-win32-x64.zip": "e06ceb1c9fcf5a36c19a9cf7bae7b573148d30b0e85160a438efad0f5d124536",
|
|
61
|
+
"hunspell_dictionaries.zip": "a0b7d22f4ceb261ce0bd1ee85db7422c4b9b609e49860d07694b339a872876cc",
|
|
62
|
+
"libcxx-objects-v21.0.0-alpha.5-linux-arm64.zip": "b6c8f6fb6a38654e2b64402cff20b24b7fbf42f921930b6d5e5a49a03204cc19",
|
|
63
|
+
"libcxx-objects-v21.0.0-alpha.5-linux-armv7l.zip": "9b1cba058bd942c3a7912f4df7133f599e89420aeb38d4bb9080ce673ab47f3e",
|
|
64
|
+
"libcxx-objects-v21.0.0-alpha.5-linux-x64.zip": "39f813444790d2fad35242533e212d537121bdfefa0a16a7f35633d265f2a339",
|
|
65
|
+
"libcxx_headers.zip": "0d63938e09236f6e9af875957ad19816c4c819e03669d13c31b377f792334720",
|
|
66
|
+
"libcxxabi_headers.zip": "c1091e703b775e75d9c86b30fba0dfa166b568e35d8b26e69d84193f4c7e749e",
|
|
67
|
+
"mksnapshot-v21.0.0-alpha.5-darwin-arm64.zip": "621d29467cc503d368cfd28a315be76c0f8c51dc79b35f9d5405a8a7ad4bcfbd",
|
|
68
|
+
"mksnapshot-v21.0.0-alpha.5-darwin-x64.zip": "57447bd973b20bb48a0cb85b24d03016c9b91f31b59e7370e366a0151f86471c",
|
|
69
|
+
"mksnapshot-v21.0.0-alpha.5-linux-arm64-x64.zip": "4b91c08a86899defe44cc08bbb42b81258650fde777fa42cd217c142b3ecf12e",
|
|
70
|
+
"mksnapshot-v21.0.0-alpha.5-linux-armv7l-x64.zip": "daa90d8579d06a1f2158a74aff856fef3d0e093c3752bc55f50d0c2c22926cbb",
|
|
71
|
+
"mksnapshot-v21.0.0-alpha.5-linux-x64.zip": "33921cd8ddfe300f61ea9fc5a08e039a71543fe1011d3623992a300cfde80f1b",
|
|
72
|
+
"mksnapshot-v21.0.0-alpha.5-mas-arm64.zip": "33d0bd0a519618ce1eb02c89a10c3ed8d1d9b4dd27cc79e8d562b0f7688408b2",
|
|
73
|
+
"mksnapshot-v21.0.0-alpha.5-mas-x64.zip": "84e816644baabc5552c20b9f02aec4f30c882678ffbb4e13351ce7cedf8402cb",
|
|
74
|
+
"mksnapshot-v21.0.0-alpha.5-win32-arm64-x64.zip": "4feb4054aa8cde408be188e7e6f5819b382f521c8891f88d9f2206e54e9a0421",
|
|
75
|
+
"mksnapshot-v21.0.0-alpha.5-win32-ia32.zip": "57b32c3ff06f0a1e5e2fa32fe157100ad24926c92eccc83c652c2b0373ad56b2",
|
|
76
|
+
"mksnapshot-v21.0.0-alpha.5-win32-x64.zip": "6d0e4c07edf227a08d020239f6225074d02485999415d8aebf576874408be015"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 21.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 21.0.0-alpha.5
|
|
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
|
|
@@ -10482,6 +10482,9 @@ declare namespace Electron {
|
|
|
10482
10482
|
/**
|
|
10483
10483
|
* Emitted when the renderer process sends an asynchronous message via
|
|
10484
10484
|
* `ipcRenderer.send()`.
|
|
10485
|
+
*
|
|
10486
|
+
* See also `webContents.ipc`, which provides an `IpcMain`-like interface for
|
|
10487
|
+
* responding to IPC messages specifically from this WebContents.
|
|
10485
10488
|
*/
|
|
10486
10489
|
on(event: 'ipc-message', listener: (event: Event,
|
|
10487
10490
|
channel: string,
|
|
@@ -10498,6 +10501,9 @@ declare namespace Electron {
|
|
|
10498
10501
|
/**
|
|
10499
10502
|
* Emitted when the renderer process sends a synchronous message via
|
|
10500
10503
|
* `ipcRenderer.sendSync()`.
|
|
10504
|
+
*
|
|
10505
|
+
* See also `webContents.ipc`, which provides an `IpcMain`-like interface for
|
|
10506
|
+
* responding to IPC messages specifically from this WebContents.
|
|
10501
10507
|
*/
|
|
10502
10508
|
on(event: 'ipc-message-sync', listener: (event: Event,
|
|
10503
10509
|
channel: string,
|
|
@@ -11697,6 +11703,35 @@ declare namespace Electron {
|
|
|
11697
11703
|
*
|
|
11698
11704
|
*/
|
|
11699
11705
|
readonly id: number;
|
|
11706
|
+
/**
|
|
11707
|
+
* An `IpcMain` scoped to just IPC messages sent from this WebContents.
|
|
11708
|
+
*
|
|
11709
|
+
* IPC messages sent with `ipcRenderer.send`, `ipcRenderer.sendSync` or
|
|
11710
|
+
* `ipcRenderer.postMessage` will be delivered in the following order:
|
|
11711
|
+
*
|
|
11712
|
+
* * `contents.on('ipc-message')`
|
|
11713
|
+
* * `contents.mainFrame.on(channel)`
|
|
11714
|
+
* * `contents.ipc.on(channel)`
|
|
11715
|
+
* * `ipcMain.on(channel)`
|
|
11716
|
+
*
|
|
11717
|
+
* Handlers registered with `invoke` will be checked in the following order. The
|
|
11718
|
+
* first one that is defined will be called, the rest will be ignored.
|
|
11719
|
+
*
|
|
11720
|
+
* * `contents.mainFrame.handle(channel)`
|
|
11721
|
+
* * `contents.handle(channel)`
|
|
11722
|
+
* * `ipcMain.handle(channel)`
|
|
11723
|
+
*
|
|
11724
|
+
* A handler or event listener registered on the WebContents will receive IPC
|
|
11725
|
+
* messages sent from any frame, including child frames. In most cases, only the
|
|
11726
|
+
* main frame can send IPC messages. However, if the `nodeIntegrationInSubFrames`
|
|
11727
|
+
* option is enabled, it is possible for child frames to send IPC messages also. In
|
|
11728
|
+
* that case, handlers should check the `senderFrame` property of the IPC event to
|
|
11729
|
+
* ensure that the message is coming from the expected frame. Alternatively,
|
|
11730
|
+
* register handlers on the appropriate frame directly using the `WebFrameMain.ipc`
|
|
11731
|
+
* interface.
|
|
11732
|
+
*
|
|
11733
|
+
*/
|
|
11734
|
+
readonly ipc: IpcMain;
|
|
11700
11735
|
/**
|
|
11701
11736
|
* A `WebFrameMain` property that represents the top frame of the page's frame
|
|
11702
11737
|
* hierarchy.
|
|
@@ -11994,6 +12029,32 @@ declare namespace Electron {
|
|
|
11994
12029
|
*
|
|
11995
12030
|
*/
|
|
11996
12031
|
readonly frameTreeNodeId: number;
|
|
12032
|
+
/**
|
|
12033
|
+
* An `IpcMain` instance scoped to the frame.
|
|
12034
|
+
*
|
|
12035
|
+
* IPC messages sent with `ipcRenderer.send`, `ipcRenderer.sendSync` or
|
|
12036
|
+
* `ipcRenderer.postMessage` will be delivered in the following order:
|
|
12037
|
+
*
|
|
12038
|
+
* * `contents.on('ipc-message')`
|
|
12039
|
+
* * `contents.mainFrame.on(channel)`
|
|
12040
|
+
* * `contents.ipc.on(channel)`
|
|
12041
|
+
* * `ipcMain.on(channel)`
|
|
12042
|
+
*
|
|
12043
|
+
* Handlers registered with `invoke` will be checked in the following order. The
|
|
12044
|
+
* first one that is defined will be called, the rest will be ignored.
|
|
12045
|
+
*
|
|
12046
|
+
* * `contents.mainFrame.handle(channel)`
|
|
12047
|
+
* * `contents.handle(channel)`
|
|
12048
|
+
* * `ipcMain.handle(channel)`
|
|
12049
|
+
*
|
|
12050
|
+
* In most cases, only the main frame of a WebContents can send or receive IPC
|
|
12051
|
+
* messages. However, if the `nodeIntegrationInSubFrames` option is enabled, it is
|
|
12052
|
+
* possible for child frames to send and receive IPC messages also. The
|
|
12053
|
+
* `WebContents.ipc` interface may be more convenient when
|
|
12054
|
+
* `nodeIntegrationInSubFrames` is not enabled.
|
|
12055
|
+
*
|
|
12056
|
+
*/
|
|
12057
|
+
readonly ipc: IpcMain;
|
|
11997
12058
|
/**
|
|
11998
12059
|
* A `string` representing the frame name.
|
|
11999
12060
|
*
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 10.17.0"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "21.0.0-alpha.
|
|
19
|
+
"version": "21.0.0-alpha.5",
|
|
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",
|