diff --git a/build/esiur.js b/build/esiur.js index 847a38c..a38c5bf 100644 --- a/build/esiur.js +++ b/build/esiur.js @@ -5809,9 +5809,9 @@ var DistributedConnection = exports["default"] = /*#__PURE__*/function (_IStore) _r2 = _toBeFetched[_i2]; _context.prev = 40; _context.next = 43; - return this.fetch(id, null); + return this.fetch(_r2, null); case 43: - console.log("Restored " + id); + console.log("Restored " + _r2); _context.next = 49; break; case 46: diff --git a/package.json b/package.json index 7b32f37..28acb90 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "esiur", - "version": "2.3.9", + "version": "2.4.0", "description": "Distributed Object Framework", "main": "esiur.js", "type": "module", diff --git a/src/Net/IIP/DistributedConnection.js b/src/Net/IIP/DistributedConnection.js index 60742dd..1b9cc66 100644 --- a/src/Net/IIP/DistributedConnection.js +++ b/src/Net/IIP/DistributedConnection.js @@ -1309,8 +1309,8 @@ export default class DistributedConnection extends IStore { for(let r of toBeFetched) { try { - await this.fetch(id, null); - console.log("Restored " + id); + await this.fetch(r, null); + console.log("Restored " + r); } catch (exFetch){ console.log(exFetch); }