@morghulis/core 1.0.61 → 1.0.62
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.
|
@@ -4675,7 +4675,7 @@ function Bp() {
|
|
|
4675
4675
|
}
|
|
4676
4676
|
function Lp(e) {
|
|
4677
4677
|
let t = localStorage.getItem("CLIENT");
|
|
4678
|
-
t || (t = gt().replace(/-/g, "_"), localStorage.setItem("CLIENT", t)), console.log(e);
|
|
4678
|
+
t || (t = gt().replace(/-/g, "_"), localStorage.setItem("CLIENT", t)), console.log("socket:", e);
|
|
4679
4679
|
const n = `${e}${t}/`;
|
|
4680
4680
|
let o = x("DISCONNECTED");
|
|
4681
4681
|
const { data: l, open: s } = Yu(n, {
|
|
@@ -4685,7 +4685,8 @@ function Lp(e) {
|
|
|
4685
4685
|
retries: 5,
|
|
4686
4686
|
delay: 1e3,
|
|
4687
4687
|
onFailed: () => o.value = "DISCONNECTED"
|
|
4688
|
-
}
|
|
4688
|
+
},
|
|
4689
|
+
onError: (a, r) => console.log(r)
|
|
4689
4690
|
});
|
|
4690
4691
|
return { data: l, open: s, status: o };
|
|
4691
4692
|
}
|