wiki-graph-sdk 0.9.3 → 0.9.4

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/index.cjs CHANGED
@@ -2701,7 +2701,10 @@ var WikiGraphArchiveManager = class {
2701
2701
  });
2702
2702
  }
2703
2703
  if (options.replace === true) {
2704
- await (0, import_promises5.rename)(outputPath, path);
2704
+ await new import_wiki_graph_core7.WikgCoordinator().withExclusiveArchiveReplacement(
2705
+ new NodeFile(path),
2706
+ async () => await (0, import_promises5.rename)(outputPath, path)
2707
+ );
2705
2708
  } else {
2706
2709
  try {
2707
2710
  await (0, import_promises5.link)(outputPath, path);