core-3nweb-client-lib 0.44.2 → 0.44.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.
Files changed (33) hide show
  1. package/build/api-defs/files.d.ts +20 -5
  2. package/build/core/id-manager/key-storage.d.ts +1 -0
  3. package/build/core/id-manager/key-storage.js +18 -3
  4. package/build/core/storage/synced/remote-events.d.ts +3 -0
  5. package/build/core/storage/synced/remote-events.js +24 -1
  6. package/build/core/storage/synced/storage.d.ts +1 -0
  7. package/build/core/storage/synced/storage.js +5 -2
  8. package/build/core-ipc/file.d.ts +4 -0
  9. package/build/core-ipc/file.js +22 -1
  10. package/build/core-ipc/fs.js +13 -11
  11. package/build/lib-client/cryptor/cryptor-wasm.js +1 -1
  12. package/build/lib-client/cryptor/cryptor.wasm +0 -0
  13. package/build/lib-client/fs-utils/files.js +5 -1
  14. package/build/lib-client/xsp-fs/common.d.ts +1 -0
  15. package/build/lib-client/xsp-fs/common.js +1 -0
  16. package/build/lib-client/xsp-fs/file-node.d.ts +2 -1
  17. package/build/lib-client/xsp-fs/file-node.js +8 -4
  18. package/build/lib-client/xsp-fs/file.d.ts +1 -0
  19. package/build/lib-client/xsp-fs/file.js +3 -0
  20. package/build/lib-client/xsp-fs/folder-node.d.ts +3 -2
  21. package/build/lib-client/xsp-fs/folder-node.js +48 -61
  22. package/build/lib-client/xsp-fs/fs.d.ts +3 -2
  23. package/build/lib-client/xsp-fs/fs.js +5 -2
  24. package/build/lib-client/xsp-fs/link-node.d.ts +1 -0
  25. package/build/lib-client/xsp-fs/link-node.js +3 -0
  26. package/build/lib-client/xsp-fs/node-in-fs.d.ts +1 -1
  27. package/build/lib-client/xsp-fs/node-in-fs.js +14 -12
  28. package/build/lib-common/exceptions/error.js +2 -1
  29. package/build/protos/asmail.proto.js +158 -158
  30. package/build/protos/fs.proto.js +158 -158
  31. package/package.json +1 -1
  32. package/protos/file.proto +4 -0
  33. package/protos/fs.proto +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-3nweb-client-lib",
3
- "version": "0.44.2",
3
+ "version": "0.44.4",
4
4
  "description": "3NWeb client core library, embeddable into different environments",
5
5
  "main": "build/lib-index.js",
6
6
  "types": "build/lib-index.d.ts",
package/protos/file.proto CHANGED
@@ -268,6 +268,10 @@ message ArchiveCurrentRequestBody {
268
268
 
269
269
  // ==== ReadonlyFileSyncAPI referable object ====
270
270
 
271
+ // --- ReadonlyFileSyncAPI.whenConnected ---
272
+ // Request body is empty
273
+ // Reply body is empty
274
+
271
275
  // --- ReadonlyFileSyncAPI.status ---
272
276
  // Request body is common.BooleanValue
273
277
  // Reply body is SyncStatusMsg
package/protos/fs.proto CHANGED
@@ -216,6 +216,10 @@ message CollectionEvent {
216
216
 
217
217
  // ==== ReadonlyFSVersionedAPI referable object ====
218
218
 
219
+ // --- ReadonlyFSVersionedAPI.whenConnected ---
220
+ // Request body is empty
221
+ // Reply body is empty
222
+
219
223
  // --- ReadonlyFSVersionedAPI.stat ---
220
224
  // Request body is PathAndFlagsRequestBody
221
225
  // Reply body is file.StatsMsg
@@ -581,9 +585,8 @@ message AdoptRemoteFolderItemRequestBody {
581
585
  Options opts = 3;
582
586
  }
583
587
 
584
- // --- WritableFSSyncAPI.mergeFolderCurrentAndRemoteVersions ---
585
- // Reply body is common.UInt64Value
586
- message MergeFolderCurrentAndRemoteVersionsRequestBody {
588
+ // --- WritableFSSyncAPI.absorbRemoteFolderChanges ---
589
+ message AbsorbRemoteFolderChangesRequestBody {
587
590
  message Options {
588
591
  common.UInt64Value local_version = 1;
589
592
  common.StringValue postfix_for_name_overlaps = 2;
@@ -592,6 +595,6 @@ message MergeFolderCurrentAndRemoteVersionsRequestBody {
592
595
  string path = 1;
593
596
  Options opts = 2;
594
597
  }
595
- message MergeFolderCurrentAndRemoteVersionsReplyBody {
598
+ message AbsorbRemoteFolderChangesReplyBody {
596
599
  common.UInt64Value new_version = 1;
597
600
  }