hyoo_sync_client 0.0.544 → 0.0.545
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.deps.json +1 -1
- package/node.js +3 -5
- package/node.js.map +1 -1
- package/node.mjs +3 -5
- package/node.test.js +3 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +3 -5
- package/web.js.map +1 -1
- package/web.mjs +3 -5
package/web.mjs
CHANGED
|
@@ -1392,13 +1392,12 @@ var $;
|
|
|
1392
1392
|
break;
|
|
1393
1393
|
}
|
|
1394
1394
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
1395
|
-
handled.add(result);
|
|
1396
1395
|
const put = (res) => {
|
|
1397
1396
|
if (this.cache === result)
|
|
1398
1397
|
this.put(res);
|
|
1399
1398
|
return res;
|
|
1400
1399
|
};
|
|
1401
|
-
result =
|
|
1400
|
+
result = result.then(put, put);
|
|
1402
1401
|
}
|
|
1403
1402
|
}
|
|
1404
1403
|
catch (error) {
|
|
@@ -1409,11 +1408,10 @@ var $;
|
|
|
1409
1408
|
result = new Error(String(error), { cause: error });
|
|
1410
1409
|
}
|
|
1411
1410
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
1412
|
-
|
|
1413
|
-
result = Object.assign(result.finally(() => {
|
|
1411
|
+
result = result.finally(() => {
|
|
1414
1412
|
if (this.cache === result)
|
|
1415
1413
|
this.absorb();
|
|
1416
|
-
})
|
|
1414
|
+
});
|
|
1417
1415
|
}
|
|
1418
1416
|
}
|
|
1419
1417
|
if ($mol_promise_like(result) && !handled.has(result)) {
|