Skip to content

Commit

Permalink
Merge pull request #545 from PubMatic/prebid_9_6_0
Browse files Browse the repository at this point in the history
Prebid upgrade 9.6.0
  • Loading branch information
pm-priyanka-deshmane authored Aug 19, 2024
2 parents aeb02d2 + 8155281 commit c3f1a77
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ then
exit 1
fi

OpenWrapNodeModules="${GLOBAL_OPENWRAP_PKG_JSON_DIR_V8_52_0}/node_modules/"
OpenWrapNodeModules="${GLOBAL_OPENWRAP_PKG_JSON_DIR_V9_6_0}/node_modules/"

function prebidNpmInstall() {
echo "This is SymLinking Start"
cd $1


PrebidJSNodeModules="${GLOBAL_PREBID_PKG_JSON_DIR_V8_52_0}/node_modules/"
PrebidJSNodeModules="${GLOBAL_PREBID_PKG_JSON_DIR_V9_6_0}/node_modules/"

symLinkForPrebidNodeModules=node_modules
if [ -L $symLinkForPrebidNodeModules ]; then
Expand Down
3 changes: 3 additions & 0 deletions src_new/adapters/prebid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1472,6 +1472,9 @@ function fetchBids(activeSlots){
window[pbNameSpace].addAdUnits(adUnitsArray);
window[pbNameSpace].requestBids({
bidsBackHandler: function(bidResponses){
if(util.isFunction(window[pbNameSpace].setPAAPIConfigForGPT) && typeof window[pbNameSpace].setPAAPIConfigForGPT == "function"){
window[pbNameSpace].setPAAPIConfigForGPT();
};
refThis.pbjsBidsBackHandler(bidResponses, activeSlots);
},
timeout: CONFIG.getTimeout() - CONSTANTS.CONFIG.TIMEOUT_ADJUSTMENT
Expand Down
1 change: 1 addition & 0 deletions src_new/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ exports.isReduceCodeSizeFeatureEnabled = function(){
return parseInt(config[CONSTANTS.CONFIG.COMMON][CONSTANTS.COMMON.REDUCE_CODE_SIZE]) === 1;
};
// endRemoveIf(removeAlways)

exports.getPriceGranularity = function(){
return config[CONSTANTS.CONFIG.COMMON][CONSTANTS.COMMON.PRICE_GRANULARITY] || null;
};
Expand Down

0 comments on commit c3f1a77

Please sign in to comment.