@vgroup/dialbox 0.3.10 → 0.3.11

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.
@@ -2224,6 +2224,7 @@ class CallProgressComponent {
2224
2224
  });
2225
2225
  this.callData = { ...this.callData, participantId: this.addRes?.participantId };
2226
2226
  this.call['callInfo'] = JSON.parse(JSON.stringify(this.callData));
2227
+ console.log('test111111');
2227
2228
  this.currentCallList.push(callData);
2228
2229
  console.log('Initial participantId:', this.addRes?.participantId);
2229
2230
  }
@@ -2543,6 +2544,7 @@ class CallProgressComponent {
2543
2544
  participantId: data?.participantId,
2544
2545
  };
2545
2546
  console.log(this.callData, 'this.callData');
2547
+ console.log('test111111');
2546
2548
  this.currentCallList.push(this.callData);
2547
2549
  console.log("Participant added to conference:", phoneNumber);
2548
2550
  this.showRingAnimation = false;
@@ -3141,7 +3143,7 @@ class DialboxComponent {
3141
3143
  console.log("WS Event Received:", incomingCallData);
3142
3144
  console.log("WS Event Received:", incomingCallData.data);
3143
3145
  this.twilioService.conferenceName = incomingCallData.conferenceName;
3144
- let participants = incomingCallData.participants.length > 0 ? incomingCallData.participants.filter((item) => !item.isLeft) : [];
3146
+ let participants = incomingCallData?.participants?.length > 0 ? incomingCallData.participants.filter((item) => !item.isLeft) : [];
3145
3147
  if (participants.length > 0) {
3146
3148
  // this.showIncomingCallPopup(incoming, data/
3147
3149
  this.isCallInProgress = true;