@vgroup/dialbox 0.8.17 → 0.8.18

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.
@@ -62,23 +62,23 @@ const keypad = [
62
62
  ];
63
63
 
64
64
  const environment = {
65
- abb: "p",
66
- production: true,
65
+ abb: "d",
66
+ production: false,
67
67
  secureCookies: true,
68
- feUrl: 'https://app-phone.contexttocall.com/',
69
- apiUrl: 'https://phone-api.contexttocall.com/softphone/',
70
- websocketUrl: 'wss://phone-api.contexttocall.com/softphone/',
68
+ feUrl: 'https://dev.vgroupinc.com:91/',
69
+ apiUrl: 'https://dev-api-t10.vgroupinc.com/dev_softphone_p91',
70
+ websocketUrl: 'wss://dev-api-t10.vgroupinc.com/dev_softphone_p91/',
71
71
  captchaKey: "6LfpOmEaAAAAAGsI6JXlMzOl3b7rW4YmYXFDjldD",
72
- stripePublishableKey: "pk_live_51OV9NYDjRTFWP7oMLrrgaWxCUp4nzeuwdDCCPjvwH7z6oDYUTierhavGMxBa411U0O27Yn24te7Hb43WFDwg2U7N00qbQUzTi6",
72
+ stripePublishableKey: "pk_test_51K6aTuBiNVV2TMlQfmBWY8jziwiDo0IZ3TrqWPqth1m32cpMAAg5Qpi2AlSMDEAX6hCZRBXoTzBB1uQQLc8B4tco00q2SgG6zO",
73
73
  sessionTimeout: 15,
74
74
  deviceType: "web",
75
- appVersion: "3.2",
76
- channelId: '6511738039ee10367cbde2e9',
75
+ appVersion: "2.3",
76
+ channelId: '61481b12e138eb7dc3007579',
77
77
  c2c_support_point_id: '60424735f74ac306c1bfa900',
78
- c2c_support_channel_id: '67783949be93ab03faf8eea6',
79
- c2c_point_url: 'https://bit.ly/3blWnPv',
80
- c2c_call_label_id: 'Bn78kjz6sSottXSHgqMt',
81
- c2c_email_label_id: 'UkNer4LgzXCfFlh8u909',
78
+ c2c_support_channel_id: '677f67f3be93ab507fbbfdfc',
79
+ c2c_point_url: 'https://app.contexttocall.com/assets/cdn/c2c.js',
80
+ c2c_call_label_id: 'ye2XFLfOHCr12GFVRzPh',
81
+ c2c_email_label_id: 'mvjVgOP2VCiYsVovQqdq',
82
82
  radarAPIKey: 'prj_live_sk_569b6f639edde6120a26f703511c61aaecd3f7ef',
83
83
  firebase: {
84
84
  apiKey: "AIzaSyCA8LSPrqlDq_thk26LhBQexAQeY6pkU5Y",
@@ -90,7 +90,10 @@ const environment = {
90
90
  measurementId: "G-NGXTSV9SH3",
91
91
  vapidKey: "BD6EgcQgbZTjOQfleG3YlEc0_SajB03prqTdDy-qGJkxTxezbq-A_qtuXE1l3yT47o8hnTAbTKBcH15D2AJB2To"
92
92
  },
93
- perspectiveApiKey: 'AIzaSyClf32lvLH4QOy-vOnzLzwSNntKIgapH8s'
93
+ perspectiveApiKey: 'AIzaSyClf32lvLH4QOy-vOnzLzwSNntKIgapH8s',
94
+ keycloakURL: 'https://test-keycloak.vgroupinc.com/',
95
+ keycloakRealm: 'vgroup-dev',
96
+ keycloakClientId: 'c2c-softphone-app'
94
97
  };
95
98
 
96
99
  class IpAddressService {
@@ -2796,9 +2799,10 @@ class CallProgressComponent {
2796
2799
  From: rejoinParticipentInfo.from,
2797
2800
  To: rejoinParticipentInfo.to,
2798
2801
  Env: environment.abb,
2799
- Token: rejoinParticipentInfo.conferenceId,
2802
+ Token: rejoinParticipentInfo.id,
2800
2803
  Ext: rejoinParticipentInfo.extNum,
2801
- conferenceId: rejoinParticipentInfo?.conferenceId
2804
+ conferenceId: rejoinParticipentInfo?.conferenceId,
2805
+ Name: rejoinParticipentInfo.toName || ''
2802
2806
  },
2803
2807
  rtcConstraints: { audio: { deviceId: 'default' } },
2804
2808
  });
@@ -3329,7 +3333,8 @@ class CallProgressComponent {
3329
3333
  To: callData.phone,
3330
3334
  Env: environment.abb,
3331
3335
  Token: token,
3332
- Ext: callData.extNum
3336
+ Ext: callData.extNum,
3337
+ Name: callData.name
3333
3338
  },
3334
3339
  rtcConstraints: { audio: true },
3335
3340
  });
@@ -5548,7 +5553,7 @@ class DialboxComponent {
5548
5553
  if (this.twilioService.incomingCallToken != this.updatedTwilioToken) {
5549
5554
  this.twilioService.incomingCallToken = this.updatedTwilioToken;
5550
5555
  this.twilioService.tokenInitialized = true;
5551
- this.twilioService.initializeTwilioDevice(localStorage.getItem('deviceId'));
5556
+ this.twilioService.initializeTwilioDevice(this.deviceId || localStorage.getItem('deviceId'));
5552
5557
  }
5553
5558
  }
5554
5559
  if (changes['userId']?.currentValue && this.userId) {