Israeli Bank Importer - v1.44.5
    Preparing search index...

    Runs a primary OTP prompter and falls back to a secondary on timeout.

    Implements

    Index
    • Returns an OTP retriever that tries the primary then, on timeout only, the fallback. Non-timeout primary errors are rethrown.

      Parameters

      • bankName: string

        Bank id shown to the user in the prompt.

      • OptionaltimeoutSeconds: number

        Optional per-bank timeout override in seconds.

      Returns () => Promise<string>

      Async function that resolves an OTP from either prompter.