Crowdin Bot
8d822fd0e0
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-22 10:08:02 +00:00
Zach Pomerantz
6404ee6e0b
fix: default tokens on chainId change only ( #3169 )
2022-01-21 13:14:50 -08:00
Crowdin Bot
8ac3ed1128
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-21 10:07:23 +00:00
Zach Pomerantz
b501974a76
feat: polish select ( #3160 )
...
* feat: filter selected currency from select
* test: use infura urls
* fix: load native with chain
* fix: use currencyId for key
* feat: switch currencies when selecting other
* fix: resolve merge conflict name
2022-01-20 16:15:23 -08:00
Zach Pomerantz
567fb0181c
fix: chain mismatched currencies ( #3163 )
2022-01-20 16:12:42 -08:00
Crowdin Bot
8a37c427e6
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-21 00:11:38 +00:00
Ian Lapham
034b3e3e58
feat: Update swap state structure and attach to UI ( #3155 )
...
* refactor: mv settings state to own file
* chore: add default exports
* refactor: update swap state to match biz logic
* feat: copy biz logic to widgets
* Hook up UI to updated swap state
* fix: decimal inputs
* fix max slippage
* fix error in settings
* fix: typing errors
* revert: useBestTrade changes
* fix: use client side trade for widgets
* fix: exhaustive deps
* chore: add router-sdk
* fix: gate old web3 on widget env
* fix building errors
* update trade imports
* update hook naming for swap amount and currencies
* small changes
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2022-01-20 18:51:45 -05:00
Ian Lapham
053000e5fc
fix: update address listt ( #3159 )
2022-01-20 14:50:27 -05:00
Crowdin Bot
b77e7deb49
chore(i18n): synchronize translations from crowdin [skip ci]
v4.35.0
2022-01-20 03:06:53 +00:00
Crowdin Bot
c3321ae793
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-19 22:06:45 +00:00
Jordan Frankfurt
5dec0cf72b
show wrong chain message instead of throwing on incorrect chain connection ( #3153 )
2022-01-19 15:52:41 -06:00
Zach Pomerantz
1efda07e7a
refactor: mv try parse currency amount to lib utils ( #3152 )
2022-01-19 14:34:01 -05:00
Crowdin Bot
fd819260f9
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-19 16:11:52 +00:00
Jordan Frankfurt
8e3b2cb4b8
feat(widgets): add error reporting component, INTEGRATION ERROR type, and Missing provider error ( #3110 )
...
* add error reporting component, INTEGRATION ERROR type, and Missing provider error
* rename reporter to generator
* pr feedback
* refactor provider check
* add chainId, convenienceFee, and width errors
* pr feedback and convenienceFeeRecipient address enforcement
* fix imports for utils
2022-01-19 09:38:21 -06:00
Zach Pomerantz
d54783a324
fix: memoize more swap ( #2950 )
...
* fix: memoize derived swap info
* fix: memoize current block timestamp
* fix: memoize price impact
* fix: memoize debounced value updates
* fix: nits
v4.34.0
2022-01-18 18:40:23 -05:00
Zach Pomerantz
850a20f6ad
feat: include native currency in widget select ( #3124 )
...
* fix: token image for chains / natives
* feat: include native currency in select
- Updates widgets swap state to use Currency (and deals with downstream updates)
- Refactors logoURI code to a new lib/hooks/useCurrencyLogoURIs
- Adds native currency to useQueryTokenList
NB: This does not build because tests must be updated to use Currency (they currently use mock tokens)
* test: update fixtures to use real currency
* fix: data uri color extraction
* fix: token img state
* fix: use new array
2022-01-18 12:11:22 -08:00
Zach Pomerantz
99f681818f
refactor: mv token hooks to lib ( #3122 )
...
* refactor: mv useNativeCurrency to lib/hooks
* refactor: mv useCurrency logic to lib/hooks
2022-01-14 11:30:04 -08:00
Crowdin Bot
1127e74357
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-14 19:07:20 +00:00
Ian Lapham
27843f6189
update end timestamp for survey ( #3121 )
v4.33.0
2022-01-14 11:46:13 -07:00
Ian Lapham
1b10c88c51
feat: add survey popup for survey monkey ( #3116 )
...
* add survey popup for survey monkey
* update useEffect and add 24 hour window
* upate % logic
* update logic to show after duration
* update timestamp conditional
* small changes
2022-01-14 11:33:31 -07:00
Crowdin Bot
5d97cbf6ad
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-14 08:11:26 +00:00
Crowdin Bot
064a73ca1b
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-14 07:07:17 +00:00
Zach Pomerantz
e5a1cb4276
chore: replace microbundle with rollup ( #3115 )
...
* refactor: mv gas estimate chains out of component
* chore: replace microbundle with rollup
* chore: use ts rollup config
* chore: rename lib to widgets
* chore: add rollup doc comment
* feat: rollup typings
* fix: retain tsconfig decl dir
2022-01-13 17:11:27 -08:00
Zach Pomerantz
e68e1afd9d
feat: sort the widget token select ( #3114 )
...
* refactor: mv token list utils to lib
* refactor: mv balance hooks to lib
* feat: interactive token select
2022-01-13 14:37:47 -08:00
Zach Pomerantz
8784a761d6
feat: add multicall to widget ( #3112 )
...
* feat: mv block number to atom
* fix: add block updater
* fix: fast forward dep
* refactor: mv multicall to lib
* feat: add multicall to widget
* chore: update widget deps
* nit: pluralize updaters
* chore: minimize deps
2022-01-13 08:54:08 -08:00
Zach Pomerantz
7aa0f500d6
feat: mv block number to atom ( #3108 )
...
* feat: mv block number to atom
* fix: add block updater
* fix: fast forward dep
v4.32.0
2022-01-12 19:36:08 -08:00
Jordan Frankfurt
06a8151ede
Revert "add error reporting component, INTEGRATION ERROR type, and Missing provider error ( #3107 )" ( #3109 )
...
This reverts commit ac2642fedc8be9ea85201d341b3933983ab2ad36.
2022-01-12 14:24:23 -06:00
Jordan Frankfurt
ac2642fedc
add error reporting component, INTEGRATION ERROR type, and Missing provider error ( #3107 )
2022-01-12 13:29:59 -06:00
Zach Pomerantz
ac962fb00d
refactor: separate useActiveWeb3React ( #3106 )
2022-01-12 11:18:11 -08:00
Zach Pomerantz
f3bcf64144
refactor: split chain info from chains ( #3105 )
2022-01-12 10:46:41 -08:00
Zach Pomerantz
711b2ca85c
chore: import @ethersprojects directly ( #3104 )
...
* Revert "chore: import from ethers"
This reverts commit 6d9c0855d261679c316307ea3f668869c90e63a2.
* Revert "fix: use provider JsonRpcProvider"
This reverts commit dcbbab5e4d6458a11c38582388a7cb5b12691188.
* chore: depend on @ethersprojects directly
2022-01-12 10:06:22 -08:00
willpote
aa97ec01d3
chore: bump sor to 2.5.10 ( #3091 )
2022-01-11 17:26:42 -05:00
Crowdin Bot
83b70f3aa6
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-11 21:06:53 +00:00
Noah Zinsmeister
e37dd77680
Revert "bump to beta ( #3090 )"
...
This reverts commit aa37b231268d60ae9e625006f5d078e77ad4c0f5.
2022-01-11 16:00:52 -05:00
Noah Zinsmeister
aa37b23126
bump to beta ( #3090 )
2022-01-11 15:30:45 -05:00
Jordan Frankfurt
5a90f13a03
chore(deps): bump walletconnect ( #3097 )
v4.31.0
2022-01-11 14:16:35 -06:00
Will Hennessy
8c213f9001
Update wrong network message ( #3089 )
...
fixes https://github.com/Uniswap/interface/issues/2740
2022-01-11 14:16:19 -06:00
Jordan Frankfurt
5722902f96
add polygon to supported walletlink chainIds ( #3096 )
2022-01-11 14:15:09 -06:00
Zach Pomerantz
27412e49d5
chore: import from ethers ( #3094 )
...
* chore: rm lodash
* chore: improve styled-components lint
* chore: import from ethers
* fix: use provider JsonRpcProvider
2022-01-11 11:32:20 -08:00
Zach Pomerantz
90dfdc6bef
feat: populate the widget token selector ( #3080 )
...
* feat: swap defaults
* refactor: mv token list utils to lib
* feat: expand fetchTokenList to include inlined
* feat: simple widget token list
* fix: token img props
* feat: use token list in selector
* fix: update useColor for optional logoURI
* fix: avoid leaking deps
* chore: add state to lib build
* chore: mv devDeps to deps for lib
* fix: microbundle css import
* fix: match ethers versions
* fix: use color callback
* chore: clean up token info type
* chore: widget type simplification
* refactor: share token map code
* test: include list in token select fixture
* fix: no tokens without chain id
2022-01-11 09:28:02 -08:00
Jordan Frankfurt
4f896361be
fix(widgets): correctly position the arrows ( #3083 )
...
* correctly position the arrows
* update reverse button css and remove popover logic
* px->em
2022-01-11 09:50:39 -06:00
yj
c9bc166c1a
fix: Add {id}
replacement for ERC-1155 ( #3068 )
...
* Add `{id}` replacement for ERC-1155
For issue #3010
* Update useENSAvatar.ts
Add leading zero pad to 64 hex chars
* Update useENSAvatar.ts
Following review comments
v4.30.4
2022-01-10 23:20:04 -05:00
Noah Zinsmeister
cecbf770c6
w3r version bumps ( #3086 )
2022-01-10 14:43:17 -05:00
Jordan Frankfurt
a7041ea700
undo accidental package version reversion ( #3084 )
2022-01-10 12:17:56 -06:00
Ian Lapham
5413303d24
update addresses ( #3082 )
2022-01-08 17:36:18 -05:00
dependabot[bot]
103e18496f
chore(deps-dev): bump @uniswap/default-token-list from 2.2.0 to 3.0.0 ( #3076 )
...
Bumps [@uniswap/default-token-list](https://github.com/Uniswap/default-token-list ) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/Uniswap/default-token-list/releases )
- [Commits](https://github.com/Uniswap/default-token-list/compare/v2.2.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: "@uniswap/default-token-list"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 11:13:41 -05:00
Crowdin Bot
0e678465cb
chore(i18n): synchronize translations from crowdin [skip ci]
v4.30.3
2022-01-06 11:07:11 +00:00
Crowdin Bot
6b68baaa4d
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-06 10:06:28 +00:00
Crowdin Bot
3c5e3744f1
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-06 05:09:06 +00:00
Crowdin Bot
d93b6f795e
chore(i18n): synchronize translations from crowdin [skip ci]
2022-01-06 04:07:29 +00:00