Commit bf68bb12 authored by Miguel Cervera's avatar Miguel Cervera Committed by GitHub

Version 4.2.0 (#162)

* 4.2.0

* fix test

* Fix code style issues with Prettier

---------
Co-authored-by: default avatarLint Action <lint-action@samuelmeuli.com>
parent b64cd760
{ {
"name": "@uniswap/v2-sdk", "name": "@uniswap/v2-sdk",
"license": "MIT", "license": "MIT",
"version": "4.1.0", "version": "4.2.0",
"description": "🛠 An SDK for building applications on top of Uniswap V2", "description": "🛠 An SDK for building applications on top of Uniswap V2",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",
......
...@@ -60,7 +60,13 @@ describe('Pair', () => { ...@@ -60,7 +60,13 @@ describe('Pair', () => {
}) })
it('returns the default address for a testnet not in the map', () => { it('returns the default address for a testnet not in the map', () => {
expect(Pair.getAddress(USDC_SEPOLIA, DAI_SEPOLIA)).toEqual(FACTORY_ADDRESS) expect(Pair.getAddress(USDC_SEPOLIA, DAI_SEPOLIA)).toEqual(
computePairAddress({
factoryAddress: FACTORY_ADDRESS,
tokenA: USDC_SEPOLIA,
tokenB: DAI_SEPOLIA
})
)
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment