@opentok/client 2.32.0-alpha.10 → 2.32.0-alpha.11

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.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license OpenTok.js 2.32.0 13668e07a
2
+ * @license OpenTok.js 2.32.0 2f8808a21
3
3
  *
4
4
  * Copyright (c) 2010-2025 TokBox, Inc.
5
5
  * Subject to the applicable Software Development Kit (SDK) License Agreement:
6
6
  * https://www.vonage.com/legal/communications-apis/terms-of-use/
7
7
  *
8
- * Date: Thu, 16 Oct 2025 11:10:02 GMT
8
+ * Date: Thu, 16 Oct 2025 12:53:44 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8550,7 +8550,7 @@ function staticConfigFactory(_temp) {
8550
8550
  _ref$axios = _ref.axios,
8551
8551
  axios = _ref$axios === void 0 ? _axios.default : _ref$axios,
8552
8552
  _ref$properties = _ref.properties,
8553
- properties = _ref$properties === void 0 ? {"version":"v2.32.0","buildHash":"13668e07a","minimumVersion":{"firefox":52,"chrome":49},"debug":false,"websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com","vonageApiURL":""} : _ref$properties;
8553
+ properties = _ref$properties === void 0 ? {"version":"v2.32.0","buildHash":"2f8808a21","minimumVersion":{"firefox":52,"chrome":49},"debug":false,"websiteURL":"http://www.tokbox.com","configURL":"https://config.opentok.com","ipWhitelistConfigURL":"","cdnURL":"","loggingURL":"https://hlg.tokbox.com/prod","apiURL":"https://anvil.opentok.com","vonageApiURL":""} : _ref$properties;
8554
8554
  /** @type builtInConfig */
8555
8555
  const builtInConfig = (0, _cloneDeep.default)(properties);
8556
8556
  /**
@@ -45918,6 +45918,7 @@ function SessionFactory(deps) {
45918
45918
  this.logEvent('Migrate', 'Attempt');
45919
45919
  const onSessionInfo = sessionInfo => {
45920
45920
  const currentMessagingUrl = _messagingUrl;
45921
+ const currentSocket = _sockets[currentMessagingUrl];
45921
45922
  analytics.sessionInfo = sessionInfo;
45922
45923
  setSessionInfo(sessionInfo);
45923
45924
  connectMessenger.call(this);
@@ -45927,9 +45928,8 @@ function SessionFactory(deps) {
45927
45928
  this._singlePeerConnectionController = new SinglePeerConnectionController(this);
45928
45929
  }
45929
45930
  setTimeout(() => {
45930
- var _sockets$currentMessa;
45931
45931
  // Disconnect old Rumor
45932
- (_sockets$currentMessa = _sockets[currentMessagingUrl]) == null ? void 0 : _sockets$currentMessa.disconnect();
45932
+ currentSocket == null ? void 0 : currentSocket.disconnect();
45933
45933
  delete _sockets[currentMessagingUrl];
45934
45934
 
45935
45935
  // Disconnect previous publisher and subcribers