@vgroup/dialbox 0.4.113 → 0.4.115

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.
@@ -3,11 +3,13 @@ import { Call, Device } from '@twilio/voice-sdk';
3
3
  import { ExtensionService } from '../../service/extension.service';
4
4
  import { TwilioService } from '../../service/twilio.service';
5
5
  import { Subscription } from 'rxjs';
6
+ import { IncomeingCallSocketService } from '../../service/incomeing-call-socket.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class CallProgressComponent implements OnInit, OnChanges, AfterViewInit {
8
9
  private extensionService;
9
10
  private cdr;
10
11
  private twilioService;
12
+ private incomeingCallSocketService;
11
13
  callData: any;
12
14
  selectedCallerId: any;
13
15
  newIncomingCallData?: Call;
@@ -64,13 +66,10 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
64
66
  filteredParticipentList: any;
65
67
  showButton: boolean;
66
68
  isRinging: boolean;
67
- audioURL: any;
68
- incomingAudio: HTMLAudioElement;
69
- constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef, twilioService: TwilioService);
69
+ constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef, twilioService: TwilioService, incomeingCallSocketService: IncomeingCallSocketService);
70
70
  ngOnInit(): void;
71
71
  ngOnChanges(changes: SimpleChanges): void;
72
72
  getStatus(res: any): boolean;
73
- private createAudioFromBase64;
74
73
  ngAfterViewInit(): void;
75
74
  GetContactsList(): void;
76
75
  addRes: any;
@@ -1,9 +1,14 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class IncomeingCallSocketService {
4
+ incomingAudio: HTMLAudioElement;
4
5
  private socket?;
5
6
  private eventSubject;
6
7
  connect(): void;
8
+ createAudioBase(): void;
9
+ private createAudioFromBase64;
10
+ play(): boolean;
11
+ pause(): boolean;
7
12
  listen(): Observable<any>;
8
13
  static ɵfac: i0.ɵɵFactoryDeclaration<IncomeingCallSocketService, never>;
9
14
  static ɵprov: i0.ɵɵInjectableDeclaration<IncomeingCallSocketService>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vgroup/dialbox",
3
- "version": "0.4.113",
3
+ "version": "0.4.115",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",