shogun-core 3.0.16 → 3.0.17
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.
|
@@ -100961,8 +100961,9 @@ class DataBase {
|
|
|
100961
100961
|
throw new Error("Username cannot be empty");
|
|
100962
100962
|
}
|
|
100963
100963
|
console.log(`Setting up user profile for ${normalizedUsername} with userPub: ${userPub}`);
|
|
100964
|
-
const existingUser = await this.gun.get(userPub).then();
|
|
100965
|
-
const isNewUser = !existingUser || !existingUser.alias;
|
|
100964
|
+
// const existingUser = await this.gun.get(userPub).then();
|
|
100965
|
+
// const isNewUser = !existingUser || !existingUser.alias;
|
|
100966
|
+
const isNewUser = true;
|
|
100966
100967
|
// Get user's encryption public key (epub) for comprehensive tracking
|
|
100967
100968
|
const userInstance = this.gun.user();
|
|
100968
100969
|
const userSea = userInstance?._?.sea;
|