Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onetag update #5503

Merged
merged 13 commits into from
Jul 23, 2020
Merged

Onetag update #5503

merged 13 commits into from
Jul 23, 2020

Conversation

onetag-dev
Copy link
Contributor

Type of change

  • Bugfix
  • Feature

Description of change

Fixes some bugs. Adds field 'version' to requests.

@onetag-dev
Copy link
Contributor Author

Link to the docs PR:
prebid/prebid.github.io#2134

Copy link
Contributor

@musikele musikele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there, please see my comment regarding window.localStorage. Also, tomorrow will be my last day before going on vacation, so if you want this approved in time, try to fix it before tomorrow evening.

}
const payloadString = JSON.stringify(payload);
try {
if (window.localStorage) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prebid offers a storageManager class to deal with localStorage or cookies. check out, for example, bidder widespaceBidAdapter (https://github.com/prebid/Prebid.js/blob/master/modules/widespaceBidAdapter.js#L9) and how they use it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @musikele , we just pushed the requested changes. Hope you have time enough to review them before your holidays :)

@onetag-dev onetag-dev requested a review from musikele July 22, 2020 14:19
Copy link
Contributor

@musikele musikele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@musikele musikele merged commit 8786b06 into prebid:master Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants