hyoo_sync_client 0.0.40 → 0.0.42

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
@@ -3891,11 +3891,14 @@ var $;
3891
3891
  "use strict";
3892
3892
  var $;
3893
3893
  (function ($) {
3894
- function $mol_wire_probe(task, next) {
3894
+ function $mol_wire_probe(task, def) {
3895
3895
  const warm = $mol_wire_fiber.warm;
3896
3896
  try {
3897
3897
  $mol_wire_fiber.warm = false;
3898
- return task();
3898
+ const res = task();
3899
+ if (res === undefined)
3900
+ return def;
3901
+ return res;
3899
3902
  }
3900
3903
  finally {
3901
3904
  $mol_wire_fiber.warm = warm;