@brndts/brndts-ads 1.13.21 → 1.13.22
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 +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -70512,10 +70512,11 @@ var PrebidjsProvider = /*#__PURE__*/ function(ContentProvider1) {
|
|
70512
70512
|
key: "request",
|
70513
70513
|
value: function request(params) {
|
70514
70514
|
return _async_to_generator(function() {
|
70515
|
-
var adType, adName, regionId, regionInfo;
|
70515
|
+
var _this, adType, adName, regionId, regionInfo;
|
70516
70516
|
return _ts_generator(this, function(_state) {
|
70517
70517
|
switch(_state.label){
|
70518
70518
|
case 0:
|
70519
|
+
_this = this;
|
70519
70520
|
return [
|
70520
70521
|
4,
|
70521
70522
|
this.ready.promise
|
@@ -70554,6 +70555,10 @@ var PrebidjsProvider = /*#__PURE__*/ function(ContentProvider1) {
|
|
70554
70555
|
case 2:
|
70555
70556
|
_state.sent();
|
70556
70557
|
this.processBids(params, {});
|
70558
|
+
PrebidJS.defineSlot(this.options, regionId, params.params.regionId, adType);
|
70559
|
+
PrebidJS.request(regionId, params.params.regionId, function(bids) {
|
70560
|
+
return _this.processBids(params, bids);
|
70561
|
+
});
|
70557
70562
|
return [
|
70558
70563
|
2,
|
70559
70564
|
Promise.resolve()
|