@vgroup/dialbox 0.4.70 → 0.4.71

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.
@@ -4339,6 +4339,7 @@ class DialboxComponent {
4339
4339
  let ipAddress = yield this.ipService.getIpAddressInfo().toPromise();
4340
4340
  const res = yield this.twilioService.getToNumber(dialedNumber, ipAddress.address.countryCode).toPromise();
4341
4341
  if (res.status == 200) {
4342
+ console.log(res, 'getToNumber');
4342
4343
  this.toastTimeout = res.timeInterval * 1000;
4343
4344
  yield this.showNumberToast(res);
4344
4345
  }
@@ -4350,12 +4351,12 @@ class DialboxComponent {
4350
4351
  }
4351
4352
  showNumberToast(data) {
4352
4353
  return __awaiter(this, void 0, void 0, function* () {
4353
- const isAlertOn = (localStorage.getItem('isCountryCodeToastOn'));
4354
- if (isAlertOn == 'true') {
4355
- this.callNumberToast.show = true;
4356
- this.callNumberToast.number = data.toNumber;
4357
- this.callNumberToast.displayNum = data.displayNumber;
4358
- }
4354
+ // const isAlertOn = (localStorage.getItem('isCountryCodeToastOn'));
4355
+ // if (isAlertOn == 'true') {
4356
+ this.callNumberToast.show = true;
4357
+ this.callNumberToast.number = data.toNumber;
4358
+ this.callNumberToast.displayNum = data.displayNumber;
4359
+ // }
4359
4360
  this.callData.displayNum = data.displayNumber;
4360
4361
  //this.callData.phone = data.toNumber;
4361
4362
  yield this.delay(this.toastTimeout);