@xtr-dev/rondevu-client 0.12.2 → 0.12.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.
- package/dist/rondevu-service.js +8 -0
- package/package.json +1 -1
package/dist/rondevu-service.js
CHANGED
|
@@ -131,6 +131,14 @@ export class RondevuService {
|
|
|
131
131
|
}
|
|
132
132
|
try {
|
|
133
133
|
const check = await this.api.checkUsername(this.username);
|
|
134
|
+
// Debug logging
|
|
135
|
+
console.log('[RondevuService] Username check:', {
|
|
136
|
+
username: this.username,
|
|
137
|
+
available: check.available,
|
|
138
|
+
serverPublicKey: check.publicKey,
|
|
139
|
+
localPublicKey: this.keypair.publicKey,
|
|
140
|
+
match: check.publicKey === this.keypair.publicKey
|
|
141
|
+
});
|
|
134
142
|
// Username is claimed if it's not available and owned by our public key
|
|
135
143
|
const claimed = !check.available && check.publicKey === this.keypair.publicKey;
|
|
136
144
|
// Update internal flag to match server state
|
package/package.json
CHANGED