Skip to content

Commit

Permalink
Merge pull request #531 from PubMatic/openwrap_8_43_0_20240416123107
Browse files Browse the repository at this point in the history
Prebid upgrade 8.43
  • Loading branch information
kapil-tuptewar authored Jun 3, 2024
2 parents d0818b8 + 47a4c47 commit 8866713
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions init-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ then
exit 1
fi

OpenWrapNodeModules="${GLOBAL_OPENWRAP_PKG_JSON_DIR_V8_43}/node_modules/"

OpenWrapNodeModules="${GLOBAL_OPENWRAP_PKG_JSON_DIR_V8_43_0}/node_modules/"

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

PrebidJSNodeModules="${GLOBAL_PREBID_PKG_JSON_DIR_V8_43}/node_modules/"

PrebidJSNodeModules="${GLOBAL_PREBID_PKG_JSON_DIR_V8_43_0}/node_modules/"


symLinkForPrebidNodeModules=node_modules
if [ -L $symLinkForPrebidNodeModules ]; then
Expand Down
4 changes: 2 additions & 2 deletions src_new/adapters/prebid.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ function generatedKeyCallbackForPbAnalytics(adapterID, adUnits, adapterConfig, i
divID = currentSlot.getDivID();
code = currentSlot.getDivID();
sizes = currentSlot.getSizes();
adUnitId = currentSlot.getAdUnitID();
owAdUnitId = currentSlot.getAdUnitID();

/* istanbul ignore else */
var adUnitConfig = util.getAdUnitConfig(sizes, currentSlot);
Expand All @@ -416,7 +416,7 @@ function generatedKeyCallbackForPbAnalytics(adapterID, adUnits, adapterConfig, i
code: code,
mediaTypes:{} ,
sizes: sizes,
adUnitId:adUnitId,
owAdUnitId: owAdUnitId,
bids: [],
divID : divID
};
Expand Down
2 changes: 1 addition & 1 deletion test/adapters/prebid.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1803,7 +1803,7 @@ describe('ADAPTER: Prebid', function() {
var expectedResult = {};
var defaultAliases = {
adg: "adgeneration",
districtm: "appnexus",
districtm: "appnexus",
districtmDMX: "dmx",
pubmatic2: "pubmatic"
};
Expand Down

0 comments on commit 8866713

Please sign in to comment.