IGPAPI
    Preparing search index...

    Function readRecoveryChallenges

    • The picker's radio list: every option value referencing a declared selection state, paired with its display row (the call whose two leading string args are the row title and the masked contact, and whose deeper args carry the option's own reference). preselected is the initial of the selection state the options reference, when they reference exactly one.

      Pure function — no IO, testable with fixture data.

      Parameters

      Returns {
          challenges: readonly AccountRecoveryBloksChallenge[];
          preselected: string | undefined;
      }