use tiny-secp256k1, updated nip06 and other utils.

This commit is contained in:
fiatjaf
2021-12-29 14:29:43 -03:00
parent faa308049f
commit 60fc0d7940
7 changed files with 61 additions and 31 deletions

View File

@@ -1,3 +1,4 @@
import {generatePrivateKey, getPublicKey} from './keys'
import {relayConnect} from './relay'
import {relayPool} from './pool'
import {
@@ -8,7 +9,6 @@ import {
getEventHash
} from './event'
import {matchFilter, matchFilters} from './filter'
import {makeRandom32, sha256, getPublicKey} from './utils'
export {
relayConnect,
@@ -17,8 +17,6 @@ export {
verifySignature,
serializeEvent,
getEventHash,
makeRandom32,
sha256,
getPublicKey,
getBlankEvent,
matchFilter,