Comparing version
@@ -288,3 +288,3 @@ 'use strict'; | ||
error = 'Auction already started.'; | ||
} else if (!this.openPrice || 'number' !== typeof this.openPrice) { | ||
} else if (!this.openPrice || !_.isNumber(this.openPrice)) { | ||
error = 'Invalid opening price.'; | ||
@@ -291,0 +291,0 @@ } |
@@ -354,3 +354,3 @@ 'use strict'; | ||
error = 'Auction already started.'; | ||
} else if (!this.openPrice || 'number' !== typeof this.openPrice) { | ||
} else if (!this.openPrice || !_lodash2['default'].isNumber(this.openPrice)) { | ||
error = 'Invalid opening price.'; | ||
@@ -357,0 +357,0 @@ } |
{ | ||
"name": "auction", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Easy way to create auctions", | ||
@@ -5,0 +5,0 @@ "author": { |
49533
0.01%