unforgit 0.9.2 → 0.10.0

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.
@@ -2993,7 +2993,7 @@ var LocalStore = class {
2993
2993
  metadata: { consolidation: true }
2994
2994
  });
2995
2995
  }
2996
- if (preserveOriginals) {
2996
+ if (!preserveOriginals) {
2997
2997
  for (const sourceId of sourceIds) {
2998
2998
  this.supersede(sourceId, id);
2999
2999
  }
@@ -3008,7 +3008,7 @@ var LocalStore = class {
3008
3008
  return {
3009
3009
  consolidatedId: id,
3010
3010
  version,
3011
- sourcesPreserved: sourceIds.length,
3011
+ sourcesPreserved: preserveOriginals ? sourceIds.length : 0,
3012
3012
  sourceIds
3013
3013
  };
3014
3014
  }
@@ -3998,4 +3998,4 @@ export {
3998
3998
  RemoteClient,
3999
3999
  LocalStore
4000
4000
  };
4001
- //# sourceMappingURL=chunk-JXSAAZ3I.js.map
4001
+ //# sourceMappingURL=chunk-YDVVU3Z7.js.map