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

♻️ ✨ Refactored publish library + Introduced AuthorizationDisruption message #7

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

yoan-myparcel
Copy link
Member

What's new?

Major refactoring:

  • publisher now works with single object as input of type Message
  • Sns library renamed to Publish since it works not only with SNS
  • changed the structure of the payload message to include a type as well
  • Separated the publish input into separate classes: PaymentSuccessful and PaymentFailed

New:

  • Added new message type AuthorizationDisruption for when a shop authorization fails (for example when refresh token fails and we have to disconnect the shop).

✨ Introduced AuthorizationDisruption message
@yoan-myparcel yoan-myparcel force-pushed the feature/authorization-disruption-event branch from 08c1394 to ada36a3 Compare February 2, 2024 12:11
@M4tini M4tini merged commit d03227b into master Feb 2, 2024
1 check passed
@M4tini M4tini deleted the feature/authorization-disruption-event branch February 2, 2024 13:59
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