Comparing version 3.0.1 to 3.0.2
@@ -234,5 +234,3 @@ 'use strict'; | ||
PrivateKey.unsafeRandomKey = function () { | ||
return PrivateKey.initialize().then(function () { | ||
return PrivateKey.fromBuffer(keyUtils.random32ByteBuffer({ safe: false })); | ||
}); | ||
return Promise.resolve(PrivateKey.fromBuffer(keyUtils.random32ByteBuffer({ safe: false }))); | ||
}; | ||
@@ -239,0 +237,0 @@ |
{ | ||
"name": "eosjs-ecc", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Elliptic curve cryptography functions", | ||
@@ -5,0 +5,0 @@ "keywords": "ECC, Private Key, Public Key, Signature, AES, Encryption, Decryption", |
Sorry, the diff of this file is too big to display
1978198
50605