xrpl-txdata
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -49,2 +49,6 @@ "use strict"; | ||
const unsignedReturnValue = returnValue.replace(/^\-/, ''); | ||
if (unsignedReturnValue.length > 83) { | ||
// Too many tokens to be NFT-like as per XLS14d proposal | ||
return false; | ||
} | ||
if (data.length > 1 && unsignedReturnValue.slice(0, 2) === '0.' && Number(data[1]) < -70) { | ||
@@ -51,0 +55,0 @@ // Positive below zero amount, could be NFT |
{ | ||
"name": "xrpl-txdata", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Fetch XRPL transaction by hash (+ meta & balances), awaits if required", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
38843
653