Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #21 in AOLP_ADS_JS/prebid.js from release/1.0.6 to…
Browse files Browse the repository at this point in the history
… master

* commit '8d3bf4dfde3f6fbf456c336dd0e75132f9c203de':
  Version bumped to 1.0.6
  Limit action ID max digits to 18, in order to prevent value exceeding 64 bits.
  • Loading branch information
marian-r committed Sep 1, 2016
2 parents 08d50c0 + 8d3bf4d commit 5d0c788
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
AOL Prebid 1.0.6
----------------
BUGFIX: Ensure that auctionId never exceeds max 64 bit value. Limit length to 18 digits.


AOL Prebid 1.0.5
----------------
BUGFIX: Ensure that an event is logged in the case when there are no bids from the DSPs.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aol-container-tag",
"version": "1.0.5",
"version": "1.0.6",
"description": "AOL Header Bidding Container Tag Library",
"main": "src/prebid.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/adapters/analytics/aol.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function generateAuctionId(placementId) {
placementId +
// Random number, 5 digits at the time of development.
Math.floor(Math.random() * 100000)
).substr(0, 19); // Limit to 19 digits so it doesn't exceed the LONG type.
).substr(0, 18); // Limit to 18 digits so it doesn't exceed the LONG type.
}

function getBidderId(bidderCode) {
Expand Down

0 comments on commit 5d0c788

Please sign in to comment.