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

Make allow and deny awaitable #179

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Make allow and deny awaitable #179

merged 1 commit into from
Dec 15, 2023

Conversation

nplasterer
Copy link
Contributor

Right now methods client.contacts.allow(addresses) & client.contacts.deny(addresses) are not awaitable
To provide a good experience we need to know if we updated the consent state successfully in the protocol, would it be possible to make them awaitable and return only if the protocol state was successfully updated?

@nplasterer nplasterer self-assigned this Dec 14, 2023
@nplasterer nplasterer marked this pull request as ready for review December 14, 2023 15:29
@nplasterer nplasterer requested a review from a team as a code owner December 14, 2023 15:29
@cameronvoell cameronvoell self-requested a review December 15, 2023 14:56
Copy link
Contributor

@cameronvoell cameronvoell left a comment

Choose a reason for hiding this comment

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

LGTM!

@nplasterer nplasterer merged commit ad6055b into main Dec 15, 2023
4 of 5 checks passed
@nplasterer nplasterer deleted the np/consent-return branch December 15, 2023 16:19
Copy link
Contributor

🎉 This PR is included in version 1.22.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants