hyoo_sync_client 0.0.543 → 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/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 = Object.assign(result.then(put, put), { destructor: result.destructor });
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
- handled.add(result);
1413
- result = Object.assign(result.finally(() => {
1411
+ result = result.finally(() => {
1414
1412
  if (this.cache === result)
1415
1413
  this.absorb();
1416
- }), { destructor: result.destructor });
1414
+ });
1417
1415
  }
1418
1416
  }
1419
1417
  if ($mol_promise_like(result) && !handled.has(result)) {