electron-types 42.0.0-beta.8 → 43.0.0-alpha.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 +295 -14
- 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@
|
|
14
|
+
npm install -D electron-types@43.0.0-alpha.1
|
|
15
15
|
# or
|
|
16
|
-
yarn add -D electron-types@
|
|
16
|
+
yarn add -D electron-types@43.0.0-alpha.1
|
|
17
17
|
# or
|
|
18
|
-
pnpm add -D electron-types@
|
|
18
|
+
pnpm add -D electron-types@43.0.0-alpha.1
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Usage
|
package/dist/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 43.0.0-alpha.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
|
|
@@ -1042,6 +1042,26 @@ declare namespace Electron {
|
|
|
1042
1042
|
* This API must be called after the `ready` event is emitted.
|
|
1043
1043
|
*/
|
|
1044
1044
|
configureHostResolver(options: ConfigureHostResolverOptions): void;
|
|
1045
|
+
/**
|
|
1046
|
+
* Configures platform authenticators for the Web Authentication API
|
|
1047
|
+
* (`navigator.credentials.create()` / `navigator.credentials.get()`). Until this
|
|
1048
|
+
* is called, `PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()`
|
|
1049
|
+
* resolves to `false` and platform-authenticator requests are not serviced.
|
|
1050
|
+
*
|
|
1051
|
+
* When `touchID` is provided, WebAuthn credentials are stored in the macOS
|
|
1052
|
+
* keychain and bound to this device's Secure Enclave. Electron automatically
|
|
1053
|
+
* generates and persists a per-`session` metadata secret so that credentials
|
|
1054
|
+
* created in one partition are not visible to another.
|
|
1055
|
+
*
|
|
1056
|
+
* With the matching entitlement in your app's `entitlements.plist`:
|
|
1057
|
+
*
|
|
1058
|
+
* > [!NOTE] Touch ID WebAuthn credentials are device-bound and are not synced via
|
|
1059
|
+
* iCloud Keychain. They are only available on Macs with a Secure Enclave (Apple
|
|
1060
|
+
* silicon, or Intel Macs with a T2 chip).
|
|
1061
|
+
*
|
|
1062
|
+
* @platform darwin
|
|
1063
|
+
*/
|
|
1064
|
+
configureWebAuthn(options: ConfigureWebAuthnOptions): void;
|
|
1045
1065
|
/**
|
|
1046
1066
|
* By default, Chromium disables 3D APIs (e.g. WebGL) until restart on a per domain
|
|
1047
1067
|
* basis if the GPU process crashes too frequently. This function disables that
|
|
@@ -1113,8 +1133,6 @@ declare namespace Electron {
|
|
|
1113
1133
|
*
|
|
1114
1134
|
* This method returns a promise that contains the application name, icon and path
|
|
1115
1135
|
* of the default handler for the protocol (aka URI scheme) of a URL.
|
|
1116
|
-
*
|
|
1117
|
-
* @platform darwin,win32
|
|
1118
1136
|
*/
|
|
1119
1137
|
getApplicationInfoForProtocol(url: string): Promise<Electron.ApplicationInfoForProtocolReturnValue>;
|
|
1120
1138
|
/**
|
|
@@ -8014,6 +8032,11 @@ declare namespace Electron {
|
|
|
8014
8032
|
/**
|
|
8015
8033
|
* Hides the dock icon.
|
|
8016
8034
|
*
|
|
8035
|
+
* > [!IMPORTANT] **Known issue:** Calling `dock.hide()` within one second of a
|
|
8036
|
+
* previous call will have no effect. As a workaround, ensure at least one second
|
|
8037
|
+
* has elapsed between calls — for example, by deferring with a `setTimeout` of
|
|
8038
|
+
* 1100ms or more after a previous call.
|
|
8039
|
+
*
|
|
8017
8040
|
* @platform darwin
|
|
8018
8041
|
*/
|
|
8019
8042
|
hide(): void;
|
|
@@ -9516,6 +9539,15 @@ declare namespace Electron {
|
|
|
9516
9539
|
* An `Accelerator | null` indicating the item's accelerator, if set.
|
|
9517
9540
|
*/
|
|
9518
9541
|
accelerator: (Accelerator) | (null);
|
|
9542
|
+
/**
|
|
9543
|
+
* A `string` indicating the item's accessibility label (used by assistive
|
|
9544
|
+
* technology), if set.
|
|
9545
|
+
*
|
|
9546
|
+
* This property can be dynamically changed.
|
|
9547
|
+
*
|
|
9548
|
+
* @platform darwin
|
|
9549
|
+
*/
|
|
9550
|
+
accessibilityLabel: string;
|
|
9519
9551
|
/**
|
|
9520
9552
|
* A `boolean` indicating whether the item is checked.
|
|
9521
9553
|
*
|
|
@@ -9805,13 +9837,20 @@ declare namespace Electron {
|
|
|
9805
9837
|
*
|
|
9806
9838
|
* @platform darwin
|
|
9807
9839
|
*/
|
|
9808
|
-
static createFromNamedImage(imageName: string,
|
|
9840
|
+
static createFromNamedImage(imageName: string, options?: (CreateFromNamedImageOptions) | (number[])): NativeImage;
|
|
9809
9841
|
/**
|
|
9810
9842
|
* Creates a new `NativeImage` instance from an image file (e.g., PNG or JPEG)
|
|
9811
9843
|
* located at `path`. This method returns an empty image if the `path` does not
|
|
9812
9844
|
* exist, cannot be read, or is not a valid image.
|
|
9813
9845
|
*/
|
|
9814
9846
|
static createFromPath(path: string): NativeImage;
|
|
9847
|
+
/**
|
|
9848
|
+
* Creates a new `NativeImage` instance from an SF Symbol for use in a native Menu.
|
|
9849
|
+
* See SF Symbols for a list of possible values.
|
|
9850
|
+
*
|
|
9851
|
+
* @platform darwin
|
|
9852
|
+
*/
|
|
9853
|
+
static createMenuSymbol(imageName: string): NativeImage;
|
|
9815
9854
|
/**
|
|
9816
9855
|
* fulfilled with the file's thumbnail preview image, which is a NativeImage.
|
|
9817
9856
|
*
|
|
@@ -11779,7 +11818,12 @@ declare namespace Electron {
|
|
|
11779
11818
|
*/
|
|
11780
11819
|
getSelectedStorageBackend(): ('basic_text' | 'gnome_libsecret' | 'kwallet' | 'kwallet5' | 'kwallet6' | 'unknown');
|
|
11781
11820
|
/**
|
|
11782
|
-
*
|
|
11821
|
+
* Resolves with whether encryption is available for asynchronous safeStorage
|
|
11822
|
+
* operations.
|
|
11823
|
+
*
|
|
11824
|
+
* The asynchronous encryptor is initialized lazily the first time this method,
|
|
11825
|
+
* `encryptStringAsync`, or `decryptStringAsync` is called after the app is ready.
|
|
11826
|
+
* The returned promise resolves once initialization completes.
|
|
11783
11827
|
*/
|
|
11784
11828
|
isAsyncEncryptionAvailable(): Promise<boolean>;
|
|
11785
11829
|
/**
|
|
@@ -12466,6 +12510,37 @@ declare namespace Electron {
|
|
|
12466
12510
|
removeListener(event: 'select-usb-device', listener: (event: Event,
|
|
12467
12511
|
details: SelectUsbDeviceDetails,
|
|
12468
12512
|
callback: (deviceId?: string) => void) => void): this;
|
|
12513
|
+
/**
|
|
12514
|
+
* Emitted when a call to `navigator.credentials.get()` resolves multiple
|
|
12515
|
+
* discoverable WebAuthn credentials and the user must choose one. `callback`
|
|
12516
|
+
* should be called with the `credentialId` of the selected account; passing no
|
|
12517
|
+
* arguments — or a `credentialId` that does not match one of the provided accounts
|
|
12518
|
+
* — will cancel the request and the page will receive a `NotAllowedError`. If no
|
|
12519
|
+
* listener is registered for this event, the request is cancelled with the same
|
|
12520
|
+
* error. The credential request remains pending until the listener invokes the
|
|
12521
|
+
* callback, so always invoke it exactly once — typically from a `try { … } finally
|
|
12522
|
+
* { callback(…) }` block.
|
|
12523
|
+
*
|
|
12524
|
+
* On macOS, the Touch ID platform authenticator surfaces accounts via this event
|
|
12525
|
+
* once it has been configured with `app.configureWebAuthn`. The event may also
|
|
12526
|
+
* fire on other platforms when a roaming FIDO2 authenticator returns multiple
|
|
12527
|
+
* discoverable credentials.
|
|
12528
|
+
*/
|
|
12529
|
+
on(event: 'select-webauthn-account', listener: (event: Event,
|
|
12530
|
+
details: SelectWebauthnAccountDetails,
|
|
12531
|
+
callback: (credentialId?: (string) | (null)) => void) => void): this;
|
|
12532
|
+
off(event: 'select-webauthn-account', listener: (event: Event,
|
|
12533
|
+
details: SelectWebauthnAccountDetails,
|
|
12534
|
+
callback: (credentialId?: (string) | (null)) => void) => void): this;
|
|
12535
|
+
once(event: 'select-webauthn-account', listener: (event: Event,
|
|
12536
|
+
details: SelectWebauthnAccountDetails,
|
|
12537
|
+
callback: (credentialId?: (string) | (null)) => void) => void): this;
|
|
12538
|
+
addListener(event: 'select-webauthn-account', listener: (event: Event,
|
|
12539
|
+
details: SelectWebauthnAccountDetails,
|
|
12540
|
+
callback: (credentialId?: (string) | (null)) => void) => void): this;
|
|
12541
|
+
removeListener(event: 'select-webauthn-account', listener: (event: Event,
|
|
12542
|
+
details: SelectWebauthnAccountDetails,
|
|
12543
|
+
callback: (credentialId?: (string) | (null)) => void) => void): this;
|
|
12469
12544
|
/**
|
|
12470
12545
|
* Emitted after `navigator.serial.requestPort` has been called and
|
|
12471
12546
|
* `select-serial-port` has fired if a new serial port becomes available before the
|
|
@@ -15575,6 +15650,31 @@ declare namespace Electron {
|
|
|
15575
15650
|
* GetExitCodeProcess on Windows.
|
|
15576
15651
|
*/
|
|
15577
15652
|
code: number) => void): this;
|
|
15653
|
+
/**
|
|
15654
|
+
* Emitted when the utility process encounters an HTTP 401 or 407 authentication
|
|
15655
|
+
* challenge, if the process was created with both
|
|
15656
|
+
* `respondToAuthRequestsFromMainProcess: true` and a `session` option. The
|
|
15657
|
+
* `callback` should be called with credentials to respond to the challenge.
|
|
15658
|
+
* Calling `callback` without arguments will cancel the request.
|
|
15659
|
+
*
|
|
15660
|
+
* This behaves the same as the `login` event on `app` but is scoped to the
|
|
15661
|
+
* individual utility process instance.
|
|
15662
|
+
*/
|
|
15663
|
+
on(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15664
|
+
authInfo: AuthInfo,
|
|
15665
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15666
|
+
off(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15667
|
+
authInfo: AuthInfo,
|
|
15668
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15669
|
+
once(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15670
|
+
authInfo: AuthInfo,
|
|
15671
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15672
|
+
addListener(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15673
|
+
authInfo: AuthInfo,
|
|
15674
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15675
|
+
removeListener(event: 'login', listener: (authenticationResponseDetails: AuthenticationResponseDetails,
|
|
15676
|
+
authInfo: AuthInfo,
|
|
15677
|
+
callback: (username?: string, password?: string) => void) => void): this;
|
|
15578
15678
|
/**
|
|
15579
15679
|
* Emitted when the child process sends a message using
|
|
15580
15680
|
* `process.parentPort.postMessage()`.
|
|
@@ -15667,6 +15767,11 @@ declare namespace Electron {
|
|
|
15667
15767
|
* no-op.
|
|
15668
15768
|
*/
|
|
15669
15769
|
removeChildView(view: View): void;
|
|
15770
|
+
/**
|
|
15771
|
+
* > [!NOTE] You must set a background color with an alpha channel (e.g.
|
|
15772
|
+
* `#80ffffff`) in order for the blur effect to be visible.
|
|
15773
|
+
*/
|
|
15774
|
+
setBackgroundBlur(blurRadius: number): void;
|
|
15670
15775
|
/**
|
|
15671
15776
|
* Examples of valid `color` values:
|
|
15672
15777
|
*
|
|
@@ -15709,6 +15814,32 @@ declare namespace Electron {
|
|
|
15709
15814
|
readonly children: View[];
|
|
15710
15815
|
}
|
|
15711
15816
|
|
|
15817
|
+
interface WebAuthnAccount {
|
|
15818
|
+
|
|
15819
|
+
// Docs: https://electronjs.org/docs/api/structures/webauthn-account
|
|
15820
|
+
|
|
15821
|
+
/**
|
|
15822
|
+
* URL-safe base64-encoded (no padding) credential ID of the discoverable
|
|
15823
|
+
* credential. Matches `PublicKeyCredential.id` returned by
|
|
15824
|
+
* `navigator.credentials.get()` in the renderer.
|
|
15825
|
+
*/
|
|
15826
|
+
credentialId: string;
|
|
15827
|
+
/**
|
|
15828
|
+
* Human-palatable name for the account, intended for display.
|
|
15829
|
+
*/
|
|
15830
|
+
displayName?: string;
|
|
15831
|
+
/**
|
|
15832
|
+
* Human-palatable identifier for the account (for example, an email address or
|
|
15833
|
+
* username).
|
|
15834
|
+
*/
|
|
15835
|
+
name?: string;
|
|
15836
|
+
/**
|
|
15837
|
+
* URL-safe base64-encoded (no padding) user handle (`user.id`) that was provided
|
|
15838
|
+
* when the credential was created.
|
|
15839
|
+
*/
|
|
15840
|
+
userHandle?: string;
|
|
15841
|
+
}
|
|
15842
|
+
|
|
15712
15843
|
class WebContents extends NodeEventEmitter {
|
|
15713
15844
|
|
|
15714
15845
|
// Docs: https://electronjs.org/docs/api/web-contents
|
|
@@ -17665,6 +17796,31 @@ declare namespace Electron {
|
|
|
17665
17796
|
* @deprecated
|
|
17666
17797
|
*/
|
|
17667
17798
|
clearHistory(): void;
|
|
17799
|
+
/**
|
|
17800
|
+
* A cloned WebContents instance. This method creates a copy of the WebContents
|
|
17801
|
+
* with the following attributes:
|
|
17802
|
+
*
|
|
17803
|
+
* * **WebPreferences** - All preferences from the original WebContents are copied
|
|
17804
|
+
* * **SiteInstance** - Uses the same SiteInstance as the original. This means the
|
|
17805
|
+
* cloned WebContents will reuse the same render process as the original when
|
|
17806
|
+
* loading same-origin pages, and only spawn a new render process for cross-origin
|
|
17807
|
+
* navigations. This process allocation behavior is consistent with window.open and
|
|
17808
|
+
* tab duplication in Chromium. For more details, see Chromium's Site Isolation
|
|
17809
|
+
* design document.
|
|
17810
|
+
* * **Opener relationship** - Inherits the opener (window.opener) relationship
|
|
17811
|
+
* * **Navigation state** - Copies the navigation history and controller state
|
|
17812
|
+
*
|
|
17813
|
+
* The cloned WebContents is an independent instance with its own lifecycle that
|
|
17814
|
+
* can be destroyed separately and will not contain any open web pages.
|
|
17815
|
+
*
|
|
17816
|
+
* This API is useful for use cases where you want to create a new WebContents that
|
|
17817
|
+
* shares the same render process with the original for same-origin content, while
|
|
17818
|
+
* maintaining full lifecycle independence. Additionally, reusing the existing
|
|
17819
|
+
* render process can help optimize memory usage and page load speed to a certain
|
|
17820
|
+
* extent, as it eliminates the overhead of spawning and initializing a new render
|
|
17821
|
+
* process from scratch.
|
|
17822
|
+
*/
|
|
17823
|
+
clone(): WebContents;
|
|
17668
17824
|
/**
|
|
17669
17825
|
* Closes the page, as if the web content had called `window.close()`.
|
|
17670
17826
|
*
|
|
@@ -17685,6 +17841,11 @@ declare namespace Electron {
|
|
|
17685
17841
|
* Copy the image at the given position to the clipboard.
|
|
17686
17842
|
*/
|
|
17687
17843
|
copyImageAt(x: number, y: number): void;
|
|
17844
|
+
/**
|
|
17845
|
+
* When executed on a video media element, copies the frame at (x, y) to the
|
|
17846
|
+
* clipboard.
|
|
17847
|
+
*/
|
|
17848
|
+
copyVideoFrameAt(x: number, y: number): void;
|
|
17688
17849
|
/**
|
|
17689
17850
|
* Executes the editing command `cut` in web page.
|
|
17690
17851
|
*/
|
|
@@ -18082,6 +18243,11 @@ declare namespace Electron {
|
|
|
18082
18243
|
* resolves if the page is saved.
|
|
18083
18244
|
*/
|
|
18084
18245
|
savePage(fullPath: string, saveType: 'HTMLOnly' | 'HTMLComplete' | 'MHTML'): Promise<void>;
|
|
18246
|
+
/**
|
|
18247
|
+
* When executed on a video media element, shows a save dialog and saves the frame
|
|
18248
|
+
* at (x, y) to disk.
|
|
18249
|
+
*/
|
|
18250
|
+
saveVideoFrameAs(x: number, y: number): void;
|
|
18085
18251
|
/**
|
|
18086
18252
|
* Scrolls to the bottom of the current `webContents`.
|
|
18087
18253
|
*/
|
|
@@ -18676,6 +18842,11 @@ declare namespace Electron {
|
|
|
18676
18842
|
* @experimental
|
|
18677
18843
|
*/
|
|
18678
18844
|
collectJavaScriptCallStack(): (Promise<string>) | (Promise<void>);
|
|
18845
|
+
/**
|
|
18846
|
+
* When executed on a video media element, copies the frame at (x, y) to the
|
|
18847
|
+
* clipboard.
|
|
18848
|
+
*/
|
|
18849
|
+
copyVideoFrameAt(x: number, y: number): void;
|
|
18679
18850
|
/**
|
|
18680
18851
|
* A promise that resolves with the result of the executed code or is rejected if
|
|
18681
18852
|
* execution throws or results in a rejected promise.
|
|
@@ -18707,6 +18878,11 @@ declare namespace Electron {
|
|
|
18707
18878
|
* frame has no history.
|
|
18708
18879
|
*/
|
|
18709
18880
|
reload(): boolean;
|
|
18881
|
+
/**
|
|
18882
|
+
* When executed on a video media element, shows a save dialog and saves the frame
|
|
18883
|
+
* at (x, y) to disk.
|
|
18884
|
+
*/
|
|
18885
|
+
saveVideoFrameAs(x: number, y: number): void;
|
|
18710
18886
|
/**
|
|
18711
18887
|
* Send an asynchronous message to the renderer process via `channel`, along with
|
|
18712
18888
|
* arguments. Arguments will be serialized with the Structured Clone Algorithm,
|
|
@@ -20241,10 +20417,10 @@ declare namespace Electron {
|
|
|
20241
20417
|
origin?: string;
|
|
20242
20418
|
/**
|
|
20243
20419
|
* The types of storages to clear, can be `cookies`, `filesystem`, `indexdb`,
|
|
20244
|
-
* `localstorage`, `shadercache`, `
|
|
20245
|
-
*
|
|
20420
|
+
* `localstorage`, `shadercache`, `serviceworkers`, `cachestorage`. If not
|
|
20421
|
+
* specified, clear all storage types.
|
|
20246
20422
|
*/
|
|
20247
|
-
storages?: Array<'cookies' | 'filesystem' | 'indexdb' | 'localstorage' | 'shadercache' | '
|
|
20423
|
+
storages?: Array<'cookies' | 'filesystem' | 'indexdb' | 'localstorage' | 'shadercache' | 'serviceworkers' | 'cachestorage'>;
|
|
20248
20424
|
}
|
|
20249
20425
|
|
|
20250
20426
|
interface ClientCertRequestParams {
|
|
@@ -20495,6 +20671,14 @@ declare namespace Electron {
|
|
|
20495
20671
|
enableAdditionalDnsQueryTypes?: boolean;
|
|
20496
20672
|
}
|
|
20497
20673
|
|
|
20674
|
+
interface ConfigureWebAuthnOptions {
|
|
20675
|
+
/**
|
|
20676
|
+
* Enables the Touch ID / Secure Enclave platform authenticator for Web
|
|
20677
|
+
* Authentication requests.
|
|
20678
|
+
*/
|
|
20679
|
+
touchID?: TouchId;
|
|
20680
|
+
}
|
|
20681
|
+
|
|
20498
20682
|
interface ConsoleMessageEvent extends DOMEvent {
|
|
20499
20683
|
/**
|
|
20500
20684
|
* The log level, from 0 to 3. In order it matches `verbose`, `info`, `warning` and
|
|
@@ -20805,6 +20989,22 @@ declare namespace Electron {
|
|
|
20805
20989
|
scaleFactor?: number;
|
|
20806
20990
|
}
|
|
20807
20991
|
|
|
20992
|
+
interface CreateFromNamedImageOptions {
|
|
20993
|
+
hslShift?: number[];
|
|
20994
|
+
/**
|
|
20995
|
+
* Defaults to `30.0`.
|
|
20996
|
+
*/
|
|
20997
|
+
pointSize?: number;
|
|
20998
|
+
/**
|
|
20999
|
+
* Defaults to `regular`.
|
|
21000
|
+
*/
|
|
21001
|
+
weight?: ('ultralight') | ('thin') | ('light') | ('regular') | ('medium') | ('semibold') | ('bold') | ('heavy') | ('black');
|
|
21002
|
+
/**
|
|
21003
|
+
* Defaults to `medium`.
|
|
21004
|
+
*/
|
|
21005
|
+
scale?: ('small') | ('medium') | ('large');
|
|
21006
|
+
}
|
|
21007
|
+
|
|
20808
21008
|
interface CreateInterruptedDownloadOptions {
|
|
20809
21009
|
/**
|
|
20810
21010
|
* Absolute path of the download.
|
|
@@ -21223,6 +21423,22 @@ declare namespace Electron {
|
|
|
21223
21423
|
* Current working directory of the child process.
|
|
21224
21424
|
*/
|
|
21225
21425
|
cwd?: string;
|
|
21426
|
+
/**
|
|
21427
|
+
* Sets the session used by the process for network requests. By default, network
|
|
21428
|
+
* requests from the utility process will use the system network context which does
|
|
21429
|
+
* not have HTTP cache support. Setting a session enables HTTP caching and other
|
|
21430
|
+
* session-specific network features. See session for more information.
|
|
21431
|
+
*/
|
|
21432
|
+
session?: Session;
|
|
21433
|
+
/**
|
|
21434
|
+
* Sets the session used by the process according to the session's partition
|
|
21435
|
+
* string. If `partition` starts with `persist:`, the process will use a persistent
|
|
21436
|
+
* session available to all pages in the app with the same `partition`. If there is
|
|
21437
|
+
* no `persist:` prefix, the process will use an in-memory session. By assigning
|
|
21438
|
+
* the same `partition`, multiple processes can share the same session. If the
|
|
21439
|
+
* `session` option is set, this option is ignored.
|
|
21440
|
+
*/
|
|
21441
|
+
partition?: string;
|
|
21226
21442
|
/**
|
|
21227
21443
|
* Allows configuring the mode for `stdout` and `stderr` of the child process.
|
|
21228
21444
|
* Default is `inherit`. String value can be one of `pipe`, `ignore`, `inherit`,
|
|
@@ -21264,9 +21480,11 @@ declare namespace Electron {
|
|
|
21264
21480
|
disclaim?: boolean;
|
|
21265
21481
|
/**
|
|
21266
21482
|
* With this flag, all HTTP 401 and 407 network requests created via the net module
|
|
21267
|
-
* will allow responding to them via the `
|
|
21268
|
-
*
|
|
21269
|
-
*
|
|
21483
|
+
* will allow responding to them via the `login` event on the `UtilityProcess`
|
|
21484
|
+
* instance when a `session` is provided, or via the `app#login` event in the main
|
|
21485
|
+
* process when using the default system network context. Without this flag, auth
|
|
21486
|
+
* challenges are handled by the default `login` event on the `ClientRequest`
|
|
21487
|
+
* object. Default is `false`.
|
|
21270
21488
|
*/
|
|
21271
21489
|
respondToAuthRequestsFromMainProcess?: boolean;
|
|
21272
21490
|
}
|
|
@@ -21692,6 +21910,7 @@ declare namespace Electron {
|
|
|
21692
21910
|
role?: ('undo' | 'redo' | 'cut' | 'copy' | 'paste' | 'pasteAndMatchStyle' | 'delete' | 'selectAll' | 'reload' | 'forceReload' | 'toggleDevTools' | 'resetZoom' | 'zoomIn' | 'zoomOut' | 'toggleSpellChecker' | 'togglefullscreen' | 'window' | 'minimize' | 'close' | 'help' | 'about' | 'services' | 'hide' | 'hideOthers' | 'unhide' | 'quit' | 'showSubstitutions' | 'toggleSmartQuotes' | 'toggleSmartDashes' | 'toggleTextReplacement' | 'startSpeaking' | 'stopSpeaking' | 'zoom' | 'front' | 'appMenu' | 'fileMenu' | 'editMenu' | 'viewMenu' | 'shareMenu' | 'recentDocuments' | 'toggleTabBar' | 'selectNextTab' | 'selectPreviousTab' | 'showAllTabs' | 'mergeAllWindows' | 'clearRecentDocuments' | 'moveTabToNewWindow' | 'windowMenu');
|
|
21693
21911
|
type?: ('normal' | 'separator' | 'submenu' | 'checkbox' | 'radio' | 'header' | 'palette');
|
|
21694
21912
|
label?: string;
|
|
21913
|
+
accessibilityLabel?: string;
|
|
21695
21914
|
/**
|
|
21696
21915
|
* Available in macOS >= 14.4
|
|
21697
21916
|
*
|
|
@@ -22144,7 +22363,7 @@ declare namespace Electron {
|
|
|
22144
22363
|
*
|
|
22145
22364
|
* @experimental
|
|
22146
22365
|
*/
|
|
22147
|
-
sharedTexturePixelFormat?: ('argb' | 'rgbaf16');
|
|
22366
|
+
sharedTexturePixelFormat?: ('argb' | 'rgbaf16' | 'nv12');
|
|
22148
22367
|
/**
|
|
22149
22368
|
* The device scale factor of the offscreen rendering output. If not set, will use
|
|
22150
22369
|
* `1` as default.
|
|
@@ -22367,6 +22586,11 @@ declare namespace Electron {
|
|
|
22367
22586
|
|
|
22368
22587
|
interface OpenDialogOptions {
|
|
22369
22588
|
title?: string;
|
|
22589
|
+
/**
|
|
22590
|
+
* Absolute directory path, absolute file path, or file name to use by default. If
|
|
22591
|
+
* not provided, the dialog will default to the user's Downloads folder, or their
|
|
22592
|
+
* home directory if Downloads doesn't exist.
|
|
22593
|
+
*/
|
|
22370
22594
|
defaultPath?: string;
|
|
22371
22595
|
/**
|
|
22372
22596
|
* Custom label for the confirmation button, when left empty the default label will
|
|
@@ -22415,6 +22639,11 @@ declare namespace Electron {
|
|
|
22415
22639
|
|
|
22416
22640
|
interface OpenDialogSyncOptions {
|
|
22417
22641
|
title?: string;
|
|
22642
|
+
/**
|
|
22643
|
+
* Absolute directory path, absolute file path, or file name to use by default. If
|
|
22644
|
+
* not provided, the dialog will default to the user's Downloads folder, or their
|
|
22645
|
+
* home directory if Downloads doesn't exist.
|
|
22646
|
+
*/
|
|
22418
22647
|
defaultPath?: string;
|
|
22419
22648
|
/**
|
|
22420
22649
|
* Custom label for the confirmation button, when left empty the default label will
|
|
@@ -22932,7 +23161,9 @@ declare namespace Electron {
|
|
|
22932
23161
|
*/
|
|
22933
23162
|
title?: string;
|
|
22934
23163
|
/**
|
|
22935
|
-
* Absolute directory path, absolute file path, or file name to use by default.
|
|
23164
|
+
* Absolute directory path, absolute file path, or file name to use by default. If
|
|
23165
|
+
* not provided, the dialog will default to the user's Downloads folder, or their
|
|
23166
|
+
* home directory if Downloads doesn't exist.
|
|
22936
23167
|
*/
|
|
22937
23168
|
defaultPath?: string;
|
|
22938
23169
|
/**
|
|
@@ -22995,7 +23226,9 @@ declare namespace Electron {
|
|
|
22995
23226
|
*/
|
|
22996
23227
|
title?: string;
|
|
22997
23228
|
/**
|
|
22998
|
-
* Absolute directory path, absolute file path, or file name to use by default.
|
|
23229
|
+
* Absolute directory path, absolute file path, or file name to use by default. If
|
|
23230
|
+
* not provided, the dialog will default to the user's Downloads folder, or their
|
|
23231
|
+
* home directory if Downloads doesn't exist.
|
|
22999
23232
|
*/
|
|
23000
23233
|
defaultPath?: string;
|
|
23001
23234
|
/**
|
|
@@ -23051,6 +23284,19 @@ declare namespace Electron {
|
|
|
23051
23284
|
frame: (WebFrameMain) | (null);
|
|
23052
23285
|
}
|
|
23053
23286
|
|
|
23287
|
+
interface SelectWebauthnAccountDetails {
|
|
23288
|
+
/**
|
|
23289
|
+
* The relying party identifier from the WebAuthn request.
|
|
23290
|
+
*/
|
|
23291
|
+
relyingPartyId: string;
|
|
23292
|
+
accounts: WebAuthnAccount[];
|
|
23293
|
+
/**
|
|
23294
|
+
* The frame initiating this event. May be `null` if accessed after the frame has
|
|
23295
|
+
* either navigated or been destroyed.
|
|
23296
|
+
*/
|
|
23297
|
+
frame: (WebFrameMain) | (null);
|
|
23298
|
+
}
|
|
23299
|
+
|
|
23054
23300
|
interface SendSharedTextureOptions {
|
|
23055
23301
|
/**
|
|
23056
23302
|
* The target frame to transfer the shared texture to. For `WebContents`, you can
|
|
@@ -24392,6 +24638,16 @@ declare namespace Electron {
|
|
|
24392
24638
|
fd: number;
|
|
24393
24639
|
}
|
|
24394
24640
|
|
|
24641
|
+
interface TouchId {
|
|
24642
|
+
/**
|
|
24643
|
+
* The keychain access group that WebAuthn credentials will be stored under. This
|
|
24644
|
+
* value **must** also be present in your app's `keychain-access-groups`
|
|
24645
|
+
* code-signing entitlement, and is typically of the form
|
|
24646
|
+
* `<TEAM_ID>.<BUNDLE_ID>.webauthn`.
|
|
24647
|
+
*/
|
|
24648
|
+
keychainAccessGroup: string;
|
|
24649
|
+
}
|
|
24650
|
+
|
|
24395
24651
|
interface Video {
|
|
24396
24652
|
/**
|
|
24397
24653
|
* The id of the stream being granted. This will usually come from a
|
|
@@ -24500,6 +24756,7 @@ declare namespace Electron {
|
|
|
24500
24756
|
type Configuration = Electron.Configuration;
|
|
24501
24757
|
type Configurations = Electron.Configurations;
|
|
24502
24758
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
24759
|
+
type ConfigureWebAuthnOptions = Electron.ConfigureWebAuthnOptions;
|
|
24503
24760
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
24504
24761
|
type ContextMenuEvent = Electron.ContextMenuEvent;
|
|
24505
24762
|
type ContextMenuParams = Electron.ContextMenuParams;
|
|
@@ -24509,6 +24766,7 @@ declare namespace Electron {
|
|
|
24509
24766
|
type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
|
|
24510
24767
|
type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
|
|
24511
24768
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
24769
|
+
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
24512
24770
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
24513
24771
|
type Data = Electron.Data;
|
|
24514
24772
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
@@ -24623,6 +24881,7 @@ declare namespace Electron {
|
|
|
24623
24881
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
24624
24882
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
24625
24883
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
24884
|
+
type SelectWebauthnAccountDetails = Electron.SelectWebauthnAccountDetails;
|
|
24626
24885
|
type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
|
|
24627
24886
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
24628
24887
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
@@ -24689,6 +24948,7 @@ declare namespace Electron {
|
|
|
24689
24948
|
type PageRanges = Electron.PageRanges;
|
|
24690
24949
|
type Params = Electron.Params;
|
|
24691
24950
|
type Planes = Electron.Planes;
|
|
24951
|
+
type TouchId = Electron.TouchId;
|
|
24692
24952
|
type Video = Electron.Video;
|
|
24693
24953
|
type Alternate = Electron.Alternate;
|
|
24694
24954
|
type Alternates = Electron.Alternates;
|
|
@@ -24783,6 +25043,7 @@ declare namespace Electron {
|
|
|
24783
25043
|
type UploadRawData = Electron.UploadRawData;
|
|
24784
25044
|
type USBDevice = Electron.USBDevice;
|
|
24785
25045
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
25046
|
+
type WebAuthnAccount = Electron.WebAuthnAccount;
|
|
24786
25047
|
type WebPreferences = Electron.WebPreferences;
|
|
24787
25048
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
24788
25049
|
type WebSource = Electron.WebSource;
|
|
@@ -24902,6 +25163,7 @@ declare namespace Electron {
|
|
|
24902
25163
|
type Configuration = Electron.Configuration;
|
|
24903
25164
|
type Configurations = Electron.Configurations;
|
|
24904
25165
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
25166
|
+
type ConfigureWebAuthnOptions = Electron.ConfigureWebAuthnOptions;
|
|
24905
25167
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
24906
25168
|
type ContextMenuEvent = Electron.ContextMenuEvent;
|
|
24907
25169
|
type ContextMenuParams = Electron.ContextMenuParams;
|
|
@@ -24911,6 +25173,7 @@ declare namespace Electron {
|
|
|
24911
25173
|
type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
|
|
24912
25174
|
type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
|
|
24913
25175
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25176
|
+
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
24914
25177
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
24915
25178
|
type Data = Electron.Data;
|
|
24916
25179
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
@@ -25025,6 +25288,7 @@ declare namespace Electron {
|
|
|
25025
25288
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
25026
25289
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
25027
25290
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
25291
|
+
type SelectWebauthnAccountDetails = Electron.SelectWebauthnAccountDetails;
|
|
25028
25292
|
type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
|
|
25029
25293
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
25030
25294
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
@@ -25091,6 +25355,7 @@ declare namespace Electron {
|
|
|
25091
25355
|
type PageRanges = Electron.PageRanges;
|
|
25092
25356
|
type Params = Electron.Params;
|
|
25093
25357
|
type Planes = Electron.Planes;
|
|
25358
|
+
type TouchId = Electron.TouchId;
|
|
25094
25359
|
type Video = Electron.Video;
|
|
25095
25360
|
type Alternate = Electron.Alternate;
|
|
25096
25361
|
type Alternates = Electron.Alternates;
|
|
@@ -25185,6 +25450,7 @@ declare namespace Electron {
|
|
|
25185
25450
|
type UploadRawData = Electron.UploadRawData;
|
|
25186
25451
|
type USBDevice = Electron.USBDevice;
|
|
25187
25452
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
25453
|
+
type WebAuthnAccount = Electron.WebAuthnAccount;
|
|
25188
25454
|
type WebPreferences = Electron.WebPreferences;
|
|
25189
25455
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
25190
25456
|
type WebSource = Electron.WebSource;
|
|
@@ -25232,6 +25498,7 @@ declare namespace Electron {
|
|
|
25232
25498
|
type Configuration = Electron.Configuration;
|
|
25233
25499
|
type Configurations = Electron.Configurations;
|
|
25234
25500
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
25501
|
+
type ConfigureWebAuthnOptions = Electron.ConfigureWebAuthnOptions;
|
|
25235
25502
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
25236
25503
|
type ContextMenuEvent = Electron.ContextMenuEvent;
|
|
25237
25504
|
type ContextMenuParams = Electron.ContextMenuParams;
|
|
@@ -25241,6 +25508,7 @@ declare namespace Electron {
|
|
|
25241
25508
|
type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
|
|
25242
25509
|
type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
|
|
25243
25510
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25511
|
+
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25244
25512
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25245
25513
|
type Data = Electron.Data;
|
|
25246
25514
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
@@ -25355,6 +25623,7 @@ declare namespace Electron {
|
|
|
25355
25623
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
25356
25624
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
25357
25625
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
25626
|
+
type SelectWebauthnAccountDetails = Electron.SelectWebauthnAccountDetails;
|
|
25358
25627
|
type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
|
|
25359
25628
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
25360
25629
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
@@ -25421,6 +25690,7 @@ declare namespace Electron {
|
|
|
25421
25690
|
type PageRanges = Electron.PageRanges;
|
|
25422
25691
|
type Params = Electron.Params;
|
|
25423
25692
|
type Planes = Electron.Planes;
|
|
25693
|
+
type TouchId = Electron.TouchId;
|
|
25424
25694
|
type Video = Electron.Video;
|
|
25425
25695
|
type Alternate = Electron.Alternate;
|
|
25426
25696
|
type Alternates = Electron.Alternates;
|
|
@@ -25515,6 +25785,7 @@ declare namespace Electron {
|
|
|
25515
25785
|
type UploadRawData = Electron.UploadRawData;
|
|
25516
25786
|
type USBDevice = Electron.USBDevice;
|
|
25517
25787
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
25788
|
+
type WebAuthnAccount = Electron.WebAuthnAccount;
|
|
25518
25789
|
type WebPreferences = Electron.WebPreferences;
|
|
25519
25790
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
25520
25791
|
type WebSource = Electron.WebSource;
|
|
@@ -25561,6 +25832,7 @@ declare namespace Electron {
|
|
|
25561
25832
|
type Configuration = Electron.Configuration;
|
|
25562
25833
|
type Configurations = Electron.Configurations;
|
|
25563
25834
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
25835
|
+
type ConfigureWebAuthnOptions = Electron.ConfigureWebAuthnOptions;
|
|
25564
25836
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
25565
25837
|
type ContextMenuEvent = Electron.ContextMenuEvent;
|
|
25566
25838
|
type ContextMenuParams = Electron.ContextMenuParams;
|
|
@@ -25570,6 +25842,7 @@ declare namespace Electron {
|
|
|
25570
25842
|
type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
|
|
25571
25843
|
type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
|
|
25572
25844
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
25845
|
+
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25573
25846
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25574
25847
|
type Data = Electron.Data;
|
|
25575
25848
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
@@ -25684,6 +25957,7 @@ declare namespace Electron {
|
|
|
25684
25957
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
25685
25958
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
25686
25959
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
25960
|
+
type SelectWebauthnAccountDetails = Electron.SelectWebauthnAccountDetails;
|
|
25687
25961
|
type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
|
|
25688
25962
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
25689
25963
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
@@ -25750,6 +26024,7 @@ declare namespace Electron {
|
|
|
25750
26024
|
type PageRanges = Electron.PageRanges;
|
|
25751
26025
|
type Params = Electron.Params;
|
|
25752
26026
|
type Planes = Electron.Planes;
|
|
26027
|
+
type TouchId = Electron.TouchId;
|
|
25753
26028
|
type Video = Electron.Video;
|
|
25754
26029
|
type Alternate = Electron.Alternate;
|
|
25755
26030
|
type Alternates = Electron.Alternates;
|
|
@@ -25844,6 +26119,7 @@ declare namespace Electron {
|
|
|
25844
26119
|
type UploadRawData = Electron.UploadRawData;
|
|
25845
26120
|
type USBDevice = Electron.USBDevice;
|
|
25846
26121
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
26122
|
+
type WebAuthnAccount = Electron.WebAuthnAccount;
|
|
25847
26123
|
type WebPreferences = Electron.WebPreferences;
|
|
25848
26124
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
25849
26125
|
type WebSource = Electron.WebSource;
|
|
@@ -25984,6 +26260,7 @@ declare namespace Electron {
|
|
|
25984
26260
|
type Configuration = Electron.Configuration;
|
|
25985
26261
|
type Configurations = Electron.Configurations;
|
|
25986
26262
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
26263
|
+
type ConfigureWebAuthnOptions = Electron.ConfigureWebAuthnOptions;
|
|
25987
26264
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
25988
26265
|
type ContextMenuEvent = Electron.ContextMenuEvent;
|
|
25989
26266
|
type ContextMenuParams = Electron.ContextMenuParams;
|
|
@@ -25993,6 +26270,7 @@ declare namespace Electron {
|
|
|
25993
26270
|
type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
|
|
25994
26271
|
type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
|
|
25995
26272
|
type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
|
|
26273
|
+
type CreateFromNamedImageOptions = Electron.CreateFromNamedImageOptions;
|
|
25996
26274
|
type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownloadOptions;
|
|
25997
26275
|
type Data = Electron.Data;
|
|
25998
26276
|
type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnValue;
|
|
@@ -26107,6 +26385,7 @@ declare namespace Electron {
|
|
|
26107
26385
|
type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
|
|
26108
26386
|
type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
|
|
26109
26387
|
type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
|
|
26388
|
+
type SelectWebauthnAccountDetails = Electron.SelectWebauthnAccountDetails;
|
|
26110
26389
|
type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
|
|
26111
26390
|
type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
|
|
26112
26391
|
type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWorkersRunningStatusChangedEventParams;
|
|
@@ -26173,6 +26452,7 @@ declare namespace Electron {
|
|
|
26173
26452
|
type PageRanges = Electron.PageRanges;
|
|
26174
26453
|
type Params = Electron.Params;
|
|
26175
26454
|
type Planes = Electron.Planes;
|
|
26455
|
+
type TouchId = Electron.TouchId;
|
|
26176
26456
|
type Video = Electron.Video;
|
|
26177
26457
|
type Alternate = Electron.Alternate;
|
|
26178
26458
|
type Alternates = Electron.Alternates;
|
|
@@ -26267,6 +26547,7 @@ declare namespace Electron {
|
|
|
26267
26547
|
type UploadRawData = Electron.UploadRawData;
|
|
26268
26548
|
type USBDevice = Electron.USBDevice;
|
|
26269
26549
|
type UserDefaultTypes = Electron.UserDefaultTypes;
|
|
26550
|
+
type WebAuthnAccount = Electron.WebAuthnAccount;
|
|
26270
26551
|
type WebPreferences = Electron.WebPreferences;
|
|
26271
26552
|
type WebRequestFilter = Electron.WebRequestFilter;
|
|
26272
26553
|
type WebSource = Electron.WebSource;
|
package/dist/version.json
CHANGED