obi-sdk 0.3.3 → 0.3.5

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.
@@ -34,7 +34,6 @@ class ObiSession {
34
34
  }
35
35
  });
36
36
  this.room.on(RoomEvent.Disconnected, () => {
37
- console.log("Room disconnected");
38
37
  this.disconnect();
39
38
  });
40
39
  this.room.on(RoomEvent.ParticipantDisconnected, () => {
@@ -185,6 +184,7 @@ class ObiSession {
185
184
  });
186
185
  this.assistantAudioContext = null;
187
186
  this.setState(SDKState.READY);
187
+ this.emitter.emit("disconnected");
188
188
  }
189
189
  setState(newState) {
190
190
  if (newState === this.currentState) {
@@ -11144,4 +11144,4 @@ export {
11144
11144
  searchingLoader as s,
11145
11145
  x
11146
11146
  };
11147
- //# sourceMappingURL=obi-widget-93253f25.js.map
11147
+ //# sourceMappingURL=obi-widget-83402e4d.js.map