electron-types 43.0.0-beta.1 → 43.0.0-beta.3

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
@@ -15,11 +15,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
15
15
  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)):
16
16
 
17
17
  ```bash
18
- npm install -D electron-types@43.0.0-beta.1
18
+ npm install -D electron-types@43.0.0-beta.3
19
19
  # or
20
- yarn add -D electron-types@43.0.0-beta.1
20
+ yarn add -D electron-types@43.0.0-beta.3
21
21
  # or
22
- pnpm add -D electron-types@43.0.0-beta.1
22
+ pnpm add -D electron-types@43.0.0-beta.3
23
23
  ```
24
24
 
25
25
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 43.0.0-beta.1
1
+ // Type definitions for Electron 43.0.0-beta.3
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
@@ -1700,6 +1700,22 @@ declare namespace Electron {
1700
1700
  * for `hostname`.
1701
1701
  */
1702
1702
  setClientCertRequestPasswordHandler(handler: (clientCertRequestParams: ClientCertRequestParams) => Promise<string>): void;
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.
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.
1712
+ *
1713
+ * This API must be called before the `ready` event. The value can also be set
1714
+ * using `desktopName` in `package.json`.
1715
+ *
1716
+ * @platform linux
1717
+ */
1718
+ setDesktopName(name: string): void;
1703
1719
  /**
1704
1720
  * Sets or removes a custom Jump List for the application, and returns one of the
1705
1721
  * following strings:
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "43.0.0-beta.1",
3
- "extractedAt": "2026-06-05T01:16:47.682Z"
2
+ "electronVersion": "43.0.0-beta.3",
3
+ "extractedAt": "2026-06-12T07:53:19.700Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "43.0.0-beta.1",
3
+ "version": "43.0.0-beta.3",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",