From 0272d4c4afd5261f6f8139a833fdaf7566cf79c4 Mon Sep 17 00:00:00 2001 From: rygine Date: Thu, 4 Jan 2024 00:03:00 +0000 Subject: [PATCH] deploy: 6abf376d241ce0735493f041cfb7984cb224ad1e --- functions/bulkPutConsentState.html | 2 +- functions/clearCache.html | 2 +- functions/deleteMessage.html | 2 +- functions/getAttachment.html | 2 +- functions/getCachedConsentEntries.html | 2 +- functions/getCachedConsentState.html | 2 +- functions/getCachedConversationByPeerAddress.html | 2 +- functions/getCachedConversationByTopic.html | 2 +- functions/getConversationByTopic.html | 2 +- functions/getDbInstance.html | 2 +- functions/getLastMessage.html | 2 +- functions/getMessageByXmtpID.html | 2 +- functions/getOriginalMessageFromReply.html | 2 +- functions/getReactionsByXmtpID.html | 2 +- functions/getReadReceipt.html | 2 +- functions/getReplies.html | 2 +- functions/hasConversationTopic.html | 2 +- functions/hasReaction.html | 2 +- functions/hasReadReceipt.html | 2 +- functions/hasReply.html | 2 +- functions/isValidAddress.html | 2 +- functions/loadConsentListFromCache.html | 2 +- functions/putConsentState.html | 2 +- functions/saveConversation.html | 2 +- functions/saveMessage.html | 2 +- functions/setConversationUpdatedAt.html | 2 +- functions/toCachedConversation.html | 2 +- functions/toCachedMessage.html | 2 +- functions/updateConversation.html | 2 +- functions/updateConversationMetadata.html | 2 +- functions/updateMessage.html | 2 +- functions/updateMessageMetadata.html | 2 +- functions/useAttachment.html | 2 +- functions/useCanMessage.html | 2 +- functions/useClient.html | 2 +- functions/useConsent.html | 2 +- functions/useConversation.html | 2 +- functions/useConversations.html | 2 +- functions/useDb.html | 2 +- functions/useLastMessage.html | 2 +- functions/useMessages.html | 2 +- functions/useReactions.html | 2 +- functions/useReplies.html | 2 +- functions/useReply.html | 2 +- functions/useResendMessage.html | 2 +- functions/useSendMessage.html | 2 +- functions/useStartConversation.html | 2 +- functions/useStreamAllMessages.html | 2 +- functions/useStreamConsentList.html | 2 +- functions/useStreamConversations.html | 2 +- functions/useStreamMessages.html | 2 +- types/CachedConsentEntry.html | 2 +- types/CachedConsentTable.html | 2 +- types/CachedConversation.html | 2 +- types/CachedConversationWithId.html | 2 +- types/CachedConversationsTable.html | 2 +- types/CachedMessage.html | 2 +- types/CachedMessageWithId.html | 2 +- types/CachedMessagesTable.html | 2 +- types/CachedReaction.html | 2 +- types/CachedReactionsMetadata.html | 2 +- types/CachedReactionsTable.html | 2 +- types/CachedReadReceiptMetadata.html | 2 +- types/ContentTypeConfiguration.html | 2 +- types/ContentTypeMessageProcessor.html | 2 +- types/ContentTypeMessageProcessors.html | 2 +- types/ContentTypeMessageValidators.html | 2 +- types/ContentTypeMetadata.html | 2 +- types/ContentTypeMetadataValue.html | 2 +- types/ContentTypeMetadataValues.html | 2 +- types/ProcessUnprocessedMessagesOptions.html | 2 +- variables/attachmentContentTypeConfig.html | 2 +- variables/reactionContentTypeConfig.html | 2 +- variables/readReceiptContentTypeConfig.html | 2 +- variables/replyContentTypeConfig.html | 2 +- variables/textContentTypeConfig.html | 2 +- 76 files changed, 76 insertions(+), 76 deletions(-) diff --git a/functions/bulkPutConsentState.html b/functions/bulkPutConsentState.html index b6a81fd1..24f0a57e 100644 --- a/functions/bulkPutConsentState.html +++ b/functions/bulkPutConsentState.html @@ -1,2 +1,2 @@ bulkPutConsentState | @xmtp/react-sdk

Function bulkPutConsentState

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/clearCache.html b/functions/clearCache.html index 0dc096c6..12582cea 100644 --- a/functions/clearCache.html +++ b/functions/clearCache.html @@ -1 +1 @@ -clearCache | @xmtp/react-sdk

Function clearCache

Generated using TypeDoc

\ No newline at end of file +clearCache | @xmtp/react-sdk

Function clearCache

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/deleteMessage.html b/functions/deleteMessage.html index 48aca6c3..195c6eac 100644 --- a/functions/deleteMessage.html +++ b/functions/deleteMessage.html @@ -1,2 +1,2 @@ deleteMessage | @xmtp/react-sdk

Function deleteMessage

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getAttachment.html b/functions/getAttachment.html index 3166156f..2646e6e0 100644 --- a/functions/getAttachment.html +++ b/functions/getAttachment.html @@ -2,4 +2,4 @@

Parameters

Returns undefined | Attachment | RemoteAttachment

The attachment data, or undefined if the message is not an attachment content type

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getCachedConsentEntries.html b/functions/getCachedConsentEntries.html index d1ce6a15..f2fee93e 100644 --- a/functions/getCachedConsentEntries.html +++ b/functions/getCachedConsentEntries.html @@ -1,3 +1,3 @@ getCachedConsentEntries | @xmtp/react-sdk

Function getCachedConsentEntries

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getCachedConsentState.html b/functions/getCachedConsentState.html index 39f41078..4d2246b9 100644 --- a/functions/getCachedConsentState.html +++ b/functions/getCachedConsentState.html @@ -1,3 +1,3 @@ getCachedConsentState | @xmtp/react-sdk

Function getCachedConsentState

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getCachedConversationByPeerAddress.html b/functions/getCachedConversationByPeerAddress.html index 74294f7b..1f04aa80 100644 --- a/functions/getCachedConversationByPeerAddress.html +++ b/functions/getCachedConversationByPeerAddress.html @@ -1,3 +1,3 @@ getCachedConversationByPeerAddress | @xmtp/react-sdk

Function getCachedConversationByPeerAddress

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getCachedConversationByTopic.html b/functions/getCachedConversationByTopic.html index adf2779b..90570f81 100644 --- a/functions/getCachedConversationByTopic.html +++ b/functions/getCachedConversationByTopic.html @@ -1,3 +1,3 @@ getCachedConversationByTopic | @xmtp/react-sdk

Function getCachedConversationByTopic

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getConversationByTopic.html b/functions/getConversationByTopic.html index a0af336a..c1eeafc7 100644 --- a/functions/getConversationByTopic.html +++ b/functions/getConversationByTopic.html @@ -1,3 +1,3 @@ getConversationByTopic | @xmtp/react-sdk

