adapt to new nip-01, change "attempt" notification logic.

This commit is contained in:
fiatjaf
2021-02-15 00:15:24 -03:00
parent d355bbead4
commit c03f8d1c56
3 changed files with 66 additions and 89 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "nostr-tools",
"version": "0.3.2",
"version": "0.4.0",
"description": "Tools for making a Nostr client.",
"main": "index.js",
"repository": {
@@ -10,6 +10,7 @@
"dependencies": {
"buffer": "^6.0.3",
"noble-secp256k1": "^1.1.1",
"ramda": "^0.27.1",
"websocket-polyfill": "^0.0.3"
},
"keywords": [
@@ -23,14 +24,5 @@
"censorship",
"censorship-resistance",
"client"
],
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-node-resolve": "^11.0.1",
"rollup": "^2.36.1",
"rollup-plugin-ignore": "^1.0.9",
"rollup-plugin-terser": "^7.0.2"
}
]
}