mol_jsx_lib 0.0.102 → 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.js CHANGED
@@ -2058,10 +2058,15 @@ var $;
2058
2058
  var $;
2059
2059
  (function ($) {
2060
2060
  function $mol_wire_solid() {
2061
- $mol_wire_auto().reap = nothing;
2061
+ const current = $mol_wire_auto();
2062
+ if (current.reap !== nothing) {
2063
+ current?.sub_on(sub, sub.data.length);
2064
+ }
2065
+ current.reap = nothing;
2062
2066
  }
2063
2067
  $.$mol_wire_solid = $mol_wire_solid;
2064
2068
  const nothing = () => { };
2069
+ const sub = new $mol_wire_pub_sub;
2065
2070
  })($ || ($ = {}));
2066
2071
  //mol/wire/solid/solid.ts
2067
2072
  ;