core-3nweb-client-lib 0.43.14 → 0.43.16
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/build/api-defs/files.d.ts +5 -5
- package/build/core/storage/synced/remote-events.js +16 -8
- package/build/core-ipc/fs.js +3 -3
- package/build/lib-client/cryptor/cryptor-wasm.js +1 -1
- package/build/lib-client/cryptor/cryptor.wasm +0 -0
- package/build/lib-client/xsp-fs/node-in-fs.js +16 -8
- package/package.json +1 -1
|
Binary file
|
|
@@ -529,14 +529,22 @@ Object.freeze(NodeInFS.prototype);
|
|
|
529
529
|
Object.freeze(NodeInFS);
|
|
530
530
|
function copyWithPathIfRemoteEvent(e, path) {
|
|
531
531
|
switch (e.type) {
|
|
532
|
-
case 'remote-change':
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
case 'remote-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
532
|
+
case 'remote-change': {
|
|
533
|
+
const { type, syncStatus, newRemoteVersion } = e;
|
|
534
|
+
return { type, syncStatus, newRemoteVersion, path };
|
|
535
|
+
}
|
|
536
|
+
case 'remote-removal': {
|
|
537
|
+
const { syncStatus, type } = e;
|
|
538
|
+
return { syncStatus, type, path };
|
|
539
|
+
}
|
|
540
|
+
case 'remote-version-archival': {
|
|
541
|
+
const { archivedVersion, syncStatus, type } = e;
|
|
542
|
+
return { archivedVersion, syncStatus, type, path };
|
|
543
|
+
}
|
|
544
|
+
case 'remote-arch-ver-removal': {
|
|
545
|
+
const { removedArchVer, syncStatus, type } = e;
|
|
546
|
+
return { removedArchVer, syncStatus, type, path };
|
|
547
|
+
}
|
|
540
548
|
default:
|
|
541
549
|
return e;
|
|
542
550
|
}
|