@brndts/brndts-ads 1.13.7 → 1.13.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.
package/dist/index.js CHANGED
@@ -73699,7 +73699,8 @@ var BradmaxMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
73699
73699
  var _this = this;
73700
73700
  var _this_instance;
73701
73701
  var videoElement = (_this_instance = this.instance) === null || _this_instance === void 0 ? void 0 : _this_instance.videoElementsManager.videoElementsInUse.find(function(videoElement2) {
73702
- return videoElement2.contextMediaSource.url === _this.source;
73702
+ var _videoElement2_contextMediaSource;
73703
+ return ((_videoElement2_contextMediaSource = videoElement2.contextMediaSource) === null || _videoElement2_contextMediaSource === void 0 ? void 0 : _videoElement2_contextMediaSource.url) === _this.source;
73703
73704
  });
73704
73705
  if (videoElement) {
73705
73706
  return videoElement.element;
@@ -82617,7 +82618,7 @@ var VideoAds = /*#__PURE__*/ function() {
82617
82618
  var Ads = /*#__PURE__*/ function() {
82618
82619
  function Ads(context) {
82619
82620
  _class_call_check(this, Ads);
82620
- this.handlePageMutation = functions_default.debounce(this.handlePageMutation.bind(this), 100);
82621
+ this.handlePageMutation = functions_default.debounce(this.handlePageMutation.bind(this), 1e3);
82621
82622
  this.context = context;
82622
82623
  this.videoAds = new VideoAds(this.context);
82623
82624
  this.staticAds = new StaticAds(this.context);