gearboxdownloadmodal 8.0.10 → 8.0.12

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
@@ -9163,7 +9163,7 @@ const Yd = ({
9163
9163
  setCdnUrl: S,
9164
9164
  generateCDN: async () => {
9165
9165
  if (!J) {
9166
- if (!e.willSpendCredit) {
9166
+ if (!(e != null && e.willSpendCredit)) {
9167
9167
  We();
9168
9168
  return;
9169
9169
  }
@@ -9339,13 +9339,9 @@ const _d = ({
9339
9339
  if (Q && Q.html) {
9340
9340
  const $e = `${A}/${Q.html}?t=${Date.now()}`;
9341
9341
  let Ct = await fetch($e).then((At) => At.text());
9342
- const Rt = ((oe = Ct.match(
9343
- /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
9344
- )) == null ? void 0 : oe.at(1)) || "";
9342
+ const Rt = ((oe = Ct.match(/var\s+iosLink\s*=\s*['|"](https?[^\s'"]+)['|"]/)) == null ? void 0 : oe.at(1)) || "";
9345
9343
  m(Rt);
9346
- const ut = ((qe = Ct.match(
9347
- /var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
9348
- )) == null ? void 0 : qe.at(1)) || "";
9344
+ const ut = ((qe = Ct.match(/var\s+androidLink\s*=\s*['|"](https?[^\s'"]+)['|"]/)) == null ? void 0 : qe.at(1)) || "";
9349
9345
  v(ut), W(!1);
9350
9346
  } else
9351
9347
  v(""), m(""), W(!1);