electron-types 39.5.2 → 39.6.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
@@ -11,11 +11,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
11
11
  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
12
 
13
13
  ```bash
14
- npm install -D electron-types@39.5.2
14
+ npm install -D electron-types@39.6.0
15
15
  # or
16
- yarn add -D electron-types@39.5.2
16
+ yarn add -D electron-types@39.6.0
17
17
  # or
18
- pnpm add -D electron-types@39.5.2
18
+ pnpm add -D electron-types@39.6.0
19
19
  ```
20
20
 
21
21
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 39.5.2
1
+ // Type definitions for Electron 39.6.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
@@ -7463,9 +7463,12 @@ declare namespace Electron {
7463
7463
  * `DesktopCapturerSource` represents a screen or an individual window that can be
7464
7464
  * captured.
7465
7465
  *
7466
- * > [!NOTE] Capturing the screen contents requires user consent on macOS 10.15
7467
- * Catalina or higher, which can detected by
7468
- * `systemPreferences.getMediaAccessStatus`.
7466
+ * > [!NOTE]
7467
+ *
7468
+ * > * Capturing audio requires `NSAudioCaptureUsageDescription` Info.plist key on
7469
+ * macOS 14.2 Sonoma and higher - read more.
7470
+ * * Capturing the screen contents requires user consent on macOS 10.15 Catalina or
7471
+ * higher, which can detected by `systemPreferences.getMediaAccessStatus`.
7469
7472
  */
7470
7473
  getSources(options: SourcesOptions): Promise<Electron.DesktopCapturerSource[]>;
7471
7474
  }
@@ -20715,6 +20718,18 @@ declare namespace Electron {
20715
20718
  * @platform darwin
20716
20719
  */
20717
20720
  allowLoadingUnsignedLibraries?: boolean;
20721
+ /**
20722
+ * With this flag, the utility process will disclaim responsibility for the child
20723
+ * process. This causes the operating system to consider the child process as a
20724
+ * separate entity for purposes of security policies like Transparency, Consent,
20725
+ * and Control (TCC). When responsibility is disclaimed, the parent process will
20726
+ * not be attributed for any TCC requests initiated by the child process. This is
20727
+ * useful when launching processes that run third-party or otherwise untrusted
20728
+ * code. Default is `false`.
20729
+ *
20730
+ * @platform darwin
20731
+ */
20732
+ disclaim?: boolean;
20718
20733
  /**
20719
20734
  * With this flag, all HTTP 401 and 407 network requests created via the net module
20720
20735
  * will allow responding to them via the `app#login` event in the main process
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "39.5.2",
3
- "extractedAt": "2026-02-11T00:53:03.611Z"
2
+ "electronVersion": "39.6.0",
3
+ "extractedAt": "2026-02-13T18:22:07.470Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "39.5.2",
3
+ "version": "39.6.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",