Bug: Stream connection closed. Resubscribing TypeError: undefined is not a constructor (evaluating 'new TextDecoderStream')
rygine opened this issue · comments
Describe the bug
this error happens when attempting to stream topics
Expected behavior
no error when streaming topics
Steps to reproduce the bug
this can occur when trying to stream conversations or messages using conversations.stream
, conversations.streamAllMessages
, or conversation.streamMessages
.
this error occurs when using the bun
runtime as it doesn't support TextDecoderStream as of v1.0.33
.
at this time, the XMTP JS SDK is not compatible with bun.