Commit 477a4823 authored by Muhammadali's avatar Muhammadali

update verison: 0.5.8

parent 1f1f869f
{
"name": "boxdialer",
"version": "0.5.7",
"version": "0.5.8",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -225,7 +225,10 @@ export class BoxDialer {
}
setGuiPhoneState({ stateCode, funcName, funcParam }) {
if (typeof window?.BX24 !== 'undefined') {
if (
typeof window?.BX24 !== 'undefined' ||
typeof window?.BX !== 'undefined'
) {
let uiState = '';
switch (stateCode) {
......@@ -415,7 +418,7 @@ export class BoxDialer {
// toast.error('Please enter another number');
// return;
// }
console.log('initialized argument', phoneNumber);
this.callBxMethods({
bxMethodName: 'CallCardSetUiState',
bxFuncParams: { uiState: 'connectingOutgoing' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment