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

@uniswap/conedison

Package Overview
Dependencies
Maintainers
17
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniswap/conedison - npm Package Compare versions

Comparing version 1.5.3 to 1.6.0

1

dist/format.d.ts

@@ -20,2 +20,3 @@ import { Currency, CurrencyAmount, Percent, Price } from '@uniswap/sdk-core';

export declare function formatPriceImpact(priceImpact: Percent | undefined): string;
export declare function formatSlippage(slippage: Percent | undefined): string;
export declare function formatPrice(price: Nullish<Price<Currency, Currency>>, type?: NumberType): string;

@@ -22,0 +23,0 @@ /**

@@ -286,2 +286,7 @@ var __read = (this && this.__read) || function (o, n) {

}
export function formatSlippage(slippage) {
if (!slippage)
return '-';
return "".concat(slippage.toFixed(3), "%");
}
export function formatPrice(price, type) {

@@ -288,0 +293,0 @@ if (type === void 0) { type = NumberType.FiatTokenPrice; }

2

package.json
{
"name": "@uniswap/conedison",
"version": "1.5.3",
"version": "1.6.0",
"description": "Utilities for Uniswap front-end development",

@@ -5,0 +5,0 @@ "repository": "https://github.com/Uniswap/conedison",

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