Skip to content

Conversation

@krzysztofequativ
Copy link

No description provided.

@github-actions
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

const STR_ENDPOINT = `https://btlr.sharethrough.com/universal/v1?supply_id=${SUPPLY_ID}`;
const IDENTIFIER_PREFIX = 'Sharethrough:';

let impIdMap = {};
Copy link

@ksieg-equativ ksieg-equativ May 23, 2025

Choose a reason for hiding this comment

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

It should be const, no?

Copy link
Author

Choose a reason for hiding this comment

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

fixed

const propertiesToConsider = [
'api', 'battr', 'companionad', 'companiontype', 'delivery', 'linearity', 'maxduration', 'mimes', 'minduration', 'placement', 'playbackmethod', 'plcmt', 'protocols', 'skip', 'skipafter', 'skipmin', 'startdelay'
]
let propertiesToConsider = [

Choose a reason for hiding this comment

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

It should be const

const IDENTIFIER_PREFIX = 'Sharethrough:';

let impIdMap = {};
let isEqtTest = null;

Choose a reason for hiding this comment

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

Maybe we could consider to rename it into isEqtvTest to keep consistency with out custom header - X-Eqtv-Debug?

topframe: inIframe() ? 0 : 1,
format: bidReq.sizes.map((size) => ({ w: +size[0], h: +size[1] })),
};
const battr = deepAccess(bidReq, 'mediaTypes.banner.battr', null) || deepAccess(bidReq, 'ortb2Imp.banner.battr')

Choose a reason for hiding this comment

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

Please add semicolon also for this line

@github-actions
Copy link

github-actions bot commented Jun 9, 2025

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link

github-actions bot commented Jun 9, 2025

Tread carefully! This PR adds 1 linter error (possibly disabled through directives):

  • modules/equativBidAdapter.js (+1 error)

@github-actions
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link

Tread carefully! This PR adds 1 linter warning (possibly disabled through directives):

  • libraries/equativUtils/equativUtils.js (+1 warning)

@ksieg-equativ ksieg-equativ merged commit 68daf33 into master Jun 24, 2025
4 of 5 checks passed
krzysztofequativ pushed a commit that referenced this pull request Nov 19, 2025
* AGT685: Remove device info logic (#42)

* AGT-680: Don't send gam in browserBlacklist (#44)

* AGT-680: Dont send gam in browserBlacklist

* AGT-680: fix commas

* Agt 682 implementation for module (#45)

* add GAM prediction

* Update version number, add tests, update documentation

* Fix property name

* refactor export file

* fix import typo

* remove GAM prediction  flag

* extend GAM prediction documentation

* fix configuration name in documentation

* Agt 698 module config changes (#46)

* move analytic related params to analytic adapter

* Move back Maintainer section

---------

Co-authored-by: dmytro-po <dmytro.po@intentiq.com>
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