In offline mode create a wrapper zip file #110

Merged
s merged 8 commits from issue-109 into staging 2024-06-13 10:01:31 +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')
}
/**
s marked this conversation as resolved Outdated
Outdated
Review

pls add comments

pls add comments
* 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