diff --git a/lib/keyManagementTwoLevel.ts b/lib/keyManagementTwoLevel.ts index e0b708f..168c43b 100644 --- a/lib/keyManagementTwoLevel.ts +++ b/lib/keyManagementTwoLevel.ts @@ -253,12 +253,6 @@ async function storeEncryptedKEK(encryptedKEK: EncryptedPayload): Promise // Store encrypted KEK as password in credential // Type assertion for PasswordCredential - interface PasswordCredentialData { - id: string - name: string - password: string - iconURL?: string - } type PasswordCredentialType = new (data: PasswordCredentialData) => Credential & { id: string; password: string } const PasswordCredentialClass = PasswordCredentialConstructor as PasswordCredentialType const credential = new PasswordCredentialClass({ diff --git a/lib/nostrEventParsing.ts b/lib/nostrEventParsing.ts index 7c3dc44..9595075 100644 --- a/lib/nostrEventParsing.ts +++ b/lib/nostrEventParsing.ts @@ -226,7 +226,7 @@ async function buildArticle(event: Event, tags: ReturnType