Content pfp
Content
@
https://warpcast.com/~/channel/frames-v2
0 reply
0 recast
0 reaction

Kasra Rahjerdi pfp
Kasra Rahjerdi
@jc4p
has anyone else encountered frame.sdk.context.user changing payload data? it used to return { fid, username } it now seems to be returning an object which inside of it has a user object which inside of it has { fid, username } // cc @linda @deodad
4 replies
2 recasts
6 reactions

Tony D’Addeo pfp
Tony D’Addeo
@deodad
possible we unintentionally broke this, will look
0 reply
0 recast
2 reactions

Linda Xie pfp
Linda Xie
@linda
cc @horsefacts.eth @samuellhuber.eth
0 reply
0 recast
2 reactions

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
Not aware of any change there personally. export type FrameContext = { user: { fid: number; username?: string; displayName?: string; pfpUrl?: string; }; location?: FrameLocationContext; client: { clientFid: number; added: boolean; safeAreaInsets?: SafeAreaInsets; notificationDetails?: FrameNotificationDetails; }; }; Is what it should return according to the FIP https://github.com/farcasterxyz/protocol/discussions/205
0 reply
0 recast
6 reactions

C O M P Ξ Z pfp
C O M P Ξ Z
@compez.eth
Yes! i changed to something like this and fixed. const context = await frame.sdk.context; const user = context?.user; console.log("User context received:", user);
0 reply
0 recast
2 reactions