Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nftperp/sdk

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nftperp/sdk - npm Package Compare versions

Comparing version 3.7.2 to 3.8.0

2

package.json
{
"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));

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc