electron-types 41.0.0-beta.1 → 41.0.0-beta.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 +13 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
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@41.0.0-beta.
|
|
14
|
+
npm install -D electron-types@41.0.0-beta.2
|
|
15
15
|
# or
|
|
16
|
-
yarn add -D electron-types@41.0.0-beta.
|
|
16
|
+
yarn add -D electron-types@41.0.0-beta.2
|
|
17
17
|
# or
|
|
18
|
-
pnpm add -D electron-types@41.0.0-beta.
|
|
18
|
+
pnpm add -D electron-types@41.0.0-beta.2
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 41.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 41.0.0-beta.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
|
|
@@ -20927,6 +20927,18 @@ declare namespace Electron {
|
|
|
20927
20927
|
* @platform darwin
|
|
20928
20928
|
*/
|
|
20929
20929
|
allowLoadingUnsignedLibraries?: boolean;
|
|
20930
|
+
/**
|
|
20931
|
+
* With this flag, the utility process will disclaim responsibility for the child
|
|
20932
|
+
* process. This causes the operating system to consider the child process as a
|
|
20933
|
+
* separate entity for purposes of security policies like Transparency, Consent,
|
|
20934
|
+
* and Control (TCC). When responsibility is disclaimed, the parent process will
|
|
20935
|
+
* not be attributed for any TCC requests initiated by the child process. This is
|
|
20936
|
+
* useful when launching processes that run third-party or otherwise untrusted
|
|
20937
|
+
* code. Default is `false`.
|
|
20938
|
+
*
|
|
20939
|
+
* @platform darwin
|
|
20940
|
+
*/
|
|
20941
|
+
disclaim?: boolean;
|
|
20930
20942
|
/**
|
|
20931
20943
|
* With this flag, all HTTP 401 and 407 network requests created via the net module
|
|
20932
20944
|
* will allow responding to them via the `app#login` event in the main process
|
package/dist/version.json
CHANGED