MCPcopy Create free account
hub / github.com/Criptext/Criptext-Email-React-Client / findDevices

Function findDevices

electron_app/src/clientManager.js:291–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289};
290
291const findDevices = async params => {
292 const recipientId = getRecipientId(params);
293 const client = await createClient({
294 recipientId,
295 optionalToken: '@'
296 });
297 const res = await client.findDevices(params);
298 return res.status === 200
299 ? res
300 : await checkExpiredSession(res, findDevices, params);
301};
302
303const findKeyBundles = async params => {
304 const { recipientId } = params;

Callers

nothing calls this directly

Calls 3

getRecipientIdFunction · 0.85
createClientFunction · 0.70
checkExpiredSessionFunction · 0.70

Tested by

no test coverage detected