hyoo_sync_client 0.0.301 → 0.0.303

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
@@ -692,8 +692,6 @@ var $;
692
692
  function $mol_dev_format_native(obj) {
693
693
  if (typeof obj === 'undefined')
694
694
  return $.$mol_dev_format_shade('undefined');
695
- if (typeof obj !== 'object' && typeof obj !== 'function')
696
- return obj;
697
695
  return [
698
696
  'object',
699
697
  {
@@ -1648,11 +1646,11 @@ var $;
1648
1646
  return true;
1649
1647
  }
1650
1648
  function compare_buffer(left, right) {
1651
- if (left instanceof DataView)
1652
- return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
1653
1649
  const len = left.byteLength;
1654
1650
  if (len !== right.byteLength)
1655
1651
  return false;
1652
+ if (left instanceof DataView)
1653
+ return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
1656
1654
  for (let i = 0; i < len; ++i) {
1657
1655
  if (left[i] !== right[i])
1658
1656
  return false;