electron-types 44.9.0 → 44.9.2
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 +3 -3
- package/dist/electron.d.ts +21 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
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.9.
|
|
17
|
+
npm install -D electron-types@44.9.2
|
|
18
18
|
# or
|
|
19
|
-
yarn add -D electron-types@44.9.
|
|
19
|
+
yarn add -D electron-types@44.9.2
|
|
20
20
|
# or
|
|
21
|
-
pnpm add -D electron-types@44.9.
|
|
21
|
+
pnpm add -D electron-types@44.9.2
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.9.
|
|
1
|
+
// Type definitions for Electron 44.9.2
|
|
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
|
|
@@ -3724,6 +3724,16 @@ declare namespace Electron {
|
|
|
3724
3724
|
* Linux this is supported on both X11 and Wayland. On X11 the X server has applied
|
|
3725
3725
|
* the window's new input shape when the call returns; on Wayland the new input
|
|
3726
3726
|
* region is applied with the window's next frame.
|
|
3727
|
+
*
|
|
3728
|
+
* > [!NOTE] On Windows, `forward: true` stops working temporarily when the active
|
|
3729
|
+
* window is running at a higher integrity level (e.g., elevated/Administrator)
|
|
3730
|
+
* than your Electron app. Since Electron typically runs at standard user
|
|
3731
|
+
* privilege, this occurs when an elevated window—such as Task Manager or an
|
|
3732
|
+
* installer—takes focus. This is due to User Interface Privacy Isolation (UIPI).
|
|
3733
|
+
*
|
|
3734
|
+
* To work around it, your app must be run with Administrator privileges or
|
|
3735
|
+
* configured with UIAccess privileges (see the Background section under the
|
|
3736
|
+
* Reference section of this page).
|
|
3727
3737
|
*/
|
|
3728
3738
|
setIgnoreMouseEvents(ignore: boolean, options?: IgnoreMouseEventsOptions): void;
|
|
3729
3739
|
/**
|
|
@@ -6568,6 +6578,16 @@ declare namespace Electron {
|
|
|
6568
6578
|
* Linux this is supported on both X11 and Wayland. On X11 the X server has applied
|
|
6569
6579
|
* the window's new input shape when the call returns; on Wayland the new input
|
|
6570
6580
|
* region is applied with the window's next frame.
|
|
6581
|
+
*
|
|
6582
|
+
* > [!NOTE] On Windows, `forward: true` stops working temporarily when the active
|
|
6583
|
+
* window is running at a higher integrity level (e.g., elevated/Administrator)
|
|
6584
|
+
* than your Electron app. Since Electron typically runs at standard user
|
|
6585
|
+
* privilege, this occurs when an elevated window—such as Task Manager or an
|
|
6586
|
+
* installer—takes focus. This is due to User Interface Privacy Isolation (UIPI).
|
|
6587
|
+
*
|
|
6588
|
+
* To work around it, your app must be run with Administrator privileges or
|
|
6589
|
+
* configured with UIAccess privileges (see the Background section under the
|
|
6590
|
+
* Reference section of this page).
|
|
6571
6591
|
*/
|
|
6572
6592
|
setIgnoreMouseEvents(ignore: boolean, options?: IgnoreMouseEventsOptions): void;
|
|
6573
6593
|
/**
|
package/dist/version.json
CHANGED