Commit be59d024 authored by Muhammadali's avatar Muhammadali

update version: 1.0.3

parent f2a7e041
{
"name": "boxdialer",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -95,7 +95,6 @@ const ModalPhoneNumpad = ({
};
const handleKeyUp = useCallback(
(event) => {
console.log(event);
gameState.toggleCP(event);
},
[gameState.toggleCP],
......
......@@ -4,14 +4,12 @@ import React, { useEffect, useState } from 'react';
import { intervalToDuration } from 'date-fns';
const TimerUi = ({ reason, time }) => {
console.log(reason, time, 'dsahfhfghgf');
const boxDialer = window.BoxDialer;
const [dndTimer, setDndTimer] = useState(time);
useEffect(() => {
if (reason !== 'free') {
var intervalId = setInterval(() => {
console.log('ticking');
setDndTimer((prevCount) => prevCount + 1);
}, 1000);
return () => clearInterval(intervalId);
......
......@@ -89,7 +89,6 @@ export class BoxDialer {
}
startTimer() {
console.log('start timer');
this.testTimer = setInterval(() => {
this.timer.time = this.timer.time + 1;
this.onSipStateChange.setDndTimer(this.timer.time);
......@@ -115,7 +114,6 @@ export class BoxDialer {
if (bool) {
this.ringtone.pause();
this.ringtone.remove();
console.log(this.ringtone, 'sound ringtone');
this.ringtone.play();
} else {
......@@ -193,7 +191,6 @@ export class BoxDialer {
{ name: 'Organization', value: 'Technounit' },
],
};
console.log('ostackConfig: ', ostackConfig);
this.oSipStack = new SIPml.Stack(ostackConfig);
if (this.oSipStack.start() !== 0) {
......
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