@equilab/marginly-sdk
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -347,3 +347,3 @@ "use strict"; | ||
const leveragedAmountBn = leveragedAmount | ||
? ethers_1.ethers.utils.parseUnits(leveragedAmount.toFixed(depositTokenDecimals), depositTokenDecimals) | ||
? ethers_1.ethers.utils.parseUnits(leveragedAmount.toFixed(baseDecimals), baseDecimals) | ||
: undefined; | ||
@@ -350,0 +350,0 @@ const limitPrice = (type === 'depositAndOpenPosition' && direction === 'short') || (type === 'close' && direction === 'long') |
{ | ||
"name": "@equilab/marginly-sdk", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
342820