@overwolf/ow-electron 22.3.2 → 22.3.3
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/checksums.json +8 -8
- package/electron-api.json +270 -270
- package/electron.d.ts +13 -21
- package/ow-electron.d.ts +6 -1
- package/package.json +2 -2
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 22.3.
|
|
1
|
+
// Type definitions for Electron 22.3.3
|
|
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/electron-typescript-definitions
|
|
@@ -408,8 +408,6 @@ declare namespace Electron {
|
|
|
408
408
|
* application's `Info.plist` file must define the URL scheme within the
|
|
409
409
|
* `CFBundleURLTypes` key, and set `NSPrincipalClass` to `AtomApplication`.
|
|
410
410
|
*
|
|
411
|
-
* You should call `event.preventDefault()` if you want to handle this event.
|
|
412
|
-
*
|
|
413
411
|
* As with the `open-file` event, be sure to register a listener for the `open-url`
|
|
414
412
|
* event early in your application startup to detect if the the application being
|
|
415
413
|
* is being opened to handle a URL. If you register the listener in response to a
|
|
@@ -3011,7 +3009,7 @@ declare namespace Electron {
|
|
|
3011
3009
|
/**
|
|
3012
3010
|
* Sets the touchBar layout for the current window. Specifying `null` or
|
|
3013
3011
|
* `undefined` clears the touch bar. This method only has an effect if the machine
|
|
3014
|
-
* has a touch bar
|
|
3012
|
+
* has a touch bar.
|
|
3015
3013
|
*
|
|
3016
3014
|
* **Note:** The TouchBar API is currently experimental and may change or be
|
|
3017
3015
|
* removed in future Electron releases.
|
|
@@ -8608,7 +8606,7 @@ declare namespace Electron {
|
|
|
8608
8606
|
* information about how to set these in the context of Electron.
|
|
8609
8607
|
*
|
|
8610
8608
|
* This user consent was not required until macOS 10.14 Mojave, so this method will
|
|
8611
|
-
* always return `true` if your system is running 10.13 High Sierra
|
|
8609
|
+
* always return `true` if your system is running 10.13 High Sierra.
|
|
8612
8610
|
*
|
|
8613
8611
|
* @platform darwin
|
|
8614
8612
|
*/
|
|
@@ -8616,9 +8614,6 @@ declare namespace Electron {
|
|
|
8616
8614
|
/**
|
|
8617
8615
|
* whether or not this device has the ability to use Touch ID.
|
|
8618
8616
|
*
|
|
8619
|
-
* **NOTE:** This API will return `false` on macOS systems older than Sierra
|
|
8620
|
-
* 10.12.2.
|
|
8621
|
-
*
|
|
8622
8617
|
* @platform darwin
|
|
8623
8618
|
*/
|
|
8624
8619
|
canPromptTouchID(): boolean;
|
|
@@ -8677,10 +8672,10 @@ declare namespace Electron {
|
|
|
8677
8672
|
/**
|
|
8678
8673
|
* Can be `not-determined`, `granted`, `denied`, `restricted` or `unknown`.
|
|
8679
8674
|
*
|
|
8680
|
-
* This user consent was not required on macOS 10.13 High Sierra
|
|
8681
|
-
*
|
|
8682
|
-
*
|
|
8683
|
-
*
|
|
8675
|
+
* This user consent was not required on macOS 10.13 High Sierra so this method
|
|
8676
|
+
* will always return `granted`. macOS 10.14 Mojave or higher requires consent for
|
|
8677
|
+
* `microphone` and `camera` access. macOS 10.15 Catalina or higher requires
|
|
8678
|
+
* consent for `screen` access.
|
|
8684
8679
|
*
|
|
8685
8680
|
* Windows 10 has a global setting controlling `microphone` and `camera` access for
|
|
8686
8681
|
* all win32 applications. It will always return `granted` for `screen` and for all
|
|
@@ -8798,9 +8793,6 @@ declare namespace Electron {
|
|
|
8798
8793
|
* `node-keytar`, such that one would store an encryption key with `node-keytar`
|
|
8799
8794
|
* and only fetch it if `promptTouchID()` resolves.
|
|
8800
8795
|
*
|
|
8801
|
-
* **NOTE:** This API will return a rejected Promise on macOS systems older than
|
|
8802
|
-
* Sierra 10.12.2.
|
|
8803
|
-
*
|
|
8804
8796
|
* @platform darwin
|
|
8805
8797
|
*/
|
|
8806
8798
|
promptTouchID(reason: string): Promise<void>;
|
|
@@ -13507,10 +13499,10 @@ declare namespace Electron {
|
|
|
13507
13499
|
*/
|
|
13508
13500
|
zoomToPageWidth?: boolean;
|
|
13509
13501
|
/**
|
|
13510
|
-
* Tab group name, allows opening the window as a native tab
|
|
13511
|
-
*
|
|
13512
|
-
*
|
|
13513
|
-
*
|
|
13502
|
+
* Tab group name, allows opening the window as a native tab. Windows with the same
|
|
13503
|
+
* tabbing identifier will be grouped together. This also adds a native new tab
|
|
13504
|
+
* button to your window's tab bar and allows your `app` and window to receive the
|
|
13505
|
+
* `new-window-for-tab` event.
|
|
13514
13506
|
*
|
|
13515
13507
|
* @platform darwin
|
|
13516
13508
|
*/
|
|
@@ -15958,8 +15950,8 @@ declare namespace Electron {
|
|
|
15958
15950
|
interface TitleOptions {
|
|
15959
15951
|
/**
|
|
15960
15952
|
* The font family variant to display, can be `monospaced` or `monospacedDigit`.
|
|
15961
|
-
* `monospaced` is available in macOS 10.15+
|
|
15962
|
-
*
|
|
15953
|
+
* `monospaced` is available in macOS 10.15+ When left blank, the title uses the
|
|
15954
|
+
* default system font.
|
|
15963
15955
|
*/
|
|
15964
15956
|
fontType?: ('monospaced' | 'monospacedDigit');
|
|
15965
15957
|
}
|
package/ow-electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for ow-electron 22.3.
|
|
1
|
+
// Type definitions for ow-electron 22.3.3
|
|
2
2
|
|
|
3
3
|
import { App, BrowserWindow, Event } from 'electron'
|
|
4
4
|
import { errorMonitor } from 'events';
|
|
@@ -42,6 +42,11 @@ declare namespace overwolf {
|
|
|
42
42
|
* Client persistence phasing precent
|
|
43
43
|
*/
|
|
44
44
|
readonly phasePercent: number
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Overwolf installer provided UTM params
|
|
48
|
+
*/
|
|
49
|
+
readonly utmParams: any;
|
|
45
50
|
}
|
|
46
51
|
|
|
47
52
|
interface CMPWindowOptions {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron",
|
|
3
|
-
"version": "22.3.
|
|
4
|
-
"owElectronVersion": "22.3.
|
|
3
|
+
"version": "22.3.3",
|
|
4
|
+
"owElectronVersion": "22.3.3",
|
|
5
5
|
"repository": "https://github.com/electron/electron",
|
|
6
6
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
7
7
|
"license": "MIT",
|