| 455 | }; |
| 456 | |
| 457 | const login = async data => { |
| 458 | const { username, domain } = data; |
| 459 | const recipientId = getRecipientId({ recipientId: username, domain }); |
| 460 | const client = await createClient({ |
| 461 | recipientId, |
| 462 | optionalToken: '@' |
| 463 | }); |
| 464 | return await client.login(data); |
| 465 | }; |
| 466 | |
| 467 | const loginFirst = async data => { |
| 468 | const { username, domain } = data; |
nothing calls this directly
no test coverage detected