hyoo_sync_client 0.0.41 → 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/node.d.ts +1 -1
- package/node.deps.json +1 -1
- package/node.js +5 -2
- package/node.js.map +1 -1
- package/node.mjs +5 -2
- package/node.mjs.map +1 -1
- package/node.test.js +5 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -1
- package/web.deps.json +1 -1
- package/web.js +5 -2
- package/web.js.map +1 -1
- package/web.mjs +5 -2
- package/web.mjs.map +1 -1
package/node.mjs
CHANGED
|
@@ -4204,11 +4204,14 @@ var $;
|
|
|
4204
4204
|
"use strict";
|
|
4205
4205
|
var $;
|
|
4206
4206
|
(function ($) {
|
|
4207
|
-
function $mol_wire_probe(task,
|
|
4207
|
+
function $mol_wire_probe(task, def) {
|
|
4208
4208
|
const warm = $mol_wire_fiber.warm;
|
|
4209
4209
|
try {
|
|
4210
4210
|
$mol_wire_fiber.warm = false;
|
|
4211
|
-
|
|
4211
|
+
const res = task();
|
|
4212
|
+
if (res === undefined)
|
|
4213
|
+
return def;
|
|
4214
|
+
return res;
|
|
4212
4215
|
}
|
|
4213
4216
|
finally {
|
|
4214
4217
|
$mol_wire_fiber.warm = warm;
|