Add NIP-44 encryption and decryption
This commit is contained in:
@@ -9,6 +9,8 @@ window.addEventListener('message', async message => {
|
||||
'getRelays',
|
||||
'nip04.encrypt',
|
||||
'nip04.decrypt',
|
||||
'nip44.encrypt',
|
||||
'nip44.decrypt',
|
||||
];
|
||||
let { kind, reqId, payload } = message.data;
|
||||
if (!validEvents.includes(kind)) return;
|
||||
|
||||
Reference in New Issue
Block a user