@opentok/client 2.29.3-alpha.3 → 2.29.3-alpha.4

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.29.3 2987cdf
2
+ * @license OpenTok.js 2.29.3 ae1c14b
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: Fri, 14 Mar 2025 14:41:36 GMT
8
+ * Date: Wed, 19 Mar 2025 18:33:55 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8672,7 +8672,7 @@ const logging = (0, _log.default)('StaticConfig');
8672
8672
  */
8673
8673
 
8674
8674
  /** @type builtInConfig */
8675
- const builtInConfig = (0, _cloneDeep.default)({"version":"v2.29.3","buildHash":"2987cdf","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"});
8675
+ const builtInConfig = (0, _cloneDeep.default)({"version":"v2.29.3","buildHash":"ae1c14b","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"});
8676
8676
  const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
8677
8677
  const liveConfigMap = {
8678
8678
  apiUrl: 'apiURL',
@@ -21628,6 +21628,9 @@ function PublisherFactory(_ref) {
21628
21628
  finishMigration: () => {
21629
21629
  clearTimeout(_migrationTimeoutId);
21630
21630
  if (_previousPeerConnection) {
21631
+ const _getPeerConnectionMet7 = getPeerConnectionMeta(_previousPeerConnection),
21632
+ peerConnectionId = _getPeerConnectionMet7.peerConnectionId;
21633
+ delete peerConnectionsAsync[peerConnectionId];
21631
21634
  _previousPeerConnection.off('iceConnectionStateChange');
21632
21635
  _previousPeerConnection.destroy();
21633
21636
  _previousPeerConnection = null;
@@ -21729,8 +21732,8 @@ function PublisherFactory(_ref) {
21729
21732
  }
21730
21733
  getAllPeerConnections().then(peerConnections => {
21731
21734
  peerConnections.forEach(peerConnection => {
21732
- const _getPeerConnectionMet7 = getPeerConnectionMeta(peerConnection),
21733
- remoteConnectionId = _getPeerConnectionMet7.remoteConnectionId;
21735
+ const _getPeerConnectionMet8 = getPeerConnectionMeta(peerConnection),
21736
+ remoteConnectionId = _getPeerConnectionMet8.remoteConnectionId;
21734
21737
  logRepublish('Attempt', {
21735
21738
  remoteConnectionId
21736
21739
  });