We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7331edf commit 4739407Copy full SHA for 4739407
src/App.svelte
@@ -188,6 +188,16 @@
188
if (!connecting && !connected) connectOrOpen()
189
return (await bunker).nip04Decrypt(pubkey, ciphertext)
190
}
191
+ },
192
+ nip44: {
193
+ async encrypt(pubkey: string, plaintext: string): Promise<string> {
194
+ if (!connecting && !connected) connectOrOpen()
195
+ return (await bunker).nip44Encrypt(pubkey, plaintext)
196
197
+ async decrypt(pubkey: string, ciphertext: string): Promise<string> {
198
199
+ return (await bunker).nip44Decrypt(pubkey, ciphertext)
200
+ }
201
202
203
0 commit comments