release #111

Merged
b merged 39 commits from staging into main 2024-07-11 13:42:05 +00:00
Showing only changes of commit 29654a9b91 - Show all commits

View File

@ -378,6 +378,13 @@ export class NostrController extends EventEmitter {
throw new Error('Login method is undefined')
}
/**
* Decrypts a given content based on the current login method.
*
* @param sender - The sender's public key.
* @param content - The encrypted content to decrypt.
* @returns A promise that resolves to the decrypted content.
*/
nip04Decrypt = async (sender: string, content: string) => {
const loginMethod = (store.getState().auth as AuthState).loginMethod