core-3nweb-client-lib 0.42.8 → 0.42.9
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.
|
@@ -60,7 +60,8 @@ class Delivery {
|
|
|
60
60
|
}
|
|
61
61
|
static async makeAndStart(fs, r) {
|
|
62
62
|
const delivery = new Delivery(fs, r);
|
|
63
|
-
|
|
63
|
+
delivery.restartDeliveryOfMsgsAtStartup()
|
|
64
|
+
.catch(err => delivery.r.logError(err));
|
|
64
65
|
return delivery;
|
|
65
66
|
}
|
|
66
67
|
makeCAP() {
|
|
@@ -42,7 +42,8 @@ class ASMail {
|
|
|
42
42
|
async init(address, getSigner, syncedFS, localFS, getStorages, makeResolver, config, keyring) {
|
|
43
43
|
try {
|
|
44
44
|
this.address = address;
|
|
45
|
-
|
|
45
|
+
// XXX this should be part of proper syncing logic
|
|
46
|
+
// await getRemoteFolderChanges(syncedFS);
|
|
46
47
|
this.config = config;
|
|
47
48
|
this.keyring = keyring;
|
|
48
49
|
await this.setupSendingParams(syncedFS);
|
|
@@ -31,8 +31,9 @@ class AnonymousInvites {
|
|
|
31
31
|
static async makeAndInit(file, anonInvitesOnServer) {
|
|
32
32
|
const anonInvites = new AnonymousInvites(anonInvitesOnServer);
|
|
33
33
|
await anonInvites.fileProc.start(file, () => anonInvites.toFileJSON());
|
|
34
|
-
|
|
35
|
-
await anonInvites.
|
|
34
|
+
// XXX these are part of proper syncing logic
|
|
35
|
+
// await anonInvites.absorbRemoteChanges();
|
|
36
|
+
// await anonInvites.syncServiceSetting();
|
|
36
37
|
return anonInvites;
|
|
37
38
|
}
|
|
38
39
|
async onFileEvent(ev) {
|