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