@wharfkit/antelope
Advanced tools
Comparing version 1.0.8-rc1 to 1.0.8-rc2
{ | ||
"name": "@wharfkit/antelope", | ||
"description": "Library for working with Antelope powered blockchains.", | ||
"version": "1.0.8-rc1", | ||
"version": "1.0.8-rc2", | ||
"homepage": "https://github.com/wharfkit/antelope", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause-No-Military-License", |
@@ -83,8 +83,3 @@ import {ABISerializableObject} from '../serializer/serializable' | ||
toABI(encoder: ABIEncoder) { | ||
this.units.toABI(encoder) | ||
this.symbol.toABI(encoder) | ||
} | ||
toString() { | ||
get quantity(): string { | ||
const digits = this.units.toString().split('') | ||
@@ -107,5 +102,14 @@ let negative = false | ||
} | ||
return rv + ' ' + this.symbol.name | ||
return rv | ||
} | ||
toABI(encoder: ABIEncoder) { | ||
this.units.toABI(encoder) | ||
this.symbol.toABI(encoder) | ||
} | ||
toString() { | ||
return this.quantity + ' ' + this.symbol.name | ||
} | ||
toJSON() { | ||
@@ -112,0 +116,0 @@ return this.toString() |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2020411
60
34777