@overwolf/ow-electron 42.7.1-beta.0 → 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 CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "electron-api.json": "7420cc8b42253caf92867b60cdee60f71c97379f7edcda8139f3292b688a2232",
3
- "electron.d.ts": "93e27709f1df16b3b022152bc42a0b6b456b6d5dd02e9fdfeab96f07b8391158",
4
- "ow-electron-v42.7.1-beta.0-darwin-arm64.zip": "bd7b99389935f71befacb3d9408436a5d98fcae0f659e1d35619215d1ffbdd58",
5
- "ow-electron-v42.7.1-beta.0-darwin-x64.zip": "f5a65ca8c841f6b5a46f19672365fce2ed3e4488d89d5ed2c77592d9f727791d",
6
- "ow-electron-v42.7.1-beta.0-linux-arm64.zip": "d89788005ad0172a19754da85f5f9820bcdc0fc40499353b5d9ae8220492ba34",
7
- "ow-electron-v42.7.1-beta.0-linux-armv7l.zip": "32d446a7a8f1f430c2030a1b2cd4220e52f95d24a607db28539b00ac6141c1d5",
8
- "ow-electron-v42.7.1-beta.0-linux-x64.zip": "7219dcb1de950343cd976b91e2d9f80b3b59db37a3a3c5132ecf8b9c6fb34b38",
9
- "ow-electron-v42.7.1-beta.0-win32-arm64.zip": "e8b8f99a4e4685cd1210d071124c963b768fe681d840076e9b2548cc2e0c23b3",
10
- "ow-electron-v42.7.1-beta.0-win32-ia32.zip": "ee27a1906b61f712d66d155017539592477eeb094eec1c2ff3b2b468106efa56",
11
- "ow-electron-v42.7.1-beta.0-win32-x64.zip": "d83169abe59d781fef3adeed784a0f7230cb7731d8d60e265c66a6f44d98dc01"
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 v42.7.1-beta.0
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
@@ -1,4 +1,4 @@
1
- // Type definitions for ow-electron 42.7.1-beta.0 - "mix" entry.
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
@@ -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
- * A utility type for registering to `error` events, that includes the `errorMonitor` type
207
+ * The user id your app passes to the external payment provider.
189
208
  */
190
- type error = 'error' | typeof errorMonitor;
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
@@ -1,4 +1,4 @@
1
- // Type definitions for ow-electron 42.7.1-beta.0
1
+ // Type definitions for ow-electron 42.7.1-beta.10
2
2
  //
3
3
  // Default, self-contained entry: bundles Electron's own type definitions, for
4
4
  // projects that do NOT have the `electron` package installed.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@overwolf/ow-electron",
3
- "version": "42.7.1-beta.0",
4
- "owElectronVersion": "42.7.1-beta.0",
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": "beta"
49
+ "tag": "42-x-y"
50
50
  }
51
51
  }