@vue-skuilder/standalone-ui 0.2.12 → 0.2.13
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/assets/{TagViewer-g9RJS1r2.js → TagViewer-nh28Samo.js} +2 -2
- package/dist/assets/{TagViewer-g9RJS1r2.js.map → TagViewer-nh28Samo.js.map} +1 -1
- package/dist/assets/{common-ui.es-DhLJkoaY.js → common-ui.es-CKDaicTB.js} +4 -4
- package/dist/assets/{common-ui.es-DhLJkoaY.js.map → common-ui.es-CKDaicTB.js.map} +1 -1
- package/dist/assets/common-ui.es-CcyGjPTk.js +1 -0
- package/dist/assets/{dist-CIWSsb1y.js → dist-mJg7wGOe.js} +3 -3
- package/dist/assets/{dist-CIWSsb1y.js.map → dist-mJg7wGOe.js.map} +1 -1
- package/dist/assets/{index-CIllvcxx.js → index-BTx-tECR.js} +5 -5
- package/dist/assets/{index-CIllvcxx.js.map → index-BTx-tECR.js.map} +1 -1
- package/dist/index.html +3 -3
- package/dist-lib/questions.cjs.js +2 -2
- package/dist-lib/questions.cjs.js.map +1 -1
- package/dist-lib/questions.mjs +12 -1
- package/dist-lib/questions.mjs.map +1 -1
- package/package.json +6 -6
- package/dist/assets/common-ui.es-tuyYAsl3.js +0 -1
package/dist-lib/questions.mjs
CHANGED
|
@@ -29587,7 +29587,13 @@ ${t.stack}` : JSON.stringify(t);
|
|
|
29587
29587
|
...t.doc,
|
|
29588
29588
|
_rev: void 0
|
|
29589
29589
|
}));
|
|
29590
|
-
|
|
29590
|
+
g.length > 0 ? (await d.bulkDocs(g), logger.info(`Successfully migrated ${g.length} documents from ${t} to ${c}`)) : logger.info("No documents to migrate from funnel account");
|
|
29591
|
+
try {
|
|
29592
|
+
await u.destroy(), logger.info(`Destroyed consumed guest DB for ${t}`);
|
|
29593
|
+
} catch (c) {
|
|
29594
|
+
logger.warn(`Failed to destroy consumed guest DB for ${t} (non-fatal): ${c instanceof Error ? c.message : String(c)}`);
|
|
29595
|
+
}
|
|
29596
|
+
return { success: !0 };
|
|
29591
29597
|
} catch (t) {
|
|
29592
29598
|
return logger.error("Migration failed:", t), {
|
|
29593
29599
|
success: !1,
|
|
@@ -29692,6 +29698,11 @@ Currently logged-in as ${this._username}.`);
|
|
|
29692
29698
|
async logout() {
|
|
29693
29699
|
if (!this.syncStrategy.canAuthenticate()) return this._username = await this.syncStrategy.getCurrentUsername(), await this.init(), { ok: !0 };
|
|
29694
29700
|
let t = await this.syncStrategy.logout();
|
|
29701
|
+
try {
|
|
29702
|
+
localStorage.removeItem("sk-guest-uuid");
|
|
29703
|
+
} catch (t) {
|
|
29704
|
+
logger.warn("localStorage not available (Node.js environment):", t);
|
|
29705
|
+
}
|
|
29695
29706
|
return this._username = await this.syncStrategy.getCurrentUsername(), await this.init(), t;
|
|
29696
29707
|
}
|
|
29697
29708
|
async get(t) {
|