electron 23.1.0 → 24.0.0-alpha.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.
- package/checksums.json +75 -75
- package/electron.d.ts +88 -16
- package/package.json +2 -2
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-
|
|
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
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-
|
|
63
|
-
"libcxx-objects-
|
|
64
|
-
"libcxx-objects-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-
|
|
68
|
-
"mksnapshot-
|
|
69
|
-
"mksnapshot-
|
|
70
|
-
"mksnapshot-
|
|
71
|
-
"mksnapshot-
|
|
72
|
-
"mksnapshot-
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
2
|
+
"chromedriver-v24.0.0-alpha.2-darwin-arm64.zip": "60645c76a32fd75157958b4349a1f8ff20fe87dfae674613bd42885eae105534",
|
|
3
|
+
"chromedriver-v24.0.0-alpha.2-darwin-x64.zip": "fd9552c618e52e2dbeea5f099673070148800c2d46372d60d4a3c01d35421c9b",
|
|
4
|
+
"chromedriver-v24.0.0-alpha.2-linux-arm64.zip": "1469a8a49d90adf8143c5afdf4f2a408daa2c0218aec5b8d00cebad1e0ed535f",
|
|
5
|
+
"chromedriver-v24.0.0-alpha.2-linux-armv7l.zip": "be96e18e625892e32b0226f023f28b793048c0cb9e981d926cf5757a06d9f7b9",
|
|
6
|
+
"chromedriver-v24.0.0-alpha.2-linux-x64.zip": "ef9bd9f8d4e89bfb0a55eadaaf950c261c654b8921b78c54fdcbfde73af61b78",
|
|
7
|
+
"chromedriver-v24.0.0-alpha.2-mas-arm64.zip": "fe8a52d6d7bd1a74504b1929bea602b2632949a9e9757c4900295e8e6dc985c2",
|
|
8
|
+
"chromedriver-v24.0.0-alpha.2-mas-x64.zip": "f8229867dd512ce9f800c98e678a065465d1e15002bd0b3fab75662e1a1b6876",
|
|
9
|
+
"chromedriver-v24.0.0-alpha.2-win32-arm64.zip": "85a1f6eae249cbc67c78f7c6e3401c68b66c5aee4b380575d00e3381ee4347cc",
|
|
10
|
+
"chromedriver-v24.0.0-alpha.2-win32-ia32.zip": "0460804e74bfc92edba3997a6173479ba347afc87798486b59cfc465d8e48705",
|
|
11
|
+
"chromedriver-v24.0.0-alpha.2-win32-x64.zip": "546c1129d5480b70343eab3ed47845235a0194b9da473dc57e132eb637e8dc45",
|
|
12
|
+
"electron-api.json": "cccc4c85c01e125a85e963f6ae6f3d5a15eedcaea3c707f5caa2ea38208842e0",
|
|
13
|
+
"electron-v24.0.0-alpha.2-darwin-arm64-dsym-snapshot.zip": "71b854c46abae454a1be0e8c350bda52cba8a596a23fd306e7f64f0e6959cbcb",
|
|
14
|
+
"electron-v24.0.0-alpha.2-darwin-arm64-dsym.zip": "ec787174ec5bd6bc62b1fe1ff4d34604f7be2aff478518505dd9000d9ce4fefd",
|
|
15
|
+
"electron-v24.0.0-alpha.2-darwin-arm64-symbols.zip": "71bfc10721fde3b9e4dda38157688cbd3a2326d7abaa97bde05bc5861e0b7367",
|
|
16
|
+
"electron-v24.0.0-alpha.2-darwin-arm64.zip": "ba9be5a45ee65cd9e3b7171c64fcb6e6be20a6e95966c5b0dfb643ca3b98e5b1",
|
|
17
|
+
"electron-v24.0.0-alpha.2-darwin-x64-dsym-snapshot.zip": "e90dd2bec1c2cd43f26da93b6c0f17f1b622783dca5a3840ed3ab17b61c6d046",
|
|
18
|
+
"electron-v24.0.0-alpha.2-darwin-x64-dsym.zip": "ef8d30d9c84deda57620dad6db0c6f4113ce0292c8683c5b793c1f741c4c6f54",
|
|
19
|
+
"electron-v24.0.0-alpha.2-darwin-x64-symbols.zip": "7b0d8be3d97f78cd3dc314fe6f59f1a8bd78b588a1e1551774d7e4929e2e914a",
|
|
20
|
+
"electron-v24.0.0-alpha.2-darwin-x64.zip": "cad7d21e440abe0e94cbc344035b8c0ff6f96f3c503e3d3ac6a450e155509ba1",
|
|
21
|
+
"electron-v24.0.0-alpha.2-linux-arm64-debug.zip": "8e0c01fba6a1ef6617832b65b4331afb9d565190de9a342c7c8524bba91f861d",
|
|
22
|
+
"electron-v24.0.0-alpha.2-linux-arm64-symbols.zip": "3bf9e6628b5a90807a009c9a3e0a92b879c57a17dc9521ece540e817be0792ab",
|
|
23
|
+
"electron-v24.0.0-alpha.2-linux-arm64.zip": "228674272b2750c057e3ab8668a52cdcb64f543943b5bd0b2fad6905f120feed",
|
|
24
|
+
"electron-v24.0.0-alpha.2-linux-armv7l-debug.zip": "8e0c01fba6a1ef6617832b65b4331afb9d565190de9a342c7c8524bba91f861d",
|
|
25
|
+
"electron-v24.0.0-alpha.2-linux-armv7l-symbols.zip": "0954d650a099a4142086549745b6b90136f5634782247450fcd00f4fd1a0b8d1",
|
|
26
|
+
"electron-v24.0.0-alpha.2-linux-armv7l.zip": "64164aede1516a598ec80c2197c6e22308099ff8a8a1b7f7eb2a58ed1db6781b",
|
|
27
|
+
"electron-v24.0.0-alpha.2-linux-x64-debug.zip": "847cfee20183f4100ecf043036cb09c96868575aa1b81e4b9af16e62cf95b21a",
|
|
28
|
+
"electron-v24.0.0-alpha.2-linux-x64-symbols.zip": "104af24373101f3d78854f559ee2ae420a57c50057a7b480989ae9e1f3278840",
|
|
29
|
+
"electron-v24.0.0-alpha.2-linux-x64.zip": "cca9040d6c079f1f7626fbf28f32968994834821d29cf3d3d75089e7f3368815",
|
|
30
|
+
"electron-v24.0.0-alpha.2-mas-arm64-dsym-snapshot.zip": "71b854c46abae454a1be0e8c350bda52cba8a596a23fd306e7f64f0e6959cbcb",
|
|
31
|
+
"electron-v24.0.0-alpha.2-mas-arm64-dsym.zip": "a9304bc281169a50f9e47b0fb262c843980d1b8b49e7941d8542659160591c9b",
|
|
32
|
+
"electron-v24.0.0-alpha.2-mas-arm64-symbols.zip": "b712ec8704742ec9e57d2717e2f7af2061ec41271ed93c0b2c0378cf7bd845e1",
|
|
33
|
+
"electron-v24.0.0-alpha.2-mas-arm64.zip": "5d4bd4a7f45969337b650bbd26716d4200c4cae3a4f52c51a043da7f3f488d14",
|
|
34
|
+
"electron-v24.0.0-alpha.2-mas-x64-dsym-snapshot.zip": "6c3621aad00e874815ec3505b89e846773329912872f7326ece6cb669490f3d0",
|
|
35
|
+
"electron-v24.0.0-alpha.2-mas-x64-dsym.zip": "aa45717ccf06204080477786c0af32d46334a45ef65cfac1a6b825393ecd56a7",
|
|
36
|
+
"electron-v24.0.0-alpha.2-mas-x64-symbols.zip": "e801dc3d45b1aac1e374f99e18f3edc9f960d37020efa8541aea83108050219a",
|
|
37
|
+
"electron-v24.0.0-alpha.2-mas-x64.zip": "d29e0b0e2c0710967f4fa03e29811a678cd391c4b6132ee6eaf38331f4191930",
|
|
38
|
+
"electron-v24.0.0-alpha.2-win32-arm64-pdb.zip": "ff8de13f16613ea1d5434f36651eb709a53eccf12f9a85dbb21f5612ed93a1d9",
|
|
39
|
+
"electron-v24.0.0-alpha.2-win32-arm64-symbols.zip": "36a7157a74ec51e1826cdf30be041e88a5acdb4aa8a88ea08862dbf3450f5458",
|
|
40
|
+
"electron-v24.0.0-alpha.2-win32-arm64-toolchain-profile.zip": "948e3eee0cf634361eb1afcc0e124d2cf009f9729c4cfac99cddba167f80273b",
|
|
41
|
+
"electron-v24.0.0-alpha.2-win32-arm64.zip": "a6579a6d45a85ccd2655f174b12b28caaade32779a0c52df59d9470825f41351",
|
|
42
|
+
"electron-v24.0.0-alpha.2-win32-ia32-pdb.zip": "f85b490bd7757a96c9928345e35fc4881f8b089a9f4c337cc859ec592ea8714c",
|
|
43
|
+
"electron-v24.0.0-alpha.2-win32-ia32-symbols.zip": "ee5608b52fa17204854d56ead605942ad634f12c5b5aa23ce74b752baf2c8eca",
|
|
44
|
+
"electron-v24.0.0-alpha.2-win32-ia32-toolchain-profile.zip": "948e3eee0cf634361eb1afcc0e124d2cf009f9729c4cfac99cddba167f80273b",
|
|
45
|
+
"electron-v24.0.0-alpha.2-win32-ia32.zip": "1ed194395f09cad1ed9a73857ef3685b7a907316d5ce2b815ee15ee573ecd32a",
|
|
46
|
+
"electron-v24.0.0-alpha.2-win32-x64-pdb.zip": "374ae4b7b2f6dc23688380a31e87ced2ea708acf5753b55e36df7964e8443422",
|
|
47
|
+
"electron-v24.0.0-alpha.2-win32-x64-symbols.zip": "fcc4ad9fc5ca7385d2c78f7544410a39013d9b21df98fa5359ed8c263743ecd3",
|
|
48
|
+
"electron-v24.0.0-alpha.2-win32-x64-toolchain-profile.zip": "948e3eee0cf634361eb1afcc0e124d2cf009f9729c4cfac99cddba167f80273b",
|
|
49
|
+
"electron-v24.0.0-alpha.2-win32-x64.zip": "e567107324990fabeda18a53d55a48e0f051ededffd50885d998ca4c5f7cefd9",
|
|
50
|
+
"electron.d.ts": "2a284d8097c7236f281c5d53de3fd62ddc2b57eae570163776490b9f687e1f51",
|
|
51
|
+
"ffmpeg-v24.0.0-alpha.2-darwin-arm64.zip": "22507b6f2130414d081413afbfe757051f862ccb19a8b09c767a6b7589dd976d",
|
|
52
|
+
"ffmpeg-v24.0.0-alpha.2-darwin-x64.zip": "fd112d5d98888e4f788353869bc4f86e0482813059326cb31f76feeac3fe3959",
|
|
53
|
+
"ffmpeg-v24.0.0-alpha.2-linux-arm64.zip": "a8494e9b6d9c91c9aa3de1f5f5f54573d21769cc16e08e24c46656cb35aa02be",
|
|
54
|
+
"ffmpeg-v24.0.0-alpha.2-linux-armv7l.zip": "459cd43181a1702c4a23d161904afddf99581c9e5714433eef56274953b1c677",
|
|
55
|
+
"ffmpeg-v24.0.0-alpha.2-linux-x64.zip": "fc276bda697aa466f8b9b15a0c76e3e4baeed1dc17dee0dee66c23187f33b891",
|
|
56
|
+
"ffmpeg-v24.0.0-alpha.2-mas-arm64.zip": "7d5426f20ea31c9e954f22bf09086c514372498fbe5c684cb05aa673f8926da1",
|
|
57
|
+
"ffmpeg-v24.0.0-alpha.2-mas-x64.zip": "2bf10838f00d854daa0cd3f9d164ac067ccf542116df1a948105f4b739f643d1",
|
|
58
|
+
"ffmpeg-v24.0.0-alpha.2-win32-arm64.zip": "610dbb4f07ccde2db0d7f83e8bfa4611cb153f82f41d8ce243f63dba938174c7",
|
|
59
|
+
"ffmpeg-v24.0.0-alpha.2-win32-ia32.zip": "27dfd235a8dfe320796a519b62771a3e9ca8df12435e38c331a0d5c656f71af0",
|
|
60
|
+
"ffmpeg-v24.0.0-alpha.2-win32-x64.zip": "59d1f5938bf1c0dc6b4c0b446b57cf804d59b871b6191dacab4333cc6b20ae71",
|
|
61
|
+
"hunspell_dictionaries.zip": "75393ab8380dbab1c44b8c056ae7cf81d3421197882a9eaa3135b243e94c431c",
|
|
62
|
+
"libcxx-objects-v24.0.0-alpha.2-linux-arm64.zip": "2d692a72f1afdc890dbc6e74e77f5d18664541878e046d6a70da248418f2138a",
|
|
63
|
+
"libcxx-objects-v24.0.0-alpha.2-linux-armv7l.zip": "2d2e1963d30c60eee1fa7a77c888f834897da6d1c025f765bd3e0d2ddf37eeaf",
|
|
64
|
+
"libcxx-objects-v24.0.0-alpha.2-linux-x64.zip": "85f617e167eb09544c5b05a03d46d8d1b0a5e486d28b4d1664c9ea72c8cb7665",
|
|
65
|
+
"libcxx_headers.zip": "bb270d86f69cd40e15959f63d2fa8410270b6a3c003b58c99e60d17a5b593325",
|
|
66
|
+
"libcxxabi_headers.zip": "66ba9710ed8f50e5376c118bb53286cb08932997ac88b21f9a9be9eca1aa14cd",
|
|
67
|
+
"mksnapshot-v24.0.0-alpha.2-darwin-arm64.zip": "3cb10109a74979fd375ad0bdac2a8c044a72440ff1b98aa6c8ef2fb67981c51e",
|
|
68
|
+
"mksnapshot-v24.0.0-alpha.2-darwin-x64.zip": "d6f89c53e2f6f23f310e2b29f5536a940229cd3bfca6c1393ef5482804a96d30",
|
|
69
|
+
"mksnapshot-v24.0.0-alpha.2-linux-arm64-x64.zip": "00a6e01d5cb5aa9c1f70e6344364cb24b66e04ae24224989ce96ec32b5a89364",
|
|
70
|
+
"mksnapshot-v24.0.0-alpha.2-linux-armv7l-x64.zip": "b1005454cd6c296374fa3d92325ce36478b936c40ba493cf79aef8f338da1578",
|
|
71
|
+
"mksnapshot-v24.0.0-alpha.2-linux-x64.zip": "d7a16e47b40239689ba5536a6b5d974430b57162df87b5f62834f6ae3f0c4135",
|
|
72
|
+
"mksnapshot-v24.0.0-alpha.2-mas-arm64.zip": "b7d2bfd987525d2a7cd75505d77b91fbc2536c9fd05c6ad8073642c92073e999",
|
|
73
|
+
"mksnapshot-v24.0.0-alpha.2-mas-x64.zip": "2e5a87714edacee0d1e4e2517c7b8e402692b6af55b197cbda20015b0d4152b9",
|
|
74
|
+
"mksnapshot-v24.0.0-alpha.2-win32-arm64-x64.zip": "a5d2a25e692c46c9ac13d059217d24e867d225600a2d12882067375962b459d1",
|
|
75
|
+
"mksnapshot-v24.0.0-alpha.2-win32-ia32.zip": "ce402f6b0a235d3863603206ff6c574085cec06091c07df8a02d04597c2077da",
|
|
76
|
+
"mksnapshot-v24.0.0-alpha.2-win32-x64.zip": "6593602c6ac1572c3d9f18830bde9e4284b9609cae79bb746b09b3b0b5f371a0"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 24.0.0-alpha.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/electron-typescript-definitions
|
|
@@ -2406,7 +2406,18 @@ declare namespace Electron {
|
|
|
2406
2406
|
*
|
|
2407
2407
|
* @platform win32
|
|
2408
2408
|
*/
|
|
2409
|
-
hookWindowMessage(message: number, callback: (wParam:
|
|
2409
|
+
hookWindowMessage(message: number, callback: (wParam: Buffer, lParam: Buffer) => void): void;
|
|
2410
|
+
/**
|
|
2411
|
+
* Invalidates the window shadow so that it is recomputed based on the current
|
|
2412
|
+
* window shape.
|
|
2413
|
+
*
|
|
2414
|
+
* `BrowserWindows` that are transparent can sometimes leave behind visual
|
|
2415
|
+
* artifacts on macOS. This method can be used to clear these artifacts when, for
|
|
2416
|
+
* example, performing an animation.
|
|
2417
|
+
*
|
|
2418
|
+
* @platform darwin
|
|
2419
|
+
*/
|
|
2420
|
+
invalidateShadow(): void;
|
|
2410
2421
|
/**
|
|
2411
2422
|
* Whether the window is always on top of other windows.
|
|
2412
2423
|
*/
|
|
@@ -2434,11 +2445,11 @@ declare namespace Electron {
|
|
|
2434
2445
|
*/
|
|
2435
2446
|
isEnabled(): boolean;
|
|
2436
2447
|
/**
|
|
2437
|
-
*
|
|
2448
|
+
* Whether the window can be focused.
|
|
2438
2449
|
*
|
|
2439
2450
|
* @platform darwin,win32
|
|
2440
2451
|
*/
|
|
2441
|
-
isFocusable():
|
|
2452
|
+
isFocusable(): boolean;
|
|
2442
2453
|
/**
|
|
2443
2454
|
* Whether the window is focused.
|
|
2444
2455
|
*/
|
|
@@ -4866,7 +4877,7 @@ declare namespace Electron {
|
|
|
4866
4877
|
* * "Media Previous Track"
|
|
4867
4878
|
* * "Media Stop"
|
|
4868
4879
|
*/
|
|
4869
|
-
registerAll(accelerators:
|
|
4880
|
+
registerAll(accelerators: Accelerator[], callback: () => void): void;
|
|
4870
4881
|
/**
|
|
4871
4882
|
* Unregisters the global shortcut of `accelerator`.
|
|
4872
4883
|
*/
|
|
@@ -5002,7 +5013,7 @@ declare namespace Electron {
|
|
|
5002
5013
|
* You should listen for the `transactions-updated` event as soon as possible and
|
|
5003
5014
|
* certainly before you call `purchaseProduct`.
|
|
5004
5015
|
*/
|
|
5005
|
-
purchaseProduct(productID: string,
|
|
5016
|
+
purchaseProduct(productID: string, opts?: (number) | (PurchaseProductOpts)): Promise<boolean>;
|
|
5006
5017
|
/**
|
|
5007
5018
|
* Restores finished transactions. This method can be called either to install
|
|
5008
5019
|
* purchases on additional devices, or to restore purchases for an application that
|
|
@@ -7159,10 +7170,14 @@ declare namespace Electron {
|
|
|
7159
7170
|
*
|
|
7160
7171
|
* @platform darwin
|
|
7161
7172
|
*/
|
|
7162
|
-
on(event: 'received-apns-notification', listener: (
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7173
|
+
on(event: 'received-apns-notification', listener: (event: Event,
|
|
7174
|
+
userInfo: Record<string, any>) => void): this;
|
|
7175
|
+
once(event: 'received-apns-notification', listener: (event: Event,
|
|
7176
|
+
userInfo: Record<string, any>) => void): this;
|
|
7177
|
+
addListener(event: 'received-apns-notification', listener: (event: Event,
|
|
7178
|
+
userInfo: Record<string, any>) => void): this;
|
|
7179
|
+
removeListener(event: 'received-apns-notification', listener: (event: Event,
|
|
7180
|
+
userInfo: Record<string, any>) => void): this;
|
|
7166
7181
|
/**
|
|
7167
7182
|
* Registers the app with Apple Push Notification service (APNS) to receive Badge,
|
|
7168
7183
|
* Sound, and Alert notifications. If registration is successful, the promise will
|
|
@@ -7730,8 +7745,8 @@ declare namespace Electron {
|
|
|
7730
7745
|
* `navigator.hid.requestDevice` is made. `callback` should be called with
|
|
7731
7746
|
* `deviceId` to be selected; passing no arguments to `callback` will cancel the
|
|
7732
7747
|
* request. Additionally, permissioning on `navigator.hid` can be further managed
|
|
7733
|
-
* by using ses.setPermissionCheckHandler(handler) and
|
|
7734
|
-
* ses.setDevicePermissionHandler(handler)`.
|
|
7748
|
+
* by using `ses.setPermissionCheckHandler(handler)` and
|
|
7749
|
+
* `ses.setDevicePermissionHandler(handler)`.
|
|
7735
7750
|
*/
|
|
7736
7751
|
on(event: 'select-hid-device', listener: (event: Event,
|
|
7737
7752
|
details: SelectHidDeviceDetails,
|
|
@@ -7773,8 +7788,8 @@ declare namespace Electron {
|
|
|
7773
7788
|
* `navigator.usb.requestDevice` is made. `callback` should be called with
|
|
7774
7789
|
* `deviceId` to be selected; passing no arguments to `callback` will cancel the
|
|
7775
7790
|
* request. Additionally, permissioning on `navigator.usb` can be further managed
|
|
7776
|
-
* by using ses.setPermissionCheckHandler(handler) and
|
|
7777
|
-
* ses.setDevicePermissionHandler(handler)`.
|
|
7791
|
+
* by using `ses.setPermissionCheckHandler(handler)` and
|
|
7792
|
+
* `ses.setDevicePermissionHandler(handler)`.
|
|
7778
7793
|
*/
|
|
7779
7794
|
on(event: 'select-usb-device', listener: (event: Event,
|
|
7780
7795
|
details: SelectUsbDeviceDetails,
|
|
@@ -10474,6 +10489,30 @@ declare namespace Electron {
|
|
|
10474
10489
|
once(event: 'devtools-focused', listener: Function): this;
|
|
10475
10490
|
addListener(event: 'devtools-focused', listener: Function): this;
|
|
10476
10491
|
removeListener(event: 'devtools-focused', listener: Function): this;
|
|
10492
|
+
/**
|
|
10493
|
+
* Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for
|
|
10494
|
+
* a link in its context menu.
|
|
10495
|
+
*/
|
|
10496
|
+
on(event: 'devtools-open-url', listener: (
|
|
10497
|
+
/**
|
|
10498
|
+
* URL of the link that was clicked or selected.
|
|
10499
|
+
*/
|
|
10500
|
+
url: string) => void): this;
|
|
10501
|
+
once(event: 'devtools-open-url', listener: (
|
|
10502
|
+
/**
|
|
10503
|
+
* URL of the link that was clicked or selected.
|
|
10504
|
+
*/
|
|
10505
|
+
url: string) => void): this;
|
|
10506
|
+
addListener(event: 'devtools-open-url', listener: (
|
|
10507
|
+
/**
|
|
10508
|
+
* URL of the link that was clicked or selected.
|
|
10509
|
+
*/
|
|
10510
|
+
url: string) => void): this;
|
|
10511
|
+
removeListener(event: 'devtools-open-url', listener: (
|
|
10512
|
+
/**
|
|
10513
|
+
* URL of the link that was clicked or selected.
|
|
10514
|
+
*/
|
|
10515
|
+
url: string) => void): this;
|
|
10477
10516
|
/**
|
|
10478
10517
|
* Emitted when DevTools is opened.
|
|
10479
10518
|
*/
|
|
@@ -10879,7 +10918,7 @@ declare namespace Electron {
|
|
|
10879
10918
|
addListener(event: 'focus', listener: Function): this;
|
|
10880
10919
|
removeListener(event: 'focus', listener: Function): this;
|
|
10881
10920
|
/**
|
|
10882
|
-
* Emitted when a result is available for
|
|
10921
|
+
* Emitted when a result is available for `webContents.findInPage` request.
|
|
10883
10922
|
*/
|
|
10884
10923
|
on(event: 'found-in-page', listener: (event: Event,
|
|
10885
10924
|
result: Result) => void): this;
|
|
@@ -12740,6 +12779,12 @@ declare namespace Electron {
|
|
|
12740
12779
|
*/
|
|
12741
12780
|
addEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void, useCapture?: boolean): this;
|
|
12742
12781
|
removeEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void): this;
|
|
12782
|
+
/**
|
|
12783
|
+
* Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for
|
|
12784
|
+
* a link in its context menu.
|
|
12785
|
+
*/
|
|
12786
|
+
addEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void, useCapture?: boolean): this;
|
|
12787
|
+
removeEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void): this;
|
|
12743
12788
|
/**
|
|
12744
12789
|
* Emitted when DevTools is opened.
|
|
12745
12790
|
*/
|
|
@@ -14220,6 +14265,13 @@ declare namespace Electron {
|
|
|
14220
14265
|
device: (HIDDevice) | (SerialPort);
|
|
14221
14266
|
}
|
|
14222
14267
|
|
|
14268
|
+
interface DevtoolsOpenUrlEvent extends Event {
|
|
14269
|
+
/**
|
|
14270
|
+
* URL of the link that was clicked or selected.
|
|
14271
|
+
*/
|
|
14272
|
+
url: string;
|
|
14273
|
+
}
|
|
14274
|
+
|
|
14223
14275
|
interface DidChangeThemeColorEvent extends Event {
|
|
14224
14276
|
themeColor: string;
|
|
14225
14277
|
}
|
|
@@ -14843,7 +14895,7 @@ declare namespace Electron {
|
|
|
14843
14895
|
enabled?: boolean;
|
|
14844
14896
|
/**
|
|
14845
14897
|
* default is `true`, and when `false` will prevent the accelerator from triggering
|
|
14846
|
-
* the item if the item is not visible
|
|
14898
|
+
* the item if the item is not visible.
|
|
14847
14899
|
*
|
|
14848
14900
|
* @platform darwin
|
|
14849
14901
|
*/
|
|
@@ -15705,6 +15757,18 @@ declare namespace Electron {
|
|
|
15705
15757
|
spellCheck: (words: string[], callback: (misspeltWords: string[]) => void) => void;
|
|
15706
15758
|
}
|
|
15707
15759
|
|
|
15760
|
+
interface PurchaseProductOpts {
|
|
15761
|
+
/**
|
|
15762
|
+
* The number of items the user wants to purchase.
|
|
15763
|
+
*/
|
|
15764
|
+
quantity?: number;
|
|
15765
|
+
/**
|
|
15766
|
+
* The string that associates the transaction with a user account on your service
|
|
15767
|
+
* (applicationUsername).
|
|
15768
|
+
*/
|
|
15769
|
+
username?: string;
|
|
15770
|
+
}
|
|
15771
|
+
|
|
15708
15772
|
interface ReadBookmark {
|
|
15709
15773
|
title: string;
|
|
15710
15774
|
url: string;
|
|
@@ -17195,6 +17259,7 @@ declare namespace Electron {
|
|
|
17195
17259
|
type Data = Electron.Data;
|
|
17196
17260
|
type Details = Electron.Details;
|
|
17197
17261
|
type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHandlerHandlerDetails;
|
|
17262
|
+
type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
|
|
17198
17263
|
type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
|
|
17199
17264
|
type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
|
|
17200
17265
|
type DidFailLoadEvent = Electron.DidFailLoadEvent;
|
|
@@ -17271,6 +17336,7 @@ declare namespace Electron {
|
|
|
17271
17336
|
type Privileges = Electron.Privileges;
|
|
17272
17337
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
17273
17338
|
type Provider = Electron.Provider;
|
|
17339
|
+
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
17274
17340
|
type ReadBookmark = Electron.ReadBookmark;
|
|
17275
17341
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
17276
17342
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -17507,6 +17573,7 @@ declare namespace Electron {
|
|
|
17507
17573
|
type Data = Electron.Data;
|
|
17508
17574
|
type Details = Electron.Details;
|
|
17509
17575
|
type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHandlerHandlerDetails;
|
|
17576
|
+
type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
|
|
17510
17577
|
type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
|
|
17511
17578
|
type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
|
|
17512
17579
|
type DidFailLoadEvent = Electron.DidFailLoadEvent;
|
|
@@ -17583,6 +17650,7 @@ declare namespace Electron {
|
|
|
17583
17650
|
type Privileges = Electron.Privileges;
|
|
17584
17651
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
17585
17652
|
type Provider = Electron.Provider;
|
|
17653
|
+
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
17586
17654
|
type ReadBookmark = Electron.ReadBookmark;
|
|
17587
17655
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
17588
17656
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -17752,6 +17820,7 @@ declare namespace Electron {
|
|
|
17752
17820
|
type Data = Electron.Data;
|
|
17753
17821
|
type Details = Electron.Details;
|
|
17754
17822
|
type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHandlerHandlerDetails;
|
|
17823
|
+
type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
|
|
17755
17824
|
type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
|
|
17756
17825
|
type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
|
|
17757
17826
|
type DidFailLoadEvent = Electron.DidFailLoadEvent;
|
|
@@ -17828,6 +17897,7 @@ declare namespace Electron {
|
|
|
17828
17897
|
type Privileges = Electron.Privileges;
|
|
17829
17898
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
17830
17899
|
type Provider = Electron.Provider;
|
|
17900
|
+
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
17831
17901
|
type ReadBookmark = Electron.ReadBookmark;
|
|
17832
17902
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
17833
17903
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
@@ -18078,6 +18148,7 @@ declare namespace Electron {
|
|
|
18078
18148
|
type Data = Electron.Data;
|
|
18079
18149
|
type Details = Electron.Details;
|
|
18080
18150
|
type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHandlerHandlerDetails;
|
|
18151
|
+
type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
|
|
18081
18152
|
type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
|
|
18082
18153
|
type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
|
|
18083
18154
|
type DidFailLoadEvent = Electron.DidFailLoadEvent;
|
|
@@ -18154,6 +18225,7 @@ declare namespace Electron {
|
|
|
18154
18225
|
type Privileges = Electron.Privileges;
|
|
18155
18226
|
type ProgressBarOptions = Electron.ProgressBarOptions;
|
|
18156
18227
|
type Provider = Electron.Provider;
|
|
18228
|
+
type PurchaseProductOpts = Electron.PurchaseProductOpts;
|
|
18157
18229
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18158
18230
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18159
18231
|
type RelaunchOptions = Electron.RelaunchOptions;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@electron/get": "^2.0.0",
|
|
12
|
-
"@types/node": "^
|
|
12
|
+
"@types/node": "^18.11.18",
|
|
13
13
|
"extract-zip": "^2.0.1"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"keywords": [
|
|
24
24
|
"electron"
|
|
25
25
|
],
|
|
26
|
-
"version": "
|
|
26
|
+
"version": "24.0.0-alpha.2"
|
|
27
27
|
}
|