(step)
| 301 | } |
| 302 | |
| 303 | function getHotmailVerificationPollConfig(step) { |
| 304 | if (step === 4 || step === 7) { |
| 305 | return { |
| 306 | initialDelayMs: 5000, |
| 307 | maxAttempts: 12, |
| 308 | intervalMs: 5000, |
| 309 | requestFreshCodeFirst: false, |
| 310 | ignorePersistedLastCode: true, |
| 311 | }; |
| 312 | } |
| 313 | |
| 314 | return { |
| 315 | initialDelayMs: 5000, |
| 316 | maxAttempts: 8, |
| 317 | intervalMs: 4000, |
| 318 | requestFreshCodeFirst: false, |
| 319 | ignorePersistedLastCode: true, |
| 320 | }; |
| 321 | } |
| 322 | |
| 323 | function getHotmailVerificationRequestTimestamp(step, state = {}, options = {}) { |
| 324 | const bufferMs = Number(options.bufferMs) || 15_000; |
no outgoing calls
no test coverage detected