electron 21.0.0-beta.8 → 21.0.0
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 -8
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v21.0.0-
|
|
3
|
-
"chromedriver-v21.0.0-
|
|
4
|
-
"chromedriver-v21.0.0-
|
|
5
|
-
"chromedriver-v21.0.0-
|
|
6
|
-
"chromedriver-v21.0.0-
|
|
7
|
-
"chromedriver-v21.0.0-
|
|
8
|
-
"chromedriver-v21.0.0-
|
|
9
|
-
"chromedriver-v21.0.0-
|
|
10
|
-
"chromedriver-v21.0.0-
|
|
11
|
-
"chromedriver-v21.0.0-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v21.0.0-
|
|
14
|
-
"electron-v21.0.0-
|
|
15
|
-
"electron-v21.0.0-
|
|
16
|
-
"electron-v21.0.0-
|
|
17
|
-
"electron-v21.0.0-
|
|
18
|
-
"electron-v21.0.0-
|
|
19
|
-
"electron-v21.0.0-
|
|
20
|
-
"electron-v21.0.0-
|
|
21
|
-
"electron-v21.0.0-
|
|
22
|
-
"electron-v21.0.0-
|
|
23
|
-
"electron-v21.0.0-
|
|
24
|
-
"electron-v21.0.0-
|
|
25
|
-
"electron-v21.0.0-
|
|
26
|
-
"electron-v21.0.0-
|
|
27
|
-
"electron-v21.0.0-
|
|
28
|
-
"electron-v21.0.0-
|
|
29
|
-
"electron-v21.0.0-
|
|
30
|
-
"electron-v21.0.0-
|
|
31
|
-
"electron-v21.0.0-
|
|
32
|
-
"electron-v21.0.0-
|
|
33
|
-
"electron-v21.0.0-
|
|
34
|
-
"electron-v21.0.0-
|
|
35
|
-
"electron-v21.0.0-
|
|
36
|
-
"electron-v21.0.0-
|
|
37
|
-
"electron-v21.0.0-
|
|
38
|
-
"electron-v21.0.0-
|
|
39
|
-
"electron-v21.0.0-
|
|
40
|
-
"electron-v21.0.0-
|
|
41
|
-
"electron-v21.0.0-
|
|
42
|
-
"electron-v21.0.0-
|
|
43
|
-
"electron-v21.0.0-
|
|
44
|
-
"electron-v21.0.0-
|
|
45
|
-
"electron-v21.0.0-
|
|
46
|
-
"electron-v21.0.0-
|
|
47
|
-
"electron-v21.0.0-
|
|
48
|
-
"electron-v21.0.0-
|
|
49
|
-
"electron-v21.0.0-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v21.0.0-
|
|
52
|
-
"ffmpeg-v21.0.0-
|
|
53
|
-
"ffmpeg-v21.0.0-
|
|
54
|
-
"ffmpeg-v21.0.0-
|
|
55
|
-
"ffmpeg-v21.0.0-
|
|
56
|
-
"ffmpeg-v21.0.0-
|
|
57
|
-
"ffmpeg-v21.0.0-
|
|
58
|
-
"ffmpeg-v21.0.0-
|
|
59
|
-
"ffmpeg-v21.0.0-
|
|
60
|
-
"ffmpeg-v21.0.0-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v21.0.0-
|
|
63
|
-
"libcxx-objects-v21.0.0-
|
|
64
|
-
"libcxx-objects-v21.0.0-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v21.0.0-
|
|
68
|
-
"mksnapshot-v21.0.0-
|
|
69
|
-
"mksnapshot-v21.0.0-
|
|
70
|
-
"mksnapshot-v21.0.0-
|
|
71
|
-
"mksnapshot-v21.0.0-
|
|
72
|
-
"mksnapshot-v21.0.0-
|
|
73
|
-
"mksnapshot-v21.0.0-
|
|
74
|
-
"mksnapshot-v21.0.0-
|
|
75
|
-
"mksnapshot-v21.0.0-
|
|
76
|
-
"mksnapshot-v21.0.0-
|
|
2
|
+
"chromedriver-v21.0.0-darwin-arm64.zip": "93c40f8677021603431b794ef19338c21082c8dbffea739d8ddd1d7704e98c8d",
|
|
3
|
+
"chromedriver-v21.0.0-darwin-x64.zip": "bbfdb787904dc01daea5e54d06c975c7033b704f46ddd02094710c79411810eb",
|
|
4
|
+
"chromedriver-v21.0.0-linux-arm64.zip": "2c16890abda6b9cb142c649c4f289a51c3a4b4a068585425d6936b25ff8efb7c",
|
|
5
|
+
"chromedriver-v21.0.0-linux-armv7l.zip": "16e40538b4c01eed37eebf526c363ad47274fc9e492701657d6f36889f7aed61",
|
|
6
|
+
"chromedriver-v21.0.0-linux-x64.zip": "e87ec25972d728cc2a50e56d0558069b5a6deca78596c4c8940e43e22efffe17",
|
|
7
|
+
"chromedriver-v21.0.0-mas-arm64.zip": "fb148c70aab5e045ff5099ec9e29a1887f5bc16e5f00c0bac07fd41ebf645222",
|
|
8
|
+
"chromedriver-v21.0.0-mas-x64.zip": "f462f0bb7e768af950548bbf102d295ced01ddcfd101ea879d84136aaa17d1be",
|
|
9
|
+
"chromedriver-v21.0.0-win32-arm64.zip": "3b17ac27027c77f4ce570a4bc263258e12333dd503e434fe63aa1ccf907e5bff",
|
|
10
|
+
"chromedriver-v21.0.0-win32-ia32.zip": "66d6c8c2efc91225059714e51f0b338a4eb0e073d3995ac4dcd08e16e1dfd8ef",
|
|
11
|
+
"chromedriver-v21.0.0-win32-x64.zip": "e47c7844722767f495d6244d6348ac38d48bbe918c149f44364316af82364eed",
|
|
12
|
+
"electron-api.json": "da02db1bbab911bd611b74a63a30818a54a26a757167f709e8688450e8b799ca",
|
|
13
|
+
"electron-v21.0.0-darwin-arm64-dsym-snapshot.zip": "6e7ede1336323286f0a65413489686d59ba223375109c01b2cd634a0b2c995ef",
|
|
14
|
+
"electron-v21.0.0-darwin-arm64-dsym.zip": "92fe9d3b184cabd230713ced2ea0aa2ac4a451cc0959843e1fbad860cd662fd2",
|
|
15
|
+
"electron-v21.0.0-darwin-arm64-symbols.zip": "aaa06a5f7e5d875f5b6c4180dea1bf2fc9dc6e0c4e723dd56c89579588d84c92",
|
|
16
|
+
"electron-v21.0.0-darwin-arm64.zip": "116482996e6c1f971b2b77d014c78c6620f3fadf45bdbe263cef4d4a224da371",
|
|
17
|
+
"electron-v21.0.0-darwin-x64-dsym-snapshot.zip": "99eeb254a350fdbc982c19e75ff5eb5d5f5dde9d8738e98a9455753ee094c9c2",
|
|
18
|
+
"electron-v21.0.0-darwin-x64-dsym.zip": "e40fd31a1ff052270d9bf6054fef8a682aadeaf011bf6b36d4cc975f3d5e275e",
|
|
19
|
+
"electron-v21.0.0-darwin-x64-symbols.zip": "a17dc00ef14ab6ef3d77c8bbed3fc755595cbd635f6c9e96e3a5f86dfa063ab3",
|
|
20
|
+
"electron-v21.0.0-darwin-x64.zip": "fba38ad26ec35f589feeef638144031f815efa3eb16ebc0c8fde3e072cef3034",
|
|
21
|
+
"electron-v21.0.0-linux-arm64-debug.zip": "181dac0d99a82464c295f9b5fe1a978fddd3575425f4f32be4604065d4830f9c",
|
|
22
|
+
"electron-v21.0.0-linux-arm64-symbols.zip": "641a2715635cb0dd81168ac250e577e3a64cacc4b6816d6ccab96f6acbbec1de",
|
|
23
|
+
"electron-v21.0.0-linux-arm64.zip": "4a109b6e02aadd9a00ea57a2d100bef042739988a8424a04d92299a3871a1ae4",
|
|
24
|
+
"electron-v21.0.0-linux-armv7l-debug.zip": "181dac0d99a82464c295f9b5fe1a978fddd3575425f4f32be4604065d4830f9c",
|
|
25
|
+
"electron-v21.0.0-linux-armv7l-symbols.zip": "9c61b56dbc8cbc19e42692e21d2f01018c7879d5fb40508e3c96b0f62d60f69e",
|
|
26
|
+
"electron-v21.0.0-linux-armv7l.zip": "1e53038094a5c32faba15419d88d9956f6b2d3638568006e0421b949e21a7967",
|
|
27
|
+
"electron-v21.0.0-linux-x64-debug.zip": "de15874907d7462e00c3c5d0cfedf50926d7df183955040df947a6069149138a",
|
|
28
|
+
"electron-v21.0.0-linux-x64-symbols.zip": "7d2a48482c936848dd5dceb900819ba898343bdb996da20f1bc41dcffa9b30a3",
|
|
29
|
+
"electron-v21.0.0-linux-x64.zip": "c955bdfd6690af2c4475b0da7299a446e99cb0eaba9e026eb9442eb3ff5be36d",
|
|
30
|
+
"electron-v21.0.0-mas-arm64-dsym-snapshot.zip": "6e7ede1336323286f0a65413489686d59ba223375109c01b2cd634a0b2c995ef",
|
|
31
|
+
"electron-v21.0.0-mas-arm64-dsym.zip": "ace21709f178d662c4dad31ee0d450f90c4bec49de6c69fdf0a379d0df664bf7",
|
|
32
|
+
"electron-v21.0.0-mas-arm64-symbols.zip": "3548a62fc59886114ae0854bc9b8e1b620ba81f966af359939a243b8228f2371",
|
|
33
|
+
"electron-v21.0.0-mas-arm64.zip": "a706b7f59f7efdffe07f7ce7d7523ea13038ebf823c9be2b88160b32360b6b3c",
|
|
34
|
+
"electron-v21.0.0-mas-x64-dsym-snapshot.zip": "e7c4b04496ffe1006eb4236f58637a14eb2eca731db88f215bf564aedd0ac14b",
|
|
35
|
+
"electron-v21.0.0-mas-x64-dsym.zip": "3441b23f6e954c2633949876b8830d38d130b34faf697778733ccc32cac97292",
|
|
36
|
+
"electron-v21.0.0-mas-x64-symbols.zip": "d89a30c49c9d9122244cb1b88bc1ed1042786d32fd7ee5a536721602e54758d2",
|
|
37
|
+
"electron-v21.0.0-mas-x64.zip": "14800c2095f36287eb5603888f966857fa35a45f767d06e1068a8ad14387e035",
|
|
38
|
+
"electron-v21.0.0-win32-arm64-pdb.zip": "00e9b61f2c20f048bd587659a227b9d88031dc719d94aab4f15fb24b9ea2ddac",
|
|
39
|
+
"electron-v21.0.0-win32-arm64-symbols.zip": "41f6f3c9ef810c99e149649a1c567dfdb6b8dd399d9edeca1a72741a032d8fcd",
|
|
40
|
+
"electron-v21.0.0-win32-arm64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
41
|
+
"electron-v21.0.0-win32-arm64.zip": "34352a41f4ba3c2b8cd39725d4c10133fd544b63fe7fec1831d5214253e20b6a",
|
|
42
|
+
"electron-v21.0.0-win32-ia32-pdb.zip": "e2eee53d3d19d5852d0985f3e0847a7b1dce761d7e2225bbbf0aa755e6c477d5",
|
|
43
|
+
"electron-v21.0.0-win32-ia32-symbols.zip": "49b852eb8dcaa116f4f95aa5baec99b7157a2d60137a0fe249bfdbfdd9f67f8e",
|
|
44
|
+
"electron-v21.0.0-win32-ia32-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
45
|
+
"electron-v21.0.0-win32-ia32.zip": "7b9b27c01ccdea83261813db847957de947fc6d35dace600fc5b491a6bd7819f",
|
|
46
|
+
"electron-v21.0.0-win32-x64-pdb.zip": "15a571f42f0e6f303ea9d347474cd0f3ab0fa1a9a239b421a6f5e3afd49ae589",
|
|
47
|
+
"electron-v21.0.0-win32-x64-symbols.zip": "cec3562f2829c543a79cf9c49f7b55fd836b0e796f89dbec63285d46601ccc48",
|
|
48
|
+
"electron-v21.0.0-win32-x64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
49
|
+
"electron-v21.0.0-win32-x64.zip": "1ff1ba4798ebf5d248d4d0de0f583940ba6ed8ceb9f0b01418a2d0c390d053ae",
|
|
50
|
+
"electron.d.ts": "2e3f48c2c57159596a2ef87149d16418fe2099459349c6a881a08b7a9e63ed78",
|
|
51
|
+
"ffmpeg-v21.0.0-darwin-arm64.zip": "adbecf2c6fca257d4ce6d812230defca427cc3c4ce6950efde4121fe8593a8b7",
|
|
52
|
+
"ffmpeg-v21.0.0-darwin-x64.zip": "0fda0b3649c46eb55602e5e5d36099bcaaecdfb16c91ca54f49c122282fc8218",
|
|
53
|
+
"ffmpeg-v21.0.0-linux-arm64.zip": "e05e811f131100f4055a3dc096a1a14835e3d5bf13ffca98b03935af46a90d07",
|
|
54
|
+
"ffmpeg-v21.0.0-linux-armv7l.zip": "a95e833356987870271c09b1ed22a0038beee476324840edfbf25b38b454cef7",
|
|
55
|
+
"ffmpeg-v21.0.0-linux-x64.zip": "b078114d88b5e4179bef90e3d1a6d007e7795f3a0b4a4cd0396fdfa1fe1bdf0e",
|
|
56
|
+
"ffmpeg-v21.0.0-mas-arm64.zip": "bcbdb14183e166da3f53af6a6f52cee85713ffb330ad7f4861af7f68a893506b",
|
|
57
|
+
"ffmpeg-v21.0.0-mas-x64.zip": "7228d06e5c675f5fd2f751a7cb7ae50ed3643d13e649fc59e46e9fa927f5c883",
|
|
58
|
+
"ffmpeg-v21.0.0-win32-arm64.zip": "3a4fe156a8a907d08c6e568cb91f2f5722661f46cb89bfb3cc9da30590834987",
|
|
59
|
+
"ffmpeg-v21.0.0-win32-ia32.zip": "e45f268bc23fbbbd0835ee9ce3d039365cfb5a4ed5121b11d4a9d24f69f78b3b",
|
|
60
|
+
"ffmpeg-v21.0.0-win32-x64.zip": "083748f46a825559394df285e88148e8ed404f38a06f73eba5ab0138cd3b6060",
|
|
61
|
+
"hunspell_dictionaries.zip": "a22bd05266bf97755966277bf2ba4ce952b48c44188879c0dd80d56d0cbfd307",
|
|
62
|
+
"libcxx-objects-v21.0.0-linux-arm64.zip": "689cc458cbad194d61eb9c322a2e233ee671d04b00dda5bd63740cb67d384cfe",
|
|
63
|
+
"libcxx-objects-v21.0.0-linux-armv7l.zip": "0e9d29a7e28e4f8c2512dcd4e9dc3678f77f1cee3516d41a3b5c618e059baaaf",
|
|
64
|
+
"libcxx-objects-v21.0.0-linux-x64.zip": "e496956880a660fe35a8c1777d9568558fe89848d64177ccf673245c69f59a4e",
|
|
65
|
+
"libcxx_headers.zip": "64256350f91859e15697bc46459ff5c5f18c98c42625befb665ea023596577cb",
|
|
66
|
+
"libcxxabi_headers.zip": "dfff161500c25810ce4046a2ff81f17e68ecee1b464133172af47ed8ea386f47",
|
|
67
|
+
"mksnapshot-v21.0.0-darwin-arm64.zip": "6d0885632c1c0f771ac775495307cc55fb4dd107c8cb8222715ec08e7c36fe69",
|
|
68
|
+
"mksnapshot-v21.0.0-darwin-x64.zip": "4a2d4e7d930c7a03b673e43dab25ebcf27440d97ed7e70ca9cba975b5b1e3c34",
|
|
69
|
+
"mksnapshot-v21.0.0-linux-arm64-x64.zip": "aec903769e2c299d44d5af0abe852508f7b1f0f6a76235c861e6f8a8fcb8c3b0",
|
|
70
|
+
"mksnapshot-v21.0.0-linux-armv7l-x64.zip": "daf7f536aeeb3ce50663111d7651d73190097d438486f57a294699bacf6387d8",
|
|
71
|
+
"mksnapshot-v21.0.0-linux-x64.zip": "ac88853875f0c874fbe4bc446ab163a7b2adfdce8a7c38db3a52ee986a61eed6",
|
|
72
|
+
"mksnapshot-v21.0.0-mas-arm64.zip": "b83d90aaa73f4d3105a5ff5425ba0b5628dbbd7ac6cddaf478ee3380f327bfca",
|
|
73
|
+
"mksnapshot-v21.0.0-mas-x64.zip": "513a4e67c52185e06bdacc72e8b09981d82df288075dc328995f12705ee4903d",
|
|
74
|
+
"mksnapshot-v21.0.0-win32-arm64-x64.zip": "5358613895163b18192d86679299d3b7a085810b81701dd5ebfcb7f94063b540",
|
|
75
|
+
"mksnapshot-v21.0.0-win32-ia32.zip": "99ed23c2e60d3cc4f0dec0354962261bb8818ba70aa0966ebdff41a4bc4945d1",
|
|
76
|
+
"mksnapshot-v21.0.0-win32-x64.zip": "fcf3b8a8960bfa8ead2d5d9015a5023375d4ad061f600c230a09f5a5595c80c8"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 21.0.0
|
|
1
|
+
// Type definitions for Electron 21.0.0
|
|
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
|
|
@@ -894,7 +894,7 @@ declare namespace Electron {
|
|
|
894
894
|
* **Note:** When distributing your packaged app, you have to also ship the
|
|
895
895
|
* `locales` folder.
|
|
896
896
|
*
|
|
897
|
-
* **Note:**
|
|
897
|
+
* **Note:** This API must be called after the `ready` event is emitted.
|
|
898
898
|
*/
|
|
899
899
|
getLocale(): string;
|
|
900
900
|
/**
|
|
@@ -958,6 +958,13 @@ declare namespace Electron {
|
|
|
958
958
|
* `app.setAppLogsPath()` without a `path` parameter.
|
|
959
959
|
*/
|
|
960
960
|
getPath(name: 'home' | 'appData' | 'userData' | 'sessionData' | 'temp' | 'exe' | 'module' | 'desktop' | 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'recent' | 'logs' | 'crashDumps'): string;
|
|
961
|
+
/**
|
|
962
|
+
* The current system locale. On Windows and Linux, it is fetched using Chromium's
|
|
963
|
+
* `i18n` library. On macOS, the `NSLocale` object is used instead.
|
|
964
|
+
*
|
|
965
|
+
* **Note:** This API must be called after the `ready` event is emitted.
|
|
966
|
+
*/
|
|
967
|
+
getSystemLocale(): string;
|
|
961
968
|
/**
|
|
962
969
|
* The version of the loaded application. If no version is found in the
|
|
963
970
|
* application's `package.json` file, the version of the current bundle or
|
|
@@ -7965,6 +7972,17 @@ declare namespace Electron {
|
|
|
7965
7972
|
* Resolves with the proxy information for `url`.
|
|
7966
7973
|
*/
|
|
7967
7974
|
resolveProxy(url: string): Promise<string>;
|
|
7975
|
+
/**
|
|
7976
|
+
* Sets a handler to respond to Bluetooth pairing requests. This handler allows
|
|
7977
|
+
* developers to handle devices that require additional validation before pairing.
|
|
7978
|
+
* When a handler is not defined, any pairing on Linux or Windows that requires
|
|
7979
|
+
* additional validation will be automatically cancelled. macOS does not require a
|
|
7980
|
+
* handler because macOS handles the pairing automatically. To clear the handler,
|
|
7981
|
+
* call `setBluetoothPairingHandler(null)`.
|
|
7982
|
+
*
|
|
7983
|
+
* @platform win32,linux
|
|
7984
|
+
*/
|
|
7985
|
+
setBluetoothPairingHandler(handler: ((details: BluetoothPairingHandlerHandlerDetails, callback: (response: Response) => void) => void) | (null)): void;
|
|
7968
7986
|
/**
|
|
7969
7987
|
* Sets the certificate verify proc for `session`, the `proc` will be called with
|
|
7970
7988
|
* `proc(request, callback)` whenever a server certificate verification is
|
|
@@ -12144,7 +12162,7 @@ declare namespace Electron {
|
|
|
12144
12162
|
*
|
|
12145
12163
|
* Some examples of valid `urls`:
|
|
12146
12164
|
*/
|
|
12147
|
-
onBeforeRequest(filter: WebRequestFilter, listener: ((details: OnBeforeRequestListenerDetails, callback: (response:
|
|
12165
|
+
onBeforeRequest(filter: WebRequestFilter, listener: ((details: OnBeforeRequestListenerDetails, callback: (response: CallbackResponse) => void) => void) | (null)): void;
|
|
12148
12166
|
/**
|
|
12149
12167
|
* The `listener` will be called with `listener(details, callback)` when a request
|
|
12150
12168
|
* is about to occur.
|
|
@@ -12155,7 +12173,7 @@ declare namespace Electron {
|
|
|
12155
12173
|
*
|
|
12156
12174
|
* Some examples of valid `urls`:
|
|
12157
12175
|
*/
|
|
12158
|
-
onBeforeRequest(listener: ((details: OnBeforeRequestListenerDetails, callback: (response:
|
|
12176
|
+
onBeforeRequest(listener: ((details: OnBeforeRequestListenerDetails, callback: (response: CallbackResponse) => void) => void) | (null)): void;
|
|
12159
12177
|
/**
|
|
12160
12178
|
* The `listener` will be called with `listener(details, callback)` before sending
|
|
12161
12179
|
* an HTTP request, once the request headers are available. This may occur after a
|
|
@@ -13046,6 +13064,19 @@ declare namespace Electron {
|
|
|
13046
13064
|
total: number;
|
|
13047
13065
|
}
|
|
13048
13066
|
|
|
13067
|
+
interface BluetoothPairingHandlerHandlerDetails {
|
|
13068
|
+
deviceId: string;
|
|
13069
|
+
/**
|
|
13070
|
+
* The type of pairing prompt being requested. One of the following values:
|
|
13071
|
+
*/
|
|
13072
|
+
pairingKind: ('confirm' | 'confirmPin' | 'providePin');
|
|
13073
|
+
frame: WebFrameMain;
|
|
13074
|
+
/**
|
|
13075
|
+
* The pin value to verify if `pairingKind` is `confirmPin`.
|
|
13076
|
+
*/
|
|
13077
|
+
pin?: string;
|
|
13078
|
+
}
|
|
13079
|
+
|
|
13049
13080
|
interface BrowserViewConstructorOptions {
|
|
13050
13081
|
/**
|
|
13051
13082
|
* See BrowserWindow.
|
|
@@ -13342,6 +13373,15 @@ declare namespace Electron {
|
|
|
13342
13373
|
titleBarOverlay?: (TitleBarOverlay) | (boolean);
|
|
13343
13374
|
}
|
|
13344
13375
|
|
|
13376
|
+
interface CallbackResponse {
|
|
13377
|
+
cancel?: boolean;
|
|
13378
|
+
/**
|
|
13379
|
+
* The original request is prevented from being sent or completed and is instead
|
|
13380
|
+
* redirected to the given URL.
|
|
13381
|
+
*/
|
|
13382
|
+
redirectURL?: string;
|
|
13383
|
+
}
|
|
13384
|
+
|
|
13345
13385
|
interface CertificateTrustDialogOptions {
|
|
13346
13386
|
/**
|
|
13347
13387
|
* The certificate to trust/import.
|
|
@@ -15390,12 +15430,18 @@ declare namespace Electron {
|
|
|
15390
15430
|
}
|
|
15391
15431
|
|
|
15392
15432
|
interface Response {
|
|
15393
|
-
cancel?: boolean;
|
|
15394
15433
|
/**
|
|
15395
|
-
*
|
|
15396
|
-
*
|
|
15434
|
+
* `false` should be passed in if the dialog is canceled. If the `pairingKind` is
|
|
15435
|
+
* `confirm` or `confirmPin`, this value should indicate if the pairing is
|
|
15436
|
+
* confirmed. If the `pairingKind` is `providePin` the value should be `true` when
|
|
15437
|
+
* a value is provided.
|
|
15397
15438
|
*/
|
|
15398
|
-
|
|
15439
|
+
confirmed: boolean;
|
|
15440
|
+
/**
|
|
15441
|
+
* When the `pairingKind` is `providePin` this value should be the required pin for
|
|
15442
|
+
* the Bluetooth device.
|
|
15443
|
+
*/
|
|
15444
|
+
pin?: (string) | (null);
|
|
15399
15445
|
}
|
|
15400
15446
|
|
|
15401
15447
|
interface Result {
|
|
@@ -16711,8 +16757,10 @@ declare namespace Electron {
|
|
|
16711
16757
|
type BeforeSendResponse = Electron.BeforeSendResponse;
|
|
16712
16758
|
type BitmapOptions = Electron.BitmapOptions;
|
|
16713
16759
|
type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
|
|
16760
|
+
type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHandlerHandlerDetails;
|
|
16714
16761
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
16715
16762
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
16763
|
+
type CallbackResponse = Electron.CallbackResponse;
|
|
16716
16764
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
16717
16765
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16718
16766
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
@@ -17008,8 +17056,10 @@ declare namespace Electron {
|
|
|
17008
17056
|
type BeforeSendResponse = Electron.BeforeSendResponse;
|
|
17009
17057
|
type BitmapOptions = Electron.BitmapOptions;
|
|
17010
17058
|
type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
|
|
17059
|
+
type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHandlerHandlerDetails;
|
|
17011
17060
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
17012
17061
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
17062
|
+
type CallbackResponse = Electron.CallbackResponse;
|
|
17013
17063
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
17014
17064
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17015
17065
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
@@ -17240,8 +17290,10 @@ declare namespace Electron {
|
|
|
17240
17290
|
type BeforeSendResponse = Electron.BeforeSendResponse;
|
|
17241
17291
|
type BitmapOptions = Electron.BitmapOptions;
|
|
17242
17292
|
type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
|
|
17293
|
+
type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHandlerHandlerDetails;
|
|
17243
17294
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
17244
17295
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
17296
|
+
type CallbackResponse = Electron.CallbackResponse;
|
|
17245
17297
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
17246
17298
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17247
17299
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
@@ -17551,8 +17603,10 @@ declare namespace Electron {
|
|
|
17551
17603
|
type BeforeSendResponse = Electron.BeforeSendResponse;
|
|
17552
17604
|
type BitmapOptions = Electron.BitmapOptions;
|
|
17553
17605
|
type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
|
|
17606
|
+
type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHandlerHandlerDetails;
|
|
17554
17607
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
17555
17608
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
17609
|
+
type CallbackResponse = Electron.CallbackResponse;
|
|
17556
17610
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
17557
17611
|
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17558
17612
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
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
|
|
19
|
+
"version": "21.0.0",
|
|
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",
|