@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.js
CHANGED
@@ -70462,10 +70462,11 @@ var PrebidjsProvider = /*#__PURE__*/ function(ContentProvider1) {
|
|
70462
70462
|
key: "request",
|
70463
70463
|
value: function request(params) {
|
70464
70464
|
return _async_to_generator(function() {
|
70465
|
-
var adType, adName, regionId, regionInfo;
|
70465
|
+
var _this, adType, adName, regionId, regionInfo;
|
70466
70466
|
return _ts_generator(this, function(_state) {
|
70467
70467
|
switch(_state.label){
|
70468
70468
|
case 0:
|
70469
|
+
_this = this;
|
70469
70470
|
return [
|
70470
70471
|
4,
|
70471
70472
|
this.ready.promise
|
@@ -70504,6 +70505,10 @@ var PrebidjsProvider = /*#__PURE__*/ function(ContentProvider1) {
|
|
70504
70505
|
case 2:
|
70505
70506
|
_state.sent();
|
70506
70507
|
this.processBids(params, {});
|
70508
|
+
PrebidJS.defineSlot(this.options, regionId, params.params.regionId, adType);
|
70509
|
+
PrebidJS.request(regionId, params.params.regionId, function(bids) {
|
70510
|
+
return _this.processBids(params, bids);
|
70511
|
+
});
|
70507
70512
|
return [
|
70508
70513
|
2,
|
70509
70514
|
Promise.resolve()
|