@overwolf/ow-electron 44.10.1 → 44.11.3-beta.0
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 +6 -6
- package/electron.d.ts +82 -4
- package/ow-electron-types.d.ts +1 -1
- package/package.json +6 -3
package/checksums.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"electron-api.json": "87f34c48c90a3227f08d7952d8b51e327e9af84268c2ae2fa32bcd8a32d7963d",
|
|
3
3
|
"electron.d.ts": "41d9b5a40abcb3a30895240a41e3269519edadeb75ae583408e092b636ce9b75",
|
|
4
|
-
"ow-electron-v44.
|
|
5
|
-
"ow-electron-v44.
|
|
6
|
-
"ow-electron-v44.
|
|
7
|
-
"ow-electron-v44.
|
|
8
|
-
"ow-electron-v44.
|
|
9
|
-
"ow-electron-v44.
|
|
4
|
+
"ow-electron-v44.11.3-beta.0-darwin-arm64.zip": "682bd8295f99642301f5317df7de9ceee2209063412593dc04a5342db2d4cd79",
|
|
5
|
+
"ow-electron-v44.11.3-beta.0-darwin-x64.zip": "198a818bbc8d669c2c49f749e9916396dc7823b3c915f2e54cef1132583c0cd8",
|
|
6
|
+
"ow-electron-v44.11.3-beta.0-linux-arm64.zip": "7d8b12db2d683e6735c5effdd84adcbb44999caec518824d428ec13f4a2d3683",
|
|
7
|
+
"ow-electron-v44.11.3-beta.0-linux-x64.zip": "d5b1d87408ef80667d9fabebdda3d3ca2e9006b8a1fb3f232edba70bf01c9850",
|
|
8
|
+
"ow-electron-v44.11.3-beta.0-win32-arm64.zip": "e69fdf4945acc84e1f2e6d031860c03f7494e644cf8e40cdc402da6ece69eef2",
|
|
9
|
+
"ow-electron-v44.11.3-beta.0-win32-x64.zip": "a464f23aa07c526ff8eff15b24467e1c24ced7d53fc6f2f64c388233becfd9dd"
|
|
10
10
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 44.
|
|
1
|
+
// Type definitions for Electron 44.11.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/typescript-definitions
|
|
@@ -10013,6 +10013,22 @@ declare namespace Electron {
|
|
|
10013
10013
|
* one. It contains standard items such as `File`, `Edit`, `View`, and `Window`.
|
|
10014
10014
|
*/
|
|
10015
10015
|
static setApplicationMenu(menu: (Menu) | (null)): void;
|
|
10016
|
+
/**
|
|
10017
|
+
* Sets the colors used to highlight the hovered or keyboard-focused item in every
|
|
10018
|
+
* menu the app shows, including context menus and the menu bar's dropdowns. Light
|
|
10019
|
+
* and dark colors are set separately, and any color left unset keeps the default
|
|
10020
|
+
* for that mode. Each call replaces the colors set by any previous call. Passing
|
|
10021
|
+
* `null` restores the defaults.
|
|
10022
|
+
*
|
|
10023
|
+
* Menus opened after the call use the new colors. The colors are not applied while
|
|
10024
|
+
* Windows high contrast mode or forced colors are active, so the user's system
|
|
10025
|
+
* colors take priority.
|
|
10026
|
+
*
|
|
10027
|
+
* This method has no effect on macOS and Linux.
|
|
10028
|
+
*
|
|
10029
|
+
* @platform win32
|
|
10030
|
+
*/
|
|
10031
|
+
static setHighlightColors(options: (HighlightColorsOptions) | (null)): void;
|
|
10016
10032
|
/**
|
|
10017
10033
|
* Appends the `menuItem` to the menu.
|
|
10018
10034
|
*/
|
|
@@ -14914,7 +14930,9 @@ declare namespace Electron {
|
|
|
14914
14930
|
*
|
|
14915
14931
|
* Same as `subscribeNotification`, but uses `NSNotificationCenter` for local
|
|
14916
14932
|
* defaults. This is necessary for events such as
|
|
14917
|
-
* `NSUserDefaultsDidChangeNotification`.
|
|
14933
|
+
* `NSUserDefaultsDidChangeNotification`. `callback` is always called on the main
|
|
14934
|
+
* thread. Notifications posted on other threads are delivered to it
|
|
14935
|
+
* asynchronously.
|
|
14918
14936
|
*
|
|
14919
14937
|
* If `event` is null, the `NSNotificationCenter` doesn’t use it as criteria for
|
|
14920
14938
|
* delivery to the observer. See docs for more information.
|
|
@@ -18794,7 +18812,9 @@ declare namespace Electron {
|
|
|
18794
18812
|
*/
|
|
18795
18813
|
getDevToolsTitle(): string;
|
|
18796
18814
|
/**
|
|
18797
|
-
* If _offscreen rendering_ is enabled returns the current frame rate.
|
|
18815
|
+
* If _offscreen rendering_ is enabled returns the current frame rate. For an
|
|
18816
|
+
* `<owadview>` guest returns the frame rate it is capped to, or `0` if it is not
|
|
18817
|
+
* capped.
|
|
18798
18818
|
*/
|
|
18799
18819
|
getFrameRate(): number;
|
|
18800
18820
|
/**
|
|
@@ -19216,6 +19236,13 @@ declare namespace Electron {
|
|
|
19216
19236
|
* If _offscreen rendering_ is enabled sets the frame rate to the specified number.
|
|
19217
19237
|
* When `webPreferences.offscreen.useSharedTexture` is `false` only values between
|
|
19218
19238
|
* 1 and 240 are accepted.
|
|
19239
|
+
*
|
|
19240
|
+
* For an `<owadview>` guest, caps the frame rate of the ad only (values between 0
|
|
19241
|
+
* and 240, where 0 removes the cap), whether its embedder is offscreen or not. The
|
|
19242
|
+
* embedder keeps its own frame rate. New guests start at the `adViewMaxFps`
|
|
19243
|
+
* Overwolf setting (30 unless the app's `package.json` changes it), which the
|
|
19244
|
+
* `--owadview-max-fps` switch overrides. The ad page can set the same value
|
|
19245
|
+
* through `__overwolf__.setFrameRate(fps)`; the last call wins.
|
|
19219
19246
|
*/
|
|
19220
19247
|
setFrameRate(fps: number): void;
|
|
19221
19248
|
/**
|
|
@@ -19403,7 +19430,8 @@ declare namespace Electron {
|
|
|
19403
19430
|
* An `Integer` property that sets the frame rate of the web contents to the
|
|
19404
19431
|
* specified number. Only values between 1 and 240 are accepted.
|
|
19405
19432
|
*
|
|
19406
|
-
* Only applicable if _offscreen rendering_ is enabled
|
|
19433
|
+
* Only applicable if _offscreen rendering_ is enabled, or to an `<owadview>` guest
|
|
19434
|
+
* (see `contents.setFrameRate`).
|
|
19407
19435
|
*/
|
|
19408
19436
|
frameRate: number;
|
|
19409
19437
|
/**
|
|
@@ -22753,6 +22781,17 @@ declare namespace Electron {
|
|
|
22753
22781
|
origin?: string;
|
|
22754
22782
|
}
|
|
22755
22783
|
|
|
22784
|
+
interface HighlightColorsOptions {
|
|
22785
|
+
/**
|
|
22786
|
+
* Colors used when menus are drawn with light colors.
|
|
22787
|
+
*/
|
|
22788
|
+
light?: Light;
|
|
22789
|
+
/**
|
|
22790
|
+
* Colors used when menus are drawn with dark colors.
|
|
22791
|
+
*/
|
|
22792
|
+
dark?: Dark;
|
|
22793
|
+
}
|
|
22794
|
+
|
|
22756
22795
|
interface IgnoreMouseEventsOptions {
|
|
22757
22796
|
/**
|
|
22758
22797
|
* If true, forwards mouse move messages to Chromium, enabling mouse related events
|
|
@@ -25436,6 +25475,18 @@ declare namespace Electron {
|
|
|
25436
25475
|
interface Children {
|
|
25437
25476
|
}
|
|
25438
25477
|
|
|
25478
|
+
interface Dark {
|
|
25479
|
+
/**
|
|
25480
|
+
* Background color of the hovered or keyboard-focused menu item, as a CSS color
|
|
25481
|
+
* string.
|
|
25482
|
+
*/
|
|
25483
|
+
background?: string;
|
|
25484
|
+
/**
|
|
25485
|
+
* Text color of the hovered or keyboard-focused menu item, as a CSS color string.
|
|
25486
|
+
*/
|
|
25487
|
+
foreground?: string;
|
|
25488
|
+
}
|
|
25489
|
+
|
|
25439
25490
|
interface EditFlags {
|
|
25440
25491
|
/**
|
|
25441
25492
|
* Whether the renderer believes it can undo.
|
|
@@ -25548,6 +25599,18 @@ declare namespace Electron {
|
|
|
25548
25599
|
enabled: boolean;
|
|
25549
25600
|
}
|
|
25550
25601
|
|
|
25602
|
+
interface Light {
|
|
25603
|
+
/**
|
|
25604
|
+
* Background color of the hovered or keyboard-focused menu item, as a CSS color
|
|
25605
|
+
* string (e.g. `#0067c0`).
|
|
25606
|
+
*/
|
|
25607
|
+
background?: string;
|
|
25608
|
+
/**
|
|
25609
|
+
* Text color of the hovered or keyboard-focused menu item, as a CSS color string.
|
|
25610
|
+
*/
|
|
25611
|
+
foreground?: string;
|
|
25612
|
+
}
|
|
25613
|
+
|
|
25551
25614
|
interface Margins {
|
|
25552
25615
|
/**
|
|
25553
25616
|
* Can be `default`, `none`, `printableArea`, or `custom`. If `custom` is chosen,
|
|
@@ -25973,6 +26036,7 @@ declare namespace Electron {
|
|
|
25973
26036
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
25974
26037
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
25975
26038
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
26039
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
25976
26040
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
25977
26041
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
25978
26042
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -26101,6 +26165,7 @@ declare namespace Electron {
|
|
|
26101
26165
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
26102
26166
|
type Animate = Electron.Animate;
|
|
26103
26167
|
type Children = Electron.Children;
|
|
26168
|
+
type Dark = Electron.Dark;
|
|
26104
26169
|
type EditFlags = Electron.EditFlags;
|
|
26105
26170
|
type Env = Electron.Env;
|
|
26106
26171
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -26108,6 +26173,7 @@ declare namespace Electron {
|
|
|
26108
26173
|
type InputReports = Electron.InputReports;
|
|
26109
26174
|
type Interfaces = Electron.Interfaces;
|
|
26110
26175
|
type LaunchItems = Electron.LaunchItems;
|
|
26176
|
+
type Light = Electron.Light;
|
|
26111
26177
|
type Margins = Electron.Margins;
|
|
26112
26178
|
type MediaFlags = Electron.MediaFlags;
|
|
26113
26179
|
type Metadata = Electron.Metadata;
|
|
@@ -26392,6 +26458,7 @@ declare namespace Electron {
|
|
|
26392
26458
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
26393
26459
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
26394
26460
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
26461
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
26395
26462
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
26396
26463
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
26397
26464
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -26520,6 +26587,7 @@ declare namespace Electron {
|
|
|
26520
26587
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
26521
26588
|
type Animate = Electron.Animate;
|
|
26522
26589
|
type Children = Electron.Children;
|
|
26590
|
+
type Dark = Electron.Dark;
|
|
26523
26591
|
type EditFlags = Electron.EditFlags;
|
|
26524
26592
|
type Env = Electron.Env;
|
|
26525
26593
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -26527,6 +26595,7 @@ declare namespace Electron {
|
|
|
26527
26595
|
type InputReports = Electron.InputReports;
|
|
26528
26596
|
type Interfaces = Electron.Interfaces;
|
|
26529
26597
|
type LaunchItems = Electron.LaunchItems;
|
|
26598
|
+
type Light = Electron.Light;
|
|
26530
26599
|
type Margins = Electron.Margins;
|
|
26531
26600
|
type MediaFlags = Electron.MediaFlags;
|
|
26532
26601
|
type Metadata = Electron.Metadata;
|
|
@@ -26734,6 +26803,7 @@ declare namespace Electron {
|
|
|
26734
26803
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
26735
26804
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
26736
26805
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
26806
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
26737
26807
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
26738
26808
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
26739
26809
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -26862,6 +26932,7 @@ declare namespace Electron {
|
|
|
26862
26932
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
26863
26933
|
type Animate = Electron.Animate;
|
|
26864
26934
|
type Children = Electron.Children;
|
|
26935
|
+
type Dark = Electron.Dark;
|
|
26865
26936
|
type EditFlags = Electron.EditFlags;
|
|
26866
26937
|
type Env = Electron.Env;
|
|
26867
26938
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -26869,6 +26940,7 @@ declare namespace Electron {
|
|
|
26869
26940
|
type InputReports = Electron.InputReports;
|
|
26870
26941
|
type Interfaces = Electron.Interfaces;
|
|
26871
26942
|
type LaunchItems = Electron.LaunchItems;
|
|
26943
|
+
type Light = Electron.Light;
|
|
26872
26944
|
type Margins = Electron.Margins;
|
|
26873
26945
|
type MediaFlags = Electron.MediaFlags;
|
|
26874
26946
|
type Metadata = Electron.Metadata;
|
|
@@ -27075,6 +27147,7 @@ declare namespace Electron {
|
|
|
27075
27147
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
27076
27148
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
27077
27149
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
27150
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
27078
27151
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
27079
27152
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
27080
27153
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -27203,6 +27276,7 @@ declare namespace Electron {
|
|
|
27203
27276
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
27204
27277
|
type Animate = Electron.Animate;
|
|
27205
27278
|
type Children = Electron.Children;
|
|
27279
|
+
type Dark = Electron.Dark;
|
|
27206
27280
|
type EditFlags = Electron.EditFlags;
|
|
27207
27281
|
type Env = Electron.Env;
|
|
27208
27282
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -27210,6 +27284,7 @@ declare namespace Electron {
|
|
|
27210
27284
|
type InputReports = Electron.InputReports;
|
|
27211
27285
|
type Interfaces = Electron.Interfaces;
|
|
27212
27286
|
type LaunchItems = Electron.LaunchItems;
|
|
27287
|
+
type Light = Electron.Light;
|
|
27213
27288
|
type Margins = Electron.Margins;
|
|
27214
27289
|
type MediaFlags = Electron.MediaFlags;
|
|
27215
27290
|
type Metadata = Electron.Metadata;
|
|
@@ -27513,6 +27588,7 @@ declare namespace Electron {
|
|
|
27513
27588
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
27514
27589
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
27515
27590
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
27591
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
27516
27592
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
27517
27593
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
27518
27594
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -27641,6 +27717,7 @@ declare namespace Electron {
|
|
|
27641
27717
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
27642
27718
|
type Animate = Electron.Animate;
|
|
27643
27719
|
type Children = Electron.Children;
|
|
27720
|
+
type Dark = Electron.Dark;
|
|
27644
27721
|
type EditFlags = Electron.EditFlags;
|
|
27645
27722
|
type Env = Electron.Env;
|
|
27646
27723
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -27648,6 +27725,7 @@ declare namespace Electron {
|
|
|
27648
27725
|
type InputReports = Electron.InputReports;
|
|
27649
27726
|
type Interfaces = Electron.Interfaces;
|
|
27650
27727
|
type LaunchItems = Electron.LaunchItems;
|
|
27728
|
+
type Light = Electron.Light;
|
|
27651
27729
|
type Margins = Electron.Margins;
|
|
27652
27730
|
type MediaFlags = Electron.MediaFlags;
|
|
27653
27731
|
type Metadata = Electron.Metadata;
|
package/ow-electron-types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Shared Overwolf type declarations for ow-electron 44.
|
|
1
|
+
// Shared Overwolf type declarations for ow-electron 44.11.3
|
|
2
2
|
//
|
|
3
3
|
// This file *augments* the existing `electron` types instead of bundling a copy
|
|
4
4
|
// of them. It only adds members to the global `Electron` namespace and to the
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron",
|
|
3
|
-
"version": "44.
|
|
4
|
-
"owElectronVersion": "44.
|
|
5
|
-
"electronVersion": "44.
|
|
3
|
+
"version": "44.11.3-beta.0",
|
|
4
|
+
"owElectronVersion": "44.11.3-beta.0",
|
|
5
|
+
"electronVersion": "44.11.3",
|
|
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",
|
|
@@ -45,5 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">= 22.12.0"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"tag": "44-x-y"
|
|
48
51
|
}
|
|
49
52
|
}
|