Compare commits

..

1 Commits

Author SHA1 Message Date
fiatjaf
7447524028 add nip06. 2021-12-11 19:28:00 -03:00
3 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
import createHmac from 'create-hmac'
import randomBytes from 'randombytes'
import * as bip39 from 'bip39'
export function privateKeyFromSeed(seed) {

View File

@@ -1,6 +1,6 @@
{
"name": "nostr-tools",
"version": "0.7.2",
"version": "0.7.0",
"description": "Tools for making a Nostr client.",
"repository": {
"type": "git",

View File

@@ -84,6 +84,8 @@ export function relayConnect(url, onNotice) {
if (channels[channel]) {
channels[channel](event)
}
} else {
console.warn('got event with invalid signature from ' + url, event)
}
return
}