@ea-lab/reactive-json 0.0.18 → 0.0.20

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.
@@ -22474,15 +22474,18 @@ function lz({
22474
22474
  }
22475
22475
  function Lz(n) {
22476
22476
  const l = {
22477
- action: [],
22478
- element: [],
22479
- hook: [],
22480
- reaction: [],
22481
- utility: []
22477
+ action: {},
22478
+ element: {},
22479
+ hook: {},
22480
+ reaction: {},
22481
+ utility: {}
22482
22482
  };
22483
22483
  return n.forEach((u) => {
22484
- for (const [f, p] of Object.entries(u))
22485
- l.hasOwnProperty(f) || (l[f] = []), l[f].push(p);
22484
+ for (const [f, p] of Object.entries(u)) {
22485
+ l.hasOwnProperty(f) || (l[f] = []);
22486
+ for (const [v, g] of Object.entries(p))
22487
+ l[f][v] = g;
22488
+ }
22486
22489
  }), l;
22487
22490
  }
22488
22491
  var Kb = { exports: {} }, S1 = {}, Jb = { exports: {} }, jA = {};