Function getConversationByTopic

  • Retrieve a conversation from the XMTP client by a topic

    Parameters

    • topic: string
    • client: Client<any>

    Returns Promise<undefined | Conversation<any>>

    The conversation if found, otherwise undefined

    -

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getDbInstance.html b/functions/getDbInstance.html index 33a9fc1d..42f8054f 100644 --- a/functions/getDbInstance.html +++ b/functions/getDbInstance.html @@ -1,2 +1,2 @@ getDbInstance | @xmtp/react-sdk

Function getDbInstance

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Dexie

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getLastMessage.html b/functions/getLastMessage.html index 28c8501c..ecf03a00 100644 --- a/functions/getLastMessage.html +++ b/functions/getLastMessage.html @@ -1,2 +1,2 @@ getLastMessage | @xmtp/react-sdk

Function getLastMessage

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<CachedMessage<any, ContentTypeMetadata>>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getMessageByXmtpID.html b/functions/getMessageByXmtpID.html index b5cd4ce1..50474f6e 100644 --- a/functions/getMessageByXmtpID.html +++ b/functions/getMessageByXmtpID.html @@ -2,4 +2,4 @@

Parameters

Returns Promise<undefined | CachedMessageWithId<any>>

The cached message, or undefined if not found

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getOriginalMessageFromReply.html b/functions/getOriginalMessageFromReply.html index 7c7c9402..1b27232e 100644 --- a/functions/getOriginalMessageFromReply.html +++ b/functions/getOriginalMessageFromReply.html @@ -2,4 +2,4 @@

Parameters

Returns Promise<undefined | CachedMessageWithId<any>>

The original message, or undefined if the reply message is invalid

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getReactionsByXmtpID.html b/functions/getReactionsByXmtpID.html index 5d9fcd41..f3239ca1 100644 --- a/functions/getReactionsByXmtpID.html +++ b/functions/getReactionsByXmtpID.html @@ -2,4 +2,4 @@

Parameters

Returns Promise<CachedReaction[]>

An array of reactions to the message

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getReadReceipt.html b/functions/getReadReceipt.html index 386fd5d0..9154ce0d 100644 --- a/functions/getReadReceipt.html +++ b/functions/getReadReceipt.html @@ -2,4 +2,4 @@

Parameters

Returns undefined | Date

The read receipt date, or undefined if the conversation has no read receipt for the given type

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/getReplies.html b/functions/getReplies.html index 2d93866f..ce6e0829 100644 --- a/functions/getReplies.html +++ b/functions/getReplies.html @@ -2,4 +2,4 @@

Parameters

Returns Promise<CachedMessageWithId[]>

An array of reply messages

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/hasConversationTopic.html b/functions/hasConversationTopic.html index e2bde1d3..e465e22b 100644 --- a/functions/hasConversationTopic.html +++ b/functions/hasConversationTopic.html @@ -1,2 +1,2 @@ hasConversationTopic | @xmtp/react-sdk

Function hasConversationTopic

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<boolean>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/hasReaction.html b/functions/hasReaction.html index 9a940023..4b818fd5 100644 --- a/functions/hasReaction.html +++ b/functions/hasReaction.html @@ -1,4 +1,4 @@ hasReaction | @xmtp/react-sdk

Function hasReaction

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/hasReadReceipt.html b/functions/hasReadReceipt.html index 799ad9dc..57dbf2c4 100644 --- a/functions/hasReadReceipt.html +++ b/functions/hasReadReceipt.html @@ -2,4 +2,4 @@

Parameters

Returns boolean

true if the conversation has a read receipt for the given type, false otherwise

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/hasReply.html b/functions/hasReply.html index eda78136..ed29bff1 100644 --- a/functions/hasReply.html +++ b/functions/hasReply.html @@ -2,4 +2,4 @@

Parameters

Returns Promise<boolean>

true if the message has any replies, false otherwise

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/isValidAddress.html b/functions/isValidAddress.html index 427495e9..ad294695 100644 --- a/functions/isValidAddress.html +++ b/functions/isValidAddress.html @@ -1,4 +1,4 @@ isValidAddress | @xmtp/react-sdk

Function isValidAddress

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/loadConsentListFromCache.html b/functions/loadConsentListFromCache.html index 1ea8333a..1f5b5662 100644 --- a/functions/loadConsentListFromCache.html +++ b/functions/loadConsentListFromCache.html @@ -1,2 +1,2 @@ loadConsentListFromCache | @xmtp/react-sdk

Function loadConsentListFromCache

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/putConsentState.html b/functions/putConsentState.html index dabe644c..7329f021 100644 --- a/functions/putConsentState.html +++ b/functions/putConsentState.html @@ -1,2 +1,2 @@ putConsentState | @xmtp/react-sdk

Function putConsentState

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/saveConversation.html b/functions/saveConversation.html index 410ae7b2..3f53bb53 100644 --- a/functions/saveConversation.html +++ b/functions/saveConversation.html @@ -1,3 +1,3 @@ saveConversation | @xmtp/react-sdk

Function saveConversation

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/saveMessage.html b/functions/saveMessage.html index 6a4e8254..7a5d5100 100644 --- a/functions/saveMessage.html +++ b/functions/saveMessage.html @@ -1,3 +1,3 @@ saveMessage | @xmtp/react-sdk

Function saveMessage

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/setConversationUpdatedAt.html b/functions/setConversationUpdatedAt.html index efc01535..0f595cd8 100644 --- a/functions/setConversationUpdatedAt.html +++ b/functions/setConversationUpdatedAt.html @@ -1,2 +1,2 @@ setConversationUpdatedAt | @xmtp/react-sdk

Function setConversationUpdatedAt

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/toCachedConversation.html b/functions/toCachedConversation.html index 7feb01b4..025e21b2 100644 --- a/functions/toCachedConversation.html +++ b/functions/toCachedConversation.html @@ -1,3 +1,3 @@ toCachedConversation | @xmtp/react-sdk

Function toCachedConversation

  • Converts a Conversation from the XMTP network to its cached format

    Parameters

    • conversation: Conversation<any>
    • walletAddress: string

    Returns {
        context: undefined | InvitationContext;
        createdAt: Date;
        isReady: boolean;
        peerAddress: string;
        topic: string;
        updatedAt: Date;
        walletAddress: string;
    }

    The conversation in cached format

    -
    • context: undefined | InvitationContext
    • createdAt: Date
    • isReady: boolean
    • peerAddress: string
    • topic: string
    • updatedAt: Date
    • walletAddress: string

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/toCachedMessage.html b/functions/toCachedMessage.html index a1b8a80a..04cd10c1 100644 --- a/functions/toCachedMessage.html +++ b/functions/toCachedMessage.html @@ -2,4 +2,4 @@

Parameters

Returns {
    content: any;
    contentBytes: undefined | Uint8Array;
    contentFallback: undefined | string;
    contentType: string;
    conversationTopic: string;
    hasLoadError: false;
    hasSendError: false;
    isSending: false;
    senderAddress: string;
    sentAt: Date;
    status: "unprocessed";
    uuid: string;
    walletAddress: string;
    xmtpID: string;
}

