scope360-core 0.0.26 → 0.0.27

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-41b50feb"), 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,10 @@ 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
+ if (window !== void 0) {
11357
+ const u = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
11358
+ window.open(`${u}/settings/profile`, "_self");
11359
+ }
11358
11360
  }, o = (u) => {
11359
11361
  u.isActive && window.open(`https://${u.name}.scope360.io/`);
11360
11362
  }, l = () => {
@@ -11428,7 +11430,7 @@ const gy = {
11428
11430
  ], 512)) : W("", !0)
11429
11431
  ]));
11430
11432
  }
11431
- }, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-6d1c29b4"]]);
11433
+ }, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-41b50feb"]]);
11432
11434
  /*! js-cookie v3.0.5 | MIT */
11433
11435
  function _r(n) {
11434
11436
  for (var e = 1; e < arguments.length; e++) {
@@ -13015,9 +13017,11 @@ as.interceptors.response.use(
13015
13017
  } else
13016
13018
  return Promise.reject(n);
13017
13019
  } 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);
13020
+ if (_n.removeItem("access_token"), _n.removeItem("refresh_token"), _n.removeItem("isOAuth"), window !== void 0) {
13021
+ const e = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
13022
+ window.open(`${e}/login?redirectUrl=${window.location.href}`, "_self");
13023
+ }
13024
+ return Promise.reject(n);
13021
13025
  }
13022
13026
  }
13023
13027
  );