@vue-skuilder/db 0.2.12 → 0.2.14
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/core/index.js +5 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +5 -0
- package/dist/core/index.mjs.map +1 -1
- package/dist/impl/couch/index.js +13 -0
- package/dist/impl/couch/index.js.map +1 -1
- package/dist/impl/couch/index.mjs +13 -0
- package/dist/impl/couch/index.mjs.map +1 -1
- package/dist/impl/static/index.js +5 -0
- package/dist/impl/static/index.js.map +1 -1
- package/dist/impl/static/index.mjs +5 -0
- package/dist/impl/static/index.mjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +46 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -27
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/impl/common/BaseUserDB.ts +13 -0
- package/src/impl/couch/CouchDBSyncStrategy.ts +17 -0
- package/src/study/services/EloService.ts +20 -8
- package/src/study/services/ResponseProcessor.ts +62 -50
|
@@ -5574,6 +5574,11 @@ Currently logged-in as ${this._username}.`
|
|
|
5574
5574
|
return { ok: true };
|
|
5575
5575
|
}
|
|
5576
5576
|
const ret = await this.syncStrategy.logout();
|
|
5577
|
+
try {
|
|
5578
|
+
localStorage.removeItem("sk-guest-uuid");
|
|
5579
|
+
} catch (e) {
|
|
5580
|
+
logger.warn("localStorage not available (Node.js environment):", e);
|
|
5581
|
+
}
|
|
5577
5582
|
this._username = await this.syncStrategy.getCurrentUsername();
|
|
5578
5583
|
await this.init();
|
|
5579
5584
|
return ret;
|