gearboxdownloadmodal 8.5.3 → 8.5.4
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/dist/index.es.js
CHANGED
|
@@ -10129,7 +10129,8 @@ const yI = ({
|
|
|
10129
10129
|
throw new Error("Game data is required for multi-version download");
|
|
10130
10130
|
const Vi = await ko(q, c._id, {
|
|
10131
10131
|
networks: ["moloco"],
|
|
10132
|
-
versions: _
|
|
10132
|
+
versions: _,
|
|
10133
|
+
extras: { molocoGenerateHtml: ni }
|
|
10133
10134
|
}), ke = u + "/" + Vi.url, ye = await (await fetch(ke)).blob(), $i = window.URL.createObjectURL(ye), Ti = document.createElement("a");
|
|
10134
10135
|
return Ti.href = $i, Ti.download = Vi.url.split("/").pop() || "download.zip", document.body.appendChild(Ti), Ti.click(), window.URL.revokeObjectURL($i), document.body.removeChild(Ti), H(!1), ni ? b(!1) : z(!1), V(!1), Vi.url;
|
|
10135
10136
|
} catch (Vi) {
|