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 streamAllMessages to Conversations #622

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Conversation

rygine
Copy link
Collaborator

@rygine rygine commented Jun 12, 2024

Summary

  • Upgraded to latest node bindings
  • Added streamAllMessages to Conversations class
  • Added tests for streamAllMessages
  • Removed reference to Conversation instance in DecodedMessage

Notes

The Conversation reference was removed from DecodedMessage because it would add too much overhead to retrieve it when streaming all messages as getting access to the underlying NapiGroup would requiring syncing with the network and then iterating over the group list to find it.

@rygine rygine requested a review from a team June 12, 2024 18:56
Copy link

changeset-bot bot commented Jun 12, 2024

🦋 Changeset detected

Latest commit: 6dd6a0e

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

This PR includes changesets to release 1 package
Name Type
@xmtp/mls-client 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 humanagent as a code owner June 12, 2024 18:56
Copy link

cloudflare-workers-and-pages bot commented Jun 12, 2024

Deploying xmtp-js-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6dd6a0e
Status: ✅  Deploy successful!
Preview URL: https://d75a2269.xmtp-js.pages.dev
Branch Preview URL: https://rygine-stream-all-messages.xmtp-js.pages.dev

View logs

@rygine rygine merged commit fcf2b2a into main Jun 12, 2024
9 checks passed
@rygine rygine deleted the rygine/stream-all-messages branch June 12, 2024 19:07
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