@nftperp/sdk
Advanced tools
Comparing version 3.7.2 to 3.8.0
{ | ||
"name": "@nftperp/sdk", | ||
"version": "3.7.2", | ||
"version": "3.8.0", | ||
"description": "SDK for nftperp protocol", | ||
@@ -5,0 +5,0 @@ "main": "sdk.js", |
@@ -81,3 +81,3 @@ "use strict"; | ||
if (closePercent < 100) { | ||
return await this._partialClose(this._getAmmAddress(amm), (0, format_1.toDecimalWei)(closePercent), (0, format_1.toDecimalWei)(quoteAssetAmountLimit)); | ||
return await this._partialClose(this._getAmmAddress(amm), (0, format_1.toDecimalWei)(closePercent / 100), (0, format_1.toDecimalWei)(quoteAssetAmountLimit)); | ||
} | ||
@@ -84,0 +84,0 @@ return await this._closePosition(this._getAmmAddress(amm), (0, format_1.toDecimalWei)(quoteAssetAmountLimit)); |
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
1084348