electron-types 44.0.0-alpha.5 → 44.0.0-alpha.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@44.0.0-alpha.5
17
+ npm install -D electron-types@44.0.0-alpha.6
18
18
  # or
19
- yarn add -D electron-types@44.0.0-alpha.5
19
+ yarn add -D electron-types@44.0.0-alpha.6
20
20
  # or
21
- pnpm add -D electron-types@44.0.0-alpha.5
21
+ pnpm add -D electron-types@44.0.0-alpha.6
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 44.0.0-alpha.5
1
+ // Type definitions for Electron 44.0.0-alpha.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
@@ -806,6 +806,13 @@ declare namespace Electron {
806
806
  * and `callback` can be called with an entry filtered from the list. Using
807
807
  * `event.preventDefault()` prevents the application from using the first
808
808
  * certificate from the store.
809
+ *
810
+ * `webContents` is `null` when the request does not originate from a renderer
811
+ * process, for example when using `net.request` or `net.fetch` in the main
812
+ * process, or from a utility process created with
813
+ * `respondToAuthRequestsFromMainProcess: true`. For utility processes created
814
+ * without that flag, `net` requests proceed without a client certificate and this
815
+ * event is not emitted.
809
816
  */
810
817
  on(event: 'select-client-certificate', listener: (event: Event,
811
818
  webContents: WebContents,
@@ -21776,9 +21783,11 @@ declare namespace Electron {
21776
21783
  * With this flag, all HTTP 401 and 407 network requests created via the net module
21777
21784
  * will allow responding to them via the `login` event on the `UtilityProcess`
21778
21785
  * instance when a `session` is provided, or via the `app#login` event in the main
21779
- * process when using the default system network context. Without this flag, auth
21780
- * challenges are handled by the default `login` event on the `ClientRequest`
21781
- * object. Default is `false`.
21786
+ * process when using the default system network context. This flag also routes
21787
+ * client-certificate selection to the `app#select-client-certificate` event in the
21788
+ * main process; without it, `net` requests from the utility process proceed
21789
+ * without a client certificate. Without this flag, auth challenges are handled by
21790
+ * the default `login` event on the `ClientRequest` object. Default is `false`.
21782
21791
  */
21783
21792
  respondToAuthRequestsFromMainProcess?: boolean;
21784
21793
  }
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "44.0.0-alpha.5",
3
- "extractedAt": "2026-07-21T14:10:59.926Z"
2
+ "electronVersion": "44.0.0-alpha.6",
3
+ "extractedAt": "2026-07-24T03:31:35.748Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "44.0.0-alpha.5",
3
+ "version": "44.0.0-alpha.6",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",