xmtp / xmtp-js

XMTP client SDKs for JavaScript applications.
https://xmtp.org/docs
210 stars 38 forks source link

Bug: Export PreparedMessage class #651

Open AlejoLovallo opened 1 month ago

AlejoLovallo commented 1 month ago

Describe the bug

When building a prepare message function, the return type for function prepareMessage inside the Conversation object is PreparedMessage, though It is not possible to type the return type because It is not exported from the SDK.

Expected behavior

No response

Steps to reproduce the bug

  public async prepareMessageToSend(
    conversation: Conversation,
    message: string,
    options?: SendOptions,
  ): Promise<PreparedMessage>