@exotel-npm-dev/webrtc-client-sdk 1.0.18 → 1.0.19

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.
package/Changelog CHANGED
@@ -1,6 +1,6 @@
1
1
  Change Log
2
2
 
3
- ## v1.0.18 08 January, 2025
3
+ ## v1.0.19 09 January, 2025
4
4
  -[VST-865] Added option in websdk to select the codec preference
5
5
 
6
6
  ## v1.0.16 21 November, 2024
package/dist/exotelsdk.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * WebRTC CLient SIP version 1.0.18
3
+ * WebRTC CLient SIP version 1.0.19
4
4
  *
5
5
  */
6
6
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -23560,7 +23560,7 @@ var logger = _exotel_npm_dev_webrtc_core_sdk__WEBPACK_IMPORTED_MODULE_0__.webrtc
23560
23560
  * @param {*} sipAccountInfo
23561
23561
  * @param {*} exWebClient
23562
23562
  */
23563
- function DoRegister(sipAccountInfo, exWebClient) {
23563
+ function DoRegister(sipAccountInfo, exWebClient, delay = 500) {
23564
23564
  /**
23565
23565
  * When user registers the agent phone for the first time, register your callback onto webrtc client
23566
23566
  */
@@ -23579,7 +23579,7 @@ function DoRegister(sipAccountInfo, exWebClient) {
23579
23579
  sipAccountInfo.accountSid,
23580
23580
  //accountSid
23581
23581
  '', sipAccountInfo); // subscriberToken
23582
- }, 500);
23582
+ }, delay);
23583
23583
  } catch (e) {
23584
23584
  logger.log("Register failed ", e);
23585
23585
  }
@@ -24248,7 +24248,7 @@ class ExotelWebClient {
24248
24248
  }
24249
24249
  if (this.shouldAutoRetry) {
24250
24250
  logger.log("ExWebClient:registerEventCallback Autoretrying");
24251
- (0,_api_registerAPI_RegisterListener__WEBPACK_IMPORTED_MODULE_1__.DoRegister)(this.sipAccountInfo, this);
24251
+ (0,_api_registerAPI_RegisterListener__WEBPACK_IMPORTED_MODULE_1__.DoRegister)(this.sipAccountInfo, this, 5000);
24252
24252
  }
24253
24253
  } else if (event === "sent_request") {
24254
24254
  /**