@wireapp/core 38.3.1 → 38.3.3
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/lib/Account.js
CHANGED
|
@@ -404,7 +404,7 @@ class Account extends events_1.EventEmitter {
|
|
|
404
404
|
await handleNotification(notification, source);
|
|
405
405
|
onNotificationStreamProgress(progress);
|
|
406
406
|
}, handleMissedNotifications, abortHandler);
|
|
407
|
-
this.logger.
|
|
407
|
+
this.logger.info(`Finished processing notifications ${JSON.stringify(results)}`, results);
|
|
408
408
|
if (abortHandler.isAborted()) {
|
|
409
409
|
this.logger.warn('Ending connection process as websocket was closed');
|
|
410
410
|
return;
|
|
@@ -440,10 +440,10 @@ class Account extends events_1.EventEmitter {
|
|
|
440
440
|
const openDb = async () => {
|
|
441
441
|
const initializedDb = await this.createStore(dbName, context);
|
|
442
442
|
if (initializedDb) {
|
|
443
|
-
this.logger.
|
|
443
|
+
this.logger.info(`Initialized store with existing engine "${dbName}".`);
|
|
444
444
|
return initializedDb;
|
|
445
445
|
}
|
|
446
|
-
this.logger.
|
|
446
|
+
this.logger.info(`Initialized store with new memory engine "${dbName}".`);
|
|
447
447
|
const memoryEngine = new store_engine_1.MemoryEngine();
|
|
448
448
|
await memoryEngine.init(dbName);
|
|
449
449
|
return memoryEngine;
|
|
@@ -201,7 +201,7 @@ class ProteusService {
|
|
|
201
201
|
return;
|
|
202
202
|
}
|
|
203
203
|
// We want sessions to be fully qualified from now on
|
|
204
|
-
(0, sessionIdMigrator_1.migrateToQualifiedSessionIds)(storeEngine, (_a = context.domain) !== null && _a !== void 0 ? _a : '');
|
|
204
|
+
await (0, sessionIdMigrator_1.migrateToQualifiedSessionIds)(storeEngine, (_a = context.domain) !== null && _a !== void 0 ? _a : '');
|
|
205
205
|
this.logger.log(`Migrating data from cryptobox store (${dbName}) to corecrypto.`);
|
|
206
206
|
try {
|
|
207
207
|
await this.coreCryptoClient.proteusCryptoboxMigrate(dbName);
|
|
@@ -214,7 +214,7 @@ class ProteusService {
|
|
|
214
214
|
await this.storeEngine?.deleteAll(storeName);
|
|
215
215
|
}
|
|
216
216
|
*/
|
|
217
|
-
this.logger.
|
|
217
|
+
this.logger.info(`Successfully migrated from cryptobox store (${dbName}) to corecrypto.`);
|
|
218
218
|
localStorage.setItem(migrationFlag, '1');
|
|
219
219
|
}
|
|
220
220
|
catch (error) {
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@wireapp/promise-queue": "^2.1.1",
|
|
18
18
|
"@wireapp/protocol-messaging": "1.43.0",
|
|
19
19
|
"@wireapp/store-engine": "5.0.3",
|
|
20
|
-
"@wireapp/store-engine-dexie": "^2.0.
|
|
20
|
+
"@wireapp/store-engine-dexie": "^2.0.4",
|
|
21
21
|
"axios": "1.2.2",
|
|
22
22
|
"bazinga64": "6.0.3",
|
|
23
23
|
"hash.js": "1.1.7",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"idb": "7.1.1",
|
|
26
26
|
"logdown": "3.3.1",
|
|
27
27
|
"long": "^5.2.0",
|
|
28
|
-
"uuidjs": "4.2.
|
|
28
|
+
"uuidjs": "4.2.13"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@faker-js/faker": "^7.6.0",
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"test:coverage": "jest --coverage",
|
|
60
60
|
"watch": "tsc --watch"
|
|
61
61
|
},
|
|
62
|
-
"version": "38.3.
|
|
63
|
-
"gitHead": "
|
|
62
|
+
"version": "38.3.3",
|
|
63
|
+
"gitHead": "7a635f647d5a7339bddcd75d31df1b3446e9f4c0"
|
|
64
64
|
}
|