electron-types 46.0.0-alpha.7 → 46.0.0-alpha.8

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@46.0.0-alpha.7
17
+ npm install -D electron-types@46.0.0-alpha.8
18
18
  # or
19
- yarn add -D electron-types@46.0.0-alpha.7
19
+ yarn add -D electron-types@46.0.0-alpha.8
20
20
  # or
21
- pnpm add -D electron-types@46.0.0-alpha.7
21
+ pnpm add -D electron-types@46.0.0-alpha.8
22
22
  ```
23
23
 
24
24
  ## Usage
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 46.0.0-alpha.7
1
+ // Type definitions for Electron 46.0.0-alpha.8
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
@@ -15294,7 +15294,9 @@ declare namespace Electron {
15294
15294
  *
15295
15295
  * Same as `subscribeNotification`, but uses `NSNotificationCenter` for local
15296
15296
  * defaults. This is necessary for events such as
15297
- * `NSUserDefaultsDidChangeNotification`.
15297
+ * `NSUserDefaultsDidChangeNotification`. `callback` is always called on the main
15298
+ * thread. Notifications posted on other threads are delivered to it
15299
+ * asynchronously.
15298
15300
  *
15299
15301
  * If `event` is null, the `NSNotificationCenter` doesn’t use it as criteria for
15300
15302
  * delivery to the observer. See docs for more information.
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "electronVersion": "46.0.0-alpha.7",
3
- "extractedAt": "2026-11-06T16:09:21.318Z"
2
+ "electronVersion": "46.0.0-alpha.8",
3
+ "extractedAt": "2026-11-10T00:20:57.867Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-types",
3
- "version": "46.0.0-alpha.7",
3
+ "version": "46.0.0-alpha.8",
4
4
  "type": "module",
5
5
  "description": "TypeScript type definitions extracted from the electron package",
6
6
  "types": "./dist/electron.d.ts",