@overwolf/ow-electron 44.11.3-beta.1 → 44.11.3-beta.3
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/ow-electron-types.d.ts +18 -3
- package/package.json +2 -2
package/checksums.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"electron-api.json": "35702b1636123d09ef492e27f8cfca34d0531959c57c864265fffca194dc115e",
|
|
3
3
|
"electron.d.ts": "a3cddd177f68dd9f8b878499a26fa6b10783657fea3e56c27efc17774c5a84ac",
|
|
4
|
-
"ow-electron-v44.11.3-beta.
|
|
5
|
-
"ow-electron-v44.11.3-beta.
|
|
6
|
-
"ow-electron-v44.11.3-beta.
|
|
7
|
-
"ow-electron-v44.11.3-beta.
|
|
8
|
-
"ow-electron-v44.11.3-beta.
|
|
9
|
-
"ow-electron-v44.11.3-beta.
|
|
4
|
+
"ow-electron-v44.11.3-beta.3-darwin-arm64.zip": "754c95cdf1e4c1f114007a03b59475e918bfd438a44cd954209ecb41611608c7",
|
|
5
|
+
"ow-electron-v44.11.3-beta.3-darwin-x64.zip": "68485b4ae35364188f6ac3ef04e26d53af7171b87111049859dd757847a8aead",
|
|
6
|
+
"ow-electron-v44.11.3-beta.3-linux-arm64.zip": "7449362c003931abe5cc809fa62edf11419da6a6a3d8f093c4ccc0a9b7ff5c57",
|
|
7
|
+
"ow-electron-v44.11.3-beta.3-linux-x64.zip": "1308834cd9683875d05e834e6e592d3f439feb8bc1bbae46f229b5f8ee55043e",
|
|
8
|
+
"ow-electron-v44.11.3-beta.3-win32-arm64.zip": "e69fdf4945acc84e1f2e6d031860c03f7494e644cf8e40cdc402da6ece69eef2",
|
|
9
|
+
"ow-electron-v44.11.3-beta.3-win32-x64.zip": "261fec7cd3bb2e0466072064ee3e3fdea352ff6e87c5d289f1ff20e6220690fc"
|
|
10
10
|
}
|
package/ow-electron-types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Shared Overwolf type declarations for ow-electron 44.11.3-beta.
|
|
1
|
+
// Shared Overwolf type declarations for ow-electron 44.11.3-beta.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
|
|
@@ -112,7 +112,10 @@ declare global {
|
|
|
112
112
|
*
|
|
113
113
|
* The window shows only once the page has rendered its dialog.
|
|
114
114
|
*
|
|
115
|
-
* Resolves
|
|
115
|
+
* Resolves once the user is done: after "Accept All Purposes", or after
|
|
116
|
+
* "Manage" once the CMP window closes. It also resolves when the parent
|
|
117
|
+
* closes first. Calling it again while it is pending focuses the open
|
|
118
|
+
* window and returns the same promise. Rejects when no page loads - a
|
|
116
119
|
* network error, an http error (e.g. 404), or the page did not render
|
|
117
120
|
* within 30 seconds, for the page and the default one - so wrap the
|
|
118
121
|
* call in try/catch:
|
|
@@ -132,13 +135,19 @@ declare global {
|
|
|
132
135
|
/**
|
|
133
136
|
* Rejects all consent for the user. Use it when the user asks to reject
|
|
134
137
|
* consent outside the CMP UI, for example by email.
|
|
135
|
-
* Resolves once the
|
|
138
|
+
* Resolves once the rejected consent is stored. Rejects when the consent
|
|
139
|
+
* page fails to load or does not store it. Calling it again while it is
|
|
140
|
+
* pending returns the same promise. It is safe to call at app startup.
|
|
136
141
|
*/
|
|
137
142
|
rejectAllConsent(): Promise<void>;
|
|
138
143
|
|
|
139
144
|
/**
|
|
140
145
|
* Opens the CMP configuration window - should only be called when
|
|
141
146
|
* isCMPRequired returns true.
|
|
147
|
+
*
|
|
148
|
+
* Resolves once the window has opened, not when it closes. When its page
|
|
149
|
+
* fails to load (a network error, an http error, or not loaded within 30
|
|
150
|
+
* seconds), the window closes by itself.
|
|
142
151
|
*/
|
|
143
152
|
openCMPWindow(options?: CMPWindowOptions): Promise<void>;
|
|
144
153
|
|
|
@@ -353,6 +362,12 @@ declare global {
|
|
|
353
362
|
*/
|
|
354
363
|
backdrop?: boolean;
|
|
355
364
|
|
|
365
|
+
/**
|
|
366
|
+
* The preloader spinner color of the CMP window "Manage" opens.
|
|
367
|
+
* Default is `buttonColor` when it is set, '#D34037' otherwise.
|
|
368
|
+
*/
|
|
369
|
+
preLoaderSpinnerColor?: string;
|
|
370
|
+
|
|
356
371
|
/**
|
|
357
372
|
* Overrides the first layer page url.
|
|
358
373
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron",
|
|
3
|
-
"version": "44.11.3-beta.
|
|
4
|
-
"owElectronVersion": "44.11.3-beta.
|
|
3
|
+
"version": "44.11.3-beta.3",
|
|
4
|
+
"owElectronVersion": "44.11.3-beta.3",
|
|
5
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",
|