The message in cached format

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/updateConversation.html b/functions/updateConversation.html index 65c734af..273d7dab 100644 --- a/functions/updateConversation.html +++ b/functions/updateConversation.html @@ -1,2 +1,2 @@ updateConversation | @xmtp/react-sdk

Function updateConversation

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/updateConversationMetadata.html b/functions/updateConversationMetadata.html index 24a1bf2c..f864d05a 100644 --- a/functions/updateConversationMetadata.html +++ b/functions/updateConversationMetadata.html @@ -1,3 +1,3 @@ updateConversationMetadata | @xmtp/react-sdk

Function updateConversationMetadata

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/updateMessage.html b/functions/updateMessage.html index 4b2301c6..a92fddf4 100644 --- a/functions/updateMessage.html +++ b/functions/updateMessage.html @@ -1,2 +1,2 @@ updateMessage | @xmtp/react-sdk

Function updateMessage

  • Update properties of a cached message

    -

    Parameters

    Returns Promise<{
        content: any;
        contentBytes?: Uint8Array;
        contentFallback?: string;
        contentType: string;
        conversationTopic: string;
        hasLoadError: boolean;
        hasSendError: boolean;
        id?: number;
        isSending: boolean;
        metadata?: ContentTypeMetadata;
        sendOptions?: SendOptions;
        senderAddress: string;
        sentAt: Date;
        status: "unprocessed" | "processed";
        uuid: string;
        walletAddress: string;
        xmtpID: string;
    }>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<{
    content: any;
    contentBytes?: Uint8Array;
    contentFallback?: string;
    contentType: string;
    conversationTopic: string;
    hasLoadError: boolean;
    hasSendError: boolean;
    id?: number;
    isSending: boolean;
    metadata?: ContentTypeMetadata;
    sendOptions?: SendOptions;
    senderAddress: string;
    sentAt: Date;
    status: "unprocessed" | "processed";
    uuid: string;
    walletAddress: string;
    xmtpID: string;
}>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/updateMessageMetadata.html b/functions/updateMessageMetadata.html index 5315f8fa..1e7ee40a 100644 --- a/functions/updateMessageMetadata.html +++ b/functions/updateMessageMetadata.html @@ -1,3 +1,3 @@ updateMessageMetadata | @xmtp/react-sdk

Function updateMessageMetadata

  • Update metadata of a cached message using the specified namespace

    This is not meant to be called directly

    -

    Parameters

    Returns Promise<{
        content: any;
        contentBytes?: Uint8Array;
        contentFallback?: string;
        contentType: string;
        conversationTopic: string;
        hasLoadError: boolean;
        hasSendError: boolean;
        id?: number;
        isSending: boolean;
        metadata?: ContentTypeMetadata;
        sendOptions?: SendOptions;
        senderAddress: string;
        sentAt: Date;
        status: "unprocessed" | "processed";
        uuid: string;
        walletAddress: string;
        xmtpID: string;
    }>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<{
    content: any;
    contentBytes?: Uint8Array;
    contentFallback?: string;
    contentType: string;
    conversationTopic: string;
    hasLoadError: boolean;
    hasSendError: boolean;
    id?: number;
    isSending: boolean;
    metadata?: ContentTypeMetadata;
    sendOptions?: SendOptions;
    senderAddress: string;
    sentAt: Date;
    status: "unprocessed" | "processed";
    uuid: string;
    walletAddress: string;
    xmtpID: string;
}>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useAttachment.html b/functions/useAttachment.html index 8b5d63fe..9a4a5f1e 100644 --- a/functions/useAttachment.html +++ b/functions/useAttachment.html @@ -1,2 +1,2 @@ useAttachment | @xmtp/react-sdk

Function useAttachment

  • This hook returns the attachment data of a cached message

    -

    Parameters

    Returns {
        attachment: undefined | Attachment;
        error: undefined | Error;
        load: (() => void);
        status: AttachmentStatus;
    }

    • attachment: undefined | Attachment
    • error: undefined | Error
    • load: (() => void)
        • (): void
        • Returns void

    • status: AttachmentStatus

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    attachment: undefined | Attachment;
    error: undefined | Error;
    load: (() => void);
    status: AttachmentStatus;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useCanMessage.html b/functions/useCanMessage.html index c36b6510..200303df 100644 --- a/functions/useCanMessage.html +++ b/functions/useCanMessage.html @@ -1,4 +1,4 @@ useCanMessage | @xmtp/react-sdk

