shogun-core 3.0.2 → 3.0.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.
@@ -91346,7 +91346,7 @@ class CoreInitializer {
91346
91346
  */
91347
91347
  async initializeGunUser() {
91348
91348
  try {
91349
- this.core.user = this.core.gun.user().recall({ sessionStorage: true });
91349
+ this.core._user = this.core.gun.user().recall({ sessionStorage: true });
91350
91350
  }
91351
91351
  catch (error) {
91352
91352
  if (typeof console !== "undefined" && console.error) {
@@ -91355,7 +91355,7 @@ class CoreInitializer {
91355
91355
  throw new Error(`Failed to initialize Gun user: ${error}`);
91356
91356
  }
91357
91357
  this.core.gun.on("auth", (user) => {
91358
- this.core.user = this.core.gun.user().recall({ sessionStorage: true });
91358
+ this.core._user = this.core.gun.user().recall({ sessionStorage: true });
91359
91359
  this.core.emit("auth:login", {
91360
91360
  userPub: user.pub,
91361
91361
  method: "password",