Skip to content

Core: Remove getStatusCode and statusMessage from bid object #13086

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

Open
wants to merge 2 commits into
base: prebid-10.0
Choose a base branch
from

Conversation

pm-komal-kumari
Copy link
Contributor

  • Other

Description of change

For the 12895 breaking changes / API cleanup, covered - remove bids' getStatusCode and statusMessage fields

The getStatusCode method consistently returns 1, and statusMessage is always 'Bid available', making both redundant. This change removes getStatusCode() and statusMessage from the Bid object. Consequently, the Bid() constructor and createBid() method in bidfactory no longer accept statusCode as a parameter.

Please go through your respective modules and accommodate these changes accordingly. For now, a constant fallback has been applied to ensure backward compatibility and prevent any runtime issues.

Other information

12895

Tagging maintainers :

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

…m Bid object and createBid

(cherry picked from commit a88e20c)
@patmmccann
Copy link
Collaborator

woohoo ty!

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.

3 participants