electron 14.2.1 → 14.2.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.
Files changed (2) hide show
  1. package/electron.d.ts +6 -3
  2. package/package.json +1 -1
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 14.2.1
1
+ // Type definitions for Electron 14.2.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
@@ -10372,6 +10372,9 @@ declare namespace Electron {
10372
10372
  * `webBluetooth` should be enabled. If `event.preventDefault` is not called, first
10373
10373
  * available device will be selected. `callback` should be called with `deviceId`
10374
10374
  * to be selected, passing empty string to `callback` will cancel the request.
10375
+ *
10376
+ * If no event listener is added for this event, all bluetooth requests will be
10377
+ * cancelled.
10375
10378
  */
10376
10379
  on(event: 'select-bluetooth-device', listener: (event: Event,
10377
10380
  devices: BluetoothDevice[],
@@ -14243,11 +14246,11 @@ declare namespace Electron {
14243
14246
 
14244
14247
  interface OpenDevToolsOptions {
14245
14248
  /**
14246
- * Opens the devtools with specified dock state, can be `right`, `bottom`,
14249
+ * Opens the devtools with specified dock state, can be `left`, `right`, `bottom`,
14247
14250
  * `undocked`, `detach`. Defaults to last used dock state. In `undocked` mode it's
14248
14251
  * possible to dock back. In `detach` mode it's not.
14249
14252
  */
14250
- mode: ('right' | 'bottom' | 'undocked' | 'detach');
14253
+ mode: ('left' | 'right' | 'bottom' | 'undocked' | 'detach');
14251
14254
  /**
14252
14255
  * Whether to bring the opened devtools window to the foreground. The default is
14253
14256
  * `true`.
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "node": ">= 8.6"
17
17
  },
18
18
  "name": "electron",
19
- "version": "14.2.1",
19
+ "version": "14.2.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",