@exodus/models
Advanced tools
Comparing version 8.5.9 to 8.5.10
@@ -0,1 +1,5 @@ | ||
## 8.5.10 / 2021-04-28 | ||
- Feat: extend error object on getMutations throw | ||
## 8.5.9 / 2021-03-19 | ||
@@ -2,0 +6,0 @@ |
@@ -184,3 +184,10 @@ "use strict"; | ||
} catch (e) { | ||
console.warn('failed to calculate mutation for tx', tx.toJSON()); | ||
if (tx) { | ||
console.warn('failed to calculate mutation for tx', tx.toJSON()); | ||
Object.assign(e, { | ||
asset: tx.coinName, | ||
extraInfo: JSON.stringify(tx.toJSON()) | ||
}); | ||
} | ||
throw e; | ||
@@ -187,0 +194,0 @@ } |
@@ -86,2 +86,3 @@ "use strict"; | ||
if (coinName === 'ontology') coinName = 'ontologygas'; | ||
if (coinName === 'theta') coinName = 'tfuel'; | ||
if (coinName === 'vechainthor') coinName = 'vethor'; | ||
@@ -88,0 +89,0 @@ |
{ | ||
"name": "@exodus/models", | ||
"version": "8.5.9", | ||
"version": "8.5.10", | ||
"description": "Exodus models", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
53923
1313
1