@overwolf/ow-electron 19.0.16 → 19.1.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/README.md +38 -9
- package/checksums.json +75 -75
- package/electron.d.ts +67 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
We currently have these npm packages:
|
|
4
4
|
|
|
5
|
-
- @overwolf/ow-electron is a package based on the
|
|
5
|
+
- [@overwolf/ow-electron](https://www.npmjs.com/package/@overwolf/ow-electron) is a package based on the
|
|
6
6
|
[electron package](https://www.npmjs.com/package/electron), which adds a
|
|
7
7
|
few features to it
|
|
8
|
-
- @overwolf/ow-electron-builder is a packaged based on electron-builder which
|
|
8
|
+
- [@overwolf/ow-electron-builder](https://www.npmjs.com/package/@overwolf/ow-electron-builder) is a packaged based on electron-builder which
|
|
9
9
|
supports building ow-electron
|
|
10
10
|
- @overwolf/electron-is-overwolf - similar to
|
|
11
11
|
[electron-is-dev](https://www.npmjs.com/package/electron-is-dev)
|
|
@@ -26,14 +26,13 @@ package.json scripts:
|
|
|
26
26
|
## package.json properties
|
|
27
27
|
|
|
28
28
|
Each ow-electron app should have a unique id. The unique id is auto-generated
|
|
29
|
-
based on the <name + author.name> fields of the package.json.
|
|
29
|
+
based on the <productName/name + author.name> fields of the package.json.
|
|
30
30
|
|
|
31
31
|
We use this for ad optimization and optionally, for
|
|
32
|
-
[anonymous analytics](#anonymous-analytics)
|
|
33
|
-
users.
|
|
32
|
+
[anonymous analytics](#anonymous-analytics) reports that you may review on our developer's console.
|
|
34
33
|
|
|
35
34
|
> **NOTE:** To see the generated uid - you can use the OVERWOLF_APP_UID
|
|
36
|
-
> environment variable (process.env.OVERWOLF_APP_UID) once the |app.whenReady
|
|
35
|
+
> environment variable (process.env.OVERWOLF_APP_UID) once the |app.whenReady|
|
|
37
36
|
> triggers. Before the app is ready, the variable won't exist.
|
|
38
37
|
|
|
39
38
|
## owadview tag
|
|
@@ -43,10 +42,10 @@ users.
|
|
|
43
42
|
> Please contact us for further info on this
|
|
44
43
|
> [contact us](https://overwolf.github.io/support/contact-us)
|
|
45
44
|
|
|
46
|
-
The
|
|
45
|
+
The ```<owadview/>``` tag, which is based on the Electron <webview/> tag, hosts and
|
|
47
46
|
auto manages ads in your app.
|
|
48
47
|
|
|
49
|
-
To use it, place the
|
|
48
|
+
To use it, place the ```<owadview/>``` tag (no attributes required) inside a ```<div>``` tag
|
|
50
49
|
which has the size of the standard IAB ad unit you wish to display.
|
|
51
50
|
|
|
52
51
|
See https://overwolf.github.io/start/monetize-with-ads/ads-monetization-basics
|
|
@@ -65,7 +64,7 @@ details are relevant for the ow-electron build as well.
|
|
|
65
64
|
|
|
66
65
|
A few extra things to know:
|
|
67
66
|
|
|
68
|
-
- The
|
|
67
|
+
- The ```<owadview/>``` starts auto-muted. This can be changed, see
|
|
69
68
|
https://www.electronjs.org/docs/latest/api/webview-tag#webviewsetaudiomutedmuted
|
|
70
69
|
- The tag is self managed so there is no need to worry about visiblity of ads
|
|
71
70
|
or crashes
|
|
@@ -90,3 +89,33 @@ app.whenReady().then(...
|
|
|
90
89
|
|
|
91
90
|
> **NOTE:** This call isn't persistent across sessions - it needs to be called
|
|
92
91
|
> every time the app is launched.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## Consent Management Platform (CMP)
|
|
95
|
+
|
|
96
|
+
CMP makes it easier for you to meet the technical requirements of the law by simplifying the legally required process of collecting consent to cookies.
|
|
97
|
+
|
|
98
|
+
Before using your app, the user should be informed about the existence of the CMP and be able to easily access it.
|
|
99
|
+
|
|
100
|
+
We recommend showing this information during the installation phase or as a first-time usage message.
|
|
101
|
+
|
|
102
|
+
The ow-electron comes with a CMP implementation built in.
|
|
103
|
+
|
|
104
|
+
> **NOTE:** You can leverage our Windows Installer for this (contact us).
|
|
105
|
+
|
|
106
|
+
In order to know if the user is required to be informed about the CMP - use the |app.overwolf.isCMPRequired| api:
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
import { app } from 'electron';
|
|
110
|
+
|
|
111
|
+
await app.overwolf.isCMPRequired();
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
In order to open the built-in CMP window - use the |app.overwolf.openCMPWindow| api:
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
app.overwolf.openCMPWindow();
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
|
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v19.
|
|
3
|
-
"chromedriver-v19.
|
|
4
|
-
"chromedriver-v19.
|
|
5
|
-
"chromedriver-v19.
|
|
6
|
-
"chromedriver-v19.
|
|
7
|
-
"chromedriver-v19.
|
|
8
|
-
"chromedriver-v19.
|
|
9
|
-
"chromedriver-v19.
|
|
10
|
-
"chromedriver-v19.
|
|
11
|
-
"chromedriver-v19.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v19.
|
|
14
|
-
"electron-v19.
|
|
15
|
-
"electron-v19.
|
|
16
|
-
"ow-electron-v19.
|
|
17
|
-
"electron-v19.
|
|
18
|
-
"electron-v19.
|
|
19
|
-
"electron-v19.
|
|
20
|
-
"ow-electron-v19.
|
|
21
|
-
"electron-v19.
|
|
22
|
-
"electron-v19.
|
|
23
|
-
"electron-v19.
|
|
24
|
-
"electron-v19.
|
|
25
|
-
"electron-v19.
|
|
26
|
-
"electron-v19.
|
|
27
|
-
"electron-v19.
|
|
28
|
-
"electron-v19.
|
|
29
|
-
"ow-electron-v19.
|
|
30
|
-
"electron-v19.
|
|
31
|
-
"electron-v19.
|
|
32
|
-
"electron-v19.
|
|
33
|
-
"electron-v19.
|
|
34
|
-
"electron-v19.
|
|
35
|
-
"electron-v19.
|
|
36
|
-
"electron-v19.
|
|
37
|
-
"electron-v19.
|
|
38
|
-
"electron-v19.
|
|
39
|
-
"electron-v19.
|
|
40
|
-
"electron-v19.
|
|
41
|
-
"electron-v19.
|
|
42
|
-
"electron-v19.
|
|
43
|
-
"electron-v19.
|
|
44
|
-
"electron-v19.
|
|
45
|
-
"electron-v19.
|
|
46
|
-
"electron-v19.
|
|
47
|
-
"electron-v19.
|
|
48
|
-
"electron-v19.
|
|
49
|
-
"ow-electron-v19.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v19.
|
|
52
|
-
"ffmpeg-v19.
|
|
53
|
-
"ffmpeg-v19.
|
|
54
|
-
"ffmpeg-v19.
|
|
55
|
-
"ffmpeg-v19.
|
|
56
|
-
"ffmpeg-v19.
|
|
57
|
-
"ffmpeg-v19.
|
|
58
|
-
"ffmpeg-v19.
|
|
59
|
-
"ffmpeg-v19.
|
|
60
|
-
"ffmpeg-v19.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v19.
|
|
63
|
-
"libcxx-objects-v19.
|
|
64
|
-
"libcxx-objects-v19.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v19.
|
|
68
|
-
"mksnapshot-v19.
|
|
69
|
-
"mksnapshot-v19.
|
|
70
|
-
"mksnapshot-v19.
|
|
71
|
-
"mksnapshot-v19.
|
|
72
|
-
"mksnapshot-v19.
|
|
73
|
-
"mksnapshot-v19.
|
|
74
|
-
"mksnapshot-v19.
|
|
75
|
-
"mksnapshot-v19.
|
|
76
|
-
"mksnapshot-v19.
|
|
2
|
+
"chromedriver-v19.1.3-darwin-arm64.zip": "78d799a04cc48c80ed5c13fd739316f7de1f7521cc2d0d098bb94e8bb7b5cbbb",
|
|
3
|
+
"chromedriver-v19.1.3-darwin-x64.zip": "24c18ba5c0622759cb27e3e515e6102743f5e68a142d7c1f6049f0a848e113c1",
|
|
4
|
+
"chromedriver-v19.1.3-linux-arm64.zip": "4720a4db7f82e127ad5073507e7add708ec3cbd6ae06687a3c0c28aa801d8610",
|
|
5
|
+
"chromedriver-v19.1.3-linux-armv7l.zip": "05d727d1f2fbdb820b2d5ba633866ec340d6911ddfdfbd1eb4b1ee834932a833",
|
|
6
|
+
"chromedriver-v19.1.3-linux-x64.zip": "6a0b58a21cf72ef153b4ca463b8099aedc26a092a841d64dec37dfb0a9bfe338",
|
|
7
|
+
"chromedriver-v19.1.3-mas-arm64.zip": "6048e9d15913e7afe52c584eb26b2d97ec172756f5335f1842aa258d1f6abf1c",
|
|
8
|
+
"chromedriver-v19.1.3-mas-x64.zip": "d67f82c479c3634752e25dbd166d5b3238b2430309bf26c653f88ca14309456d",
|
|
9
|
+
"chromedriver-v19.1.3-win32-arm64.zip": "08d98d80474927b5689b2b94b472080b40ad93eb6726db408e3fe139b4c088b3",
|
|
10
|
+
"chromedriver-v19.1.3-win32-ia32.zip": "4374d38e04c8e61738df33416c05512bdbe4a07704cb1bcd35b280b4fd3650af",
|
|
11
|
+
"chromedriver-v19.1.3-win32-x64.zip": "fa5e5b0bb97206411832186e35875b22b9366d774ddc42cea29eb0e0f5f516b6",
|
|
12
|
+
"electron-api.json": "d96240abbd405b141622da172d6d7e1f41f6b14fb32741a76d34961ee05b5603",
|
|
13
|
+
"electron-v19.1.3-darwin-arm64-dsym-snapshot.zip": "2020278d08770970e933ac02a6727af5d022373d74cdc772ea3c63790c93be91",
|
|
14
|
+
"electron-v19.1.3-darwin-arm64-dsym.zip": "83ab871288f7e2f46a07cf9e90b2ef5f49e25040c1ef50d7060ece7b08bcda13",
|
|
15
|
+
"electron-v19.1.3-darwin-arm64-symbols.zip": "1f10701a76cc82e5f9ca0bb796f53658614dc1c34f6c151c3710a6e43852d613",
|
|
16
|
+
"ow-electron-v19.1.3-darwin-arm64.zip": "267c47f98ce0e580f32c303f017d0bf9173dc96c40a7ee89b142e2aa3f502f1d",
|
|
17
|
+
"electron-v19.1.3-darwin-x64-dsym-snapshot.zip": "e71862a10234ba1a34fdb728d00b6aab4a3f29bb1449551093e31e5098778275",
|
|
18
|
+
"electron-v19.1.3-darwin-x64-dsym.zip": "d9c53cd844cbadfe56b655ae1f23ceae73a1c2bc5886204531ca95cfd32af535",
|
|
19
|
+
"electron-v19.1.3-darwin-x64-symbols.zip": "bc0766bb75678e996fa28afba94bacd09ec89cf5f402eee7febdb977bf67a096",
|
|
20
|
+
"ow-electron-v19.1.3-darwin-x64.zip": "d1303078e8c17639b3afc2353abd85af356832586562e1c3b23aa11f655ba325",
|
|
21
|
+
"electron-v19.1.3-linux-arm64-debug.zip": "6ed3bf6184dabff375dab630927f7f195aa6c818bb4e03232bb85c3e4e075680",
|
|
22
|
+
"electron-v19.1.3-linux-arm64-symbols.zip": "ca9901e6115303a7ba7cc43fb21ee80849fab0863963efcab7ae0ef497b86eff",
|
|
23
|
+
"electron-v19.1.3-linux-arm64.zip": "25dba31422ce37665daeeb122aa4a6f89018ca9a0ecb63ec2b6f1a5a9c7e8ea9",
|
|
24
|
+
"electron-v19.1.3-linux-armv7l-debug.zip": "6ed3bf6184dabff375dab630927f7f195aa6c818bb4e03232bb85c3e4e075680",
|
|
25
|
+
"electron-v19.1.3-linux-armv7l-symbols.zip": "f4749cc714d7170dc11105831a04ad32a27680d07f268781e1ac3bf0771d3a9d",
|
|
26
|
+
"electron-v19.1.3-linux-armv7l.zip": "e28c02ad8669cd406b5fbf893c38114311def60fbe9f523d255a0c80a8dd7782",
|
|
27
|
+
"electron-v19.1.3-linux-x64-debug.zip": "c775c63a623047f08f90c378d2f69ac203e7941405ad1cf3d287878ba7124546",
|
|
28
|
+
"electron-v19.1.3-linux-x64-symbols.zip": "09aa5e0f0881ce7c57e94772cdcf9d5accd476e74c3e3e9d9fd4a5b6e961d620",
|
|
29
|
+
"ow-electron-v19.1.3-linux-x64.zip": "b0daff93d8b8577ffb63350f7c5999f290e3a7717564d2b9d44e59606433e2af",
|
|
30
|
+
"electron-v19.1.3-mas-arm64-dsym-snapshot.zip": "2020278d08770970e933ac02a6727af5d022373d74cdc772ea3c63790c93be91",
|
|
31
|
+
"electron-v19.1.3-mas-arm64-dsym.zip": "5adc9b47c972457f1cf8577f6a905168e0b9f16f2c7faf881cc9a034714c17d6",
|
|
32
|
+
"electron-v19.1.3-mas-arm64-symbols.zip": "275786a03b7d7ff122ee39df1d30e991dc8da1cae8093649200841bf97393dd5",
|
|
33
|
+
"electron-v19.1.3-mas-arm64.zip": "ef916c4621dd9708df39d0fa16b971e8c3e39a9c4f978e28ecdbfc81e47266f3",
|
|
34
|
+
"electron-v19.1.3-mas-x64-dsym-snapshot.zip": "5b4e136f35081b92f6f90eb34d800eb96aadf9877e71fc4897dd600c11e55a13",
|
|
35
|
+
"electron-v19.1.3-mas-x64-dsym.zip": "f62d8ea5f49402ae9616a35d2d5bb7f6539f39c8e5ca3b7230dfa185fcd4ba2e",
|
|
36
|
+
"electron-v19.1.3-mas-x64-symbols.zip": "758bbe46b3f4228383ecfeac68174eff9407f8e7f3c138710352baa614605005",
|
|
37
|
+
"electron-v19.1.3-mas-x64.zip": "8920440ed727b9b302d897a6bff246b1028b777abb30d8342f4dcc35d04f4f98",
|
|
38
|
+
"electron-v19.1.3-win32-arm64-pdb.zip": "d34bcc74518866c529941cb99dec860729db396c1a1743948327a3687c0546c1",
|
|
39
|
+
"electron-v19.1.3-win32-arm64-symbols.zip": "4b84935d4dc1a043f8921374f6d59bf16d8c3c0728e411abaf7d413b943610cc",
|
|
40
|
+
"electron-v19.1.3-win32-arm64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
41
|
+
"electron-v19.1.3-win32-arm64.zip": "cc6fcc17cc08ab8133a8449b0f8cc6c52730dabffe7e17832291e6e49385c403",
|
|
42
|
+
"electron-v19.1.3-win32-ia32-pdb.zip": "013004f7bd5b59c2a2c211a57773f47132b3d4281364f4cbf1e4544ca1e811be",
|
|
43
|
+
"electron-v19.1.3-win32-ia32-symbols.zip": "3cbbb8a30ccffa345a996d04d67c08996a181af3533c821d89400a1d650be774",
|
|
44
|
+
"electron-v19.1.3-win32-ia32-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
45
|
+
"electron-v19.1.3-win32-ia32.zip": "2b9142dc1da50a867e6f4eb0c8581d7b8e3fd857b66e019818af1861bab1bc9d",
|
|
46
|
+
"electron-v19.1.3-win32-x64-pdb.zip": "d21c99139723d62b43d426da4ff56ad9ffb31f71227ee6aba81f1acd311738c6",
|
|
47
|
+
"electron-v19.1.3-win32-x64-symbols.zip": "82f825de8876e5123edc28e9ff31e4d616368de0d1a27c07c48033a85c7a65bd",
|
|
48
|
+
"electron-v19.1.3-win32-x64-toolchain-profile.zip": "3a5d2888ac992d063c6219cb20f73182ee02f25935f0f73bd7ed4ee8cd719376",
|
|
49
|
+
"ow-electron-v19.1.3-win32-x64.zip": "dbc16b2fec1a69b14e18b2e20b6d15bf733eca943040004ebb921bd0fab1fe59",
|
|
50
|
+
"electron.d.ts": "9d13f251b50fc54ce08f0ab991ca072c1408002e4443fde6391599ebbcc33db7",
|
|
51
|
+
"ffmpeg-v19.1.3-darwin-arm64.zip": "3a36defa8000a903fa6801d722dd285e151d23bafa07a6640592621583b83efd",
|
|
52
|
+
"ffmpeg-v19.1.3-darwin-x64.zip": "430e61a77c20635bd8d08ee4695e6661362e289f4a958cb8ffa801551db91261",
|
|
53
|
+
"ffmpeg-v19.1.3-linux-arm64.zip": "f5c09281e3f61e34ab9b38195bf586e7f2ac5918086a53ba727ded4deed29a19",
|
|
54
|
+
"ffmpeg-v19.1.3-linux-armv7l.zip": "9dbc0fe28f79dd724a517d91b13296f6b1e544c6afed39c76d47d4be3a951dfa",
|
|
55
|
+
"ffmpeg-v19.1.3-linux-x64.zip": "a9af4def4fc4814527b14eb45f019b1053d750110b2c0673b643fe08e97245cf",
|
|
56
|
+
"ffmpeg-v19.1.3-mas-arm64.zip": "63153f20a3ff10a30300ec6fe1dfbf154d8bf3da9bdc3755b5b942b81bd43f52",
|
|
57
|
+
"ffmpeg-v19.1.3-mas-x64.zip": "c39a087c00bc5eb38b7e2fe96c86c3dc12db1161d7bb77da19011364b7e21936",
|
|
58
|
+
"ffmpeg-v19.1.3-win32-arm64.zip": "9b064d7c1b59350f74fec3360f5fa150feab5029dc04377e997786ccbb57161d",
|
|
59
|
+
"ffmpeg-v19.1.3-win32-ia32.zip": "53faf03d10ba4238080087c2b28094c5a040fe47ffc113b75b80c6e116575572",
|
|
60
|
+
"ffmpeg-v19.1.3-win32-x64.zip": "ea324089d89d3762ea8c294263b4ef89b29b492f2e20617dcea88b3ef53193df",
|
|
61
|
+
"hunspell_dictionaries.zip": "ddcd29b2efd445a5187f77fb0229e7d7381d823b9787bcfc9385458b4cdbbe67",
|
|
62
|
+
"libcxx-objects-v19.1.3-linux-arm64.zip": "6bb1af9b18fa453c51e53b8ffd0060461353fc735968682742cfb6581386b116",
|
|
63
|
+
"libcxx-objects-v19.1.3-linux-armv7l.zip": "bd52e578c58187e1c26cf8b127a4cf9730c5b7fd743bda58237f872387e606e2",
|
|
64
|
+
"libcxx-objects-v19.1.3-linux-x64.zip": "30ebddba4bc506dfc2b4c9d1e56625208b3fb79c332f584ded094352eb32a9d4",
|
|
65
|
+
"libcxx_headers.zip": "14d20d29486bd79f80cf0832dc243848fdf035fcbed1d01cba510349ee983104",
|
|
66
|
+
"libcxxabi_headers.zip": "0989635823dbec05a2772476e16a08763fc6b19c13c48dc802246756c89ef83b",
|
|
67
|
+
"mksnapshot-v19.1.3-darwin-arm64.zip": "92975d7a5bcf9a0d28853934167e21e7ea7fd4fc2b886f9bb232cebc8d291600",
|
|
68
|
+
"mksnapshot-v19.1.3-darwin-x64.zip": "f297be6a13b67afe87a5a7717d094e3940ff13e3042d350c9fc933242b31ff63",
|
|
69
|
+
"mksnapshot-v19.1.3-linux-arm64-x64.zip": "f6c96a87b80fa1cf8ffe760d833823b4396e76ce356619241cad453ed7edcb94",
|
|
70
|
+
"mksnapshot-v19.1.3-linux-armv7l-x64.zip": "9fc16b0ceb33a043903a3aa0f700e3311e5bdbb78da17e1c9e1e15cc81aed841",
|
|
71
|
+
"mksnapshot-v19.1.3-linux-x64.zip": "8fdb65c6796d7c9c9b31ae46dba33ababf056daac16f65b7b76ba8ee16fe6083",
|
|
72
|
+
"mksnapshot-v19.1.3-mas-arm64.zip": "d1d59e1a5f18905362a60c842b288db9b95e710e93894ddc687d7f72ff0b4f25",
|
|
73
|
+
"mksnapshot-v19.1.3-mas-x64.zip": "d6e1a30c9a175158a6e598d5d9c5b0ed8f6505e190ec9d26d4ba14c79cc278e7",
|
|
74
|
+
"mksnapshot-v19.1.3-win32-arm64-x64.zip": "70d52e3c235565dcd93017a62faf4b88b69d2a28ff6e70a8efb917cc461dacb5",
|
|
75
|
+
"mksnapshot-v19.1.3-win32-ia32.zip": "eec24c156b7051a83c6a35db0a4fa71760e3ce06ca6681065f988e44ec9d00c2",
|
|
76
|
+
"mksnapshot-v19.1.3-win32-x64.zip": "66dbec4500484b7c1ba72ac57b67fd3a690f67264abf3288f8e6e241bfc6095c"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for
|
|
1
|
+
// Type definitions for ow-electron 19.1.3
|
|
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/electron-typescript-definitions
|
|
@@ -1486,6 +1486,62 @@ declare namespace Electron {
|
|
|
1486
1486
|
* app's initialization to ensure that your overridden value is used.
|
|
1487
1487
|
*/
|
|
1488
1488
|
userAgentFallback: string;
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* Overwolf additional api's
|
|
1492
|
+
*/
|
|
1493
|
+
overwolf: OverwolfApi;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
interface OverwolfApi {
|
|
1497
|
+
/**
|
|
1498
|
+
* Disable sending any anonymous analytics,
|
|
1499
|
+
* this should be call before app.ready
|
|
1500
|
+
*/
|
|
1501
|
+
disableAnonymousAnalytics(): void;
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* Returns true if the current user should be able to update their cmp
|
|
1505
|
+
* configurations (i.e. openCMPWindow).
|
|
1506
|
+
*
|
|
1507
|
+
* Note that this is an async function and should be called with await.
|
|
1508
|
+
* The function will never throw an exception - the default value is true.
|
|
1509
|
+
*/
|
|
1510
|
+
isCMPRequired() : Promise<boolean>;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* Opens the CMP configuration window - should only be called when
|
|
1514
|
+
* isCMPRequired returns true.
|
|
1515
|
+
*/
|
|
1516
|
+
openCMPWindow(options?: CMPWindowOptions): Promise<void>;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
interface CMPWindowOptions {
|
|
1520
|
+
/**
|
|
1521
|
+
* Select open tab. The default is 'purposes'
|
|
1522
|
+
*/
|
|
1523
|
+
tab? : ['purposes' | 'features' | 'vendors']
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* Whether this is a modal window. This only works when the window is a child
|
|
1527
|
+
* window. Default is `false`.
|
|
1528
|
+
*/
|
|
1529
|
+
modal?: boolean;
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* Specify parent window. Default is `null`.
|
|
1533
|
+
*/
|
|
1534
|
+
parent?: BrowserWindow;
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* Show window in the center of the screen. Default is `true`.
|
|
1538
|
+
*/
|
|
1539
|
+
center?: boolean;
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* Control the CMP preloader background window
|
|
1543
|
+
*/
|
|
1544
|
+
backgroundColor?: string;
|
|
1489
1545
|
}
|
|
1490
1546
|
|
|
1491
1547
|
interface AutoUpdater extends NodeJS.EventEmitter {
|
|
@@ -11843,6 +11899,16 @@ declare namespace Electron {
|
|
|
11843
11899
|
*
|
|
11844
11900
|
*/
|
|
11845
11901
|
readonly name: string;
|
|
11902
|
+
/**
|
|
11903
|
+
* A `string` representing the current origin of the frame, serialized according to
|
|
11904
|
+
* RFC 6454. This may be different from the URL. For instance, if the frame is a
|
|
11905
|
+
* child window opened to `about:blank`, then `frame.origin` will return the parent
|
|
11906
|
+
* frame's origin, while `frame.url` will return the empty string. Pages without a
|
|
11907
|
+
* scheme/host/port triple origin will have the serialized origin of `"null"` (that
|
|
11908
|
+
* is, the string containing the letters n, u, l, l).
|
|
11909
|
+
*
|
|
11910
|
+
*/
|
|
11911
|
+
readonly origin: string;
|
|
11846
11912
|
/**
|
|
11847
11913
|
* An `Integer` representing the operating system `pid` of the process which owns
|
|
11848
11914
|
* this frame.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overwolf/ow-electron",
|
|
3
|
-
"version": "19.
|
|
4
|
-
"owElectronVersion": "19.
|
|
3
|
+
"version": "19.1.3",
|
|
4
|
+
"owElectronVersion": "19.1.3",
|
|
5
5
|
"repository": "https://github.com/electron/electron",
|
|
6
6
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
7
7
|
"license": "MIT",
|