better publishing built files.

This commit is contained in:
fiatjaf
2022-12-20 16:43:15 -03:00
parent 6dede4a688
commit b96159ad36
11 changed files with 35 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
/* eslint-env jest */
const {nip04, getPublicKey, generatePrivateKey} = require('./cjs')
const {nip04, getPublicKey, generatePrivateKey} = require('./lib/nostr.cjs')
test('encrypt and decrypt message', () => {
let sk1 = generatePrivateKey()