@stemy/ngx-utils 19.9.2 → 19.9.3

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.
@@ -2730,7 +2730,7 @@ function diffEntities(current, incoming) {
2730
2730
  const incomingIds = new Set(incoming.map(item => item.id).filter(Boolean));
2731
2731
  return {
2732
2732
  // 1. Removed: Was in current, but ID is missing from incoming
2733
- removed: current.filter(item => !incomingIds.has(item.id)),
2733
+ removed: current.filter(item => !incomingIds.has(item.id) && item.id),
2734
2734
  // 2. Added: ID is missing entirely (new record)
2735
2735
  added: incoming.filter(item => !item.id),
2736
2736
  // 3. Updated: ID exists in both lists