@stellar-expert/tx-meta-effects-parser 7.0.0-rc.17 → 7.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -242,7 +242,7 @@ function parseOfferEntry(value) {
|
|
|
242
242
|
asset: [xdrParseAsset(offerEntryXdr.selling()), xdrParseAsset(offerEntryXdr.buying())],
|
|
243
243
|
amount: offerEntryXdr.amount().toString(),
|
|
244
244
|
price: xdrParsePrice(rprice),
|
|
245
|
-
rprice,
|
|
245
|
+
rprice: rprice._attributes,
|
|
246
246
|
flags: offerEntryXdr.flags()
|
|
247
247
|
}
|
|
248
248
|
return data
|
|
@@ -261,9 +261,10 @@ function xdrParseScVal(value, treatBytesAsContractId = false) {
|
|
|
261
261
|
case 'u128':
|
|
262
262
|
case 'i64':
|
|
263
263
|
case 'u64':
|
|
264
|
+
return scValToBigInt(value).toString()
|
|
264
265
|
case 'timepoint':
|
|
265
266
|
case 'duration':
|
|
266
|
-
return
|
|
267
|
+
return value._value._value.toString()
|
|
267
268
|
case 'address':
|
|
268
269
|
switch (value._value._arm) {
|
|
269
270
|
case 'accountId':
|