New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nested-finance/lego-contracts

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nested-finance/lego-contracts - npm Package Compare versions

Comparing version 1.5.10 to 1.5.11

2

package.json
{
"name": "@nested-finance/lego-contracts",
"version": "1.5.10",
"version": "1.5.11",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -28,3 +28,3 @@ "use strict";

const swapSide = 'spendQty' in config ? sdk_1.SwapSide.SELL : sdk_1.SwapSide.BUY;
const priceRoute = await paraSwap.getRate(config.spendToken, config.buyToken, amount.toString(), config.userAddress, swapSide, { excludeDEXS: ['0x'], partner: 'nested' }, config.spendTokenDecimals, config.buyTokenDecimals);
const priceRoute = await paraSwap.getRate(config.spendToken, config.buyToken, amount.toString(), config.userAddress, swapSide, { excludeDEXS: ['0x', 'ParaSwapPool', 'ParaSwapLimitOrders'], partner: 'nested' }, config.spendTokenDecimals, config.buyTokenDecimals);
if ('message' in priceRoute) {

@@ -31,0 +31,0 @@ if (priceRoute.message === 'No routes found with enough liquidity') {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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