diff --git a/packages/react-chat/src/hooks/useMessenger.ts b/packages/react-chat/src/hooks/useMessenger.ts index 5a0dd2f8..c8dc47a4 100644 --- a/packages/react-chat/src/hooks/useMessenger.ts +++ b/packages/react-chat/src/hooks/useMessenger.ts @@ -2,7 +2,7 @@ import { getBootstrapNodes, StoreCodec } from "js-waku"; import { useCallback, useEffect, useState } from "react"; import { Identity, Messenger } from "status-communities/dist/cjs"; -import { ApplicationMetadataMessage } from "status-communities/dist/cjs/application_metadata_message"; +import { ApplicationMetadataMessage } from "status-communities/dist/cjs"; import { uintToImgUrl } from "../helpers/uintToImgUrl"; import { ChatMessage } from "../models/ChatMessage"; diff --git a/packages/status-communities/src/index.ts b/packages/status-communities/src/index.ts index 5256c077..4a3027b8 100644 --- a/packages/status-communities/src/index.ts +++ b/packages/status-communities/src/index.ts @@ -1,6 +1,15 @@ -import { Identity } from "./identity"; -import { Messenger } from "./messenger"; -import { ApplicationMetadataMessage } from "./wire/application_metadata_message"; -import { ChatMessage } from "./wire/chat_message"; - -export { Messenger, Identity, ApplicationMetadataMessage, ChatMessage }; +export { Identity } from "./identity"; +export { Messenger } from "./messenger"; +export { Community } from "./community"; +export { Chat } from "./chat"; +export * as utils from "./utils"; +export { ApplicationMetadataMessage } from "./wire/application_metadata_message"; +export { + ChatMessage, + ContentType, + Content, + StickerContent, + ImageContent, + AudioContent, + TextContent, +} from "./wire/chat_message";