@resolveio/client-lib-core 15.0.7 → 15.0.9

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.
@@ -467,7 +467,7 @@ function deepDiffDetails(object1, object2) {
467
467
  let obj1 = deepCopy(object1);
468
468
  let obj2 = deepCopy(object2);
469
469
  let diff = detailedDiff(obj1, obj2);
470
- let diffString = '\n';
470
+ let diffString = '';
471
471
  const formatValue = (value) => {
472
472
  if (value instanceof Date) {
473
473
  return moment(value).format('llll');
@@ -518,7 +518,7 @@ function deepDiffDetails(object1, object2) {
518
518
  .filter(key => diffType === 'added' ? true : (diffType === 'deleted' ? !diff['added'][key] : !diff['added'][key] && !diff['deleted'][key]))
519
519
  .filter(key => !key.startsWith('_id') && !key.startsWith('id_'))
520
520
  .map(key => `\n${toTitleCase(key)}: ${formatObjectDiff(obj1[key], obj2[key])}`)
521
- .join(',\n');
521
+ .join(',');
522
522
  diffString += updates ? `${updates}` : '';
523
523
  }
524
524
  });