Skip to content

Commit

Permalink
Merge pull request #107 from xmtp/changeset-release/main
Browse files Browse the repository at this point in the history
release: version packages
  • Loading branch information
rygine authored Oct 3, 2023
2 parents 6f29d78 + c7a7fa3 commit 11e62a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .changeset/kind-mayflies-bake.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/react-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @xmtp/react-sdk

## 2.1.0

### 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

## 2.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@xmtp/react-sdk",
"description": "XMTP client SDK for React apps written in TypeScript",
"version": "2.0.0",
"version": "2.1.0",
"author": "XMTP Labs <[email protected]>",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit 11e62a3

Please sign in to comment.