hyoo_sync_client 0.0.296 → 0.0.298

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
@@ -1529,6 +1529,8 @@ var $;
1529
1529
  function $mol_key(value) {
1530
1530
  if (typeof value === 'bigint')
1531
1531
  return value.toString() + 'n';
1532
+ if (typeof value === 'symbol')
1533
+ return value.description;
1532
1534
  if (!value)
1533
1535
  return JSON.stringify(value);
1534
1536
  if (typeof value !== 'object' && typeof value !== 'function')
@@ -1536,6 +1538,8 @@ var $;
1536
1538
  return JSON.stringify(value, (field, value) => {
1537
1539
  if (typeof value === 'bigint')
1538
1540
  return value.toString() + 'n';
1541
+ if (typeof value === 'symbol')
1542
+ return value.description;
1539
1543
  if (!value)
1540
1544
  return value;
1541
1545
  if (typeof value !== 'object' && typeof value !== 'function')