@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.
@@ -5597,6 +5597,11 @@ Currently logged-in as ${this._username}.`
5597
5597
  return { ok: true };
5598
5598
  }
5599
5599
  const ret = await this.syncStrategy.logout();
5600
+ try {
5601
+ localStorage.removeItem("sk-guest-uuid");
5602
+ } catch (e) {
5603
+ logger.warn("localStorage not available (Node.js environment):", e);
5604
+ }
5600
5605
  this._username = await this.syncStrategy.getCurrentUsername();
5601
5606
  await this.init();
5602
5607
  return ret;