@overwolf/ow-electron 42.7.1-beta.1 → 42.7.1-beta.2
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/ow-electron-types.d.ts +31 -2
- package/package.json +3 -3
package/checksums.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"electron-api.json": "7420cc8b42253caf92867b60cdee60f71c97379f7edcda8139f3292b688a2232",
|
|
3
3
|
"electron.d.ts": "a669bd9fae4bda323fe21902f6bf78a8e0877e5098b5f8318d4a1427e3356fbc",
|
|
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.
|
|
4
|
+
"ow-electron-v42.7.1-beta.2-darwin-arm64.zip": "0f869ebc869633e5a7095650fc221feff9a43aecc585eb16cec43b35eecbccd5",
|
|
5
|
+
"ow-electron-v42.7.1-beta.2-darwin-x64.zip": "f96a1223efdff0607982c4da2db9bf523e3a4db1b1557b7db14c422af8fe31f4",
|
|
6
|
+
"ow-electron-v42.7.1-beta.2-linux-arm64.zip": "c75bd5d45b22e39a1744dc5f54f8e374abed87cca61f861548e55ca7c757f78c",
|
|
7
|
+
"ow-electron-v42.7.1-beta.2-linux-armv7l.zip": "32d446a7a8f1f430c2030a1b2cd4220e52f95d24a607db28539b00ac6141c1d5",
|
|
8
|
+
"ow-electron-v42.7.1-beta.2-linux-x64.zip": "e88a71c0a80e789e3e57e4d9134c1acc4d3e258313ae78f27116f018d0fd8d04",
|
|
9
|
+
"ow-electron-v42.7.1-beta.2-win32-arm64.zip": "e8b8f99a4e4685cd1210d071124c963b768fe681d840076e9b2548cc2e0c23b3",
|
|
10
|
+
"ow-electron-v42.7.1-beta.2-win32-ia32.zip": "ee27a1906b61f712d66d155017539592477eeb094eec1c2ff3b2b468106efa56",
|
|
11
|
+
"ow-electron-v42.7.1-beta.2-win32-x64.zip": "4f276d072778723d99176242919242ac9e695b0b4c2e30a45ee3289febd69acc"
|
|
12
12
|
}
|
package/ow-electron-types.d.ts
CHANGED
|
@@ -93,6 +93,13 @@ declare global {
|
|
|
93
93
|
* details how to normalize email before creating hash
|
|
94
94
|
*/
|
|
95
95
|
setUserEmailHashes(emailHashes?: EmailHashes): void;
|
|
96
|
+
/**
|
|
97
|
+
* Associates the current user's id at an external payment provider
|
|
98
|
+
* (e.g. Tebex) with this machine.
|
|
99
|
+
* Call this once on every app launch, after app.ready.
|
|
100
|
+
* Rejects if userId is missing. providerName defaults to 'tebex'.
|
|
101
|
+
*/
|
|
102
|
+
setExternalPaymentUserId(options: ExternalPaymentUserIdOptions): Promise<void>;
|
|
96
103
|
|
|
97
104
|
/**
|
|
98
105
|
* Client persistence phasing precent
|
|
@@ -184,10 +191,32 @@ declare global {
|
|
|
184
191
|
readonly md5?: string;
|
|
185
192
|
}
|
|
186
193
|
|
|
194
|
+
/**
|
|
195
|
+
* A enum of the external payment providers we know about.
|
|
196
|
+
*/
|
|
197
|
+
type ExternalPaymentProvider = 'tebex' | string;
|
|
198
|
+
|
|
199
|
+
interface ExternalPaymentUserIdOptions {
|
|
200
|
+
/**
|
|
201
|
+
* The name of the external payment provider.
|
|
202
|
+
*/
|
|
203
|
+
providerName: ExternalPaymentProvider;
|
|
204
|
+
|
|
187
205
|
/**
|
|
188
|
-
*
|
|
206
|
+
* The user id your app passes to the external payment provider.
|
|
189
207
|
*/
|
|
190
|
-
|
|
208
|
+
userId: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Optional. The provider's recurring payment (subscription) agreement id.
|
|
212
|
+
*/
|
|
213
|
+
paymentId?: string;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* A utility type for registering to `error` events, that includes the `errorMonitor` type
|
|
218
|
+
*/
|
|
219
|
+
type error = 'error' | typeof errorMonitor;
|
|
191
220
|
|
|
192
221
|
/**
|
|
193
222
|
* Namespace containing everything related to Overwolf Packages
|
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.2",
|
|
4
|
+
"owElectronVersion": "42.7.1-beta.2",
|
|
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
|
}
|