mol_jsx_lib 0.0.726 → 0.0.728

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
@@ -588,9 +588,6 @@ var $;
588
588
  function $mol_dev_format_auto(obj) {
589
589
  if (obj == null)
590
590
  return $.$mol_dev_format_shade(String(obj));
591
- if (typeof obj === 'object' && $.$mol_dev_format_head in obj) {
592
- return obj[$.$mol_dev_format_head]();
593
- }
594
591
  return [
595
592
  'object',
596
593
  {
@@ -944,7 +941,10 @@ var $;
944
941
  [$mol_wire_cursor.fresh]: '🟢',
945
942
  [$mol_wire_cursor.final]: '🔵',
946
943
  }[this.cursor] ?? this.cursor.toString();
947
- return $mol_dev_format_div({}, $mol_dev_format_native(this), $mol_dev_format_shade(cursor + ' '), $mol_dev_format_auto(this.cache));
944
+ return $mol_dev_format_div({}, $mol_dev_format_auto({
945
+ [$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
946
+ [$mol_dev_format_body]: () => $mol_dev_format_native(this),
947
+ }), $mol_dev_format_auto(this.cache));
948
948
  }
949
949
  get $() {
950
950
  return (this.host ?? this.task)['$'];
@@ -1534,7 +1534,7 @@ var $;
1534
1534
  }
1535
1535
  else {
1536
1536
  ;
1537
- (this.host ?? this.task)[this.field()].delete(this[Symbol.toStringTag]);
1537
+ (this.host ?? this.task)[this.field()].delete($mol_key(this.args[0]));
1538
1538
  }
1539
1539
  }
1540
1540
  put(next) {