obi-sdk 0.13.1 → 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/react.es.js CHANGED
@@ -31860,10 +31860,10 @@ let le = class extends Z {
31860
31860
  "connectObi",
31861
31861
  "ObiWidget"
31862
31862
  ), this.handleCloseModals = () => {
31863
- this.activeSession && (this.activeSession.disconnect(), this.activeSession = null), this.state = M.READY, this.showCourseModal = !1, this.showSessionStartModal = !1, this.showShareMicModal = !1;
31863
+ this.activeSession && (this.activeSession.disconnect(), this.activeSession = null), this.state = M.READY, this.terminateSession(), this.showCourseModal = !1, this.showSessionStartModal = !1, this.showShareMicModal = !1;
31864
31864
  }, this.handleCourseSelectEvent = (e) => {
31865
31865
  const t = e;
31866
- this.selectedCourse = t.detail, this.showCourseModal = !1, this.showSessionStartModal = !0, this.showShareMicModal = !1;
31866
+ this.selectedCourse = t.detail, this.showCourseModal = !1, this.showSessionStartModal = !0, this.showShareMicModal = !1, this.micShareEnabled = !1, this.showVoiceGuidanceModal = !1, this.voiceGuidanceEnabled = !1;
31867
31867
  }, this.handleUrlSessionEvent = Ni(
31868
31868
  async (e) => {
31869
31869
  te("url_session_event", { sessionToken: e }, "ObiWidget");
@@ -31893,7 +31893,7 @@ let le = class extends Z {
31893
31893
  id: e,
31894
31894
  name: i.onboarding_plan?.name || "",
31895
31895
  description: i.onboarding_plan?.description || ""
31896
- }, this.state = M.LOADING, this.showSessionStartModal = !0, te(
31896
+ }, this.state = M.LOADING, this.showSessionStartModal = !0, this.showShareMicModal = !1, this.micShareEnabled = !1, this.showVoiceGuidanceModal = !1, this.voiceGuidanceEnabled = !1, te(
31897
31897
  "matching_session_found",
31898
31898
  {
31899
31899
  sessionToken: e,
@@ -32241,7 +32241,7 @@ let le = class extends Z {
32241
32241
  }
32242
32242
  handleItemSelect(e, t) {
32243
32243
  if (e === "experiences") {
32244
- this.showCourseModal = !0, this.showShareMicModal = !1;
32244
+ this.showCourseModal = !0;
32245
32245
  return;
32246
32246
  }
32247
32247
  rr([e, t]).with(["pause", !0], () => {