mol_wire_lib 1.0.560 → 1.0.561

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
@@ -917,7 +917,7 @@ var $;
917
917
  const sub = $mol_wire_auto();
918
918
  const existen = sub?.track_next();
919
919
  reuse: if (existen) {
920
- if (!(existen.constructor.name === '$mol_wire_task'))
920
+ if (existen.constructor.name !== '$mol_wire_task')
921
921
  break reuse;
922
922
  if (existen.host !== host)
923
923
  break reuse;
@@ -1169,7 +1169,7 @@ var $;
1169
1169
  return this.resync([...this.args, next]);
1170
1170
  if (!$mol_wire_fiber.warm)
1171
1171
  return this.result();
1172
- if ($mol_wire_auto() instanceof $mol_wire_task) {
1172
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
1173
1173
  return this.once();
1174
1174
  }
1175
1175
  else {
@@ -1381,7 +1381,7 @@ var $;
1381
1381
  if ((args.length === 0) || (args[0] === undefined)) {
1382
1382
  if (!$mol_wire_fiber.warm)
1383
1383
  return atom.result();
1384
- if ($mol_wire_auto() instanceof $mol_wire_task) {
1384
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
1385
1385
  return atom.once();
1386
1386
  }
1387
1387
  else {
@@ -1418,7 +1418,7 @@ var $;
1418
1418
  if ((args.length === 1) || (args[1] === undefined)) {
1419
1419
  if (!$mol_wire_fiber.warm)
1420
1420
  return atom.result();
1421
- if ($mol_wire_auto() instanceof $mol_wire_task) {
1421
+ if ($mol_wire_auto()?.constructor.name === '$mol_wire_task') {
1422
1422
  return atom.once();
1423
1423
  }
1424
1424
  else {