@dora-cell/sdk 4.1.5 → 4.1.6

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/index.mjs CHANGED
@@ -23589,7 +23589,9 @@ var DoraCell = class {
23589
23589
  this.apiClient.setSessionToken(token);
23590
23590
  }
23591
23591
  }
23592
- await this.getWallet().catch(() => {
23592
+ await this.getWallet().catch((error) => {
23593
+ const errorMsg = error instanceof Error ? error.message : "Failed to fetch wallet";
23594
+ this.emitError(new ConnectionError(errorMsg, { originalError: error }));
23593
23595
  });
23594
23596
  if (!this.credentials?.extensions || this.credentials.extensions.length === 0) {
23595
23597
  await this.fetchExtensions();
@@ -23917,15 +23919,8 @@ var DoraCell = class {
23917
23919
  this.events.emit("error", error);
23918
23920
  }
23919
23921
  getDefaultTurnServers() {
23920
- const turnUri = "turn:64.227.10.164:3478";
23921
- const turnUser = "02018890089";
23922
- const turnPass = "dora12345";
23923
23922
  return [
23924
- {
23925
- urls: turnUri,
23926
- username: turnUser,
23927
- credential: turnPass
23928
- }
23923
+ { urls: "stun:stun.l.google.com:19302" }
23929
23924
  ];
23930
23925
  }
23931
23926
  getDisplayName() {