From ce9b7fdaea724da12064aef91a3133f90b69932b Mon Sep 17 00:00:00 2001 From: Flickque <36712020+Flickque@users.noreply.github.com> Date: Wed, 6 Mar 2024 02:58:35 +0700 Subject: [PATCH] fix: update neynar frame validation type (#212) --- src/utils/neynar/frame/types.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/utils/neynar/frame/types.ts b/src/utils/neynar/frame/types.ts index f03e6bd329..3b9feb2b57 100644 --- a/src/utils/neynar/frame/types.ts +++ b/src/utils/neynar/frame/types.ts @@ -38,6 +38,9 @@ export interface NeynarFrameValidationInternalModel { text: string; }; url: string; + state: { + serialized: string; + }; cast: { object: string; hash: string; @@ -79,11 +82,18 @@ export interface NeynarFrameValidationInternalModel { version: string; title: string; image: string; + image_aspect_ratio: string; buttons: { index: number; title: string; action_type: string; }[]; + input: { + text: string; + }; + state: { + serialized: string; + }; post_url: string; frames_url: string; }[]; @@ -123,5 +133,6 @@ export interface NeynarFrameValidationInternalModel { recasted: boolean; }; }; + timestamp: string; }; -} +} \ No newline at end of file