@dxos/shell 0.4.8-main.ec0899a → 0.4.8-next.fff1521

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.
@@ -12860,11 +12860,14 @@ var a7 = Symbol("logInfoProperties"), o7 = (e) => {
12860
12860
  value: a + "$log"
12861
12861
  });
12862
12862
  }, d7 = (e) => e && typeof e.then == "function", c7 = (e) => {
12863
- try {
12864
- return JSON.parse(localStorage.getItem("dxlog"));
12865
- } catch {
12866
- return;
12867
- }
12863
+ let n;
12864
+ if (typeof localStorage > "u" ? globalThis.localStorage_dxlog && (n = globalThis.localStorage_dxlog) : n = localStorage.getItem("dxlog") ?? void 0, !!n)
12865
+ try {
12866
+ return JSON.parse(n);
12867
+ } catch (t) {
12868
+ console.info("can't parse dxlog config", t);
12869
+ return;
12870
+ }
12868
12871
  }, V0 = () => {
12869
12872
  }, u7 = (e, n) => {
12870
12873
  console.log(jt(n, !1, null, !0));
@@ -13000,7 +13003,7 @@ var g7 = {
13000
13003
  file: process.env.LOG_CONFIG,
13001
13004
  filter: process.env.LOG_FILTER,
13002
13005
  processor: process.env.LOG_PROCESSOR
13003
- } : void 0, t = AS({}, e, n && c7(n.file), n);
13006
+ } : void 0, t = AS({}, c7(n == null ? void 0 : n.file), n, e);
13004
13007
  return {
13005
13008
  options: t,
13006
13009
  filters: zv(t.filter ?? Rn.INFO),