electron-types 43.7.9 → 43.7.11

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.7.9
17
+ npm install -D electron-types@43.7.11
18
18
  # or
19
- yarn add -D electron-types@43.7.9
19
+ yarn add -D electron-types@43.7.11
20
20
  # or
21
- pnpm add -D electron-types@43.7.9
21
+ pnpm add -D electron-types@43.7.11
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 43.7.9
1
+ // Type definitions for Electron 43.7.11
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
@@ -15933,26 +15933,34 @@ declare namespace Electron {
15933
15933
  /**
15934
15934
  * Emitted when the utility process encounters an HTTP 401 or 407 authentication
15935
15935
  * challenge, if the process was created with both
15936
- * `respondToAuthRequestsFromMainProcess: true` and a `session` option. The
15937
- * `callback` should be called with credentials to respond to the challenge.
15938
- * Calling `callback` without arguments will cancel the request.
15936
+ * `respondToAuthRequestsFromMainProcess: true` and a `session` option.
15937
+ *
15938
+ * The default behavior is to cancel the authentication. To override this you
15939
+ * should prevent the default behavior with `event.preventDefault()` and call
15940
+ * `callback(username, password)` with the credentials. Calling `callback` without
15941
+ * arguments will cancel the request.
15939
15942
  *
15940
15943
  * This behaves the same as the `login` event on `app` but is scoped to the
15941
15944
  * individual utility process instance.
15942
15945
  */
15943
- on(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
15946
+ on(event: 'login', listener: (event: Event,
15947
+ authenticationResponseDetails: AuthenticationResponseDetails,
15944
15948
  authInfo: AuthInfo,
15945
15949
  callback: (username?: string, password?: string) => void) => void): this;
15946
- off(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
15950
+ off(event: 'login', listener: (event: Event,
15951
+ authenticationResponseDetails: AuthenticationResponseDetails,
15947
15952
  authInfo: AuthInfo,
15948
15953
  callback: (username?: string, password?: string) => void) => void): this;
15949
- once(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
15954
+ once(event: 'login', listener: (event: Event,
15955
+ authenticationResponseDetails: AuthenticationResponseDetails,
15950
15956
  authInfo: AuthInfo,
15951
15957
  callback: (username?: string, password?: string) => void) => void): this;
15952
- addListener(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
15958
+ addListener(event: 'login', listener: (event: Event,
15959
+ authenticationResponseDetails: AuthenticationResponseDetails,
15953
15960
  authInfo: AuthInfo,
15954
15961
  callback: (username?: string, password?: string) => void) => void): this;
15955
- removeListener(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
15962
+ removeListener(event: 'login', listener: (event: Event,
15963
+ authenticationResponseDetails: AuthenticationResponseDetails,
15956
15964
  authInfo: AuthInfo,
15957
15965
  callback: (username?: string, password?: string) => void) => void): this;
15958
15966
  /**
@@ -21096,10 +21104,10 @@ declare namespace Electron {
21096
21104
 
21097
21105
  interface Config {
21098
21106
  /**
21099
- * Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
21100
- * when connecting to remote servers. Defaults to `tls1`.
21107
+ * Can be `tls1.2` or `tls1.3`. The minimum SSL version to allow when connecting to
21108
+ * remote servers. Defaults to `tls1.2`.
21101
21109
  */
21102
- minVersion?: ('tls1' | 'tls1.1' | 'tls1.2' | 'tls1.3');
21110
+ minVersion?: ('tls1.2' | 'tls1.3');
21103
21111
  /**
21104
21112
  * Can be `tls1.2` or `tls1.3`. The maximum SSL version to allow when connecting to
21105
21113
  * remote servers. Defaults to `tls1.3`.
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "43.7.9",
3
- "extractedAt": "2026-10-07T14:14:48.123Z"
2
+ "electronVersion": "43.7.11",
3
+ "extractedAt": "2026-10-14T01:22:20.563Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "43.7.9",
3
+ "version": "43.7.11",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",