Comparing version 0.4.1 to 0.4.2
@@ -0,1 +1,5 @@ | ||
0.4.2 / 2014-04-17 | ||
------------------ | ||
* bugfix: fixed `compressed` when `new` isn't used with the constructor. #12 | ||
0.4.1 / 2014-04-14 | ||
@@ -5,3 +9,2 @@ ------------------ | ||
0.4.0 / 2014-03-09 | ||
@@ -8,0 +11,0 @@ ------------------ |
@@ -9,3 +9,3 @@ var ECPointFp = require('ecurve').ECPointFp; | ||
function ECKey (bytes, compressed) { | ||
if (!(this instanceof ECKey)) return new ECKey(bytes); | ||
if (!(this instanceof ECKey)) return new ECKey(bytes, compressed); | ||
@@ -12,0 +12,0 @@ this._compressed = compressed || !!ECKey.compressByDefault; |
{ | ||
"name": "eckey", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Elliptical curve cryptography for crypto currencies such as Litecoin and Bitcoin", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
10910