mol_jsx_lib 0.0.100 → 0.0.103

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/node.test.js CHANGED
@@ -1399,10 +1399,10 @@ var $;
1399
1399
  }
1400
1400
  [$mol_dev_format_head]() {
1401
1401
  const cursor = {
1402
- [-1]: '🔴',
1403
- [-2]: '🟡',
1404
- [-3]: '🟢',
1405
- [-4]: '🔵',
1402
+ [$mol_wire_cursor.stale]: '🔴',
1403
+ [$mol_wire_cursor.doubt]: '🟡',
1404
+ [$mol_wire_cursor.fresh]: '🟢',
1405
+ [$mol_wire_cursor.final]: '🔵',
1406
1406
  }[this.cursor] ?? this.cursor.toString();
1407
1407
  return $mol_dev_format_div({}, $mol_dev_format_native(this), $mol_dev_format_shade(cursor + ' '), $mol_dev_format_auto(this.cache));
1408
1408
  }
@@ -2050,10 +2050,15 @@ var $;
2050
2050
  var $;
2051
2051
  (function ($) {
2052
2052
  function $mol_wire_solid() {
2053
- $mol_wire_auto().reap = nothing;
2053
+ const current = $mol_wire_auto();
2054
+ if (current.reap !== nothing) {
2055
+ current?.sub_on(sub, sub.data.length);
2056
+ }
2057
+ current.reap = nothing;
2054
2058
  }
2055
2059
  $.$mol_wire_solid = $mol_wire_solid;
2056
2060
  const nothing = () => { };
2061
+ const sub = new $mol_wire_pub_sub;
2057
2062
  })($ || ($ = {}));
2058
2063
  //mol/wire/solid/solid.ts
2059
2064
  ;