Releases: xmtp/xmtp-web
Releases · xmtp/xmtp-web
@xmtp/[email protected]
Patch Changes
- Upgrade to latest beta JS SDK, which provides new encryption methods for self messaging
@xmtp/[email protected]
Minor Changes
- Added caching of the consent list
- Added autoload of cached consent list on client create
- Added
useConsent
hook for working with consent - Added
useStreamConsentList
hook for streaming in consent actions - Added consent support to example app
Note: This update uses WASM and requires some configuration changes depending on the bundler used.
@xmtp/[email protected]
Major Changes
- Upgraded JS SDK to
11.2.0
- Refactored message sending to prepare messages prior to sending
- Refactored message processing to always cache messages
- Added
contentTypes
to content type config - Removed unnecessary processors from some content type configs
- Added guard to prevent sending messages that haven't been fully processed
- Added
replies
table to local cache - Updated reply helpers to work with new
replies
table - Added
useReplies
hook that return replies to a specified message
@xmtp/[email protected]
Patch Changes
Fixed imports of date-fns
package for Next.js compatibility
- Issue: Fix of reported bug #124
- Changes:
- Changed imports from:
to:
import xxx from "date-fns/xxx";
import { xxx } from "date-fns";
- Changed imports from:
- Affected Files:
packages/react-sdk/src/helpers/caching/contentTypes/readReceipt.test.ts
packages/react-sdk/src/helpers/caching/contentTypes/readReceipt.ts
packages/react-sdk/src/hooks/useMessages.ts
@xmtp/[email protected]
Patch Changes
- Upgraded JS SDK and content types to get latest
@xmtp/proto
changes
@xmtp/[email protected]
Patch Changes
- Upgraded standards-track content types
@xmtp/[email protected]
Patch Changes
- Added export for
getReplies
function
@xmtp/[email protected]
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/[email protected]
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/[email protected]
Minor Changes
- Added
sentAt
field to cached reactions to track when a reaction was made - Updated
getReactionsByXmtpID
to return reactions sorted bysentAt
- Updated
useReactions
hook to return reactions sorted bysentAt