electron-types 43.7.5 → 43.7.6

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/README.md CHANGED
@@ -14,11 +14,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
14
14
  Since this package only provides TypeScript types, install it as a dev dependency. **Install the version that matches your Electron version** (see [Version Matching](#version-matching)):
15
15
 
16
16
  ```bash
17
- npm install -D electron-types@43.7.5
17
+ npm install -D electron-types@43.7.6
18
18
  # or
19
- yarn add -D electron-types@43.7.5
19
+ yarn add -D electron-types@43.7.6
20
20
  # or
21
- pnpm add -D electron-types@43.7.5
21
+ pnpm add -D electron-types@43.7.6
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 43.7.5
1
+ // Type definitions for Electron 43.7.6
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
@@ -3355,7 +3355,10 @@ declare namespace Electron {
3355
3355
  * Makes the window ignore all mouse events.
3356
3356
  *
3357
3357
  * All mouse events happened in this window will be passed to the window below this
3358
- * window, but if this window has focus, it will still receive keyboard events.
3358
+ * window, but if this window has focus, it will still receive keyboard events. On
3359
+ * Linux this is supported on both X11 and Wayland. On X11 the X server has applied
3360
+ * the window's new input shape when the call returns; on Wayland the new input
3361
+ * region is applied with the window's next frame.
3359
3362
  */
3360
3363
  setIgnoreMouseEvents(ignore: boolean, options?: IgnoreMouseEventsOptions): void;
3361
3364
  /**
@@ -6145,7 +6148,10 @@ declare namespace Electron {
6145
6148
  * Makes the window ignore all mouse events.
6146
6149
  *
6147
6150
  * All mouse events happened in this window will be passed to the window below this
6148
- * window, but if this window has focus, it will still receive keyboard events.
6151
+ * window, but if this window has focus, it will still receive keyboard events. On
6152
+ * Linux this is supported on both X11 and Wayland. On X11 the X server has applied
6153
+ * the window's new input shape when the call returns; on Wayland the new input
6154
+ * region is applied with the window's next frame.
6149
6155
  */
6150
6156
  setIgnoreMouseEvents(ignore: boolean, options?: IgnoreMouseEventsOptions): void;
6151
6157
  /**
@@ -18646,7 +18652,8 @@ declare namespace Electron {
18646
18652
  */
18647
18653
  setUserAgent(userAgent: string): void;
18648
18654
  /**
18649
- * Sets the maximum and minimum pinch-to-zoom level.
18655
+ * Sets the maximum and minimum pinch-to-zoom level. The page keeps its normal
18656
+ * scale until the user pinches; a `minimumLevel` below 1 only allows zooming out.
18650
18657
  *
18651
18658
  * > [!NOTE] Visual zoom is disabled by default in Electron. To re-enable it, call:
18652
18659
  */
@@ -18678,14 +18685,15 @@ declare namespace Electron {
18678
18685
  * Changes the zoom factor to the specified factor. Zoom factor is zoom percent
18679
18686
  * divided by 100, so 300% = 3.0.
18680
18687
  *
18681
- * The factor must be greater than 0.0.
18688
+ * The factor must be greater than 0.0. Values outside the range Chromium can
18689
+ * display (0.25 to 5.0) are clamped to it.
18682
18690
  */
18683
18691
  setZoomFactor(factor: number): void;
18684
18692
  /**
18685
18693
  * Changes the zoom level to the specified level. The original size is 0 and each
18686
- * increment above or below represents zooming 20% larger or smaller to default
18687
- * limits of 300% and 50% of original size, respectively. The formula for this is
18688
- * `scale := 1.2 ^ level`.
18694
+ * increment above or below represents zooming 20% larger or smaller. The formula
18695
+ * for this is `scale := 1.2 ^ level`, and the level is clamped to the range
18696
+ * Chromium can display (25% to 500%, about -7.6 to 8.8).
18689
18697
  *
18690
18698
  * > [!NOTE] The zoom policy at the Chromium level is same-origin, meaning that the
18691
18699
  * zoom level for a specific domain propagates across all instances of windows with
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "43.7.5",
3
- "extractedAt": "2026-09-23T07:17:11.351Z"
2
+ "electronVersion": "43.7.6",
3
+ "extractedAt": "2026-09-29T19:11:52.382Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "43.7.5",
3
+ "version": "43.7.6",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",