From 6e9f37de5bb40b733719f0034ab1242afeddbe35 Mon Sep 17 00:00:00 2001 From: neekolas Date: Tue, 30 Jan 2024 03:54:30 +0000 Subject: [PATCH] deploy: 0a1e18d08c16fe7dc1f327363a0fc0ab0e64147b --- functions/XMTPProvider.html | 2 +- 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/getReplies.html | 2 +- functions/hasConversationTopic.html | 2 +- functions/hasReaction.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/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/replyContentTypeConfig.html | 2 +- variables/textContentTypeConfig.html | 2 +- 73 files changed, 73 insertions(+), 73 deletions(-) diff --git a/functions/XMTPProvider.html b/functions/XMTPProvider.html index 9a9f46f2..e32699ae 100644 --- a/functions/XMTPProvider.html +++ b/functions/XMTPProvider.html @@ -1 +1 @@ -XMTPProvider | @xmtp/react-sdk

Function XMTPProvider

Generated using TypeDoc

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

Function XMTPProvider

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/bulkPutConsentState.html b/functions/bulkPutConsentState.html index a3b746dc..1eb8e2ee 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 ce6aee12..7e22bca6 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 d13ed1f2..045851b5 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 39fc4b5a..0665fef7 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 a04a3515..102ac771 100644 --- a/functions/getCachedConsentEntries.html +++ b/functions/getCachedConsentEntries.html @@ -1,3 +1,3 @@ getCachedConsentEntries | @xmtp/react-sdk

Function getCachedConsentEntries

  • Retrieve all cached consent entries

    Parameters

    • walletAddress: string
    • db: Dexie

    Returns Promise<ConsentListEntry[]>

    An array of ConsentListEntry instances

    -

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 2426cf35..acaedfa6 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 cbbf838e..e929f898 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 db1159b7..17817293 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 2da7955c..73385c72 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 53df9a21..8091883b 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 69dcbae7..adb256e0 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 692726cd..508234b8 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 154d4c67..3b999351 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 51a53795..9f23fe29 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/getReplies.html b/functions/getReplies.html index 5f3817c1..031acbe8 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 43e4a6a8..b9649287 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 8e9234ee..9f7497aa 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/hasReply.html b/functions/hasReply.html index bc7d7e01..47abc28e 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 0376ec1b..f66a39e9 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 195188b8..c163f4c6 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 be8079b1..fb5d438d 100644 --- a/functions/putConsentState.html +++ b/functions/putConsentState.html @@ -1,2 +1,2 @@ putConsentState | @xmtp/react-sdk

Function putConsentState

  • Add or update a peer address's consent state

    -

    Parameters

    • walletAddress: string
    • peerAddress: string
    • state: ConsentState
    • db: Dexie

    Returns Promise<void>

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 ef9878cb..c458ac26 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 0ecc3cb9..e549b5ee 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 84903270..4626bb33 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 34e2e1f2..f81e3ce9 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 df73a4aa..79d9d528 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 4eb14a5e..1a664902 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 affc85c0..2f1c22d0 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 75c7e451..9ba5cd31 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 1973d2ed..5cc6a904 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 3706266b..b9aa1497 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 dfd23ba2..5e63c536 100644 --- a/functions/useCanMessage.html +++ b/functions/useCanMessage.html @@ -1,3 +1,3 @@ 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
        • 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 {
    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 cdfbb947..96aa2432 100644 --- a/functions/useClient.html +++ b/functions/useClient.html @@ -1,3 +1,3 @@ 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
        • 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 {
    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 98148eec..0b67392b 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 e5f3bce6..8cf7d594 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 23bc30e9..d075e337 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 c0fc2d5b..78234cb9 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 78d3ed50..5755a8eb 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 32d84a60..0e03c0ff 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 d1d1e546..7b9cc9d3 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 125f8a8f..d322c7e9 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 e08ba993..798460c4 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 d1f2b3d9..a71ef821 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 31ad406f..c23e0b41 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 b8593819..4f12e335 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 9c861550..99d3939d 100644 --- a/functions/useStreamAllMessages.html +++ b/functions/useStreamAllMessages.html @@ -1,3 +1,3 @@ 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
        • Parameters

          • error: Error

          Returns void

    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/useStreamConsentList.html b/functions/useStreamConsentList.html index 876eb8d8..e256a56f 100644 --- a/functions/useStreamConsentList.html +++ b/functions/useStreamConsentList.html @@ -1,3 +1,3 @@ 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
        • Parameters

          • error: Error

          Returns void

    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/useStreamConversations.html b/functions/useStreamConversations.html index 6769414d..cc3f9119 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 aedba5d0..5d30541e 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 817b93b2..1390b143 100644 --- a/types/CachedConsentEntry.html +++ b/types/CachedConsentEntry.html @@ -1 +1 @@ -CachedConsentEntry | @xmtp/react-sdk

Type alias CachedConsentEntry

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

Type declaration

  • peerAddress: string
  • state: ConsentState
  • walletAddress: string

Generated using TypeDoc

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

Type alias CachedConsentEntry

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

Type declaration

  • peerAddress: string
  • state: ConsentState
  • walletAddress: string

Generated using TypeDoc

\ No newline at end of file diff --git a/types/CachedConsentTable.html b/types/CachedConsentTable.html index fbf640fe..2fd7777e 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 39a98daf..38d133d8 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 5b322738..155815bd 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 a6e99c5b..f52ae7d4 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 df5d27a3..aac36317 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 081cfd3c..3dbb1c99 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 410197d4..1c994065 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 d1808cce..765788ec 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 3911c4ec..66b67bad 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 6d5b2234..2aebe56d 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/ContentTypeConfiguration.html b/types/ContentTypeConfiguration.html index b6492ec0..7f554952 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 e19c47c4..fea447e1 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 873d1cc0..6af415f7 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 4860b81b..4e75322f 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 8a799dd3..10b69be4 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 2e687df4..fb056f87 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 d217b05d..a57a9761 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 c888fac2..3eab7a9e 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 4e9aad0d..4131c8d5 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 d00016d0..4807aa94 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/replyContentTypeConfig.html b/variables/replyContentTypeConfig.html index dba660f4..dd0e14b8 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 60b0dafe..f35d50c5 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