x-essential-lib 0.5.34 → 0.5.35

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -410,7 +410,7 @@ function D(e, a) {
410
410
  const l = z(e), o = z(a), n = (l == null ? void 0 : l.app) === (o == null ? void 0 : o.app), r = (l == null ? void 0 : l.path) === (o == null ? void 0 : o.path), c = ((l == null ? void 0 : l.level) ?? -1) >= ((o == null ? void 0 : o.level) ?? -1);
411
411
  console.info(
412
412
  `~~~~before route change~~~~ ${a} -> ${e} inner=${n} forward=${c}`
413
- ), n ? r ? oe.value = "" : oe.value = c ? "inner-left" : "inner-right" : (window.routeExtras = { forward: c }, Ae(o.app));
413
+ ), n ? r ? oe.value = "" : oe.value = c ? "inner-left" : "inner-right" : (window.routeExtras = { forward: c }, o && Ae(o.app));
414
414
  }
415
415
  function Ee() {
416
416
  return !!R.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.34",
4
+ "version": "0.5.35",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",