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

@paraswap/core

Package Overview
Dependencies
Maintainers
7
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paraswap/core - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

6

build/types.d.ts

@@ -42,7 +42,7 @@ import { SwapSide } from './constants';

srcAmount: NumberAsString;
srcUSD: NumberAsString;
srcUSD: NumberAsString | null;
destToken: Address;
destDecimals: number;
destAmount: NumberAsString;
destUSD: NumberAsString;
destUSD: NumberAsString | null;
bestRoute: OptimalRoute[];

@@ -67,3 +67,3 @@ gasCostUSD: NumberAsString;

V5 = "5",
V6 = "6.2"
V6 = "6.1"
}

@@ -7,4 +7,4 @@ "use strict";

ParaSwapVersion["V5"] = "5";
ParaSwapVersion["V6"] = "6.2";
ParaSwapVersion["V6"] = "6.1";
})(ParaSwapVersion = exports.ParaSwapVersion || (exports.ParaSwapVersion = {}));
//# sourceMappingURL=types.js.map
{
"name": "@paraswap/core",
"version": "2.2.0",
"version": "2.3.0",
"description": "Common library used between different paraswap packages",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -46,7 +46,7 @@ import { SwapSide } from './constants';

srcAmount: NumberAsString;
srcUSD: NumberAsString;
srcUSD: NumberAsString | null;
destToken: Address;
destDecimals: number;
destAmount: NumberAsString;
destUSD: NumberAsString;
destUSD: NumberAsString | null;
bestRoute: OptimalRoute[];

@@ -72,3 +72,3 @@ gasCostUSD: NumberAsString;

V5 = '5',
V6 = '6.2',
V6 = '6.1',
}
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