gearboxdownloadmodal 6.0.86 → 7.0.0

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
@@ -5502,10 +5502,10 @@ function ii(t, e) {
5502
5502
  }
5503
5503
  ii({ read: js.decodeValue, write: js.encodeValue }, ji);
5504
5504
  let ia;
5505
- typeof window < "u" && (ia = ra("token"));
5505
+ typeof window < "u" && (ia = ra("sessionId"));
5506
5506
  const ve = jc.create({
5507
5507
  headers: {
5508
- Authorization: ia
5508
+ "X-SESSION-ID": ia
5509
5509
  }
5510
5510
  });
5511
5511
  async function Nc(t, e, n) {
@@ -5539,12 +5539,13 @@ async function Gc(t, e, n) {
5539
5539
  networks: e
5540
5540
  })).data;
5541
5541
  }
5542
- async function Pc(t, e, n, r, i) {
5542
+ async function Pc(t, e, n, r, i, s) {
5543
5543
  return (await ve.post(t + "/createReadyVersionLink", {
5544
5544
  _id: e,
5545
5545
  network: n,
5546
5546
  isPfTest: r,
5547
- extras: i
5547
+ extras: i,
5548
+ download: s
5548
5549
  })).data;
5549
5550
  }
5550
5551
  async function Hc(t, e, n) {
@@ -6002,7 +6003,7 @@ async function pn(t, e, n, r = "download", i = !1, s = null) {
6002
6003
  }).catch((A) => {
6003
6004
  let u = A.response.data.error.msg;
6004
6005
  a({ message: u });
6005
- }) : Ne === "Ready" ? Pc(Je, t, e, i, s).then(async (A) => {
6006
+ }) : Ne === "Ready" ? Pc(Je, t, e, i, s, r === "download").then(async (A) => {
6006
6007
  if (A.message) {
6007
6008
  a(A);
6008
6009
  return;
@@ -6502,7 +6503,27 @@ function Te(t, e) {
6502
6503
  Cd(t, e)
6503
6504
  ];
6504
6505
  }
6505
- const pa = vn(""), ha = vn(!1), Yi = vn([]), ma = vn([]), qn = vn(!1), wd = ({
6506
+ const pa = vn(""), ha = vn(!1), Yi = vn([]), ma = vn([
6507
+ "web",
6508
+ "adcolony",
6509
+ "applovin",
6510
+ "chartboost",
6511
+ "crossinstall",
6512
+ "fb",
6513
+ "google",
6514
+ "google360",
6515
+ "ironsource",
6516
+ "lifestreet",
6517
+ "liftoff",
6518
+ "mobvista",
6519
+ "nucleo",
6520
+ "tapjoy",
6521
+ "toutiao",
6522
+ "unity",
6523
+ "vungle",
6524
+ "moloco",
6525
+ "cdn"
6526
+ ]), qn = vn(!1), wd = ({
6506
6527
  versionId: t,
6507
6528
  playableId: e,
6508
6529
  typeOfProduct: n,
@@ -7549,11 +7570,7 @@ const Wd = ({ typeOfProduct: t }) => /* @__PURE__ */ c.jsx(
7549
7570
  }
7550
7571
  )
7551
7572
  }
7552
- ), Gr = ({
7553
- title: t,
7554
- titleId: e,
7555
- ...n
7556
- }) => /* @__PURE__ */ c.jsxs(
7573
+ ), Gr = ({ title: t, titleId: e, ...n }) => /* @__PURE__ */ c.jsxs(
7557
7574
  "svg",
7558
7575
  {
7559
7576
  viewBox: "0 0 25 24",