| 465 | }; |
| 466 | |
| 467 | const loginFirst = async data => { |
| 468 | const { username, domain } = data; |
| 469 | const recipientId = getRecipientId({ recipientId: username, domain }); |
| 470 | const client = await createClient({ |
| 471 | recipientId, |
| 472 | optionalToken: '@' |
| 473 | }); |
| 474 | return await client.loginFirst(data); |
| 475 | }; |
| 476 | |
| 477 | const logout = async recipientId => { |
| 478 | const client = await createClient({ recipientId }); |
nothing calls this directly
no test coverage detected