xmtp / xmtp-js

XMTP client SDKs for JavaScript applications.

Home Page:https://xmtp.org/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: SDK hangs when trying to send a compressed prepared message with less than 10 bytes

rygine opened this issue ยท comments

Describe the bug

when using the prepareMessage method of a conversation, the SDK will hang when the compression option is used.

Expected behavior

the SDK should prepare a compressed message without issue

Steps to reproduce the bug

const preparedMessage = await convo.prepareMessage("gm!", {
  compression: Compression.COMPRESSION_DEFLATE,
});

๐ŸŽ‰ This issue has been resolved in version 11.3.11 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€