Closed stevenelleman closed 2 weeks ago
if (
!tap.ownerUsername ||
!tap.ownerDisplayName ||
!tap.ownerSignaturePublicKey ||
!tap.ownerEncryptionPublicKey ||
!tap.ownerPsiPublicKeyLink
) {
throw new Error("Tap owner username, display name, or keys not found");
}
So one or more of these are missing. If I had to guess, I bet it would be a user input (UserName or DisplayName) which is optional.
Bingo, display name (corresponding to User Name) is missing.
{
"chipIssuer": "EDGE_CITY_LANNA",
"chipIsRegistered": true,
"tap": {
"chipPublicKey": "...",
"message": "...",
"signature": "...",
"tapCount": 16,
"ownerUsername": "Tessla",
"ownerDisplayName": "", [*** empty value ***]
"ownerBio": "๐ค๐๐งก",
"ownerSignaturePublicKey": "...",
"ownerEncryptionPublicKey": "...",
"ownerPsiPublicKeyLink": "...",
"ownerUserData": {
"telegram": {
"username": "Hi_tessla"
}
},
"timestamp": "2024-10-13T03:28:38.430Z"
}
}```
Here's where the Display Name is set: https://github.com/cursive-team/connections/blob/main/apps/frontend/src/features/register/EnterUserInfo.tsx#L45
Options:
I'm going to put all context of the issue here as a thread.