scope360-core 0.0.26 → 0.0.28

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.
@@ -11339,7 +11339,7 @@ const gy = {
11339
11339
  class: "confetti"
11340
11340
  }, null, 512));
11341
11341
  }
11342
- }, Au = (n) => (Vo("data-v-6d1c29b4"), n = n(), Ho(), n), Pv = { class: "sidebar-popup-container" }, Mv = { class: "sidebar-popup__profile-info" }, Sv = ["src"], Ov = { class: "sidebar-popup__profile-info__wrapper" }, Av = { class: "sidebar-popup__profile-info__name" }, Cv = { class: "sidebar-popup__profile-info__e-mail" }, Rv = /* @__PURE__ */ Au(() => /* @__PURE__ */ se("div", { class: "sidebar-popup__divider" }, null, -1)), Ev = { class: "sidebar-popup__tabs" }, $v = ["onClick"], Nv = { class: "sidebar-popup__tab__icon-wrapper" }, Iv = { class: "sidebar-popup__tab__name" }, Bv = /* @__PURE__ */ Au(() => /* @__PURE__ */ se("div", { class: "sidebar-popup__divider" }, null, -1)), Lv = { class: "sidebar-popup__actions-buttons" }, Yv = {
11342
+ }, Au = (n) => (Vo("data-v-29e9284b"), n = n(), Ho(), n), Pv = { class: "sidebar-popup-container" }, Mv = { class: "sidebar-popup__profile-info" }, Sv = ["src"], Ov = { class: "sidebar-popup__profile-info__wrapper" }, Av = { class: "sidebar-popup__profile-info__name" }, Cv = { class: "sidebar-popup__profile-info__e-mail" }, Rv = /* @__PURE__ */ Au(() => /* @__PURE__ */ se("div", { class: "sidebar-popup__divider" }, null, -1)), Ev = { class: "sidebar-popup__tabs" }, $v = ["onClick"], Nv = { class: "sidebar-popup__tab__icon-wrapper" }, Iv = { class: "sidebar-popup__tab__name" }, Bv = /* @__PURE__ */ Au(() => /* @__PURE__ */ se("div", { class: "sidebar-popup__divider" }, null, -1)), Lv = { class: "sidebar-popup__actions-buttons" }, Yv = {
11343
11343
  __name: "SidebarPopup",
11344
11344
  props: {
11345
11345
  activeSection: String,
@@ -11353,8 +11353,7 @@ const gy = {
11353
11353
  { name: "spot", isActive: !1 },
11354
11354
  { name: "trading terminal", isActive: !1 }
11355
11355
  ]), s = () => {
11356
- const u = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
11357
- window.open(`${u}/settings/profile`, "_self");
11356
+ window.open("https://scope360.io/settings/profile", "_self");
11358
11357
  }, o = (u) => {
11359
11358
  u.isActive && window.open(`https://${u.name}.scope360.io/`);
11360
11359
  }, l = () => {
@@ -11428,7 +11427,7 @@ const gy = {
11428
11427
  ], 512)) : W("", !0)
11429
11428
  ]));
11430
11429
  }
11431
- }, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-6d1c29b4"]]);
11430
+ }, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-29e9284b"]]);
11432
11431
  /*! js-cookie v3.0.5 | MIT */
11433
11432
  function _r(n) {
11434
11433
  for (var e = 1; e < arguments.length; e++) {
@@ -13015,9 +13014,7 @@ as.interceptors.response.use(
13015
13014
  } else
13016
13015
  return Promise.reject(n);
13017
13016
  } catch {
13018
- _n.removeItem("access_token"), _n.removeItem("refresh_token"), _n.removeItem("isOAuth");
13019
- const e = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
13020
- return window.open(`${e}/login?redirectUrl=${window.location.href}`, "_self"), Promise.reject(n);
13017
+ return _n.removeItem("access_token"), _n.removeItem("refresh_token"), _n.removeItem("isOAuth"), window.open(`https://scope360.io/login?redirectUrl=${window.location.href}`, "_self"), Promise.reject(n);
13021
13018
  }
13022
13019
  }
13023
13020
  );