electron-types 42.0.0 → 42.1.0

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@42.0.0
18
+ npm install -D electron-types@42.1.0
15
19
  # or
16
- yarn add -D electron-types@42.0.0
20
+ yarn add -D electron-types@42.1.0
17
21
  # or
18
- pnpm add -D electron-types@42.0.0
22
+ pnpm add -D electron-types@42.1.0
19
23
  ```
20
24
 
21
25
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 42.0.0
1
+ // Type definitions for Electron 42.1.0
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
@@ -24498,6 +24498,14 @@ declare namespace Electron {
24498
24498
  * `<TEAM_ID>.<BUNDLE_ID>.webauthn`.
24499
24499
  */
24500
24500
  keychainAccessGroup: string;
24501
+ /**
24502
+ * Customizes the reason text shown in the macOS Touch ID prompt. macOS renders the
24503
+ * prompt as `"<App Name>" is trying to <promptReason>`, so the value should be a
24504
+ * lowercase sentence fragment. An optional `$1` placeholder is replaced with the
24505
+ * relying party ID (e.g. `example.com`) of the request being authenticated.
24506
+ * Defaults to `verify your identity on $1`.
24507
+ */
24508
+ promptReason?: string;
24501
24509
  }
24502
24510
 
24503
24511
  interface Video {
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "42.0.0",
3
- "extractedAt": "2026-05-06T07:09:19.029Z"
2
+ "electronVersion": "42.1.0",
3
+ "extractedAt": "2026-05-15T07:21:56.058Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "42.0.0",
3
+ "version": "42.1.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",