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

Glimpse: update api and request shape, optimize and refactor #8237

Merged
merged 1 commit into from
Apr 4, 2022
Merged

Glimpse: update api and request shape, optimize and refactor #8237

merged 1 commit into from
Apr 4, 2022

Conversation

eddyu0
Copy link
Contributor

@eddyu0 eddyu0 commented Mar 30, 2022

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

  • Update Glimpse prebid api endpoint
  • Pass gvlid to storage manager for gdpr use cases
  • Include consent info in query params for better efficiency and privacy on the handling of user data
  • Update the request body shape to optimize the size of the request
  • update fpd shape and optimize fpd object
  • Add appendQueryParam and optimizeObject util functions
  • Remove unnecessary util functions
  • Refactor and rename of some util functions for improved simplicity
  • Rename variables for clarity
  • Update jsdoc comments
  • Reformat the files
  • Update test spec: add fpd unit test and remove unnecessary tests

contact email of the adapter’s maintainer

Related PR on prebid.github.io

@eddyu0
Copy link
Contributor Author

eddyu0 commented Mar 30, 2022

After some digging, I've noticed that the reason why gulp lint is failing is probably because of the use of ?? operator in our bid adapter. The version of gulp-eslint used by Prebid currently is v4, which looking at its source code doesn't seem to support the ?? operator.

I'm wondering if Prebid can bump the version of gulp-eslint to a newer version to support new features in Javascript?

- Update Glimpse prebid api endpoint
- Pass gvlid to storage manager for gdpr use cases
- Include consent info in query params for better efficiency and privacy on the handling of user data
- Update the request body shape to optimize the size of the request
- update fpd shape and optimize fpd object
- Add appendQueryParam and optimizeObject util functions
- Remove unnecessary util functions
- Refactor and rename of some util functions for improved simplicity
- Rename variables for clarity
- Update jsdoc comments
- Reformat the files
- Update test spec: add fpd unit test and remove unnecessary tests
@eddyu0
Copy link
Contributor Author

eddyu0 commented Mar 30, 2022

I've made a change to replace all the ?? to || for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants