@overwolf/ow-electron 44.11.3-beta.1 → 44.11.3-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 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.1-darwin-arm64.zip": "22b89f083839b76ba6a36fabc108be461d7ce168431f2e5fc32fcc20b039892b",
5
- "ow-electron-v44.11.3-beta.1-darwin-x64.zip": "83d4a1260e6d1eef4dae2c5c5c1cce582f3d5099dc7c79519bbe3fb1e85aecff",
6
- "ow-electron-v44.11.3-beta.1-linux-arm64.zip": "e466ca17d35193fc7076f678d8d86f027f58a6af63f1ad1ddc895b0c8790177f",
7
- "ow-electron-v44.11.3-beta.1-linux-x64.zip": "8c1096352b31d841cf3596a05ab5a22de7e0abb6b30dd0cb32731b924c43b811",
8
- "ow-electron-v44.11.3-beta.1-win32-arm64.zip": "e69fdf4945acc84e1f2e6d031860c03f7494e644cf8e40cdc402da6ece69eef2",
9
- "ow-electron-v44.11.3-beta.1-win32-x64.zip": "d2c06bd9155558e659b10c0a63603c5db49a91e64bf00ce581d3c025eeb29480"
4
+ "ow-electron-v44.11.3-beta.2-darwin-arm64.zip": "98878e5454d073ef1f71f42952f5e7ed6edc55a7c789601874bb1ac94dd2b734",
5
+ "ow-electron-v44.11.3-beta.2-darwin-x64.zip": "1714eae34e580f30687420fdc19d41b10818f28fea16a160485515f0abbdba48",
6
+ "ow-electron-v44.11.3-beta.2-linux-arm64.zip": "0a117813555907e511793160a80fd92c6677d7d869fba31823f5e765e6074fac",
7
+ "ow-electron-v44.11.3-beta.2-linux-x64.zip": "c9e0ef0df5c3a0e53a420b2fccec89bf7aa2a9052b080ade28237d5a7ad05397",
8
+ "ow-electron-v44.11.3-beta.2-win32-arm64.zip": "e69fdf4945acc84e1f2e6d031860c03f7494e644cf8e40cdc402da6ece69eef2",
9
+ "ow-electron-v44.11.3-beta.2-win32-x64.zip": "493bd721d1f6f6fa4db2c38d9688c74c8b67a5c84bc9d17efa8a2f2d8fffbe9e"
10
10
  }
@@ -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 when the first layer closes. Rejects when no page loads - a
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:
@@ -139,6 +142,10 @@ declare global {
139
142
  /**
140
143
  * Opens the CMP configuration window - should only be called when
141
144
  * isCMPRequired returns true.
145
+ *
146
+ * Resolves once the window has opened, not when it closes. When its page
147
+ * fails to load (a network error, an http error, or not loaded within 30
148
+ * seconds), the window closes by itself.
142
149
  */
143
150
  openCMPWindow(options?: CMPWindowOptions): Promise<void>;
144
151
 
@@ -353,6 +360,12 @@ declare global {
353
360
  */
354
361
  backdrop?: boolean;
355
362
 
363
+ /**
364
+ * The preloader spinner color of the CMP window "Manage" opens.
365
+ * Default is `buttonColor` when it is set, '#D34037' otherwise.
366
+ */
367
+ preLoaderSpinnerColor?: string;
368
+
356
369
  /**
357
370
  * Overrides the first layer page url.
358
371
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@overwolf/ow-electron",
3
- "version": "44.11.3-beta.1",
4
- "owElectronVersion": "44.11.3-beta.1",
3
+ "version": "44.11.3-beta.2",
4
+ "owElectronVersion": "44.11.3-beta.2",
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",