@morghulis/core 1.0.60 → 1.0.61

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));
4678
+ t || (t = gt().replace(/-/g, "_"), localStorage.setItem("CLIENT", t)), console.log(e);
4679
4679
  const n = `${e}${t}/`;
4680
4680
  let o = x("DISCONNECTED");
4681
4681
  const { data: l, open: s } = Yu(n, {
@@ -7769,12 +7769,15 @@ function Je(e) {
7769
7769
  const n = e.split(".")[1].replace(/-/g, "+").replace(/_/g, "/"), o = decodeURIComponent(atob(n).split("").map((l) => "%" + ("00" + l.charCodeAt(0).toString(16)).slice(-2)).join(""));
7770
7770
  return JSON.parse(o);
7771
7771
  }
7772
- const br = (e = "/api/") => ({
7773
- install(t) {
7774
- const { hub: n, connection: o } = zp(e);
7775
- t.provide("baseURL", e), t.provide("channel-hub", n), t.provide("connection", o);
7776
- }
7777
- }), Bt = /* @__PURE__ */ Ds("user", {
7772
+ const br = (e) => {
7773
+ const t = "/api/", n = e?.wssURL || t;
7774
+ return {
7775
+ install(o) {
7776
+ const { hub: l, connection: s } = zp(n);
7777
+ o.provide("baseURL", t), o.provide("channel-hub", l), o.provide("connection", s);
7778
+ }
7779
+ };
7780
+ }, Bt = /* @__PURE__ */ Ds("user", {
7778
7781
  state: () => ({
7779
7782
  token: "",
7780
7783
  name: null,
@@ -21810,7 +21813,7 @@ const Zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21810
21813
  useXlsx: Ut
21811
21814
  }, Symbol.toStringTag, { value: "Module" })), Sv = (e) => ({
21812
21815
  install(t) {
21813
- Jh(t, e), nc(e?.icons), t.provide("message", kr), t.use(br(e?.baseURL)), Object.values(Zh).forEach((n) => {
21816
+ Jh(t, e), nc(e?.icons), t.provide("message", kr), t.use(br(e)), Object.values(Zh).forEach((n) => {
21814
21817
  const o = n.__name;
21815
21818
  o && t.component(o, n);
21816
21819
  });