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

Function syncPlatformDetails

keyserver/src/utils/identity-utils.js:87–99  ·  view source on GitHub ↗
(identityInfo: IdentityInfo)

Source from the content-addressed store, hash-verified

85}
86
87async function syncPlatformDetails(identityInfo: IdentityInfo): Promise<void> {
88 const [rustAPI, deviceID] = await Promise.all([
89 getRustAPI(),
90 getContentSigningKey(),
91 ]);
92 return authVerifiedEndpoint(
93 rustAPI.syncPlatformDetails(
94 identityInfo.userId,
95 deviceID,
96 identityInfo.accessToken,
97 ),
98 );
99}
100
101async function uploadOneTimeKeys(
102 identityInfo: IdentityInfo,

Callers 2

Calls 4

getRustAPIFunction · 0.90
getContentSigningKeyFunction · 0.90
authVerifiedEndpointFunction · 0.85
syncPlatformDetailsMethod · 0.45

Tested by

no test coverage detected