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.
- package/dist/modular/chunks/{obi-widget-93253f25.js → obi-widget-83402e4d.js} +2 -2
- package/dist/modular/chunks/obi-widget-83402e4d.js.map +1 -0
- package/dist/modular/index.js +1 -1
- package/dist/modular/ui.js +10 -10
- package/dist/obi-sdk.es.js +2 -2
- package/dist/obi-sdk.standalone.iife.js +1 -1
- package/dist/obi-sdk.standalone.iife.js.map +1 -1
- package/dist/obi-sdk.umd.js +1 -1
- package/package.json +1 -2
- package/dist/modular/chunks/obi-widget-93253f25.js.map +0 -1
|
@@ -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-
|
|
11147
|
+
//# sourceMappingURL=obi-widget-83402e4d.js.map
|