Skip to content

Releases: xmtp/xmtp-web

@xmtp/react-sdk@2.2.4

16 Oct 19:54
1e3c593
Compare
Choose a tag to compare

Patch Changes

  • Upgraded standards-track content types

@xmtp/react-sdk@2.2.3

16 Oct 19:04
f2b17e0
Compare
Choose a tag to compare

Patch Changes

  • Added export for getReplies function

@xmtp/react-sdk@2.2.2

12 Oct 22:11
8f292a4
Compare
Choose a tag to compare

Patch Changes

  • Refactored the read receipt processor to ignore read receipts older than the current one or if the read receipt was sent by the current client
  • Added tests for both cases outlined above

@xmtp/react-sdk@2.2.1

10 Oct 17:41
2046d8a
Compare
Choose a tag to compare

Patch Changes

  • Added a mutex to the reaction message processor so that messages are processed in order, which is important for determining the state of a message's reactions

@xmtp/react-sdk@2.2.0

10 Oct 17:20
40fb962
Compare
Choose a tag to compare

Minor Changes

  • Added sentAt field to cached reactions to track when a reaction was made
  • Updated getReactionsByXmtpID to return reactions sorted by sentAt
  • Updated useReactions hook to return reactions sorted by sentAt

@xmtp/react-sdk@2.1.0

03 Oct 18:45
11e62a3
Compare
Choose a tag to compare

Minor Changes

  • Added lastSyncedAt property to cached conversations to track when a conversation's messages were last synced
  • When loading new messages, use the lastSyncedAt time if it comes before the last message
  • When an inactive tab becomes active again, the useMessages hook will re-sync the conversation messages from the network
  • Added a new disableAutoSync option to useMessages hook to disable automatic syncing when a tab becomes active

@xmtp/react-sdk@2.0.0

28 Sep 17:50
9ab68ac
Compare
Choose a tag to compare

Major Changes

BREAKING CHANGES

  • Remove signer and setClientSigner from XMTPContext

OTHER CHANGES

  • Fix client initialization when using only keys
  • Add test for client initialization with keys
  • Upgraded dependencies

@xmtp/react-sdk@1.4.0

27 Sep 16:33
98eb590
Compare
Choose a tag to compare

Minor Changes

  • Upgrade JS SDK to v11
  • Upgrade all standards-track content types
  • Replace ethers with viem
  • Update read receipt processor for updated content type
  • Update client signer type

@xmtp/react-sdk@1.4.0-beta.2

25 Sep 22:39
20536fe
Compare
Choose a tag to compare
Pre-release

Patch Changes

@xmtp/react-sdk@1.3.7

13 Sep 16:58
ef5bcdb
Compare
Choose a tag to compare

Patch Changes

  • 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
  • Access all cached conversations using the client's wallet address