@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtr-dev/rondevu-client",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "TypeScript client for Rondevu with durable WebRTC connections, automatic reconnection, and message queuing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",