diff --git a/packages/auth-client/src/actions/app/status.ts b/packages/auth-client/src/actions/app/status.ts index af387a9..f959b19 100644 --- a/packages/auth-client/src/actions/app/status.ts +++ b/packages/auth-client/src/actions/app/status.ts @@ -9,13 +9,16 @@ export interface StatusArgs { export type StatusResponse = AsyncUnwrapped>; -export interface StatusAPIResponse { - state: "pending" | "completed"; +export type StatusAPIResponse = { + state: "pending"; + nonce: string; +} | { + state: "completed"; nonce: string; url: string; - message?: string; - signature?: `0x${string}`; - fid?: number; + message: string; + signature: `0x${string}`; + fid: number; username?: string; bio?: string; displayName?: string;