From 1555d80052ba5a465ecff37a1a2aa5b6919de4b3 Mon Sep 17 00:00:00 2001 From: Alex Risch Date: Thu, 19 Dec 2024 17:04:34 -0500 Subject: [PATCH 1/2] fix: Fixed type to match new SDK Version Added senderInboxId --- features/conversation/hooks/use-send-message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/conversation/hooks/use-send-message.ts b/features/conversation/hooks/use-send-message.ts index b6e9c4d93..f29f649bb 100644 --- a/features/conversation/hooks/use-send-message.ts +++ b/features/conversation/hooks/use-send-message.ts @@ -82,7 +82,7 @@ export function useSendMessage(props: { // @ts-ignore we're adding our "own" delivery status because we want to display it in the UI deliveryStatus: "sending" satisfies IConversationMessageStatus, topic: conversation.topic, - senderAddress: currentUserInboxId, + senderInboxId: currentUserInboxId, nativeContent: {}, content: () => { return variables.content.text!; From 44be864a4501b3397b173291567d4db64559f25c Mon Sep 17 00:00:00 2001 From: Alex Risch Date: Thu, 19 Dec 2024 17:38:00 -0500 Subject: [PATCH 2/2] fix tsc --- features/GroupInvites/joinGroup/JoinGroup.client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/features/GroupInvites/joinGroup/JoinGroup.client.ts b/features/GroupInvites/joinGroup/JoinGroup.client.ts index 4de3b7f61..0f7e11fcd 100644 --- a/features/GroupInvites/joinGroup/JoinGroup.client.ts +++ b/features/GroupInvites/joinGroup/JoinGroup.client.ts @@ -24,6 +24,7 @@ import {} from "../groupInvites.utils"; import { JoinGroupResult } from "./joinGroup.types"; import { ConversationListQueryData } from "@/queries/useConversationListQuery"; import { entify } from "@/queries/entify"; +import { wait } from "@/utils/wait"; const GROUP_JOIN_REQUEST_POLL_MAX_ATTEMPTS = 10; const GROUP_JOIN_REQUEST_POLL_INTERVAL_MS = 1000;