@moralisweb3/evm-utils
Advanced tools
Comparing version 2.0.0-beta.10 to 2.0.0-beta.11
@@ -90,3 +90,3 @@ "use strict"; | ||
var amount = _a.amount, decimals = _a.decimals, token = _a.token; | ||
if (token && token.decimals !== decimals) { | ||
if (token && token.decimals && +token.decimals !== +decimals) { | ||
throw new core_1.MoralisCoreError({ | ||
@@ -93,0 +93,0 @@ code: core_1.CoreErrorCode.INVALID_DATA, |
{ | ||
"name": "@moralisweb3/evm-utils", | ||
"author": "Moralis", | ||
"version": "2.0.0-beta.10", | ||
"version": "2.0.0-beta.11", | ||
"license": "MIT", | ||
@@ -33,4 +33,4 @@ "private": false, | ||
"@ethersproject/transactions": "^5.6.0", | ||
"@moralisweb3/core": "^2.0.0-beta.10" | ||
"@moralisweb3/core": "^2.0.0-beta.11" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
627831