@overwolf/ow-electron 34.4.1 → 34.5.4

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/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 34.4.1
1
+ // Type definitions for Electron 34.5.4
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
@@ -3356,6 +3356,8 @@ declare namespace Electron {
3356
3356
  *
3357
3357
  * If the menu bar is already visible, setting this property to `true` won't hide
3358
3358
  * it immediately.
3359
+ *
3360
+ * @platform linux,win32
3359
3361
  */
3360
3362
  autoHideMenuBar: boolean;
3361
3363
  /**
@@ -3517,6 +3519,8 @@ declare namespace Electron {
3517
3519
  alwaysOnTop?: boolean;
3518
3520
  /**
3519
3521
  * Auto hide the menu bar unless the `Alt` key is pressed. Default is `false`.
3522
+ *
3523
+ * @platform linux,win32
3520
3524
  */
3521
3525
  autoHideMenuBar?: boolean;
3522
3526
  /**
@@ -5997,6 +6001,8 @@ declare namespace Electron {
5997
6001
  *
5998
6002
  * If the menu bar is already visible, setting this property to `true` won't hide
5999
6003
  * it immediately.
6004
+ *
6005
+ * @platform linux,win32
6000
6006
  */
6001
6007
  autoHideMenuBar: boolean;
6002
6008
  /**
@@ -14082,6 +14088,10 @@ declare namespace Electron {
14082
14088
 
14083
14089
  // Docs: https://electronjs.org/docs/api/utility-process
14084
14090
 
14091
+ /**
14092
+ * **Note:** `utilityProcess.fork` can only be called after the `ready` event has
14093
+ * been emitted on `App`.
14094
+ */
14085
14095
  static fork(modulePath: string, args?: string[], options?: ForkOptions): UtilityProcess;
14086
14096
  /**
14087
14097
  * Emitted when the child process needs to terminate due to non continuable error
@@ -16930,12 +16940,12 @@ declare namespace Electron {
16930
16940
  */
16931
16941
  readonly navigationHistory: NavigationHistory;
16932
16942
  /**
16933
- * A `WebFrameMain` property that represents the frame that opened this
16943
+ * A `WebFrameMain | null` property that represents the frame that opened this
16934
16944
  * WebContents, either with open(), or by navigating a link with a target
16935
16945
  * attribute.
16936
16946
  *
16937
16947
  */
16938
- readonly opener: WebFrameMain;
16948
+ readonly opener: (WebFrameMain) | (null);
16939
16949
  /**
16940
16950
  * A `Session` used by this webContents.
16941
16951
  *
@@ -21504,7 +21514,7 @@ declare namespace Electron {
21504
21514
  * The CSS color of the symbols on the Window Controls Overlay when enabled.
21505
21515
  * Default is the system color.
21506
21516
  *
21507
- * @platform win32
21517
+ * @platform win32,linux
21508
21518
  */
21509
21519
  symbolColor?: string;
21510
21520
  /**
package/ow-electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for ow-electron 34.4.1
1
+ // Type definitions for ow-electron 34.5.4
2
2
 
3
3
  import { App, BrowserWindow, Event, WebviewTag } from 'electron';
4
4
  import { errorMonitor } from 'events';
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@overwolf/ow-electron",
3
- "version": "34.4.1",
4
- "owElectronVersion": "34.4.1",
5
- "electronVersion": "34.4.1",
3
+ "version": "34.5.4",
4
+ "owElectronVersion": "34.5.4",
5
+ "electronVersion": "34.5.4",
6
6
  "repository": "https://github.com/electron/electron",
7
7
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
8
8
  "license": "MIT",