x-essential-lib 0.5.45 → 0.5.47

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -221,7 +221,7 @@ function je(e, a) {
221
221
  const t = "single-spa-application:" + e, l = (o = document.getElementById(t)) == null ? void 0 : o.classList;
222
222
  l && (l.remove("app-left", "app-right", "app-reset"), a ? l.add("app-left") : l.add("app-right"), setTimeout(() => {
223
223
  l.add("app-reset");
224
- }, 50));
224
+ }, 0));
225
225
  }
226
226
  let te = Date.now();
227
227
  function ce() {
@@ -410,10 +410,10 @@ function D(e, a) {
410
410
  console.assert(!1, "invalid to route meta");
411
411
  return;
412
412
  }
413
- if (console.info(`~~~~route~~~~ ${a} -> ${e}`), !o)
413
+ if (console.info(`~~~~routeChange~~~~ ${a} -> ${e}`), !o)
414
414
  return;
415
415
  const n = l.app === o.app, r = l.path === o.path, c = l.level >= l.level;
416
- n ? r ? oe.value = "" : oe.value = c ? "inner-left" : "inner-right" : je(l.app, c), t.lastAppPath = "";
416
+ n ? r ? oe.value = "" : oe.value = c ? "inner-left" : "inner-right" : je(l.app, c);
417
417
  }
418
418
  function Ee() {
419
419
  return !!B.get("accessToken");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.5.45",
4
+ "version": "0.5.47",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",