mol_wire_lib 1.0.859 → 1.0.861

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
@@ -182,9 +182,6 @@ var $;
182
182
  function $mol_dev_format_auto(obj) {
183
183
  if (obj == null)
184
184
  return $.$mol_dev_format_shade(String(obj));
185
- if (typeof obj === 'object' && $.$mol_dev_format_head in obj) {
186
- return obj[$.$mol_dev_format_head]();
187
- }
188
185
  return [
189
186
  'object',
190
187
  {
@@ -721,7 +718,10 @@ var $;
721
718
  [$mol_wire_cursor.fresh]: '🟢',
722
719
  [$mol_wire_cursor.final]: '🔵',
723
720
  }[this.cursor] ?? this.cursor.toString();
724
- return $mol_dev_format_div({}, $mol_dev_format_native(this), $mol_dev_format_shade(cursor + ' '), $mol_dev_format_auto(this.cache));
721
+ return $mol_dev_format_div({}, $mol_dev_format_auto({
722
+ [$mol_dev_format_head]: () => $mol_dev_format_shade(cursor),
723
+ [$mol_dev_format_body]: () => $mol_dev_format_native(this),
724
+ }), $mol_dev_format_auto(this.cache));
725
725
  }
726
726
  get $() {
727
727
  return (this.host ?? this.task)['$'];
@@ -1311,7 +1311,7 @@ var $;
1311
1311
  }
1312
1312
  else {
1313
1313
  ;
1314
- (this.host ?? this.task)[this.field()].delete(this[Symbol.toStringTag]);
1314
+ (this.host ?? this.task)[this.field()].delete($mol_key(this.args[0]));
1315
1315
  }
1316
1316
  }
1317
1317
  put(next) {