scope360-core 0.0.27 → 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.
package/dist/scope360-core.js
CHANGED
|
@@ -11339,7 +11339,7 @@ const gy = {
|
|
|
11339
11339
|
class: "confetti"
|
|
11340
11340
|
}, null, 512));
|
|
11341
11341
|
}
|
|
11342
|
-
}, Au = (n) => (Vo("data-v-
|
|
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,10 +11353,7 @@ const gy = {
|
|
|
11353
11353
|
{ name: "spot", isActive: !1 },
|
|
11354
11354
|
{ name: "trading terminal", isActive: !1 }
|
|
11355
11355
|
]), s = () => {
|
|
11356
|
-
|
|
11357
|
-
const u = window.location.hostname === "localhost" ? "http://localhost:8080" : "https://scope360.io";
|
|
11358
|
-
window.open(`${u}/settings/profile`, "_self");
|
|
11359
|
-
}
|
|
11356
|
+
window.open("https://scope360.io/settings/profile", "_self");
|
|
11360
11357
|
}, o = (u) => {
|
|
11361
11358
|
u.isActive && window.open(`https://${u.name}.scope360.io/`);
|
|
11362
11359
|
}, l = () => {
|
|
@@ -11430,7 +11427,7 @@ const gy = {
|
|
|
11430
11427
|
], 512)) : W("", !0)
|
|
11431
11428
|
]));
|
|
11432
11429
|
}
|
|
11433
|
-
}, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-
|
|
11430
|
+
}, _y = /* @__PURE__ */ Yt(Yv, [["__scopeId", "data-v-29e9284b"]]);
|
|
11434
11431
|
/*! js-cookie v3.0.5 | MIT */
|
|
11435
11432
|
function _r(n) {
|
|
11436
11433
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -13017,11 +13014,7 @@ as.interceptors.response.use(
|
|
|
13017
13014
|
} else
|
|
13018
13015
|
return Promise.reject(n);
|
|
13019
13016
|
} catch {
|
|
13020
|
-
|
|
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);
|
|
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);
|
|
13025
13018
|
}
|
|
13026
13019
|
}
|
|
13027
13020
|
);
|