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

Commit

Permalink
chore: bump to v4.3.0 (#164)
Browse files Browse the repository at this point in the history
* bump v2-sdk to v4.3.0

* Fix code style issues with Prettier

* v4.3.0

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
  • Loading branch information
jsy1218 and lint-action authored Mar 8, 2024
1 parent e17a80a commit 99d27e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uniswap/v2-sdk",
"license": "MIT",
"version": "4.2.1",
"version": "4.3.0",
"description": "🛠 An SDK for building applications on top of Uniswap V2",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand All @@ -24,7 +24,7 @@
"dependencies": {
"@ethersproject/address": "^5.0.0",
"@ethersproject/solidity": "^5.0.0",
"@uniswap/sdk-core": "^4.1.3",
"@uniswap/sdk-core": "^4.2.0",
"tiny-invariant": "^1.1.0",
"tiny-warning": "^1.0.3"
},
Expand Down
5 changes: 2 additions & 3 deletions src/entities/pair.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { BigNumber } from '@ethersproject/bignumber'
import { ChainId, CurrencyAmount, Price, Token, WETH9 } from '@uniswap/sdk-core'
import { FACTORY_ADDRESS } from '../constants'
import { ChainId, CurrencyAmount, Price, Token, V2_FACTORY_ADDRESSES, WETH9 } from '@uniswap/sdk-core'
import { InsufficientInputAmountError } from '../errors'
import { computePairAddress, Pair } from './pair'

Expand Down Expand Up @@ -62,7 +61,7 @@ describe('Pair', () => {
it('returns the default address for a testnet not in the map', () => {
expect(Pair.getAddress(USDC_SEPOLIA, DAI_SEPOLIA)).toEqual(
computePairAddress({
factoryAddress: FACTORY_ADDRESS,
factoryAddress: V2_FACTORY_ADDRESSES[ChainId.SEPOLIA],
tokenA: USDC_SEPOLIA,
tokenB: DAI_SEPOLIA
})
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1706,10 +1706,10 @@
semver "^7.3.2"
tsutils "^3.17.1"

"@uniswap/sdk-core@^4.1.3":
version "4.1.3"
resolved "https://registry.yarnpkg.com/@uniswap/sdk-core/-/sdk-core-4.1.3.tgz#5db8c527eee89ac2467fa327bd42f0f17aee76ac"
integrity sha512-dbXX4Ivam5D90gwiT0MWgHSiKdl99rC0GiPcK8Pd+iFp2myypPX9ovTR3IncI3Y83mZrlBLX9XC1Q6kA/12hOg==
"@uniswap/sdk-core@^4.2.0":
version "4.2.0"
resolved "https://registry.yarnpkg.com/@uniswap/sdk-core/-/sdk-core-4.2.0.tgz#9930f133baec9c1118d891ebf8fcba7f7efc153d"
integrity sha512-yXAMLHZRYYuh6KpN2nOlLTYBjGiopmI9WUB4Z0tyNkW4ZZub54cUt22eibpGbZAhRAMxclox9IPIs6wwrM3soQ==
dependencies:
"@ethersproject/address" "^5.0.2"
big.js "^5.2.2"
Expand Down

0 comments on commit 99d27e4

Please sign in to comment.