-
Notifications
You must be signed in to change notification settings - Fork 6
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the reply content type README, @rygine! Just made a few tech writer edits and added a comment. LGTM!
reference: content.parameters.reference, | ||
contentType, | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment | ||
content: codec.decode(decodedContent as EncodedContent, codecs), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think the EncodedContent
type from @xmtp/proto
might be wrong as we need to assert that this is EncodedContent
from @xmtp/xmtp-js
. the type
key from proto is ContentTypeId | undefined
while the same from xmtp-js is just ContentTypeId
.
Proposal: https://github.com/orgs/xmtp/discussions/35
This PR adds the Reply content type.