({ username, domain })
| 208 | }; |
| 209 | |
| 210 | const canLogin = async ({ username, domain }) => { |
| 211 | const recipientId = getRecipientId({ recipientId: username, domain }); |
| 212 | const client = await createClient({ |
| 213 | recipientId, |
| 214 | optionalToken: '@' |
| 215 | }); |
| 216 | return await client.canLogin({ username, domain }); |
| 217 | }; |
| 218 | |
| 219 | const canSend = async params => { |
| 220 | const { recipientId } = params; |
nothing calls this directly
no test coverage detected