electron-types 43.0.0-alpha.1 → 43.0.0-alpha.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
@@ -1,5 +1,9 @@
1
1
  # electron-types
2
2
 
3
+ [![CI](https://badgen.net/github/checks/biw/electron-types)](https://github.com/biw/electron-types/actions)
4
+ [![npm version](https://badgen.net/npm/v/electron-types)](https://www.npmjs.com/package/electron-types)
5
+ [![npm downloads](https://badgen.net/npm/dt/electron-types)](https://www.npmjs.com/package/electron-types)
6
+
3
7
  TypeScript type definitions extracted from the [electron](https://www.electronjs.org/) package.
4
8
 
5
9
  ## Why?
@@ -11,11 +15,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
11
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)):
12
16
 
13
17
  ```bash
14
- npm install -D electron-types@43.0.0-alpha.1
18
+ npm install -D electron-types@43.0.0-alpha.3
15
19
  # or
16
- yarn add -D electron-types@43.0.0-alpha.1
20
+ yarn add -D electron-types@43.0.0-alpha.3
17
21
  # or
18
- pnpm add -D electron-types@43.0.0-alpha.1
22
+ pnpm add -D electron-types@43.0.0-alpha.3
19
23
  ```
20
24
 
21
25
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 43.0.0-alpha.1
1
+ // Type definitions for Electron 43.0.0-alpha.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
@@ -20295,6 +20295,12 @@ declare namespace Electron {
20295
20295
  * Defaults to 1.0.
20296
20296
  */
20297
20297
  scaleFactor?: number;
20298
+ /**
20299
+ * The target color space for the output pixel data. Defaults to sRGB. Pass the
20300
+ * image's original color space to preserve the previous behavior, or another color
20301
+ * space to get pixel values in that space.
20302
+ */
20303
+ colorSpace?: ColorSpace;
20298
20304
  }
20299
20305
 
20300
20306
  interface BlinkMemoryInfo {
@@ -23601,6 +23607,12 @@ declare namespace Electron {
23601
23607
  * Defaults to 1.0.
23602
23608
  */
23603
23609
  scaleFactor?: number;
23610
+ /**
23611
+ * The target color space for the output pixel data. Defaults to sRGB. Pass the
23612
+ * image's original color space to preserve the previous behavior, or another color
23613
+ * space to get pixel values in that space.
23614
+ */
23615
+ colorSpace?: ColorSpace;
23604
23616
  }
23605
23617
 
23606
23618
  interface ToDataURLOptions {
@@ -24646,6 +24658,14 @@ declare namespace Electron {
24646
24658
  * `<TEAM_ID>.<BUNDLE_ID>.webauthn`.
24647
24659
  */
24648
24660
  keychainAccessGroup: string;
24661
+ /**
24662
+ * Customizes the reason text shown in the macOS Touch ID prompt. macOS renders the
24663
+ * prompt as `"<App Name>" is trying to <promptReason>`, so the value should be a
24664
+ * lowercase sentence fragment. An optional `$1` placeholder is replaced with the
24665
+ * relying party ID (e.g. `example.com`) of the request being authenticated.
24666
+ * Defaults to `verify your identity on $1`.
24667
+ */
24668
+ promptReason?: string;
24649
24669
  }
24650
24670
 
24651
24671
  interface Video {
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "43.0.0-alpha.1",
3
- "extractedAt": "2026-05-07T01:04:05.678Z"
2
+ "electronVersion": "43.0.0-alpha.3",
3
+ "extractedAt": "2026-05-16T06:58:47.233Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "43.0.0-alpha.1",
3
+ "version": "43.0.0-alpha.3",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",