electron 30.0.0-beta.8 → 30.0.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/checksums.json +75 -75
- package/electron.d.ts +90 -40
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v30.0.
|
|
3
|
-
"chromedriver-v30.0.
|
|
4
|
-
"chromedriver-v30.0.
|
|
5
|
-
"chromedriver-v30.0.
|
|
6
|
-
"chromedriver-v30.0.
|
|
7
|
-
"chromedriver-v30.0.
|
|
8
|
-
"chromedriver-v30.0.
|
|
9
|
-
"chromedriver-v30.0.
|
|
10
|
-
"chromedriver-v30.0.
|
|
11
|
-
"chromedriver-v30.0.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v30.0.
|
|
14
|
-
"electron-v30.0.
|
|
15
|
-
"electron-v30.0.
|
|
16
|
-
"electron-v30.0.
|
|
17
|
-
"electron-v30.0.
|
|
18
|
-
"electron-v30.0.
|
|
19
|
-
"electron-v30.0.
|
|
20
|
-
"electron-v30.0.
|
|
21
|
-
"electron-v30.0.
|
|
22
|
-
"electron-v30.0.
|
|
23
|
-
"electron-v30.0.
|
|
24
|
-
"electron-v30.0.
|
|
25
|
-
"electron-v30.0.
|
|
26
|
-
"electron-v30.0.
|
|
27
|
-
"electron-v30.0.
|
|
28
|
-
"electron-v30.0.
|
|
29
|
-
"electron-v30.0.
|
|
30
|
-
"electron-v30.0.
|
|
31
|
-
"electron-v30.0.
|
|
32
|
-
"electron-v30.0.
|
|
33
|
-
"electron-v30.0.
|
|
34
|
-
"electron-v30.0.
|
|
35
|
-
"electron-v30.0.
|
|
36
|
-
"electron-v30.0.
|
|
37
|
-
"electron-v30.0.
|
|
38
|
-
"electron-v30.0.
|
|
39
|
-
"electron-v30.0.
|
|
40
|
-
"electron-v30.0.
|
|
41
|
-
"electron-v30.0.
|
|
42
|
-
"electron-v30.0.
|
|
43
|
-
"electron-v30.0.
|
|
44
|
-
"electron-v30.0.
|
|
45
|
-
"electron-v30.0.
|
|
46
|
-
"electron-v30.0.
|
|
47
|
-
"electron-v30.0.
|
|
48
|
-
"electron-v30.0.
|
|
49
|
-
"electron-v30.0.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v30.0.
|
|
52
|
-
"ffmpeg-v30.0.
|
|
53
|
-
"ffmpeg-v30.0.
|
|
54
|
-
"ffmpeg-v30.0.
|
|
55
|
-
"ffmpeg-v30.0.
|
|
56
|
-
"ffmpeg-v30.0.
|
|
57
|
-
"ffmpeg-v30.0.
|
|
58
|
-
"ffmpeg-v30.0.
|
|
59
|
-
"ffmpeg-v30.0.
|
|
60
|
-
"ffmpeg-v30.0.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v30.0.
|
|
63
|
-
"libcxx-objects-v30.0.
|
|
64
|
-
"libcxx-objects-v30.0.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v30.0.
|
|
68
|
-
"mksnapshot-v30.0.
|
|
69
|
-
"mksnapshot-v30.0.
|
|
70
|
-
"mksnapshot-v30.0.
|
|
71
|
-
"mksnapshot-v30.0.
|
|
72
|
-
"mksnapshot-v30.0.
|
|
73
|
-
"mksnapshot-v30.0.
|
|
74
|
-
"mksnapshot-v30.0.
|
|
75
|
-
"mksnapshot-v30.0.
|
|
76
|
-
"mksnapshot-v30.0.
|
|
2
|
+
"chromedriver-v30.0.1-darwin-arm64.zip": "bfd448a8b40ddfe736f594be6576c386482d8fca98d24f20dc25b4d6129467bc",
|
|
3
|
+
"chromedriver-v30.0.1-darwin-x64.zip": "5d3e697507b1355ecef09cc2ca9c44d049d9d847ced7f6a66c9a9208e4786c29",
|
|
4
|
+
"chromedriver-v30.0.1-linux-arm64.zip": "480a759f3c6a396c85939e1682b0a05f832854f11b0286ff20e4888f25971d25",
|
|
5
|
+
"chromedriver-v30.0.1-linux-armv7l.zip": "064b47fb11af3384d10a838ffb629576478fa1c144a7272d2ef596becbb5b3b7",
|
|
6
|
+
"chromedriver-v30.0.1-linux-x64.zip": "3bf999d41a075ad7e4fa082647062b8e4efa88d93ad55d17e1eb03786c575dc8",
|
|
7
|
+
"chromedriver-v30.0.1-mas-arm64.zip": "24a1b0a9b1461e55b0dc9af7f4f76af958a4f969d39847ef9d7c2c8d4c74c918",
|
|
8
|
+
"chromedriver-v30.0.1-mas-x64.zip": "0da1b33517c0e9b2e118b2f382a211d3df4e09c99d49ad84d78eaa74df4b265e",
|
|
9
|
+
"chromedriver-v30.0.1-win32-arm64.zip": "c4643d9d61a2b0b8f475c7cbdb3afb37a9e14938b6ec3751a09d9348455faafb",
|
|
10
|
+
"chromedriver-v30.0.1-win32-ia32.zip": "91eb04f7a8ba56b8652acf0386fbef31ee17a8ed1046e04320216f0c6b85a606",
|
|
11
|
+
"chromedriver-v30.0.1-win32-x64.zip": "e177b78b4ba935caaeeabf8e0981c38b8c6159449f00ee5f1f732e7eaecd1542",
|
|
12
|
+
"electron-api.json": "583ac7882a7952527466bb8e6b60e42310e6f948fc890acc73e08bc5fc4e578b",
|
|
13
|
+
"electron-v30.0.1-darwin-arm64-dsym-snapshot.zip": "41064ffcc92775c9537a5ba76fb4f130cfbe7f458536fde97ae829fc62caf4d3",
|
|
14
|
+
"electron-v30.0.1-darwin-arm64-dsym.zip": "a702c96669aaa850d0b144ef4d7c8d2745b05673111294702ccd8db1a65c56fe",
|
|
15
|
+
"electron-v30.0.1-darwin-arm64-symbols.zip": "442cac64d6ccd5d2497a3bb01e680d72c339e92fef08023f477c15a1154fe048",
|
|
16
|
+
"electron-v30.0.1-darwin-arm64.zip": "cc05081bbe532c853ceadd5b33ab363653b1e4df4d3b93c297a6a4fa8b4c1af1",
|
|
17
|
+
"electron-v30.0.1-darwin-x64-dsym-snapshot.zip": "92445d627a1bbe044db808335cdcd8f93c59b749319b71a989d1777afb26ea02",
|
|
18
|
+
"electron-v30.0.1-darwin-x64-dsym.zip": "43b2f9535b9a14d9f9242192c2c35915fb175378316557305ab764e399252a1e",
|
|
19
|
+
"electron-v30.0.1-darwin-x64-symbols.zip": "3abe84de7ab64c3eae6c4b1cfbc6c56c8eef5b1d119db2b55aa5f69b44e259b4",
|
|
20
|
+
"electron-v30.0.1-darwin-x64.zip": "2c87dc4df770bc84042fbb5de9f045dbfdc6aef8cfbe04781afafaf5c91fc5bf",
|
|
21
|
+
"electron-v30.0.1-linux-arm64-debug.zip": "0dd5370bef367d84049b96f2b7f29c311ee65b2e5ba6ec09be4c549ce7f3298f",
|
|
22
|
+
"electron-v30.0.1-linux-arm64-symbols.zip": "009b159535b319288ab53d1ab9ee3108b406a88b9a109e101416936f87aaa50b",
|
|
23
|
+
"electron-v30.0.1-linux-arm64.zip": "39dbe389f0f0152403565ecdf76e6acbb37684958679229377a91ff243da30d8",
|
|
24
|
+
"electron-v30.0.1-linux-armv7l-debug.zip": "0dd5370bef367d84049b96f2b7f29c311ee65b2e5ba6ec09be4c549ce7f3298f",
|
|
25
|
+
"electron-v30.0.1-linux-armv7l-symbols.zip": "2dfff85edbe310fce0072a3a533fcacadfa524f8e0bdf2164f3a690711281a1b",
|
|
26
|
+
"electron-v30.0.1-linux-armv7l.zip": "92b6f3dfde20dd56588c563adc8b85a855c1937226edaf28c75b9312f6600bc9",
|
|
27
|
+
"electron-v30.0.1-linux-x64-debug.zip": "d56a6211e9bf65ed8a854bf48d86d1eb9e6c5b9b3fd44dafbda6f3b6b15f2f85",
|
|
28
|
+
"electron-v30.0.1-linux-x64-symbols.zip": "e41d3e94130cfde8da7516d8040887912ef0f8357d1aaad2cb42b6de3c3e760a",
|
|
29
|
+
"electron-v30.0.1-linux-x64.zip": "137965e7c6b2d29cdce0caba3bcf55c4f299a97cbd086392a192212f6d014b9e",
|
|
30
|
+
"electron-v30.0.1-mas-arm64-dsym-snapshot.zip": "2be9dd56e739a6ef038d15ed635a0e8befabb715e988d956b8c184c8193db439",
|
|
31
|
+
"electron-v30.0.1-mas-arm64-dsym.zip": "d5a0ff7757f35c9115ff7625565eced3e9fa48026a8f15a7058d6b7b907080b7",
|
|
32
|
+
"electron-v30.0.1-mas-arm64-symbols.zip": "4d0bd39221ca9a5dc0dd0669640a7f8f31120816e9425ce926ca820f5713d576",
|
|
33
|
+
"electron-v30.0.1-mas-arm64.zip": "b31d8924a45d7b90660f0c486196a9d5e4360033021a3175e796f5ab42c932fe",
|
|
34
|
+
"electron-v30.0.1-mas-x64-dsym-snapshot.zip": "29d8658cbef94919673d02b1cde85a95f6d61a87e8e544f996899b28ccc8f7e9",
|
|
35
|
+
"electron-v30.0.1-mas-x64-dsym.zip": "b431fa86042234f3389e51ec0a1250e4459913aa4ebb610d403268236274267a",
|
|
36
|
+
"electron-v30.0.1-mas-x64-symbols.zip": "5a772e6787b84dc75a4fe2438dfca1e730977245c491e82df7aa502be8308ac6",
|
|
37
|
+
"electron-v30.0.1-mas-x64.zip": "79b2cf2309d20cb162b9a6f5b4514e0b5ea5bf5767201852dc4ebf424ddfa370",
|
|
38
|
+
"electron-v30.0.1-win32-arm64-pdb.zip": "3e0b3534781c19732bfe134682f5c5e191ad66f06617d8ee920e0342418750f9",
|
|
39
|
+
"electron-v30.0.1-win32-arm64-symbols.zip": "882ea2ccd3d9935d7241de2f2fa51dc80b08d9fb4c0d888e9f1748073cdd54e7",
|
|
40
|
+
"electron-v30.0.1-win32-arm64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
41
|
+
"electron-v30.0.1-win32-arm64.zip": "3f7f807e05e1937f853f6e4ee30b6d7701882226d642ca6fbadcbbf7459646c0",
|
|
42
|
+
"electron-v30.0.1-win32-ia32-pdb.zip": "26b9301dc7ddd2fd1a8ca14ad64d07c40e84fd33e005be620986041cb64bd41d",
|
|
43
|
+
"electron-v30.0.1-win32-ia32-symbols.zip": "693e9f5b3694f768c38e15d752c4d4ee8238b238fcf2719ade2f54a55cc3686f",
|
|
44
|
+
"electron-v30.0.1-win32-ia32-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
45
|
+
"electron-v30.0.1-win32-ia32.zip": "4430530331cbfd52632ece0cd2b55fe24a73cbe9c37833cfa8692234724dddf1",
|
|
46
|
+
"electron-v30.0.1-win32-x64-pdb.zip": "7e97c9fd1d4fa3a4c9787f7bd08a24ed920891acd859a3d44ab0c3ea72926aea",
|
|
47
|
+
"electron-v30.0.1-win32-x64-symbols.zip": "5b6e9b7fbcb233bfba2d895497cc0e835e94c3de5b872d79a3b3963a327e97bf",
|
|
48
|
+
"electron-v30.0.1-win32-x64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
49
|
+
"electron-v30.0.1-win32-x64.zip": "ca6801afcaa80e16420d5b3a637d5f468ae439c681f3221a1bf6d20ffcc00110",
|
|
50
|
+
"electron.d.ts": "f5857e681d6b3dbd1a1a5db2c5668ffb770c7f745fabc16b5393487bd3f80fdf",
|
|
51
|
+
"ffmpeg-v30.0.1-darwin-arm64.zip": "4a314a2ef1706ddc1e6ff2a21ea0fb7141f5e98967608c0bbb58dbcef377c43c",
|
|
52
|
+
"ffmpeg-v30.0.1-darwin-x64.zip": "32f67c267308361e4d744d1422e7a8f0388c0005630aa559a5cb66885484fceb",
|
|
53
|
+
"ffmpeg-v30.0.1-linux-arm64.zip": "af405540cc8c7f4024b18ecddb115ef01611b6bb7d2a57e0b80d87823ef2b4aa",
|
|
54
|
+
"ffmpeg-v30.0.1-linux-armv7l.zip": "911bd42c723a0c98f3d5ae4c279d6fcfda4612790fe394e54a63520dbce2a851",
|
|
55
|
+
"ffmpeg-v30.0.1-linux-x64.zip": "a2fe9383b5eae253afda23ac29739d9d4ae79e90ca71630e1b1375b90f204001",
|
|
56
|
+
"ffmpeg-v30.0.1-mas-arm64.zip": "cee4454158ad307916ebb28bdd49f2b9b832c926b827b31bfd39bd3dc91a0977",
|
|
57
|
+
"ffmpeg-v30.0.1-mas-x64.zip": "c38e443f436bdbeaca813d95fb19ab186a8fcd008cb824ce0d2f670f80c05cf2",
|
|
58
|
+
"ffmpeg-v30.0.1-win32-arm64.zip": "736cfa834bd15b4a050c9703fca22a8915428b7f2a89ef2508cbfa0df4e6df36",
|
|
59
|
+
"ffmpeg-v30.0.1-win32-ia32.zip": "eb74def585b7e2cb8f979c588d8ab2eabb43e4599fd4b3179436c1f6c1ee8d48",
|
|
60
|
+
"ffmpeg-v30.0.1-win32-x64.zip": "c2b6b3b1bd780187c3b7bd83b7410bf4aefe11c6bb4e009e25ff1988a9ac65ab",
|
|
61
|
+
"hunspell_dictionaries.zip": "428f770440d08fdc4f022fdb26fcac1de26df1b9a35086161a28fc0b1d9b9151",
|
|
62
|
+
"libcxx-objects-v30.0.1-linux-arm64.zip": "cfd08bdcdaff4798f1088bcd32bf8570aee40d8a278c25fbd7e7f991b2703300",
|
|
63
|
+
"libcxx-objects-v30.0.1-linux-armv7l.zip": "c9c37f12fe49f53b64ccebca95c1db74c369188fa51d12b4041c5613be6747c7",
|
|
64
|
+
"libcxx-objects-v30.0.1-linux-x64.zip": "ff9eb8ce59b744f8b2877105cad22a899a9b47f3fdf18022b26f2a9a4d3e6d0a",
|
|
65
|
+
"libcxx_headers.zip": "9e6a47e8f133dfc400e0182d2e08f6a173705b62a66f08bd3067f7dce2787df3",
|
|
66
|
+
"libcxxabi_headers.zip": "2c4c140bfeb235584f8f7c699d0d95b16ddb959484923aaa59eeb3310dbc161a",
|
|
67
|
+
"mksnapshot-v30.0.1-darwin-arm64.zip": "e6b4b9a8e6a6e3d1182a7cad2010f74f26a6e4f077eeb96ac4accc20a14f6066",
|
|
68
|
+
"mksnapshot-v30.0.1-darwin-x64.zip": "c17a1eb070306e7e8bbbb52e0fa6172d8fbcc5f48d20cd82423057e9bdfd690c",
|
|
69
|
+
"mksnapshot-v30.0.1-linux-arm64-x64.zip": "06bedbb8a2e663171dbc8ecc0e109b12aaedab6d01aa60f6c7411c2c57c653cd",
|
|
70
|
+
"mksnapshot-v30.0.1-linux-armv7l-x64.zip": "e559bf2c50bdaa7a7308f5ece3bab3c0ae8f3e2fe005567ea948e4e9f242e88a",
|
|
71
|
+
"mksnapshot-v30.0.1-linux-x64.zip": "105ee35a0a2c202629960d47230acbf53255a1e451ed570c871acd6e91b17624",
|
|
72
|
+
"mksnapshot-v30.0.1-mas-arm64.zip": "6d33aabd93a5338b774acdbb40c10acd13c97856e6f91057c1d1e1ae864d78f9",
|
|
73
|
+
"mksnapshot-v30.0.1-mas-x64.zip": "fb90fdf4fb6978f848be6a68024d893823bb36ee6770dea4e8dbcb5a77217e4b",
|
|
74
|
+
"mksnapshot-v30.0.1-win32-arm64-x64.zip": "ac6d4de0c4b5ada219536e352e0e94074c9995b191c47b4a479430d22760ff70",
|
|
75
|
+
"mksnapshot-v30.0.1-win32-ia32.zip": "fd45aa5c5c6dc9a651c1a4846e7b00feb57c95780143d856e82c604b252332ce",
|
|
76
|
+
"mksnapshot-v30.0.1-win32-x64.zip": "3056bb9a1c6acc0d3d6e5547ce199af64b9e6d9a373e24945f1488d762247b98"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 30.0.
|
|
1
|
+
// Type definitions for Electron 30.0.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/typescript-definitions
|
|
@@ -632,6 +632,11 @@ declare namespace Electron {
|
|
|
632
632
|
* launched from Notification Center. You can also call `app.isReady()` to check if
|
|
633
633
|
* this event has already fired and `app.whenReady()` to get a Promise that is
|
|
634
634
|
* fulfilled when Electron is initialized.
|
|
635
|
+
*
|
|
636
|
+
* **Note**: The `ready` event is only fired after the main process has finished
|
|
637
|
+
* running the first tick of the event loop. If an Electron API needs to be called
|
|
638
|
+
* before the `ready` event, ensure that it is called synchronously in the
|
|
639
|
+
* top-level context of the main process.
|
|
635
640
|
*/
|
|
636
641
|
on(event: 'ready', listener: (event: Event,
|
|
637
642
|
/**
|
|
@@ -7778,6 +7783,24 @@ declare namespace Electron {
|
|
|
7778
7783
|
path: string;
|
|
7779
7784
|
}
|
|
7780
7785
|
|
|
7786
|
+
interface FilesystemPermissionRequest extends PermissionRequest {
|
|
7787
|
+
|
|
7788
|
+
// Docs: https://electronjs.org/docs/api/structures/filesystem-permission-request
|
|
7789
|
+
|
|
7790
|
+
/**
|
|
7791
|
+
* The access type of the `fileSystem` request. Can be `writable` or `readable`.
|
|
7792
|
+
*/
|
|
7793
|
+
fileAccessType?: ('writable' | 'readable');
|
|
7794
|
+
/**
|
|
7795
|
+
* The path of the `fileSystem` request.
|
|
7796
|
+
*/
|
|
7797
|
+
filePath?: string;
|
|
7798
|
+
/**
|
|
7799
|
+
* Whether the `fileSystem` request is a directory.
|
|
7800
|
+
*/
|
|
7801
|
+
isDirectory?: boolean;
|
|
7802
|
+
}
|
|
7803
|
+
|
|
7781
7804
|
interface GlobalShortcut {
|
|
7782
7805
|
|
|
7783
7806
|
// Docs: https://electronjs.org/docs/api/global-shortcut
|
|
@@ -8483,6 +8506,20 @@ declare namespace Electron {
|
|
|
8483
8506
|
type: ('rawKeyDown' | 'keyDown' | 'keyUp' | 'char');
|
|
8484
8507
|
}
|
|
8485
8508
|
|
|
8509
|
+
interface MediaAccessPermissionRequest extends PermissionRequest {
|
|
8510
|
+
|
|
8511
|
+
// Docs: https://electronjs.org/docs/api/structures/media-access-permission-request
|
|
8512
|
+
|
|
8513
|
+
/**
|
|
8514
|
+
* The types of media access being requested - elements can be `video` or `audio`.
|
|
8515
|
+
*/
|
|
8516
|
+
mediaTypes?: Array<'video' | 'audio'>;
|
|
8517
|
+
/**
|
|
8518
|
+
* The security origin of the request.
|
|
8519
|
+
*/
|
|
8520
|
+
securityOrigin?: string;
|
|
8521
|
+
}
|
|
8522
|
+
|
|
8486
8523
|
interface MemoryInfo {
|
|
8487
8524
|
|
|
8488
8525
|
// Docs: https://electronjs.org/docs/api/structures/memory-info
|
|
@@ -9502,6 +9539,16 @@ declare namespace Electron {
|
|
|
9502
9539
|
userText?: string;
|
|
9503
9540
|
}
|
|
9504
9541
|
|
|
9542
|
+
interface OpenExternalPermissionRequest extends PermissionRequest {
|
|
9543
|
+
|
|
9544
|
+
// Docs: https://electronjs.org/docs/api/structures/open-external-permission-request
|
|
9545
|
+
|
|
9546
|
+
/**
|
|
9547
|
+
* The url of the `openExternal` request.
|
|
9548
|
+
*/
|
|
9549
|
+
externalURL?: string;
|
|
9550
|
+
}
|
|
9551
|
+
|
|
9505
9552
|
interface ParentPort extends NodeJS.EventEmitter {
|
|
9506
9553
|
|
|
9507
9554
|
// Docs: https://electronjs.org/docs/api/parent-port
|
|
@@ -9549,6 +9596,20 @@ declare namespace Electron {
|
|
|
9549
9596
|
timestamp: number;
|
|
9550
9597
|
}
|
|
9551
9598
|
|
|
9599
|
+
interface PermissionRequest {
|
|
9600
|
+
|
|
9601
|
+
// Docs: https://electronjs.org/docs/api/structures/permission-request
|
|
9602
|
+
|
|
9603
|
+
/**
|
|
9604
|
+
* Whether the frame making the request is the main frame.
|
|
9605
|
+
*/
|
|
9606
|
+
isMainFrame: boolean;
|
|
9607
|
+
/**
|
|
9608
|
+
* The last URL the requesting frame loaded.
|
|
9609
|
+
*/
|
|
9610
|
+
requestingUrl: string;
|
|
9611
|
+
}
|
|
9612
|
+
|
|
9552
9613
|
interface Point {
|
|
9553
9614
|
|
|
9554
9615
|
// Docs: https://electronjs.org/docs/api/structures/point
|
|
@@ -11687,7 +11748,7 @@ declare namespace Electron {
|
|
|
11687
11748
|
* `setPermissionCheckHandler` to get complete permission handling. Most web APIs
|
|
11688
11749
|
* do a permission check and then make a permission request if the check is denied.
|
|
11689
11750
|
*/
|
|
11690
|
-
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture' | 'fullscreen' | 'geolocation' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'pointerLock' | 'keyboardLock' | 'openExternal' | 'speaker-selection' | 'storage-access' | 'top-level-storage-access' | 'window-management' | 'unknown', callback: (permissionGranted: boolean) => void, details:
|
|
11751
|
+
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture' | 'fullscreen' | 'geolocation' | 'idle-detection' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'notifications' | 'pointerLock' | 'keyboardLock' | 'openExternal' | 'speaker-selection' | 'storage-access' | 'top-level-storage-access' | 'window-management' | 'unknown' | 'fileSystem', callback: (permissionGranted: boolean) => void, details: (PermissionRequest) | (FilesystemPermissionRequest) | (MediaAccessPermissionRequest) | (OpenExternalPermissionRequest)) => void) | (null)): void;
|
|
11691
11752
|
/**
|
|
11692
11753
|
* Adds scripts that will be executed on ALL web contents that are associated with
|
|
11693
11754
|
* this session just before normal `preload` scripts run.
|
|
@@ -19409,27 +19470,24 @@ declare namespace Electron {
|
|
|
19409
19470
|
*/
|
|
19410
19471
|
id?: string;
|
|
19411
19472
|
/**
|
|
19412
|
-
* Inserts this item before the item with the specified
|
|
19413
|
-
*
|
|
19414
|
-
*
|
|
19415
|
-
* the item.
|
|
19473
|
+
* Inserts this item before the item with the specified id. If the referenced item
|
|
19474
|
+
* doesn't exist the item will be inserted at the end of the menu. Also implies
|
|
19475
|
+
* that the menu item in question should be placed in the same “group” as the item.
|
|
19416
19476
|
*/
|
|
19417
19477
|
before?: string[];
|
|
19418
19478
|
/**
|
|
19419
|
-
* Inserts this item after the item with the specified
|
|
19420
|
-
*
|
|
19479
|
+
* Inserts this item after the item with the specified id. If the referenced item
|
|
19480
|
+
* doesn't exist the item will be inserted at the end of the menu.
|
|
19421
19481
|
*/
|
|
19422
19482
|
after?: string[];
|
|
19423
19483
|
/**
|
|
19424
19484
|
* Provides a means for a single context menu to declare the placement of their
|
|
19425
|
-
* containing group before the containing group of the item with the specified
|
|
19426
|
-
* label.
|
|
19485
|
+
* containing group before the containing group of the item with the specified id.
|
|
19427
19486
|
*/
|
|
19428
19487
|
beforeGroupContaining?: string[];
|
|
19429
19488
|
/**
|
|
19430
19489
|
* Provides a means for a single context menu to declare the placement of their
|
|
19431
|
-
* containing group after the containing group of the item with the specified
|
|
19432
|
-
* label.
|
|
19490
|
+
* containing group after the containing group of the item with the specified id.
|
|
19433
19491
|
*/
|
|
19434
19492
|
afterGroupContaining?: string[];
|
|
19435
19493
|
}
|
|
@@ -20082,29 +20140,6 @@ declare namespace Electron {
|
|
|
20082
20140
|
isMainFrame: boolean;
|
|
20083
20141
|
}
|
|
20084
20142
|
|
|
20085
|
-
interface PermissionRequestHandlerHandlerDetails {
|
|
20086
|
-
/**
|
|
20087
|
-
* The url of the `openExternal` request.
|
|
20088
|
-
*/
|
|
20089
|
-
externalURL?: string;
|
|
20090
|
-
/**
|
|
20091
|
-
* The security origin of the `media` request.
|
|
20092
|
-
*/
|
|
20093
|
-
securityOrigin?: string;
|
|
20094
|
-
/**
|
|
20095
|
-
* The types of media access being requested, elements can be `video` or `audio`
|
|
20096
|
-
*/
|
|
20097
|
-
mediaTypes?: Array<'video' | 'audio'>;
|
|
20098
|
-
/**
|
|
20099
|
-
* The last URL the requesting frame loaded
|
|
20100
|
-
*/
|
|
20101
|
-
requestingUrl: string;
|
|
20102
|
-
/**
|
|
20103
|
-
* Whether the frame making the request is the main frame
|
|
20104
|
-
*/
|
|
20105
|
-
isMainFrame: boolean;
|
|
20106
|
-
}
|
|
20107
|
-
|
|
20108
20143
|
interface PluginCrashedEvent extends DOMEvent {
|
|
20109
20144
|
name: string;
|
|
20110
20145
|
version: string;
|
|
@@ -21757,7 +21792,6 @@ declare namespace Electron {
|
|
|
21757
21792
|
type Parameters = Electron.Parameters;
|
|
21758
21793
|
type Payment = Electron.Payment;
|
|
21759
21794
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
21760
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
21761
21795
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
21762
21796
|
type PopupOptions = Electron.PopupOptions;
|
|
21763
21797
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -21847,6 +21881,7 @@ declare namespace Electron {
|
|
|
21847
21881
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
21848
21882
|
type FileFilter = Electron.FileFilter;
|
|
21849
21883
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
21884
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
21850
21885
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
21851
21886
|
type HIDDevice = Electron.HIDDevice;
|
|
21852
21887
|
type InputEvent = Electron.InputEvent;
|
|
@@ -21857,6 +21892,7 @@ declare namespace Electron {
|
|
|
21857
21892
|
type JumpListItem = Electron.JumpListItem;
|
|
21858
21893
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
21859
21894
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
21895
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
21860
21896
|
type MemoryInfo = Electron.MemoryInfo;
|
|
21861
21897
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
21862
21898
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -21864,7 +21900,9 @@ declare namespace Electron {
|
|
|
21864
21900
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
21865
21901
|
type NotificationAction = Electron.NotificationAction;
|
|
21866
21902
|
type NotificationResponse = Electron.NotificationResponse;
|
|
21903
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
21867
21904
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
21905
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
21868
21906
|
type Point = Electron.Point;
|
|
21869
21907
|
type PostBody = Electron.PostBody;
|
|
21870
21908
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -22093,7 +22131,6 @@ declare namespace Electron {
|
|
|
22093
22131
|
type Parameters = Electron.Parameters;
|
|
22094
22132
|
type Payment = Electron.Payment;
|
|
22095
22133
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22096
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
22097
22134
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22098
22135
|
type PopupOptions = Electron.PopupOptions;
|
|
22099
22136
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -22183,6 +22220,7 @@ declare namespace Electron {
|
|
|
22183
22220
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
22184
22221
|
type FileFilter = Electron.FileFilter;
|
|
22185
22222
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
22223
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
22186
22224
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
22187
22225
|
type HIDDevice = Electron.HIDDevice;
|
|
22188
22226
|
type InputEvent = Electron.InputEvent;
|
|
@@ -22193,6 +22231,7 @@ declare namespace Electron {
|
|
|
22193
22231
|
type JumpListItem = Electron.JumpListItem;
|
|
22194
22232
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
22195
22233
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
22234
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
22196
22235
|
type MemoryInfo = Electron.MemoryInfo;
|
|
22197
22236
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
22198
22237
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -22200,7 +22239,9 @@ declare namespace Electron {
|
|
|
22200
22239
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
22201
22240
|
type NotificationAction = Electron.NotificationAction;
|
|
22202
22241
|
type NotificationResponse = Electron.NotificationResponse;
|
|
22242
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
22203
22243
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
22244
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
22204
22245
|
type Point = Electron.Point;
|
|
22205
22246
|
type PostBody = Electron.PostBody;
|
|
22206
22247
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -22361,7 +22402,6 @@ declare namespace Electron {
|
|
|
22361
22402
|
type Parameters = Electron.Parameters;
|
|
22362
22403
|
type Payment = Electron.Payment;
|
|
22363
22404
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22364
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
22365
22405
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22366
22406
|
type PopupOptions = Electron.PopupOptions;
|
|
22367
22407
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -22451,6 +22491,7 @@ declare namespace Electron {
|
|
|
22451
22491
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
22452
22492
|
type FileFilter = Electron.FileFilter;
|
|
22453
22493
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
22494
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
22454
22495
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
22455
22496
|
type HIDDevice = Electron.HIDDevice;
|
|
22456
22497
|
type InputEvent = Electron.InputEvent;
|
|
@@ -22461,6 +22502,7 @@ declare namespace Electron {
|
|
|
22461
22502
|
type JumpListItem = Electron.JumpListItem;
|
|
22462
22503
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
22463
22504
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
22505
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
22464
22506
|
type MemoryInfo = Electron.MemoryInfo;
|
|
22465
22507
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
22466
22508
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -22468,7 +22510,9 @@ declare namespace Electron {
|
|
|
22468
22510
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
22469
22511
|
type NotificationAction = Electron.NotificationAction;
|
|
22470
22512
|
type NotificationResponse = Electron.NotificationResponse;
|
|
22513
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
22471
22514
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
22515
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
22472
22516
|
type Point = Electron.Point;
|
|
22473
22517
|
type PostBody = Electron.PostBody;
|
|
22474
22518
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -22624,7 +22668,6 @@ declare namespace Electron {
|
|
|
22624
22668
|
type Parameters = Electron.Parameters;
|
|
22625
22669
|
type Payment = Electron.Payment;
|
|
22626
22670
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22627
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
22628
22671
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22629
22672
|
type PopupOptions = Electron.PopupOptions;
|
|
22630
22673
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -22714,6 +22757,7 @@ declare namespace Electron {
|
|
|
22714
22757
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
22715
22758
|
type FileFilter = Electron.FileFilter;
|
|
22716
22759
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
22760
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
22717
22761
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
22718
22762
|
type HIDDevice = Electron.HIDDevice;
|
|
22719
22763
|
type InputEvent = Electron.InputEvent;
|
|
@@ -22724,6 +22768,7 @@ declare namespace Electron {
|
|
|
22724
22768
|
type JumpListItem = Electron.JumpListItem;
|
|
22725
22769
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
22726
22770
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
22771
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
22727
22772
|
type MemoryInfo = Electron.MemoryInfo;
|
|
22728
22773
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
22729
22774
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -22731,7 +22776,9 @@ declare namespace Electron {
|
|
|
22731
22776
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
22732
22777
|
type NotificationAction = Electron.NotificationAction;
|
|
22733
22778
|
type NotificationResponse = Electron.NotificationResponse;
|
|
22779
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
22734
22780
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
22781
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
22735
22782
|
type Point = Electron.Point;
|
|
22736
22783
|
type PostBody = Electron.PostBody;
|
|
22737
22784
|
type PrinterInfo = Electron.PrinterInfo;
|
|
@@ -22977,7 +23024,6 @@ declare namespace Electron {
|
|
|
22977
23024
|
type Parameters = Electron.Parameters;
|
|
22978
23025
|
type Payment = Electron.Payment;
|
|
22979
23026
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
22980
|
-
type PermissionRequestHandlerHandlerDetails = Electron.PermissionRequestHandlerHandlerDetails;
|
|
22981
23027
|
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
22982
23028
|
type PopupOptions = Electron.PopupOptions;
|
|
22983
23029
|
type PreconnectOptions = Electron.PreconnectOptions;
|
|
@@ -23067,6 +23113,7 @@ declare namespace Electron {
|
|
|
23067
23113
|
type ExtensionInfo = Electron.ExtensionInfo;
|
|
23068
23114
|
type FileFilter = Electron.FileFilter;
|
|
23069
23115
|
type FilePathWithHeaders = Electron.FilePathWithHeaders;
|
|
23116
|
+
type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
|
|
23070
23117
|
type GPUFeatureStatus = Electron.GPUFeatureStatus;
|
|
23071
23118
|
type HIDDevice = Electron.HIDDevice;
|
|
23072
23119
|
type InputEvent = Electron.InputEvent;
|
|
@@ -23077,6 +23124,7 @@ declare namespace Electron {
|
|
|
23077
23124
|
type JumpListItem = Electron.JumpListItem;
|
|
23078
23125
|
type KeyboardEvent = Electron.KeyboardEvent;
|
|
23079
23126
|
type KeyboardInputEvent = Electron.KeyboardInputEvent;
|
|
23127
|
+
type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
|
|
23080
23128
|
type MemoryInfo = Electron.MemoryInfo;
|
|
23081
23129
|
type MemoryUsageDetails = Electron.MemoryUsageDetails;
|
|
23082
23130
|
type MimeTypedBuffer = Electron.MimeTypedBuffer;
|
|
@@ -23084,7 +23132,9 @@ declare namespace Electron {
|
|
|
23084
23132
|
type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
|
|
23085
23133
|
type NotificationAction = Electron.NotificationAction;
|
|
23086
23134
|
type NotificationResponse = Electron.NotificationResponse;
|
|
23135
|
+
type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequest;
|
|
23087
23136
|
type PaymentDiscount = Electron.PaymentDiscount;
|
|
23137
|
+
type PermissionRequest = Electron.PermissionRequest;
|
|
23088
23138
|
type Point = Electron.Point;
|
|
23089
23139
|
type PostBody = Electron.PostBody;
|
|
23090
23140
|
type PrinterInfo = Electron.PrinterInfo;
|
package/package.json
CHANGED