hyoo_sync_client 0.0.579 → 0.0.581

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/web.mjs CHANGED
@@ -1786,12 +1786,12 @@ var $;
1786
1786
  if (pending)
1787
1787
  pending();
1788
1788
  let tpl = '%c';
1789
- const chunks = Object.values(event);
1789
+ const chunks = Object.entries(event);
1790
1790
  for (let i = 0; i < chunks.length; ++i) {
1791
- tpl += (typeof chunks[i] === 'string') ? ' ▫ %s' : ' ▫ %o';
1791
+ tpl += (typeof chunks[i][1] === 'string') ? '%s: %s\n' : '%s: %o\n';
1792
1792
  }
1793
1793
  const style = `color:${color};font-weight:bolder`;
1794
- this.console[level](tpl, style, ...chunks);
1794
+ this.console[level](tpl, style, ...[].concat(...chunks));
1795
1795
  const self = this;
1796
1796
  return () => self.console.groupEnd();
1797
1797
  };