gearboxdownloadmodal 5.0.88 → 5.0.90

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
@@ -4145,7 +4145,7 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4145
4145
  }
4146
4146
  async function rs(e, t, n) {
4147
4147
  return new Promise(async (r, o) => {
4148
- $e === "Flex" ? (await Vo(
4148
+ console.log("get multi download"), $e === "Flex" ? (await Vo(
4149
4149
  {
4150
4150
  _id: e,
4151
4151
  iosLink: t == null ? void 0 : t.iosUrl,
@@ -4161,17 +4161,18 @@ async function rs(e, t, n) {
4161
4161
  }).catch((i) => {
4162
4162
  let a = i.response.data.error.msg;
4163
4163
  o({ message: a });
4164
- })) : $e === "Ready" ? (await Bt(
4164
+ })) : $e === "Ready" ? (console.log("ready"), await Bt(
4165
4165
  e,
4166
4166
  { iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
4167
4167
  Ce
4168
- ), PA(e, n, Ce).then(async (i) => {
4169
- if (i.message) {
4168
+ ), console.log("ready link multi"), PA(e, n, Ce).then(async (i) => {
4169
+ if (console.log("res", i), i.message) {
4170
4170
  o(i);
4171
4171
  return;
4172
4172
  }
4173
4173
  await Pt(i.url), r(i.url);
4174
4174
  }).catch((i) => {
4175
+ console.log("err", i);
4175
4176
  let a = i.response.data.error.msg;
4176
4177
  o({ message: a });
4177
4178
  })) : (await Bt(
@@ -6153,14 +6154,14 @@ const vs = [
6153
6154
  } else
6154
6155
  G.push(K), Z([...g, K]);
6155
6156
  On.filter((y) => [...G].includes(y.id)).map((y) => y.name);
6156
- }, z = async () => new Promise(async (K, G) => {
6157
+ }, z = async () => (console.log("multi download"), new Promise(async (K, G) => {
6157
6158
  const y = On.filter((h) => [...g].includes(h.id)).map((h) => h.name);
6158
- Q(!0), rs(r, c, y).then((h) => {
6159
- Q(!1), K(h);
6159
+ Q(!0), console.log("get multi download"), rs(r, c, y).then((h) => {
6160
+ console.log("get multi download res"), Q(!1), K(h);
6160
6161
  }).catch((h) => {
6161
- Q(!1), A(h.message, h), G(h);
6162
+ console.log("get multi download err"), Q(!1), A(h.message, h), G(h);
6162
6163
  });
6163
- }), p = async () => {
6164
+ })), p = async () => {
6164
6165
  c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (re(!0), ne("download"), x(!0)) : (x(!1), await z());
6165
6166
  };
6166
6167
  return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
@@ -7900,6 +7901,20 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e
7900
7901
  },
7901
7902
  url: re
7902
7903
  }
7904
+ ),
7905
+ /* @__PURE__ */ u.jsx(
7906
+ "div",
7907
+ {
7908
+ style: {
7909
+ position: "absolute",
7910
+ bottom: "0",
7911
+ left: "30px",
7912
+ fontSize: "12px",
7913
+ lineHeight: "12px",
7914
+ zIndex: 50
7915
+ },
7916
+ children: "Version: 5.0.90"
7917
+ }
7903
7918
  )
7904
7919
  ]
7905
7920
  }