ahs-cti 1.0.0-beta.25 → 1.0.0-beta.26
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 +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5752,7 +5752,10 @@ function clickToCall(payload) {
|
|
|
5752
5752
|
phone_number: payload.mobileNumber
|
|
5753
5753
|
};
|
|
5754
5754
|
return axios_default.post(END_POINT.CLICK_TO_CALL, body).then((res) => {
|
|
5755
|
-
|
|
5755
|
+
try {
|
|
5756
|
+
sdkStateManager.resetConferenceLines();
|
|
5757
|
+
} catch (_) {
|
|
5758
|
+
}
|
|
5756
5759
|
return res.data;
|
|
5757
5760
|
}).catch((err) => {
|
|
5758
5761
|
var _a3;
|
|
@@ -5778,7 +5781,10 @@ async function clickToConference(payload) {
|
|
|
5778
5781
|
};
|
|
5779
5782
|
try {
|
|
5780
5783
|
const res = await axios_default.post(END_POINT.CONFERENCE_CALL, body);
|
|
5781
|
-
|
|
5784
|
+
try {
|
|
5785
|
+
sdkStateManager.setOpenConferenceDialog(true);
|
|
5786
|
+
} catch (_) {
|
|
5787
|
+
}
|
|
5782
5788
|
if (!((_h = res == null ? void 0 : res.data) == null ? void 0 : _h.success)) {
|
|
5783
5789
|
throw res.data;
|
|
5784
5790
|
}
|