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

DIA-2622 add usnat to /messages #513

Merged

Conversation

andresilveirah
Copy link
Member

@andresilveirah andresilveirah commented Nov 6, 2023

  • extracted CampaignConsent and LastMessageData to their own files
  • refactored the way we handle consent data coming from the /messages response moving the logic to convenience inits of SPCCPAConsent, SPGDPRConsent and (newly created) SPUSNatConsent
  • added a custom matcher to test SPDates in a more convenient way
  • updated SPUSNatConsent with more consent data attributes
  • added usnat campaign type
  • added usnat to /messages request and response
  • update state.usnat on /messages' response

@andresilveirah andresilveirah changed the base branch from develop to DIA-2030_add_support_to_usnat November 6, 2023 15:28
state.ccpa?.webConsentPayload = $0.webConsentPayload
state.ccpa?.GPPData = consents.GPPData
default: break
}
Copy link
Member Author

Choose a reason for hiding this comment

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

The logic above moved to each of the consent classes convenience methods.

@andresilveirah andresilveirah mentioned this pull request Nov 6, 2023
15 tasks
@andresilveirah andresilveirah marked this pull request as ready for review November 6, 2023 15:43
@andresilveirah andresilveirah merged commit cba51e1 into DIA-2030_add_support_to_usnat Nov 7, 2023
@andresilveirah andresilveirah deleted the DIA-2622_add_usnat_to_messages branch November 7, 2023 14:15
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.

2 participants