@vgroup/dialbox 0.0.83 → 0.0.84

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.
@@ -60,8 +60,6 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
60
60
  incomingCallsList: any;
61
61
  newIncomingCallData?: Call;
62
62
  private subscriptions;
63
- private tokenCheckInterval;
64
- private twilioInitializationInterval;
65
63
  callPreference: any;
66
64
  shakeDedicatedBtn: boolean;
67
65
  isSmartDialCall: boolean;
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
- import { Call } from '@twilio/voice-sdk';
3
2
  import { BehaviorSubject, Observable } from 'rxjs';
3
+ import { Call } from '@twilio/voice-sdk';
4
4
  import { ExtensionService } from './extension.service';
5
5
  import { NotificationService } from './Notification.service';
6
6
  import * as i0 from "@angular/core";
@@ -36,14 +36,12 @@ export declare class TwilioService {
36
36
  isAvailableNumber: BehaviorSubject<boolean>;
37
37
  callerIdList: BehaviorSubject<any[]>;
38
38
  triggerSMSReload: BehaviorSubject<boolean>;
39
- private deviceInitialized;
40
- private initializationInProgress;
41
- private tokenCheckInterval;
39
+ private tokenInitialized;
40
+ private tokenInitialization$;
42
41
  constructor(http: HttpClient, extensionService: ExtensionService, notificationSerivce: NotificationService);
43
- private startTokenCheck;
44
- ngOnDestroy(): void;
42
+ private initializeToken;
45
43
  initializeTwilioDevice(): void;
46
- private setupDeviceEventHandlers;
44
+ private initializeDevice;
47
45
  saveContact(payload: any): Observable<[]>;
48
46
  updateContact(payload: any): Observable<[]>;
49
47
  deleteContact(id: string): Observable<[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vgroup/dialbox",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",