Skip to content

Commit 91f5e65

Browse files
committed
Updated for v13.0.0-wvvmp-beta.21
1 parent 80148f4 commit 91f5e65

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

electron.d.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Electron 13.0.0-beta.20
1+
// Type definitions for Electron 13.0.0-beta.21
22
// Project: http://electronjs.org/
33
// Definitions by: The Electron Team <https://github.com/electron/electron>
44
// Definitions: https://github.com/electron/electron-typescript-definitions
@@ -7358,6 +7358,11 @@ Clears the host resolver cache.
73587358
* languages. This API is a no-op on macOS.
73597359
*/
73607360
getSpellCheckerLanguages(): string[];
7361+
/**
7362+
* A `String | null` indicating the absolute file system path where data for this
7363+
* session is persisted on disk. For in memory sessions this returns `null`.
7364+
*/
7365+
getStoragePath(): void;
73617366
/**
73627367
* The user agent for this session.
73637368
*/
@@ -7581,6 +7586,7 @@ Clears the host resolver cache.
75817586
readonly protocol: Protocol;
75827587
readonly serviceWorkers: ServiceWorkers;
75837588
spellCheckerEnabled: boolean;
7589+
readonly storagePath: (string) | (null);
75847590
readonly webRequest: WebRequest;
75857591
}
75867592

@@ -10347,7 +10353,7 @@ Calling `event.preventDefault()` will prevent the navigation.
1034710353
* reaches zero. If you want to decrease the hidden capturer count instead you
1034810354
* should set `stayHidden` to true.
1034910355
*/
10350-
decrementCapturerCount(stayHidden?: boolean): void;
10356+
decrementCapturerCount(stayHidden?: boolean, stayAwake?: boolean): void;
1035110357
/**
1035210358
* Executes the editing command `delete` in web page.
1035310359
*/
@@ -10491,7 +10497,7 @@ Works like `executeJavaScript` but evaluates `scripts` in an isolated context.
1049110497
*
1049210498
This also affects the Page Visibility API.
1049310499
*/
10494-
incrementCapturerCount(size?: Size, stayHidden?: boolean): void;
10500+
incrementCapturerCount(size?: Size, stayHidden?: boolean, stayAwake?: boolean): void;
1049510501
/**
1049610502
* A promise that resolves with a key for the inserted CSS that can later be used
1049710503
* to remove the CSS via `contents.removeInsertedCSS(key)`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"node": ">= 8.6"
1717
},
1818
"name": "electron",
19-
"version": "13.0.0-wvvmp-beta.20",
19+
"version": "13.0.0-wvvmp-beta.21",
2020
"repository": "https://github.com/castlabs/electron-releases",
2121
"description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection",
2222
"license": "MIT",

0 commit comments

Comments
 (0)