MCPcopy Create free account
hub / github.com/CommE2E/comm / getAndAssertKeyserverURLFacts

Function getAndAssertKeyserverURLFacts

keyserver/src/utils/urls.js:57–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57function getAndAssertKeyserverURLFacts(): AppURLFacts {
58 const urlFacts = getKeyserverURLFacts();
59 invariant(urlFacts, 'keyserver/facts/keyserver_url.json missing');
60 return urlFacts;
61}
62
63// ESLint doesn't recognize that invariant always throws
64// eslint-disable-next-line consistent-return

Callers 6

uploadInviteLinkBlobFunction · 0.90
getCommbotMessageFunction · 0.90
websiteResponderFunction · 0.90
getUploadURLFunction · 0.90

Calls 1

getKeyserverURLFactsFunction · 0.85

Tested by

no test coverage detected