nostr-tools
Advanced tools
Comparing version 0.10.3 to 0.11.0
@@ -0,1 +1,2 @@ | ||
import aes from 'browserify-cipher' | ||
import {Buffer} from 'buffer' | ||
@@ -10,3 +11,3 @@ import randomBytes from 'randombytes' | ||
let iv = Uint8Array.from(randomBytes(16)) | ||
var cipher = crypto.createCipheriv( | ||
var cipher = aes.createCipheriv( | ||
'aes-256-cbc', | ||
@@ -26,3 +27,3 @@ Buffer.from(normalizedKey, 'hex'), | ||
var decipher = crypto.createDecipheriv( | ||
var decipher = aes.createDecipheriv( | ||
'aes-256-cbc', | ||
@@ -29,0 +30,0 @@ Buffer.from(normalizedKey, 'hex'), |
{ | ||
"name": "nostr-tools", | ||
"version": "0.10.3", | ||
"version": "0.11.0", | ||
"description": "Tools for making a Nostr client.", | ||
@@ -12,6 +12,7 @@ "repository": { | ||
"bip39": "^3.0.4", | ||
"buffer": "^6.0.3", | ||
"create-hmac": "^1.1.7", | ||
"browserify-cipher": ">=1", | ||
"buffer": ">=5", | ||
"create-hmac": ">=1", | ||
"dns-packet": "^5.2.4", | ||
"randombytes": "^2.1.0", | ||
"randombytes": ">=2", | ||
"websocket-polyfill": "^0.0.3" | ||
@@ -18,0 +19,0 @@ }, |
19677
580
8
+ Addedbrowserify-cipher@>=1
+ Addedbrowserify-aes@1.2.0(transitive)
+ Addedbrowserify-cipher@1.0.1(transitive)
+ Addedbrowserify-des@1.0.2(transitive)
+ Addedbuffer-xor@1.0.3(transitive)
+ Addeddes.js@1.1.0(transitive)
+ Addedevp_bytestokey@1.0.3(transitive)
+ Addedminimalistic-assert@1.0.1(transitive)
Updatedbuffer@>=5
Updatedcreate-hmac@>=1
Updatedrandombytes@>=2