@opentok/client 2.28.4-alpha.7 → 2.28.4-alpha.9

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.28.4 609c534
2
+ * @license OpenTok.js 2.28.4 dcfddc9
3
3
  *
4
4
  * Copyright (c) 2010-2024 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: Mon, 21 Oct 2024 17:27:15 GMT
8
+ * Date: Wed, 23 Oct 2024 20:03:13 GMT
9
9
  */
10
10
 
11
11
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -8070,7 +8070,7 @@ const logging = (0, _log.default)('StaticConfig');
8070
8070
  */
8071
8071
 
8072
8072
  /** @type builtInConfig */
8073
- const builtInConfig = (0, _cloneDeep.default)({"version":"v2.28.4","buildHash":"609c534","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"});
8073
+ const builtInConfig = (0, _cloneDeep.default)({"version":"v2.28.4","buildHash":"dcfddc9","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"});
8074
8074
  const whitelistAllowedRuntimeProperties = (0, _pick.default)(['apiURL', 'assetURL', 'cdnURL', 'sessionInfoOverrides', 'loggingURL']);
8075
8075
  const liveConfigMap = {
8076
8076
  apiUrl: 'apiURL',
@@ -20915,6 +20915,8 @@ function PublisherFactory(_ref) {
20915
20915
  const err = new Error(createErrorFromReason());
20916
20916
  this.trigger('publishComplete', otError(reason === 'mediaStopped' ? Errors.MEDIA_ENDED : Errors.CANCEL, err));
20917
20917
  }
20918
+ this.session = null;
20919
+ this.streamId = null;
20918
20920
  logAnalyticsEvent('unpublish', 'Success');
20919
20921
  this._.streamDestroyed(reason);
20920
20922
  return this;