@rljson/fs-agent 0.0.52 → 0.0.53

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.
Files changed (2) hide show
  1. package/dist/fs-agent.js +1 -1
  2. package/package.json +1 -1
package/dist/fs-agent.js CHANGED
@@ -2505,7 +2505,7 @@ ${err.stack}` : String(err);
2505
2505
  const ancestryExpected = this._resolveConflicts;
2506
2506
  const declaresAncestry = (predecessorRefs?.length ?? 0) > 0;
2507
2507
  const ancestryIsCarried = connector.syncConfig?.causalOrdering === true;
2508
- const senderSawMyState = !ancestryIsCarried || this._currentRef !== void 0 && (predecessorRefs?.includes(this._currentRef) ?? false);
2508
+ const senderSawMyState = !ancestryIsCarried || !declaresAncestry || this._currentRef !== void 0 && predecessorRefs.includes(this._currentRef);
2509
2509
  const withholdPrune = restoreOptions?.cleanTarget && (ancestryExpected && !declaresAncestry || !senderSawMyState);
2510
2510
  const applyOptions = withholdPrune ? { ...restoreOptions, cleanTarget: false } : restoreOptions;
2511
2511
  if (applyOptions !== restoreOptions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/fs-agent",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
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",