mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-28 16:15:49 +00:00
fix style and bump version
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ripple-binary-codec",
|
||||
"version": "0.1.13",
|
||||
"version": "0.1.14",
|
||||
"description": "ripple binary codec",
|
||||
"files": [
|
||||
"distrib/npm/*",
|
||||
|
||||
@@ -76,7 +76,9 @@ const Amount = makeClass({
|
||||
this.value = value || new Decimal('0');
|
||||
this.currency = currency || Currency.XRP;
|
||||
this.issuer = issuer || null;
|
||||
validate && this.assertValueIsValid();
|
||||
if (validate) {
|
||||
this.assertValueIsValid();
|
||||
}
|
||||
},
|
||||
mixins: SerializedType,
|
||||
statics: {
|
||||
|
||||
Reference in New Issue
Block a user