@overwolf/ow-electron 28.3.8 → 31.4.0-beta.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 +1 -1
- package/checksums.json +9 -9
- package/electron-api.json +4960 -1126
- package/electron.d.ts +3070 -615
- package/ow-electron.d.ts +30 -8
- package/package.json +6 -3
package/ow-electron.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Type definitions for ow-electron
|
|
1
|
+
// Type definitions for ow-electron 31.4.0
|
|
2
2
|
|
|
3
|
-
import { App, BrowserWindow, Event, WebviewTag } from 'electron'
|
|
3
|
+
import { App, BrowserWindow, Event, WebviewTag } from 'electron';
|
|
4
4
|
import { errorMonitor } from 'events';
|
|
5
5
|
|
|
6
6
|
declare namespace overwolf {
|
|
@@ -18,6 +18,16 @@ declare namespace overwolf {
|
|
|
18
18
|
*/
|
|
19
19
|
disableAnonymousAnalytics(): void;
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Disable Ads optimization
|
|
23
|
+
*/
|
|
24
|
+
disableAdsOptimization():void;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Opt out from using first party date (email address) for ad targeting
|
|
28
|
+
*/
|
|
29
|
+
disableAdsFPD(): void;
|
|
30
|
+
|
|
21
31
|
/**
|
|
22
32
|
* Returns true if the current user should be able to update their cmp
|
|
23
33
|
* configurations (i.e. openCMPWindow).
|
|
@@ -120,16 +130,21 @@ declare namespace overwolf {
|
|
|
120
130
|
/**
|
|
121
131
|
* A fake enum for all built-in packIge names
|
|
122
132
|
*/
|
|
123
|
-
type PackageName = 'gep' | 'overlay' | 'recorder';
|
|
133
|
+
type PackageName = 'gep' | 'overlay' | 'recorder' | 'utility' | string;
|
|
124
134
|
|
|
125
|
-
|
|
135
|
+
/**
|
|
126
136
|
* Package info
|
|
127
137
|
*/
|
|
128
|
-
|
|
138
|
+
interface PackageInfo {
|
|
129
139
|
name: string;
|
|
130
140
|
version: string;
|
|
131
141
|
}
|
|
132
142
|
|
|
143
|
+
type PendingUpdatesResult = {
|
|
144
|
+
hasPendingUpdate: boolean
|
|
145
|
+
details : PackageInfo[];
|
|
146
|
+
}
|
|
147
|
+
|
|
133
148
|
/**
|
|
134
149
|
* Overwolf Package Manager interface
|
|
135
150
|
*/
|
|
@@ -202,7 +217,14 @@ declare namespace overwolf {
|
|
|
202
217
|
relaunch(): void;
|
|
203
218
|
|
|
204
219
|
/**
|
|
205
|
-
*
|
|
220
|
+
* Checks if there are any pending package updates that require a client restart.
|
|
221
|
+
*
|
|
222
|
+
* @returns {PendingUpdatesResult} - Result indicating the status of pending updates.
|
|
223
|
+
*/
|
|
224
|
+
hasPendingUpdates(): PendingUpdatesResult;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @property {packages.OverwolfGameEventPackage} gep The Game Events Provider Package Instance
|
|
206
228
|
* note: available once 'ready' is fired.
|
|
207
229
|
*/
|
|
208
230
|
readonly gep: packages.OverwolfGameEventPackage;
|
|
@@ -211,8 +233,8 @@ declare namespace overwolf {
|
|
|
211
233
|
/**
|
|
212
234
|
* Game Events game detection Event
|
|
213
235
|
*/
|
|
214
|
-
|
|
215
|
-
enable: (
|
|
236
|
+
export interface GepGameLaunchEvent {
|
|
237
|
+
enable: () => void;
|
|
216
238
|
}
|
|
217
239
|
|
|
218
240
|
/**
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron",
|
|
3
|
-
"version": "
|
|
4
|
-
"owElectronVersion": "
|
|
5
|
-
"electronVersion": "
|
|
3
|
+
"version": "31.4.0-beta.1",
|
|
4
|
+
"owElectronVersion": "31.4.0-beta.1",
|
|
5
|
+
"electronVersion": "31.4.0",
|
|
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",
|
|
@@ -26,5 +26,8 @@
|
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">= 10.17.0"
|
|
29
|
+
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"tag": "beta"
|
|
29
32
|
}
|
|
30
33
|
}
|