We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26e6da6 commit 8262a81Copy full SHA for 8262a81
nip04.test.js
@@ -1,5 +1,6 @@
1
/* eslint-env jest */
2
3
+globalThis.crypto = require('crypto')
4
const {nip04, getPublicKey, generatePrivateKey} = require('./lib/nostr.cjs')
5
6
test('encrypt and decrypt message', async () => {
0 commit comments