mol_jsx_lib 0.0.430 → 0.0.431

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
@@ -1826,7 +1826,7 @@ var $;
1826
1826
  const sub = $mol_wire_auto();
1827
1827
  const existen = sub?.track_next();
1828
1828
  reuse: if (existen) {
1829
- if (!(existen.constructor.name === '$mol_wire_task'))
1829
+ if (existen.constructor.name !== '$mol_wire_task')
1830
1830
  break reuse;
1831
1831
  if (existen.host !== host)
1832
1832
  break reuse;
@@ -1994,7 +1994,7 @@ var $;
1994
1994
  return this.resync([...this.args, next]);
1995
1995
  if (!$mol_wire_fiber.warm)
1996
1996
  return this.result();
1997
- if ($mol_wire_auto() instanceof $mol_wire_task) {
1997
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
1998
1998
  return this.once();
1999
1999
  }
2000
2000
  else {
@@ -2110,7 +2110,7 @@ var $;
2110
2110
  if ((args.length === 0) || (args[0] === undefined)) {
2111
2111
  if (!$mol_wire_fiber.warm)
2112
2112
  return atom.result();
2113
- if ($mol_wire_auto() instanceof $mol_wire_task) {
2113
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
2114
2114
  return atom.once();
2115
2115
  }
2116
2116
  else {
@@ -2147,7 +2147,7 @@ var $;
2147
2147
  if ((args.length === 1) || (args[1] === undefined)) {
2148
2148
  if (!$mol_wire_fiber.warm)
2149
2149
  return atom.result();
2150
- if ($mol_wire_auto() instanceof $mol_wire_task) {
2150
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
2151
2151
  return atom.once();
2152
2152
  }
2153
2153
  else {