mol_jsx_lib 0.0.706 → 0.0.708

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
@@ -1762,7 +1762,9 @@ var $;
1762
1762
  var $;
1763
1763
  (function ($) {
1764
1764
  function $mol_wire_solid() {
1765
- const current = $mol_wire_auto();
1765
+ let current = $mol_wire_auto();
1766
+ if (current.temp)
1767
+ current = current.host;
1766
1768
  if (current.reap !== nothing) {
1767
1769
  current?.sub_on(sub, sub.data.length);
1768
1770
  }
package/web.test.js CHANGED
@@ -165,7 +165,7 @@ var $;
165
165
  for (let i = 1; i < args.length; ++i) {
166
166
  if ($mol_compare_deep(args[0], args[i]))
167
167
  continue;
168
- if (args[0] instanceof Element && args[i] instanceof Element && args[0].outerHTML === args[i].outerHTML)
168
+ if (args[0] instanceof $mol_dom_context.Element && args[i] instanceof $mol_dom_context.Element && args[0].outerHTML === args[i].outerHTML)
169
169
  continue;
170
170
  return $mol_fail(new Error(`args[0] ≠ args[${i}]\n${print(args[0])}\n---\n${print(args[i])}`));
171
171
  }