electron-types 41.5.2 → 41.6.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 +9 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,11 +15,11 @@ The official `electron` package is ~200MB because it includes the Electron binar
|
|
|
15
15
|
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)):
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npm install -D electron-types@41.
|
|
18
|
+
npm install -D electron-types@41.6.1
|
|
19
19
|
# or
|
|
20
|
-
yarn add -D electron-types@41.
|
|
20
|
+
yarn add -D electron-types@41.6.1
|
|
21
21
|
# or
|
|
22
|
-
pnpm add -D electron-types@41.
|
|
22
|
+
pnpm add -D electron-types@41.6.1
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 41.
|
|
1
|
+
// Type definitions for Electron 41.6.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
|
|
@@ -24295,6 +24295,14 @@ declare namespace Electron {
|
|
|
24295
24295
|
* `<TEAM_ID>.<BUNDLE_ID>.webauthn`.
|
|
24296
24296
|
*/
|
|
24297
24297
|
keychainAccessGroup: string;
|
|
24298
|
+
/**
|
|
24299
|
+
* Customizes the reason text shown in the macOS Touch ID prompt. macOS renders the
|
|
24300
|
+
* prompt as `"<App Name>" is trying to <promptReason>`, so the value should be a
|
|
24301
|
+
* lowercase sentence fragment. An optional `$1` placeholder is replaced with the
|
|
24302
|
+
* relying party ID (e.g. `example.com`) of the request being authenticated.
|
|
24303
|
+
* Defaults to `verify your identity on $1`.
|
|
24304
|
+
*/
|
|
24305
|
+
promptReason?: string;
|
|
24298
24306
|
}
|
|
24299
24307
|
|
|
24300
24308
|
interface Video {
|
package/dist/version.json
CHANGED