Function useCanMessage

  • This hook exposes both the client and static instances of the canMessage method.

    Parameters

    • Optional onError: ((error) => void)
        • (error): void
        • Callback function to execute when an error occurs

          -

          Parameters

          • error: Error

          Returns void

    Returns {
        canMessage: (<T>(peerAddress) => Promise<CanMessageReturns<T>>);
        canMessageStatic: (<T>(peerAddress, options?) => Promise<CanMessageReturns<T>>);
        error: null | Error;
        isLoading: boolean;
    }

    • canMessage: (<T>(peerAddress) => Promise<CanMessageReturns<T>>)
        • <T>(peerAddress): Promise<CanMessageReturns<T>>
        • Type Parameters

          • T extends string | string[]

          Parameters

          • peerAddress: T

          Returns Promise<CanMessageReturns<T>>

    • canMessageStatic: (<T>(peerAddress, options?) => Promise<CanMessageReturns<T>>)
        • <T>(peerAddress, options?): Promise<CanMessageReturns<T>>
        • Type Parameters

          • T extends string | string[]

          Parameters

          • peerAddress: T
          • Optional options: Partial<NetworkOptions>

          Returns Promise<CanMessageReturns<T>>

    • error: null | Error
    • isLoading: boolean

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Returns {
    canMessage: (<T>(peerAddress) => Promise<CanMessageReturns<T>>);
    canMessageStatic: (<T>(peerAddress, options?) => Promise<CanMessageReturns<T>>);
    error: null | Error;
    isLoading: boolean;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useClient.html b/functions/useClient.html index a7f74124..828d80ef 100644 --- a/functions/useClient.html +++ b/functions/useClient.html @@ -1,4 +1,4 @@ useClient | @xmtp/react-sdk

Function useClient

  • This hook allows you to initialize, disconnect, and access the XMTP client instance. It also exposes the error and loading states of the client.

    Parameters

    • Optional onError: ((error) => void)
        • (error): void
        • Callback function to execute when an error occurs

          -

          Parameters

          • error: Error

          Returns void

    Returns {
        client: undefined | Client<any>;
        disconnect: (() => Promise<void>);
        error: null | Error;
        initialize: ((__namedParameters) => Promise<undefined | Client<any>>);
        isLoading: boolean;
    }

    • client: undefined | Client<any>
    • disconnect: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • error: null | Error
    • initialize: ((__namedParameters) => Promise<undefined | Client<any>>)
        • (__namedParameters): Promise<undefined | Client<any>>
        • Parameters

          • __namedParameters: InitializeClientOptions

          Returns Promise<undefined | Client<any>>

    • isLoading: boolean

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Returns {
    client: undefined | Client<any>;
    disconnect: (() => Promise<void>);
    error: null | Error;
    initialize: ((__namedParameters) => Promise<undefined | Client<any>>);
    isLoading: boolean;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useConsent.html b/functions/useConsent.html index 196b0d14..458b38ba 100644 --- a/functions/useConsent.html +++ b/functions/useConsent.html @@ -1,2 +1,2 @@ useConsent | @xmtp/react-sdk

Function useConsent

  • This hook returns helper functions for working with consent

    -

    Returns {
        allow: ((addresses) => Promise<void>);
        consentState: ((address) => ConsentState);
        deny: ((addresses) => Promise<void>);
        isAllowed: ((address) => undefined | boolean);
        isDenied: ((address) => undefined | boolean);
        loadConsentList: ((startTime?) => Promise<ConsentListEntry[]>);
        refreshConsentList: (() => Promise<ConsentListEntry[]>);
    }

    • allow: ((addresses) => Promise<void>)
        • (addresses): Promise<void>
        • Parameters

          • addresses: string[]

          Returns Promise<void>

    • consentState: ((address) => ConsentState)
        • (address): ConsentState
        • Parameters

          • address: string

          Returns ConsentState

    • deny: ((addresses) => Promise<void>)
        • (addresses): Promise<void>
        • Parameters

          • addresses: string[]

          Returns Promise<void>

    • isAllowed: ((address) => undefined | boolean)
        • (address): undefined | boolean
        • Parameters

          • address: string

          Returns undefined | boolean

    • isDenied: ((address) => undefined | boolean)
        • (address): undefined | boolean
        • Parameters

          • address: string

          Returns undefined | boolean

    • loadConsentList: ((startTime?) => Promise<ConsentListEntry[]>)
        • (startTime?): Promise<ConsentListEntry[]>
        • Parameters

          • Optional startTime: Date

          Returns Promise<ConsentListEntry[]>

    • refreshConsentList: (() => Promise<ConsentListEntry[]>)
        • (): Promise<ConsentListEntry[]>
        • Returns Promise<ConsentListEntry[]>

Generated using TypeDoc

\ No newline at end of file +

Returns {
    allow: ((addresses) => Promise<void>);
    consentState: ((address) => ConsentState);
    deny: ((addresses) => Promise<void>);
    isAllowed: ((address) => undefined | boolean);
    isDenied: ((address) => undefined | boolean);
    loadConsentList: ((startTime?) => Promise<ConsentListEntry[]>);
    refreshConsentList: (() => Promise<ConsentListEntry[]>);
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useConversation.html b/functions/useConversation.html index bc1acd69..38a85b02 100644 --- a/functions/useConversation.html +++ b/functions/useConversation.html @@ -1,3 +1,3 @@ useConversation | @xmtp/react-sdk

Function useConversation

Generated using TypeDoc

\ No newline at end of file +

Returns {
    getByTopic: ((topic) => Promise<undefined | Conversation<any>>);
    getCachedByPeerAddress: ((peerAddress) => Promise<undefined | CachedConversationWithId>);
    getCachedByTopic: ((topic) => Promise<undefined | CachedConversationWithId>);
    getLastMessage: ((topic) => Promise<CachedMessage<any, ContentTypeMetadata>>);
    hasConversationTopic: ((topic) => Promise<boolean>);
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useConversations.html b/functions/useConversations.html index 4c42fad1..437ebed8 100644 --- a/functions/useConversations.html +++ b/functions/useConversations.html @@ -1,3 +1,3 @@ useConversations | @xmtp/react-sdk

Function useConversations

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    conversations: CachedConversation<ContentTypeMetadata>[];
    error: null | Error;
    isLoaded: boolean;
    isLoading: boolean;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useDb.html b/functions/useDb.html index 91307ed4..58a09703 100644 --- a/functions/useDb.html +++ b/functions/useDb.html @@ -1,3 +1,3 @@ useDb | @xmtp/react-sdk

Function useDb

  • This hook returns the local DB instance and a method for clearing all of its data

    -

    Returns {
        clearCache: (() => Promise<void>);
        db: Dexie;
    }

    • clearCache: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • db: Dexie

Generated using TypeDoc

\ No newline at end of file +

Returns {
    clearCache: (() => Promise<void>);
    db: Dexie;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useLastMessage.html b/functions/useLastMessage.html index f3e3624f..bce14495 100644 --- a/functions/useLastMessage.html +++ b/functions/useLastMessage.html @@ -1,2 +1,2 @@ useLastMessage | @xmtp/react-sdk

Function useLastMessage

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns undefined | CachedMessage<any, ContentTypeMetadata>

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useMessages.html b/functions/useMessages.html index f62cf709..8fd3a33b 100644 --- a/functions/useMessages.html +++ b/functions/useMessages.html @@ -1,4 +1,4 @@ useMessages | @xmtp/react-sdk

Function useMessages

  • This hook fetches a list of all messages within a conversation on mount. It also exposes loading and error states and whether or not there are more messages based on the options passed.

    -

    Parameters

    Returns {
        error: null | Error;
        isLoaded: boolean;
        isLoading: boolean;
        messages: CachedMessageWithId[];
    }

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    error: null | Error;
    isLoaded: boolean;
    isLoading: boolean;
    messages: CachedMessageWithId[];
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useReactions.html b/functions/useReactions.html index 4ee36cd9..85e7c199 100644 --- a/functions/useReactions.html +++ b/functions/useReactions.html @@ -1,2 +1,2 @@ useReactions | @xmtp/react-sdk

Function useReactions

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns CachedReaction[]

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useReplies.html b/functions/useReplies.html index 3cbe5caf..3b1b1a1d 100644 --- a/functions/useReplies.html +++ b/functions/useReplies.html @@ -1,2 +1,2 @@ useReplies | @xmtp/react-sdk

Function useReplies

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns CachedMessageWithId[]

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useReply.html b/functions/useReply.html index dc9478ea..be61589b 100644 --- a/functions/useReply.html +++ b/functions/useReply.html @@ -1,2 +1,2 @@ useReply | @xmtp/react-sdk

Function useReply

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    originalMessage: undefined | CachedMessage;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useResendMessage.html b/functions/useResendMessage.html index dbcece79..a3567abb 100644 --- a/functions/useResendMessage.html +++ b/functions/useResendMessage.html @@ -1,2 +1,2 @@ useResendMessage | @xmtp/react-sdk

Function useResendMessage

  • This hook can be used to resend a previously failed message, or cancel it.

    -

    Parameters

    • Optional options: UseSendMessageOptions

    Returns {
        cancel: ((message) => Promise<void>);
        error: null | Error;
        isLoading: boolean;
        resend: ((message) => Promise<DecodedMessage<any>>);
    }

    • cancel: ((message) => Promise<void>)
    • error: null | Error
    • isLoading: boolean
    • resend: ((message) => Promise<DecodedMessage<any>>)
        • (message): Promise<DecodedMessage<any>>
        • Parameters

          Returns Promise<DecodedMessage<any>>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    cancel: ((message) => Promise<void>);
    error: null | Error;
    isLoading: boolean;
    resend: ((message) => Promise<DecodedMessage<any>>);
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useSendMessage.html b/functions/useSendMessage.html index 22400807..3f9532ec 100644 --- a/functions/useSendMessage.html +++ b/functions/useSendMessage.html @@ -1,2 +1,2 @@ useSendMessage | @xmtp/react-sdk

Function useSendMessage

  • This hook sends a new message into a conversation

    -

    Parameters

    • Optional options: UseSendMessageOptions

    Returns {
        error: null | Error;
        isLoading: boolean;
        sendMessage: (<T>(conversation, content, contentType?, sendOptions?) => Promise<undefined | DecodedMessage<any>>);
    }

    • error: null | Error
    • isLoading: boolean
    • sendMessage: (<T>(conversation, content, contentType?, sendOptions?) => Promise<undefined | DecodedMessage<any>>)
        • <T>(conversation, content, contentType?, sendOptions?): Promise<undefined | DecodedMessage<any>>
        • Type Parameters

          • T = string

          Parameters

          • conversation: CachedConversation
          • content: T
          • Optional contentType: ContentTypeId
          • Optional sendOptions: Omit<SendOptions, "contentType">

          Returns Promise<undefined | DecodedMessage<any>>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    error: null | Error;
    isLoading: boolean;
    sendMessage: (<T>(conversation, content, contentType?, sendOptions?) => Promise<undefined | DecodedMessage<any>>);
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useStartConversation.html b/functions/useStartConversation.html index e28cb2aa..374e8a07 100644 --- a/functions/useStartConversation.html +++ b/functions/useStartConversation.html @@ -1,2 +1,2 @@ useStartConversation | @xmtp/react-sdk

Function useStartConversation

  • This hook starts a new conversation and sends an initial message to it.

    -

    Parameters

    • Optional options: UseStartConversation

    Returns {
        error: null | Error;
        isLoading: boolean;
        startConversation: (<T>(peerAddress, content, contentType?, sendOptions?) => Promise<{
            cachedConversation: undefined;
            cachedMessage: undefined;
            conversation: undefined;
        } | {
            cachedConversation: undefined;
            cachedMessage: undefined;
            conversation: Conversation<any>;
        } | {
            cachedConversation: CachedConversationWithId;
            cachedMessage: undefined;
            conversation: Conversation<any>;
        } | {
            cachedConversation: CachedConversationWithId;
            cachedMessage: CachedMessage<any, ContentTypeMetadata>;
            conversation: Conversation<any>;
        }>);
    }

    • error: null | Error
    • isLoading: boolean
    • startConversation: (<T>(peerAddress, content, contentType?, sendOptions?) => Promise<{
          cachedConversation: undefined;
          cachedMessage: undefined;
          conversation: undefined;
      } | {
          cachedConversation: undefined;
          cachedMessage: undefined;
          conversation: Conversation<any>;
      } | {
          cachedConversation: CachedConversationWithId;
          cachedMessage: undefined;
          conversation: Conversation<any>;
      } | {
          cachedConversation: CachedConversationWithId;
          cachedMessage: CachedMessage<any, ContentTypeMetadata>;
          conversation: Conversation<any>;
      }>)
        • <T>(peerAddress, content, contentType?, sendOptions?): Promise<{
              cachedConversation: undefined;
              cachedMessage: undefined;
              conversation: undefined;
          } | {
              cachedConversation: undefined;
              cachedMessage: undefined;
              conversation: Conversation<any>;
          } | {
              cachedConversation: CachedConversationWithId;
              cachedMessage: undefined;
              conversation: Conversation<any>;
          } | {
              cachedConversation: CachedConversationWithId;
              cachedMessage: CachedMessage<any, ContentTypeMetadata>;
              conversation: Conversation<any>;
          }>
        • Type Parameters

          • T = string

          Parameters

          • peerAddress: string
          • content: T
          • Optional contentType: ContentTypeId
          • Optional sendOptions: SendMessageOptions

          Returns Promise<{
              cachedConversation: undefined;
              cachedMessage: undefined;
              conversation: undefined;
          } | {
              cachedConversation: undefined;
              cachedMessage: undefined;
              conversation: Conversation<any>;
          } | {
              cachedConversation: CachedConversationWithId;
              cachedMessage: undefined;
              conversation: Conversation<any>;
          } | {
              cachedConversation: CachedConversationWithId;
              cachedMessage: CachedMessage<any, ContentTypeMetadata>;
              conversation: Conversation<any>;
          }>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    error: null | Error;
    isLoading: boolean;
    startConversation: (<T>(peerAddress, content, contentType?, sendOptions?) => Promise<{
        cachedConversation: undefined;
        cachedMessage: undefined;
        conversation: undefined;
    } | {
        cachedConversation: undefined;
        cachedMessage: undefined;
        conversation: Conversation<any>;
    } | {
        cachedConversation: CachedConversationWithId;
        cachedMessage: undefined;
        conversation: Conversation<any>;
    } | {
        cachedConversation: CachedConversationWithId;
        cachedMessage: CachedMessage<any, ContentTypeMetadata>;
        conversation: Conversation<any>;
    }>);
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useStreamAllMessages.html b/functions/useStreamAllMessages.html index 03647dc4..46367f9f 100644 --- a/functions/useStreamAllMessages.html +++ b/functions/useStreamAllMessages.html @@ -1,4 +1,4 @@ useStreamAllMessages | @xmtp/react-sdk

Function useStreamAllMessages

  • This hook streams new messages from all conversations on mount and exposes an error state.

    Parameters

    • Optional onMessage: ((message) => void | Promise<void>)
        • (message): void | Promise<void>
        • Parameters

          • message: DecodedMessage<any>

          Returns void | Promise<void>

    • Optional onError: ((error) => void)
        • (error): void
        • Callback function to execute when an error occurs

          -

          Parameters

          • error: Error

          Returns void

    Returns {
        error: null | Error;
    }

    • error: null | Error

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Returns {
    error: null | Error;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useStreamConsentList.html b/functions/useStreamConsentList.html index 85cb83e5..d7af3c0e 100644 --- a/functions/useStreamConsentList.html +++ b/functions/useStreamConsentList.html @@ -1,4 +1,4 @@ useStreamConsentList | @xmtp/react-sdk

Function useStreamConsentList

  • This hook streams new consent list actions on mount and exposes an error state.

    Parameters

    • Optional onAction: ((action) => void | Promise<void>)
        • (action): void | Promise<void>
        • Parameters

          • action: PrivatePreferencesAction

          Returns void | Promise<void>

    • Optional onError: ((error) => void)
        • (error): void
        • Callback function to execute when an error occurs

          -

          Parameters

          • error: Error

          Returns void

    Returns {
        error: null | Error;
    }

    • error: null | Error

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Returns {
    error: null | Error;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useStreamConversations.html b/functions/useStreamConversations.html index 35d8dc05..7f265616 100644 --- a/functions/useStreamConversations.html +++ b/functions/useStreamConversations.html @@ -1,3 +1,3 @@ useStreamConversations | @xmtp/react-sdk

Function useStreamConversations

  • This hook listens for new conversations in real-time and calls the passed callback when a new conversation is created. It also exposes an error state.

    -

    Parameters

    • Optional options: UseStreamConversationsOptions

    Returns {
        error: null | Error;
    }

    • error: null | Error

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    error: null | Error;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/useStreamMessages.html b/functions/useStreamMessages.html index 0aefce07..afd2db3e 100644 --- a/functions/useStreamMessages.html +++ b/functions/useStreamMessages.html @@ -1,2 +1,2 @@ useStreamMessages | @xmtp/react-sdk

Function useStreamMessages

  • This hook streams new conversation messages on mount and exposes an error state.

    -

    Parameters

    Returns {
        error: null | Error;
    }

    • error: null | Error

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns {
    error: null | Error;
}

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedConsentEntry.html b/types/CachedConsentEntry.html index afcccfe5..c9df86d2 100644 --- a/types/CachedConsentEntry.html +++ b/types/CachedConsentEntry.html @@ -1 +1 @@ -CachedConsentEntry | @xmtp/react-sdk

Type alias CachedConsentEntry

CachedConsentEntry: {
    peerAddress: string;
    state: ConsentState;
}

Type declaration

  • peerAddress: string
  • state: ConsentState

Generated using TypeDoc

\ No newline at end of file +CachedConsentEntry | @xmtp/react-sdk

Type alias CachedConsentEntry

CachedConsentEntry: {
    peerAddress: string;
    state: ConsentState;
}

Type declaration

  • peerAddress: string
  • state: ConsentState

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedConsentTable.html b/types/CachedConsentTable.html index a8b96f5a..afcdb88a 100644 --- a/types/CachedConsentTable.html +++ b/types/CachedConsentTable.html @@ -1 +1 @@ -CachedConsentTable | @xmtp/react-sdk

Type alias CachedConsentTable

CachedConsentTable: Table<CachedConsentEntry, string>

Generated using TypeDoc

\ No newline at end of file +CachedConsentTable | @xmtp/react-sdk

Type alias CachedConsentTable

CachedConsentTable: Table<CachedConsentEntry, string>

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedConversation.html b/types/CachedConversation.html index 008329fd..f7d0af05 100644 --- a/types/CachedConversation.html +++ b/types/CachedConversation.html @@ -1 +1 @@ -CachedConversation | @xmtp/react-sdk

Type alias CachedConversation<M>

CachedConversation<M>: {
    context?: InvitationContext;
    createdAt: Date;
    id?: number;
    isReady: boolean;
    lastSyncedAt?: Date;
    metadata?: M;
    peerAddress: string;
    topic: string;
    updatedAt: Date;
    walletAddress: string;
}

Type Parameters

Type declaration

  • Optional context?: InvitationContext
  • createdAt: Date
  • Optional id?: number
  • isReady: boolean
  • Optional lastSyncedAt?: Date
  • Optional metadata?: M
  • peerAddress: string
  • topic: string
  • updatedAt: Date
  • walletAddress: string

Generated using TypeDoc

\ No newline at end of file +CachedConversation | @xmtp/react-sdk

Type alias CachedConversation<M>

CachedConversation<M>: {
    context?: InvitationContext;
    createdAt: Date;
    id?: number;
    isReady: boolean;
    lastSyncedAt?: Date;
    metadata?: M;
    peerAddress: string;
    topic: string;
    updatedAt: Date;
    walletAddress: string;
}

Type Parameters

Type declaration

  • Optional context?: InvitationContext
  • createdAt: Date
  • Optional id?: number
  • isReady: boolean
  • Optional lastSyncedAt?: Date
  • Optional metadata?: M
  • peerAddress: string
  • topic: string
  • updatedAt: Date
  • walletAddress: string

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedConversationWithId.html b/types/CachedConversationWithId.html index 5e73dbe0..33b6beb3 100644 --- a/types/CachedConversationWithId.html +++ b/types/CachedConversationWithId.html @@ -1 +1 @@ -CachedConversationWithId | @xmtp/react-sdk

Type alias CachedConversationWithId

CachedConversationWithId: CachedConversation & {
    id: number;
}

Type declaration

  • id: number

Generated using TypeDoc

\ No newline at end of file +CachedConversationWithId | @xmtp/react-sdk

Type alias CachedConversationWithId

CachedConversationWithId: CachedConversation & {
    id: number;
}

Type declaration

  • id: number

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedConversationsTable.html b/types/CachedConversationsTable.html index 99df7c72..e9110ecb 100644 --- a/types/CachedConversationsTable.html +++ b/types/CachedConversationsTable.html @@ -1 +1 @@ -CachedConversationsTable | @xmtp/react-sdk

Type alias CachedConversationsTable

CachedConversationsTable: Table<CachedConversation, number>

Generated using TypeDoc

\ No newline at end of file +CachedConversationsTable | @xmtp/react-sdk

Type alias CachedConversationsTable

CachedConversationsTable: Table<CachedConversation, number>

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedMessage.html b/types/CachedMessage.html index c93dd8d9..e29de34e 100644 --- a/types/CachedMessage.html +++ b/types/CachedMessage.html @@ -1 +1 @@ -CachedMessage | @xmtp/react-sdk

Type alias CachedMessage<C, M>

CachedMessage<C, M>: {
    content: C;
    contentBytes?: Uint8Array;
    contentFallback?: string;
    contentType: string;
    conversationTopic: string;
    hasLoadError: boolean;
    hasSendError: boolean;
    id?: number;
    isSending: boolean;
    metadata?: M;
    sendOptions?: SendOptions;
    senderAddress: string;
    sentAt: Date;
    status: "unprocessed" | "processed";
    uuid: string;
    walletAddress: string;
    xmtpID: string;
}

Type Parameters

Type declaration

  • content: C
  • Optional contentBytes?: Uint8Array
  • Optional contentFallback?: string
  • contentType: string
  • conversationTopic: string
  • hasLoadError: boolean
  • hasSendError: boolean
  • Optional id?: number
  • isSending: boolean
  • Optional metadata?: M
  • Optional sendOptions?: SendOptions
  • senderAddress: string
  • sentAt: Date
  • status: "unprocessed" | "processed"
  • uuid: string
  • walletAddress: string
  • xmtpID: string

Generated using TypeDoc

\ No newline at end of file +CachedMessage | @xmtp/react-sdk

Type alias CachedMessage<C, M>

CachedMessage<C, M>: {
    content: C;
    contentBytes?: Uint8Array;
    contentFallback?: string;
    contentType: string;
    conversationTopic: string;
    hasLoadError: boolean;
    hasSendError: boolean;
    id?: number;
    isSending: boolean;
    metadata?: M;
    sendOptions?: SendOptions;
    senderAddress: string;
    sentAt: Date;
    status: "unprocessed" | "processed";
    uuid: string;
    walletAddress: string;
    xmtpID: string;
}

Type Parameters

Type declaration

  • content: C
  • Optional contentBytes?: Uint8Array
  • Optional contentFallback?: string
  • contentType: string
  • conversationTopic: string
  • hasLoadError: boolean
  • hasSendError: boolean
  • Optional id?: number
  • isSending: boolean
  • Optional metadata?: M
  • Optional sendOptions?: SendOptions
  • senderAddress: string
  • sentAt: Date
  • status: "unprocessed" | "processed"
  • uuid: string
  • walletAddress: string
  • xmtpID: string

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedMessageWithId.html b/types/CachedMessageWithId.html index bcaab32c..5f3247c3 100644 --- a/types/CachedMessageWithId.html +++ b/types/CachedMessageWithId.html @@ -1 +1 @@ -CachedMessageWithId | @xmtp/react-sdk

Type alias CachedMessageWithId<C>

CachedMessageWithId<C>: CachedMessage<C> & {
    id: number;
}

Type Parameters

  • C = any

Type declaration

  • id: number

Generated using TypeDoc

\ No newline at end of file +CachedMessageWithId | @xmtp/react-sdk

Type alias CachedMessageWithId<C>

CachedMessageWithId<C>: CachedMessage<C> & {
    id: number;
}

Type Parameters

  • C = any

Type declaration

  • id: number

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedMessagesTable.html b/types/CachedMessagesTable.html index 5b77274f..ba135364 100644 --- a/types/CachedMessagesTable.html +++ b/types/CachedMessagesTable.html @@ -1 +1 @@ -CachedMessagesTable | @xmtp/react-sdk

Type alias CachedMessagesTable

CachedMessagesTable: Table<CachedMessage, number>

Generated using TypeDoc

\ No newline at end of file +CachedMessagesTable | @xmtp/react-sdk

Type alias CachedMessagesTable

CachedMessagesTable: Table<CachedMessage, number>

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedReaction.html b/types/CachedReaction.html index 71c2929d..a73622ab 100644 --- a/types/CachedReaction.html +++ b/types/CachedReaction.html @@ -1 +1 @@ -CachedReaction | @xmtp/react-sdk

Type alias CachedReaction

CachedReaction: {
    content: Reaction["content"];
    id?: number;
    referenceXmtpID: Reaction["reference"];
    schema: Reaction["schema"];
    senderAddress: string;
    sentAt: Date;
    xmtpID: string;
}

Type declaration

  • content: Reaction["content"]
  • Optional id?: number
  • referenceXmtpID: Reaction["reference"]
  • schema: Reaction["schema"]
  • senderAddress: string
  • sentAt: Date
  • xmtpID: string

Generated using TypeDoc

\ No newline at end of file +CachedReaction | @xmtp/react-sdk

Type alias CachedReaction

CachedReaction: {
    content: Reaction["content"];
    id?: number;
    referenceXmtpID: Reaction["reference"];
    schema: Reaction["schema"];
    senderAddress: string;
    sentAt: Date;
    xmtpID: string;
}

Type declaration

  • content: Reaction["content"]
  • Optional id?: number
  • referenceXmtpID: Reaction["reference"]
  • schema: Reaction["schema"]
  • senderAddress: string
  • sentAt: Date
  • xmtpID: string

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedReactionsMetadata.html b/types/CachedReactionsMetadata.html index b188edfc..4b5a8e7b 100644 --- a/types/CachedReactionsMetadata.html +++ b/types/CachedReactionsMetadata.html @@ -1 +1 @@ -CachedReactionsMetadata | @xmtp/react-sdk

Type alias CachedReactionsMetadata

CachedReactionsMetadata: boolean

Generated using TypeDoc

\ No newline at end of file +CachedReactionsMetadata | @xmtp/react-sdk

Type alias CachedReactionsMetadata

CachedReactionsMetadata: boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedReactionsTable.html b/types/CachedReactionsTable.html index edb8adab..1800b544 100644 --- a/types/CachedReactionsTable.html +++ b/types/CachedReactionsTable.html @@ -1 +1 @@ -CachedReactionsTable | @xmtp/react-sdk

Type alias CachedReactionsTable

CachedReactionsTable: Table<CachedReaction, number>

Generated using TypeDoc

\ No newline at end of file +CachedReactionsTable | @xmtp/react-sdk

Type alias CachedReactionsTable

CachedReactionsTable: Table<CachedReaction, number>

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedReadReceiptMetadata.html b/types/CachedReadReceiptMetadata.html index 5ed3a60f..3ecd1125 100644 --- a/types/CachedReadReceiptMetadata.html +++ b/types/CachedReadReceiptMetadata.html @@ -1 +1 @@ -CachedReadReceiptMetadata | @xmtp/react-sdk

Type alias CachedReadReceiptMetadata

CachedReadReceiptMetadata: {
    incoming: string | undefined;
    outgoing: string | undefined;
}

Type declaration

  • incoming: string | undefined
  • outgoing: string | undefined

Generated using TypeDoc

\ No newline at end of file +CachedReadReceiptMetadata | @xmtp/react-sdk

Type alias CachedReadReceiptMetadata

CachedReadReceiptMetadata: {
    incoming: string | undefined;
    outgoing: string | undefined;
}

Type declaration

  • incoming: string | undefined
  • outgoing: string | undefined

Generated using TypeDoc

\ No newline at end of file diff --git a/types/ContentTypeConfiguration.html b/types/ContentTypeConfiguration.html index 4508f78b..0c96bca8 100644 --- a/types/ContentTypeConfiguration.html +++ b/types/ContentTypeConfiguration.html @@ -1 +1 @@ -ContentTypeConfiguration | @xmtp/react-sdk

Type alias ContentTypeConfiguration

ContentTypeConfiguration: {
    codecs: ContentCodec<any>[];
    contentTypes: string[];
    namespace: string;
    processors?: ContentTypeMessageProcessors;
    schema?: Record<string, string>;
    validators?: ContentTypeMessageValidators;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file +ContentTypeConfiguration | @xmtp/react-sdk

Type alias ContentTypeConfiguration

ContentTypeConfiguration: {
    codecs: ContentCodec<any>[];
    contentTypes: string[];
    namespace: string;
    processors?: ContentTypeMessageProcessors;
    schema?: Record<string, string>;
    validators?: ContentTypeMessageValidators;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/types/ContentTypeMessageProcessor.html b/types/ContentTypeMessageProcessor.html index 61d9479e..03c625b2 100644 --- a/types/ContentTypeMessageProcessor.html +++ b/types/ContentTypeMessageProcessor.html @@ -1 +1 @@ -ContentTypeMessageProcessor | @xmtp/react-sdk

Type alias ContentTypeMessageProcessor<C>

ContentTypeMessageProcessor<C>: ((options) => void | Promise<void>)

Type Parameters

  • C = any

Type declaration

Generated using TypeDoc

\ No newline at end of file +ContentTypeMessageProcessor | @xmtp/react-sdk

Type alias ContentTypeMessageProcessor<C>

ContentTypeMessageProcessor<C>: ((options) => void | Promise<void>)

Type Parameters

  • C = any

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/types/ContentTypeMessageProcessors.html b/types/ContentTypeMessageProcessors.html index df930f64..9c4bf56f 100644 --- a/types/ContentTypeMessageProcessors.html +++ b/types/ContentTypeMessageProcessors.html @@ -1 +1 @@ -ContentTypeMessageProcessors | @xmtp/react-sdk

Type alias ContentTypeMessageProcessors

ContentTypeMessageProcessors: {
    [contentType: string]: ContentTypeMessageProcessor[];
}

Type declaration

Generated using TypeDoc

\ No newline at end of file +ContentTypeMessageProcessors | @xmtp/react-sdk

Type alias ContentTypeMessageProcessors

ContentTypeMessageProcessors: {
    [contentType: string]: ContentTypeMessageProcessor[];
}

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/types/ContentTypeMessageValidators.html b/types/ContentTypeMessageValidators.html index c614b113..2303bc82 100644 --- a/types/ContentTypeMessageValidators.html +++ b/types/ContentTypeMessageValidators.html @@ -1 +1 @@ -ContentTypeMessageValidators | @xmtp/react-sdk

Type alias ContentTypeMessageValidators

ContentTypeMessageValidators: Record<string, ((content) => boolean)>

Type declaration

    • (content): boolean
    • Parameters

      • content: unknown

      Returns boolean

Generated using TypeDoc

\ No newline at end of file +ContentTypeMessageValidators | @xmtp/react-sdk

Type alias ContentTypeMessageValidators

ContentTypeMessageValidators: Record<string, ((content) => boolean)>

Type declaration

    • (content): boolean
    • Parameters

      • content: unknown

      Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/types/ContentTypeMetadata.html b/types/ContentTypeMetadata.html index 7b4e1e26..bab4f27a 100644 --- a/types/ContentTypeMetadata.html +++ b/types/ContentTypeMetadata.html @@ -1 +1 @@ -ContentTypeMetadata | @xmtp/react-sdk

Type alias ContentTypeMetadata

ContentTypeMetadata: {
    [namespace: string]: ContentTypeMetadataValues;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file +ContentTypeMetadata | @xmtp/react-sdk

Type alias ContentTypeMetadata

ContentTypeMetadata: {
    [namespace: string]: ContentTypeMetadataValues;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/types/ContentTypeMetadataValue.html b/types/ContentTypeMetadataValue.html index 10a19fd0..9e82ef18 100644 --- a/types/ContentTypeMetadataValue.html +++ b/types/ContentTypeMetadataValue.html @@ -1 +1 @@ -ContentTypeMetadataValue | @xmtp/react-sdk

Type alias ContentTypeMetadataValue

ContentTypeMetadataValue: string | string[] | number | number[] | boolean | boolean[] | null | Uint8Array

Generated using TypeDoc

\ No newline at end of file +ContentTypeMetadataValue | @xmtp/react-sdk

Type alias ContentTypeMetadataValue

ContentTypeMetadataValue: string | string[] | number | number[] | boolean | boolean[] | null | Uint8Array

Generated using TypeDoc

\ No newline at end of file diff --git a/types/ContentTypeMetadataValues.html b/types/ContentTypeMetadataValues.html index d0e43d7a..0e691711 100644 --- a/types/ContentTypeMetadataValues.html +++ b/types/ContentTypeMetadataValues.html @@ -1 +1 @@ -ContentTypeMetadataValues | @xmtp/react-sdk

Type alias ContentTypeMetadataValues

ContentTypeMetadataValues: ContentTypeMetadataValue | Record<string, ContentTypeMetadataValue>

Generated using TypeDoc

\ No newline at end of file +ContentTypeMetadataValues | @xmtp/react-sdk

Type alias ContentTypeMetadataValues

ContentTypeMetadataValues: ContentTypeMetadataValue | Record<string, ContentTypeMetadataValue>

Generated using TypeDoc

\ No newline at end of file diff --git a/types/ProcessUnprocessedMessagesOptions.html b/types/ProcessUnprocessedMessagesOptions.html index 18c72f07..26d6b744 100644 --- a/types/ProcessUnprocessedMessagesOptions.html +++ b/types/ProcessUnprocessedMessagesOptions.html @@ -1,3 +1,3 @@ ProcessUnprocessedMessagesOptions | @xmtp/react-sdk

Type alias ProcessUnprocessedMessagesOptions

ProcessUnprocessedMessagesOptions: Omit<ProcessMessageOptions, "conversation" | "message" | "client"> & Pick<Required<ProcessMessageOptions>, "client"> & {
    reprocess?: typeof reprocessMessage;
}

Type declaration

  • Optional reprocess?: typeof reprocessMessage

    This is a convenience option to override the default reprocessMessage for testing purposes and should not be used in production.

    -

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/variables/attachmentContentTypeConfig.html b/variables/attachmentContentTypeConfig.html index 2f00c533..f327e9b1 100644 --- a/variables/attachmentContentTypeConfig.html +++ b/variables/attachmentContentTypeConfig.html @@ -1 +1 @@ -attachmentContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file +attachmentContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file diff --git a/variables/reactionContentTypeConfig.html b/variables/reactionContentTypeConfig.html index 34d3d937..07e49757 100644 --- a/variables/reactionContentTypeConfig.html +++ b/variables/reactionContentTypeConfig.html @@ -1 +1 @@ -reactionContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file +reactionContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file diff --git a/variables/readReceiptContentTypeConfig.html b/variables/readReceiptContentTypeConfig.html index 29f9f201..b69d471e 100644 --- a/variables/readReceiptContentTypeConfig.html +++ b/variables/readReceiptContentTypeConfig.html @@ -1 +1 @@ -readReceiptContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file +readReceiptContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file diff --git a/variables/replyContentTypeConfig.html b/variables/replyContentTypeConfig.html index 1db13df0..cee7e1df 100644 --- a/variables/replyContentTypeConfig.html +++ b/variables/replyContentTypeConfig.html @@ -1 +1 @@ -replyContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file +replyContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file diff --git a/variables/textContentTypeConfig.html b/variables/textContentTypeConfig.html index 96265598..b12d03c0 100644 --- a/variables/textContentTypeConfig.html +++ b/variables/textContentTypeConfig.html @@ -1 +1 @@ -textContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file +textContentTypeConfig | @xmtp/react-sdk

Generated using TypeDoc

\ No newline at end of file