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

Add isLoaded states, clearCache export #92

Merged
merged 6 commits into from
Sep 13, 2023
Merged

Add isLoaded states, clearCache export #92

merged 6 commits into from
Sep 13, 2023

Conversation

rygine
Copy link
Collaborator

@rygine rygine commented Sep 12, 2023

This PR does the following:

  • Add isLoaded state to the useMessages and useConversations hooks
  • Add clearCache to exports
  • Minor refactor of useStartConversation hook to export conversation when no initial message is sent
  • Use the client's wallet address to access all cached conversations

@rygine rygine requested a review from a team September 12, 2023 18:13
@changeset-bot
Copy link

changeset-bot bot commented Sep 12, 2023

🦋 Changeset detected

Latest commit: f2b597c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@xmtp/react-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rygine rygine requested a review from jhaaaa as a code owner September 12, 2023 18:14
daria-github
daria-github previously approved these changes Sep 12, 2023
daria-github
daria-github previously approved these changes Sep 12, 2023
@rygine rygine merged commit 04585d6 into main Sep 13, 2023
4 checks passed
@rygine rygine deleted the rygine/sdk-updates branch September 13, 2023 16:26
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