@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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -73774,7 +73774,8 @@ var BradmaxMediaElement = /*#__PURE__*/ function(GenericMediaElement) {
|
|
73774
73774
|
var _this = this;
|
73775
73775
|
var _this_instance;
|
73776
73776
|
var videoElement = (_this_instance = this.instance) === null || _this_instance === void 0 ? void 0 : _this_instance.videoElementsManager.videoElementsInUse.find(function(videoElement2) {
|
73777
|
-
|
73777
|
+
var _videoElement2_contextMediaSource;
|
73778
|
+
return ((_videoElement2_contextMediaSource = videoElement2.contextMediaSource) === null || _videoElement2_contextMediaSource === void 0 ? void 0 : _videoElement2_contextMediaSource.url) === _this.source;
|
73778
73779
|
});
|
73779
73780
|
if (videoElement) {
|
73780
73781
|
return videoElement.element;
|
@@ -82748,7 +82749,7 @@ var Ads = /*#__PURE__*/ function() {
|
|
82748
82749
|
"use strict";
|
82749
82750
|
function Ads(context) {
|
82750
82751
|
_class_call_check(this, Ads);
|
82751
|
-
this.handlePageMutation = functions_default.debounce(this.handlePageMutation.bind(this),
|
82752
|
+
this.handlePageMutation = functions_default.debounce(this.handlePageMutation.bind(this), 1e3);
|
82752
82753
|
this.context = context;
|
82753
82754
|
this.videoAds = new VideoAds(this.context);
|
82754
82755
|
this.staticAds = new StaticAds(this.context);
|