@wocart/storefront / index / OtpState
Interface: OtpState
Snapshot of OTP state machine at any instant.
Properties
attemptsRemaining
readonlyattemptsRemaining:number
bypassToken
readonlybypassToken:string
cooldownRemaining
readonlycooldownRemaining:number
error
readonlyerror:string
errorCode
readonlyerrorCode:string
isTerminal
readonlyisTerminal:boolean
normalizedPhone
readonlynormalizedPhone:string
otpToken
readonlyotpToken:string
phone
readonlyphone:string
requestId
readonlyrequestId:string
status
readonlystatus:OtpStatus