gearboxdownloadmodal 0.0.11 → 0.0.13

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
@@ -4200,8 +4200,10 @@ const cr = [
4200
4200
  l
4201
4201
  );
4202
4202
  let { url: U } = V;
4203
- if (!U)
4204
- throw f(!0), new Error(V);
4203
+ if (!U) {
4204
+ f(!1), c(V.message);
4205
+ return;
4206
+ }
4205
4207
  let D, J = await fetch(Z + U).then((X) => X.text());
4206
4208
  return D = document.createElement("a"), D.setAttribute(
4207
4209
  "href",