diff --git a/lib/types/messages/update-relationship.js b/lib/types/messages/update-relationship.js --- a/lib/types/messages/update-relationship.js +++ b/lib/types/messages/update-relationship.js @@ -71,8 +71,8 @@ operation: t.enums.of(['request_sent', 'request_accepted']), }); -export const rawUpdateFarcasterRelationshipMessageInfoValidator: TInterface = - tShape({ +export const rawUpdateFarcasterRelationshipMessageInfoValidator: TInterface = + tShape({ id: tID, type: tNumber(messageTypes.UPDATE_RELATIONSHIP), threadID: tID, diff --git a/lib/utils/avatar-utils.js b/lib/utils/avatar-utils.js --- a/lib/utils/avatar-utils.js +++ b/lib/utils/avatar-utils.js @@ -6,6 +6,7 @@ import { tShape, tString, tID } from './validation-utils.js'; import { type ImageAvatarDBContent, + type EncryptedImageAvatarDBContent, type UpdateUserAvatarRemoveRequest, type UpdateUserAvatarRequest, emojiAvatarDBContentValidator, @@ -18,7 +19,7 @@ uploadID: tID, }); -const encryptedImageAvatarDBContentValidator: TInterface = +const encryptedImageAvatarDBContentValidator: TInterface = tShape({ type: tString('encrypted_image'), uploadID: tID,