@vgroup/dialbox 0.2.27 → 0.2.29

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.
@@ -89,7 +89,6 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
89
89
  pollCallStatus(callAuthId: string): void;
90
90
  getUserInformation(id: any): void;
91
91
  incomingCallsNewList(data: any): void;
92
- trackByCallSid(index: number, item: any): any;
93
92
  selectedIncomingCallInfo(data: any): void;
94
93
  ngOnDestroy(): void;
95
94
  static ɵfac: i0.ɵɵFactoryDeclaration<CallProgressComponent, never>;
@@ -80,7 +80,20 @@ export declare class ExtensionService {
80
80
  deleteCallerID(token: string, dtModel: any, id: any): Observable<[]>;
81
81
  deregisterCallerID(token: string, dtModel: any, id: any): Observable<[]>;
82
82
  updateCallerIDLabel(token: string, dtModel: any): Observable<[]>;
83
- initiateCall(payload: any): Observable<any>;
83
+ /**
84
+ * Initiates a normal & a conference call in parallel.
85
+ * The method performs three steps:
86
+ * 1. Load black-listed countries & current IP info in parallel.
87
+ * 2. Abort early if the caller is from a blocked country.
88
+ * 3. Fire both call-initiation APIs together and return both responses.
89
+ *
90
+ * It guarantees that:
91
+ * • Both HTTP requests are always attempted.
92
+ * • Failure of one request does not cancel the other – the error is
93
+ * returned alongside the success response so that the component can
94
+ * decide what to do.
95
+ */
96
+ initiateCall(payload: any): Observable<[any, any]>;
84
97
  getConferenceCallToken(payload: any): Observable<[]>;
85
98
  addFirstParticipant(payload: any): Observable<[]>;
86
99
  addParticipant(payload: any): Observable<[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vgroup/dialbox",
3
- "version": "0.2.27",
3
+ "version": "0.2.29",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",