Skip to content

Releases: xmtp/xmtp-web

@xmtp/[email protected]

05 Dec 18:54
ab0b4bf
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Upgrade to latest beta JS SDK, which provides new encryption methods for self messaging

@xmtp/[email protected]

20 Nov 19:20
aa5831c
Compare
Choose a tag to compare
Pre-release

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]

23 Oct 21:11
f092ebe
Compare
Choose a tag to compare

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]

20 Oct 19:59
ded27b1
Compare
Choose a tag to compare

Patch Changes

Fixed imports of date-fns package for Next.js compatibility

  • Issue: Fix of reported bug #124
  • Changes:
    • Changed imports from:
      import xxx from "date-fns/xxx";
      to:
      import { xxx } from "date-fns";
  • 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]

16 Oct 22:06
6d1d105
Compare
Choose a tag to compare

Patch Changes

  • Upgraded JS SDK and content types to get latest @xmtp/proto changes

@xmtp/[email protected]

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

Patch Changes

  • Upgraded standards-track content types

@xmtp/[email protected]

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

Patch Changes

  • Added export for getReplies function

@xmtp/[email protected]

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/[email protected]

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/[email protected]

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