@rljson/fs-agent 0.0.32 → 0.0.34
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/dist/fs-agent.js +2 -0
- package/package.json +2 -2
package/dist/fs-agent.js
CHANGED
|
@@ -2221,6 +2221,7 @@ ${err.stack}` : String(err);
|
|
|
2221
2221
|
* @returns Function to stop watching
|
|
2222
2222
|
*/
|
|
2223
2223
|
async syncFromDb(db, connector, treeKey, restoreOptions) {
|
|
2224
|
+
connector.resetReceived?.();
|
|
2224
2225
|
await this._ensureWatching();
|
|
2225
2226
|
let pendingRef = null;
|
|
2226
2227
|
let fromDbTimer = null;
|
|
@@ -2323,6 +2324,7 @@ ${err.stack}` : String(err);
|
|
|
2323
2324
|
return;
|
|
2324
2325
|
} catch (err) {
|
|
2325
2326
|
if (err instanceof MassDeleteRefusedError) {
|
|
2327
|
+
connector.invalidateReceived(treeRef);
|
|
2326
2328
|
await this._readvertiseAfterRefusal(connector);
|
|
2327
2329
|
return;
|
|
2328
2330
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rljson/fs-agent",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "Rljson fs-agent description",
|
|
5
5
|
"homepage": "https://github.com/rljson/fs-agent",
|
|
6
6
|
"bugs": "https://github.com/rljson/fs-agent/issues",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@rljson/bs": "^0.0.21",
|
|
46
|
-
"@rljson/db": "
|
|
46
|
+
"@rljson/db": "0.0.36",
|
|
47
47
|
"@rljson/hash": "^0.0.18",
|
|
48
48
|
"@rljson/io": "^0.0.66",
|
|
49
49
|
"@rljson/json": "^0.0.23",
|