scope360-core 0.0.21 → 0.0.22

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.
@@ -11333,7 +11333,7 @@ const gy = {
11333
11333
  class: "confetti"
11334
11334
  }, null, 512));
11335
11335
  }
11336
- }, Au = (n) => (Vo("data-v-df79f39b"), 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 = {
11336
+ }, 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 = {
11337
11337
  __name: "SidebarPopup",
11338
11338
  props: {
11339
11339
  activeSection: String,
@@ -11347,7 +11347,8 @@ const gy = {
11347
11347
  { name: "spot", isActive: !1 },
11348
11348
  { name: "trading terminal", isActive: !1 }
11349
11349
  ]), s = () => {
11350
- window.open("https://scope360.io/settings/profile", "_self");
11350
+ const u = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
11351
+ window.open(`${u}/settings/profile`, "_self");
11351
11352
  }, o = (u) => {
11352
11353
  u.isActive && window.open(`https://${u.name}.scope360.io/`);
11353
11354
  }, l = () => {
@@ -11421,7 +11422,7 @@ const gy = {
11421
11422
  ], 512)) : W("", !0)
11422
11423
  ]));
11423
11424
  }
11424
- }, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-df79f39b"]]);
11425
+ }, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-6d1c29b4"]]);
11425
11426
  /*! js-cookie v3.0.5 | MIT */
11426
11427
  function _r(n) {
11427
11428
  for (var e = 1; e < arguments.length; e++) {
@@ -13008,7 +13009,9 @@ as.interceptors.response.use(
13008
13009
  } else
13009
13010
  return Promise.reject(n);
13010
13011
  } catch {
13011
- 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);
13012
+ _n.removeItem("access_token"), _n.removeItem("refresh_token"), _n.removeItem("isOAuth");
13013
+ const e = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
13014
+ return window.open(`${e}/login?redirectUrl=${window.location.href}`, "_self"), Promise.reject(n);
13012
13015
  }
13013
13016
  }
13014
13017
  );