Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Version 4.2.0 (#162)
Browse files Browse the repository at this point in the history
* 4.2.0

* fix test

* Fix code style issues with Prettier

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
  • Loading branch information
mikeki and lint-action authored Feb 21, 2024
1 parent b64cd76 commit bf68bb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uniswap/v2-sdk",
"license": "MIT",
"version": "4.1.0",
"version": "4.2.0",
"description": "🛠 An SDK for building applications on top of Uniswap V2",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
8 changes: 7 additions & 1 deletion src/entities/pair.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@ describe('Pair', () => {
})

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
})
)
})
})

Expand Down

0 comments on commit bf68bb1

Please sign in to comment.