electron-types 43.4.0 → 43.4.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/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.4.0
17
+ npm install -D electron-types@43.4.1
18
18
  # or
19
- yarn add -D electron-types@43.4.0
19
+ yarn add -D electron-types@43.4.1
20
20
  # or
21
- pnpm add -D electron-types@43.4.0
21
+ pnpm add -D electron-types@43.4.1
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 43.4.0
1
+ // Type definitions for Electron 43.4.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
@@ -1701,14 +1701,31 @@ declare namespace Electron {
1701
1701
  */
1702
1702
  setClientCertRequestPasswordHandler(handler: (clientCertRequestParams: ClientCertRequestParams) => Promise<string>): void;
1703
1703
  /**
1704
- * Sets the `.desktop` filename on Linux. This should match the base filename of
1705
- * the app's installed `.desktop` file. The `.desktop` suffix is optional.
1704
+ * Sets the `.desktop` filename on Linux. This must match the base filename of the
1705
+ * app's installed `.desktop` file. The `.desktop` suffix is optional.
1706
1706
  *
1707
- * This value is used to determine the default XDG application ID on Wayland and
1708
- * `WM_CLASS` on X11. If it is not set, Electron will attempt to infer a name, but
1709
- * it may not match the packaged app's actual `.desktop` file. This could result in
1710
- * the app showing a generic icon or failing to respond to global keyboard
1711
- * shortcuts.
1707
+ * The name (without the `.desktop` suffix) is the app's identity for Linux desktop
1708
+ * integration. It should be a reverse-DNS style ID such as `com.example.MyApp`,
1709
+ * following the desktop entry naming conventions. This value is used as:
1710
+ *
1711
+ * * the XDG application ID (`app_id`) on Wayland and `WM_CLASS` on X11, used to
1712
+ * match the app's icon and window grouping.
1713
+ * * the app ID that `xdg-desktop-portal` reports to portal backends such as
1714
+ * GlobalShortcuts.
1715
+ *
1716
+ * Portals increasingly enforce this identity. If the name is not a valid
1717
+ * reverse-DNS ID or does not match an installed `.desktop` file:
1718
+ *
1719
+ * * GNOME 50.0/50.1 (Ubuntu 26.04) rejects `globalShortcut` binds with
1720
+ * `org.freedesktop.portal.Error.NotAllowed` — with no error surfaced to the app
1721
+ * (see #52218).
1722
+ * * `xdg-desktop-portal` 1.21 and later refuses portal sessions for app IDs it
1723
+ * cannot resolve to a `.desktop` file.
1724
+ *
1725
+ * If this value is not set and `desktopName` is not present in `package.json`,
1726
+ * Electron falls back to a lowercased, hyphenated slug of the app's name (e.g. `My
1727
+ * App` → `my-app.desktop`), which is unlikely to be a valid portal identity —
1728
+ * packaged apps should always set it explicitly.
1712
1729
  *
1713
1730
  * This API must be called before the `ready` event. The value can also be set
1714
1731
  * using `desktopName` in `package.json`.
@@ -20372,6 +20389,13 @@ declare namespace Electron {
20372
20389
  * another value by including an `=`, followed by the value. Special values `yes`
20373
20390
  * and `1` are interpreted as `true`, while `no` and `0` are interpreted as
20374
20391
  * `false`.
20392
+ *
20393
+ * Security-critical preferences cannot be used to make the guest less secure than
20394
+ * its embedder. When the embedder has any of `contextIsolation`, `javascript`,
20395
+ * `nodeIntegration`, `nodeIntegrationInWorker`, `sandbox`,
20396
+ * `nodeIntegrationInSubFrames` or `enableWebSQL` set to its more secure value, the
20397
+ * guest inherits that value and the corresponding `webpreferences` entry is
20398
+ * ignored.
20375
20399
  */
20376
20400
  webpreferences: string;
20377
20401
  }
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "43.4.0",
3
- "extractedAt": "2026-08-12T00:27:38.898Z"
2
+ "electronVersion": "43.4.1",
3
+ "extractedAt": "2026-08-19T02:29:08.389Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "43.4.0",
3
+ "version": "43.4.1",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",