electron-types 43.4.1 → 43.5.1
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 +8 -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@43.
|
|
17
|
+
npm install -D electron-types@43.5.1
|
|
18
18
|
# or
|
|
19
|
-
yarn add -D electron-types@43.
|
|
19
|
+
yarn add -D electron-types@43.5.1
|
|
20
20
|
# or
|
|
21
|
-
pnpm add -D electron-types@43.
|
|
21
|
+
pnpm add -D electron-types@43.5.1
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 43.
|
|
1
|
+
// Type definitions for Electron 43.5.1
|
|
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
|
|
@@ -1561,6 +1561,11 @@ declare namespace Electron {
|
|
|
1561
1561
|
* line, the system's single instance mechanism will be bypassed, and you have to
|
|
1562
1562
|
* use this method to ensure single instance.
|
|
1563
1563
|
*
|
|
1564
|
+
* > [!NOTE] On macOS and Linux, the second instance's command line arguments and
|
|
1565
|
+
* `additionalData` are sent to the primary instance in a single message that is
|
|
1566
|
+
* limited to 32 MB. Larger messages are dropped: this method still returns
|
|
1567
|
+
* `false`, but the primary instance does not emit `second-instance`.
|
|
1568
|
+
*
|
|
1564
1569
|
* An example of activating the window of primary instance when a second instance
|
|
1565
1570
|
* starts:
|
|
1566
1571
|
*/
|
|
@@ -9654,6 +9659,8 @@ declare namespace Electron {
|
|
|
9654
9659
|
* or just displayed.
|
|
9655
9660
|
*
|
|
9656
9661
|
* This property can be dynamically changed.
|
|
9662
|
+
*
|
|
9663
|
+
* @platform linux,win32
|
|
9657
9664
|
*/
|
|
9658
9665
|
registerAccelerator: boolean;
|
|
9659
9666
|
/**
|
package/dist/version.json
CHANGED