@overwolf/ow-electron 42.7.1-beta.1 → 42.7.1-beta.10
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 +9 -9
- package/electron.d.ts +1 -1
- package/ow-electron-mix.d.ts +1 -1
- package/ow-electron-types.d.ts +43 -2
- package/ow-electron.d.ts +1 -1
- package/package.json +3 -3
package/checksums.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"electron-api.json": "7420cc8b42253caf92867b60cdee60f71c97379f7edcda8139f3292b688a2232",
|
|
3
|
-
"electron.d.ts": "
|
|
4
|
-
"ow-electron-v42.7.1-beta.
|
|
5
|
-
"ow-electron-v42.7.1-beta.
|
|
6
|
-
"ow-electron-v42.7.1-beta.
|
|
7
|
-
"ow-electron-v42.7.1-beta.
|
|
8
|
-
"ow-electron-v42.7.1-beta.
|
|
9
|
-
"ow-electron-v42.7.1-beta.
|
|
10
|
-
"ow-electron-v42.7.1-beta.
|
|
11
|
-
"ow-electron-v42.7.1-beta.
|
|
3
|
+
"electron.d.ts": "18bd4cd7afa712aa563edf1684ebf6f6a4f490ae013c7c68b80b37b1a90ad5bd",
|
|
4
|
+
"ow-electron-v42.7.1-beta.10-darwin-arm64.zip": "91a01a0bca2298dff3b2baa89ba4465e14ca22874d67f143fe43af454a2283f3",
|
|
5
|
+
"ow-electron-v42.7.1-beta.10-darwin-x64.zip": "7e822c7fd7671ce4233f9ceabcc08a452e97e17cbbc6ad57f82e627e46cb0303",
|
|
6
|
+
"ow-electron-v42.7.1-beta.10-linux-arm64.zip": "8adf043c6145a33386d9163e8f41cdf332e7a0ca27b8600b225b101515c5dd5b",
|
|
7
|
+
"ow-electron-v42.7.1-beta.10-linux-armv7l.zip": "32d446a7a8f1f430c2030a1b2cd4220e52f95d24a607db28539b00ac6141c1d5",
|
|
8
|
+
"ow-electron-v42.7.1-beta.10-linux-x64.zip": "8b730cefec59e57034239fdc7b48c0b462ab75901c5a116b376d3660a39755f7",
|
|
9
|
+
"ow-electron-v42.7.1-beta.10-win32-arm64.zip": "e8b8f99a4e4685cd1210d071124c963b768fe681d840076e9b2548cc2e0c23b3",
|
|
10
|
+
"ow-electron-v42.7.1-beta.10-win32-ia32.zip": "ee27a1906b61f712d66d155017539592477eeb094eec1c2ff3b2b468106efa56",
|
|
11
|
+
"ow-electron-v42.7.1-beta.10-win32-x64.zip": "cf4e878095631e27e56abffdf162d2acc18ebad0cabd4d6f873c80bb997c7ae8"
|
|
12
12
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 42.7.1-beta.
|
|
1
|
+
// Type definitions for Electron 42.7.1-beta.9
|
|
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
|
package/ow-electron-mix.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for ow-electron 42.7.1-beta.
|
|
1
|
+
// Type definitions for ow-electron 42.7.1-beta.10 - "mix" entry.
|
|
2
2
|
//
|
|
3
3
|
// Use this entry when your project ALSO has the `electron` package installed.
|
|
4
4
|
// Unlike ow-electron.d.ts, it does NOT bundle a copy of Electron's types - it
|
package/ow-electron-types.d.ts
CHANGED
|
@@ -94,6 +94,14 @@ declare global {
|
|
|
94
94
|
*/
|
|
95
95
|
setUserEmailHashes(emailHashes?: EmailHashes): void;
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* Associates the current user's id at an external payment provider
|
|
99
|
+
* (e.g. Tebex) with this machine.
|
|
100
|
+
* Call this once on every app launch, after app.ready.
|
|
101
|
+
* Rejects if userId is missing. providerName defaults to 'tebex'.
|
|
102
|
+
*/
|
|
103
|
+
setExternalPaymentUserId(options: ExternalPaymentUserIdOptions): Promise<void>;
|
|
104
|
+
|
|
97
105
|
/**
|
|
98
106
|
* Client persistence phasing precent
|
|
99
107
|
*/
|
|
@@ -184,10 +192,32 @@ declare global {
|
|
|
184
192
|
readonly md5?: string;
|
|
185
193
|
}
|
|
186
194
|
|
|
195
|
+
/**
|
|
196
|
+
* A enum of the external payment providers we know about.
|
|
197
|
+
*/
|
|
198
|
+
type ExternalPaymentProvider = 'tebex' | string;
|
|
199
|
+
|
|
200
|
+
interface ExternalPaymentUserIdOptions {
|
|
201
|
+
/**
|
|
202
|
+
* The name of the external payment provider.
|
|
203
|
+
*/
|
|
204
|
+
providerName: ExternalPaymentProvider;
|
|
205
|
+
|
|
187
206
|
/**
|
|
188
|
-
*
|
|
207
|
+
* The user id your app passes to the external payment provider.
|
|
189
208
|
*/
|
|
190
|
-
|
|
209
|
+
userId: string;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Optional. The provider's recurring payment (subscription) agreement id.
|
|
213
|
+
*/
|
|
214
|
+
paymentId?: string;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* A utility type for registering to `error` events, that includes the `errorMonitor` type
|
|
219
|
+
*/
|
|
220
|
+
type error = 'error' | typeof errorMonitor;
|
|
191
221
|
|
|
192
222
|
/**
|
|
193
223
|
* Namespace containing everything related to Overwolf Packages
|
|
@@ -440,6 +470,17 @@ declare global {
|
|
|
440
470
|
}
|
|
441
471
|
|
|
442
472
|
interface AdviewTag extends HTMLElement {
|
|
473
|
+
/**
|
|
474
|
+
* A JSON string of custom tracking key-value pairs to report with the ad.
|
|
475
|
+
*
|
|
476
|
+
* Can be set declaratively:
|
|
477
|
+
* ```html
|
|
478
|
+
* <owadview customTracking='{"page":"main_menu"}'></owadview>
|
|
479
|
+
* ```
|
|
480
|
+
* or changed at any time afterwards, in which case the new value is
|
|
481
|
+
* pushed to the running ad view.
|
|
482
|
+
*/
|
|
483
|
+
customTracking: string;
|
|
443
484
|
}
|
|
444
485
|
|
|
445
486
|
namespace Renderer {
|
package/ow-electron.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron",
|
|
3
|
-
"version": "42.7.1-beta.
|
|
4
|
-
"owElectronVersion": "42.7.1-beta.
|
|
3
|
+
"version": "42.7.1-beta.10",
|
|
4
|
+
"owElectronVersion": "42.7.1-beta.10",
|
|
5
5
|
"electronVersion": "42.7.1",
|
|
6
6
|
"repository": "https://github.com/electron/electron",
|
|
7
7
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"node": ">= 22.12.0"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
|
-
"tag": "
|
|
49
|
+
"tag": "42-x-y"
|
|
50
50
|
}
|
|
51
51
|
}
|