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.test.js
CHANGED
|
@@ -4196,11 +4196,14 @@ var $;
|
|
|
4196
4196
|
"use strict";
|
|
4197
4197
|
var $;
|
|
4198
4198
|
(function ($) {
|
|
4199
|
-
function $mol_wire_probe(task,
|
|
4199
|
+
function $mol_wire_probe(task, def) {
|
|
4200
4200
|
const warm = $mol_wire_fiber.warm;
|
|
4201
4201
|
try {
|
|
4202
4202
|
$mol_wire_fiber.warm = false;
|
|
4203
|
-
|
|
4203
|
+
const res = task();
|
|
4204
|
+
if (res === undefined)
|
|
4205
|
+
return def;
|
|
4206
|
+
return res;
|
|
4204
4207
|
}
|
|
4205
4208
|
finally {
|
|
4206
4209
|
$mol_wire_fiber.warm = warm;
|