@bgd-labs/toolbox 0.0.35 → 0.0.36

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.
package/dist/node.js CHANGED
@@ -33446,7 +33446,10 @@ function getObjectDiff(obj1, obj2) {
33446
33446
  const diff = { before: {}, after: {} };
33447
33447
  if (typeof obj1 !== "object" || typeof obj2 !== "object")
33448
33448
  return { before: obj1, after: obj2 };
33449
- const allKeys = /* @__PURE__ */ new Set([...Object.keys(obj1), ...Object.keys(obj2)]);
33449
+ const allKeys = /* @__PURE__ */ new Set([
33450
+ ...Object.keys(obj1 || {}),
33451
+ ...Object.keys(obj2 || {})
33452
+ ]);
33450
33453
  for (const key of allKeys) {
33451
33454
  const val1 = obj1[key];
33452
33455
  const val2 = obj2[key];