obi-sdk 0.13.0 → 0.13.2
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/index-a668ac46.js +6 -0
- package/dist/modular/chunks/index-a668ac46.js.map +1 -0
- package/dist/modular/chunks/{obi-widget-5c728b05.js → obi-widget-d8354869.js} +14 -2
- package/dist/modular/chunks/{obi-widget-5c728b05.js.map → obi-widget-d8354869.js.map} +1 -1
- package/dist/modular/index.js +1 -1
- package/dist/modular/ui.js +10 -10
- package/dist/obi-sdk.standalone.iife.js +2 -1
- package/dist/obi-sdk.standalone.iife.js.map +1 -1
- package/dist/react.es.js +5 -4
- package/dist/react.es.js.map +1 -1
- package/dist/react.umd.js +2 -1
- package/dist/react.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/modular/chunks/index-c25ba599.js +0 -6
- package/dist/modular/chunks/index-c25ba599.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-a668ac46.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -21055,7 +21055,12 @@ class ObiWidget extends i$1 {
|
|
|
21055
21055
|
"ObiWidget"
|
|
21056
21056
|
);
|
|
21057
21057
|
this.handleCloseModals = () => {
|
|
21058
|
+
if (this.activeSession) {
|
|
21059
|
+
this.activeSession.disconnect();
|
|
21060
|
+
this.activeSession = null;
|
|
21061
|
+
}
|
|
21058
21062
|
this.state = SDKState.READY;
|
|
21063
|
+
this.terminateSession();
|
|
21059
21064
|
this.showCourseModal = false;
|
|
21060
21065
|
this.showSessionStartModal = false;
|
|
21061
21066
|
this.showShareMicModal = false;
|
|
@@ -21066,6 +21071,9 @@ class ObiWidget extends i$1 {
|
|
|
21066
21071
|
this.showCourseModal = false;
|
|
21067
21072
|
this.showSessionStartModal = true;
|
|
21068
21073
|
this.showShareMicModal = false;
|
|
21074
|
+
this.micShareEnabled = false;
|
|
21075
|
+
this.showVoiceGuidanceModal = false;
|
|
21076
|
+
this.voiceGuidanceEnabled = false;
|
|
21069
21077
|
};
|
|
21070
21078
|
this.handleUrlSessionEvent = withSentryAsyncHandler(
|
|
21071
21079
|
async (sessionToken) => {
|
|
@@ -21102,6 +21110,10 @@ class ObiWidget extends i$1 {
|
|
|
21102
21110
|
};
|
|
21103
21111
|
this.state = SDKState.LOADING;
|
|
21104
21112
|
this.showSessionStartModal = true;
|
|
21113
|
+
this.showShareMicModal = false;
|
|
21114
|
+
this.micShareEnabled = false;
|
|
21115
|
+
this.showVoiceGuidanceModal = false;
|
|
21116
|
+
this.voiceGuidanceEnabled = false;
|
|
21105
21117
|
trackEvent(
|
|
21106
21118
|
"matching_session_found",
|
|
21107
21119
|
{
|
|
@@ -21682,7 +21694,6 @@ class ObiWidget extends i$1 {
|
|
|
21682
21694
|
handleItemSelect(id, itemIsActive) {
|
|
21683
21695
|
if (id === "experiences") {
|
|
21684
21696
|
this.showCourseModal = true;
|
|
21685
|
-
this.showShareMicModal = false;
|
|
21686
21697
|
return;
|
|
21687
21698
|
}
|
|
21688
21699
|
z$3([id, itemIsActive]).with(["pause", true], () => {
|
|
@@ -21823,6 +21834,7 @@ class ObiWidget extends i$1 {
|
|
|
21823
21834
|
></obi-navigation-bar>
|
|
21824
21835
|
` : E$1}
|
|
21825
21836
|
</div>
|
|
21837
|
+
|
|
21826
21838
|
${this.showCourseModal ? x`<obi-course-modal
|
|
21827
21839
|
.onClose=${this.handleCloseModals.bind(this)}
|
|
21828
21840
|
.apiKey=${this.apiKey}
|
|
@@ -22131,4 +22143,4 @@ export {
|
|
|
22131
22143
|
withSentryAsyncHandler as w,
|
|
22132
22144
|
x
|
|
22133
22145
|
};
|
|
22134
|
-
//# sourceMappingURL=obi-widget-
|
|
22146
|
+
//# sourceMappingURL=obi-widget-d8354869.js.map
|