Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / OtpState

Interface: OtpState

Snapshot of OTP state machine at any instant.

Properties

attemptsRemaining

readonly attemptsRemaining: number


bypassToken

readonly bypassToken: string


cooldownRemaining

readonly cooldownRemaining: number


error

readonly error: string


errorCode

readonly errorCode: string


isTerminal

readonly isTerminal: boolean


normalizedPhone

readonly normalizedPhone: string


otpToken

readonly otpToken: string


phone

readonly phone: string


requestId

readonly requestId: string


status

readonly status: OtpStatus