wiki-graph-sdk 0.9.2 → 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/archives.cjs +4 -1
- package/dist/archives.cjs.map +1 -1
- package/dist/archives.js +5 -1
- package/dist/archives.js.map +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/archives.cjs
CHANGED
|
@@ -2358,7 +2358,10 @@ var WikiGraphArchiveManager = class {
|
|
|
2358
2358
|
});
|
|
2359
2359
|
}
|
|
2360
2360
|
if (options.replace === true) {
|
|
2361
|
-
await
|
|
2361
|
+
await new import_wiki_graph_core7.WikgCoordinator().withExclusiveArchiveReplacement(
|
|
2362
|
+
new NodeFile(path),
|
|
2363
|
+
async () => await (0, import_promises5.rename)(outputPath, path)
|
|
2364
|
+
);
|
|
2362
2365
|
} else {
|
|
2363
2366
|
try {
|
|
2364
2367
|
await (0, import_promises5.link)(outputPath, path);
|