@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.
@@ -6892,6 +6892,11 @@ Currently logged-in as ${this._username}.`
6892
6892
  return { ok: true };
6893
6893
  }
6894
6894
  const ret = await this.syncStrategy.logout();
6895
+ try {
6896
+ localStorage.removeItem("sk-guest-uuid");
6897
+ } catch (e) {
6898
+ logger.warn("localStorage not available (Node.js environment):", e);
6899
+ }
6895
6900
  this._username = await this.syncStrategy.getCurrentUsername();
6896
6901
  await this.init();
6897
6902
  return ret;