-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Sovrn adapter updates: schain, digitrust, pixel syncing, and 3.0 upgrades #4385
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
Sovrn adapter updates: schain, digitrust, pixel syncing, and 3.0 upgrades #4385
Conversation
Update Sovrn Master
addressing backwards-compatibility issue discussed on #4376. still not sure if anything has to change with pixel syncing implementation? |
expect(returnStatement).to.be.empty; | ||
}); | ||
|
||
it.only('should include pixel syncs', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be reverted to it(...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, sorry about that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please take a look at the feedback below and make the requested updates?
In addition, can you please remove the package-lock.json changes?
Thanks.
modules/sovrnBidAdapter.js
Outdated
const el = document.createElement('a'); | ||
el.href = page; | ||
const domain = el.hostname; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of doing this (which isn't really ideal), can you use the parse
function from the url.js
file to read the page
variable; it'll provide the hostname
in the returned object.
@@ -73,7 +76,7 @@ describe('sovrnBidAdapter', function() { | |||
expect(payload.imp[0].banner.h).to.equal(1) | |||
}) | |||
|
|||
it('accepts a single array as a size', function() { | |||
it('accepts a single array as a size', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please change this back to function() {
here (and in other parts of the test file)? We want to keep it this style to better conform for Mocha.
3b2e522
to
5cab28c
Compare
Type of change
Description of change
Sovrn bid adapter changes:
Added forwarding of schain and digitrust ID's to bid request
Supporting pixel syncing fro bid responses
Prebid.js 3.0 compliance updates
contact email of the adapter’s maintainer: [email protected]
official adapter submission