Zach Pomerantz
f717bf4a49
chore: bump to 1.0.7 ( #3753 )
2022-04-19 13:14:58 -04:00
Mark Carbajal
acb0c2056e
chore: Remove Portis ( #3693 )
...
* Removed portis
* Removed portis
* Removed portis
* Update src/components/WalletModal/index.tsx
Co-authored-by: Bruno Crosier <bruno.crosier@gmail.com>
* regenerate yarn.lock
* revert translation changes
Co-authored-by: Bruno Crosier <bruno.crosier@gmail.com>
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2022-04-14 15:23:31 -04:00
Zach Pomerantz
00b151d7fa
fix: activation frames ( #3711 )
2022-04-12 09:23:19 -07:00
Zach Pomerantz
a0348b45be
chore: bump to v1.0.6 ( #3696 )
2022-04-08 13:13:11 -07:00
Zach Pomerantz
8b228de88f
chore: bump to v1.0.5 ( #3691 )
2022-04-08 10:52:30 -07:00
Zach Pomerantz
e0e2b40f9f
chore: bump to v1.0.4 ( #3686 )
2022-04-07 15:05:35 -07:00
Zach Pomerantz
ecfa179b3f
chore: bump to v1.0.3
2022-04-07 11:24:33 -07:00
Zach Pomerantz
3bfbc74e47
chore: bump to v1.0.2 ( #3675 )
2022-04-06 13:05:06 -07:00
Zach Pomerantz
a9039e8d0b
chore: bump to v1.0.1 ( #3670 )
2022-04-06 10:02:37 -07:00
Zach Pomerantz
84c70ac84d
chore: bump to v1.0.0 ( #3663 )
2022-04-05 10:45:36 -07:00
Jordan Frankfurt
e880955743
chore(widgets): bump version ( #3645 )
2022-04-01 18:06:12 -04:00
Zach Pomerantz
a00ac56389
chore: bump to v0.0.30-beta ( #3637 )
2022-03-31 14:49:44 -07:00
Zach Pomerantz
2d8f767d74
feat: upgrade web3-react ( #3628 )
...
* chore: upgrade web3-react
* feat: use a JsonRpcConnector
* chore: rm @ethersproject/experimental
* fix: assert Web3Provider in app
* fix: type providers more loosely
* chore: reinstall experimental for testing
2022-03-30 20:45:43 -07:00
Zach Pomerantz
91f5fc0881
chore: upgrade redux-multicall and smart-order-router ( #3623 )
...
* chore: upgrade redux-multicall and smart-order-router
* chore: provide @ethersproject through ethers
2022-03-29 12:00:56 -07:00
Connor McEwen
de1f5d1adc
feat: migrate to GA4 ( #3599 )
2022-03-24 21:44:48 -04:00
Zach Pomerantz
c4c811aeb3
chore: bump to v0.0.26-beta ( #3593 )
2022-03-24 16:02:38 -04:00
Zach Pomerantz
9ef2b3a116
chore: add ethers ( #3591 )
2022-03-24 12:51:03 -04:00
Zach Pomerantz
abb2696f40
fix: upgrade @web3-react/eip1193 to fallback to eth_accounts ( #3590 )
2022-03-23 20:45:49 -04:00
Zach Pomerantz
7a75626c31
chore: bump to v0.0.25-beta ( #3538 )
2022-03-17 14:17:58 -07:00
Zach Pomerantz
7c88a5a008
chore: bump to v0.0.24-beta ( #3524 )
2022-03-15 22:31:41 -07:00
Zach Pomerantz
04cee0a07d
chore: bump to v0.0.23-beta ( #3492 )
2022-03-10 09:02:17 -08:00
Sara Reynolds
8c269a6d39
feat: add optimism and arbitrum to gas estimate support ( #3434 )
...
* add optimism and arbitrum to gas estimate support
* update sor version
* move to dependencies
2022-03-09 14:52:19 -05:00
Zach Pomerantz
1450315b98
chore: bump to v0.0.21-beta ( #3466 )
2022-03-08 09:54:59 -08:00
Zach Pomerantz
2272f2a01a
chore: specify a module for CRAv4 ( #3462 )
2022-03-08 08:19:56 -08:00
Zach Pomerantz
2944dc4d0b
chore: bump to v0.0.21-beta ( #3439 )
2022-03-04 14:30:25 -08:00
Zach Pomerantz
59c6ab16dd
fix: exports ( #3379 )
...
* fix: cjs in cra
* chore: wrap cjs for mjs
* chore: export cjs and esm
* chore: export chunks
* fix: correctly export locales
* chore: note exports compat
* fix: use cjs for common deps
* chore: bump to v0.0.20-beta
* chore: rm outdated comment
2022-03-01 11:32:55 -08:00
jaclyn
c25d2b894c
fix: update walletlink-connector to 6.2.13 ( #3315 )
...
* fix: update walletlink-connector to 6.2.12
* fix: update walletlink-connector to 6.2.13
Co-authored-by: Jaclyn Chan <jaclyn.chan@coinbase.com>
2022-02-28 11:13:36 -05:00
Zach Pomerantz
ccdf1e7575
fix: convert to commonjs ( #3373 )
...
* chore: use fully specified path for non-main imports
* chore: convert to commonjs
- Pin @web3-react to exact cjs versions
* chore: bump to v0.0.18-beta
* chore: fix fonts.css comment
* fix: @ethersproject/providers version skew
* fix: @web3-react state typings
2022-02-28 07:52:22 -08:00
Zach Pomerantz
26a44fb51b
chore: bump to v0.0.15-beta ( #3358 )
2022-02-24 11:36:00 -08:00
Zach Pomerantz
dfad7b89ab
chore: nextjs compatibility ( #3351 )
...
* fix: esm/cjs exports
* fix: guard visibility state WebAPI
* fix: nextjs styled-components imports
* fix: add ethers' optional deps
* fix: document access in useHasFocus
* fix: suffix babel-plugin-macros config for commonjs
* chore: rollup sourcemaps
* chore: export fonts separately
* chore: mv redux to peer dep
* fix: run tests off cjs config
* fix: run cosmos off cjs config
2022-02-23 13:12:07 -08:00
Zach Pomerantz
4fe35ea42e
fix: max on WebKit ( #3349 )
...
* chore: add walletconnect to cosmos
* fix: onClickMax for TokenInput
* chore: add setImmediate
2022-02-23 12:50:22 -08:00
Zach Pomerantz
48b3efc612
chore: bump to v0.0.14-beta ( #3333 )
2022-02-17 12:03:44 -08:00
Zach Pomerantz
1297aa57d3
chore: bump to v0.0.13-beta ( #3328 )
2022-02-16 17:00:43 -08:00
Zach Pomerantz
30e30189e1
fix: use a void signer for ethers providers ( #3327 )
2022-02-16 17:00:31 -08:00
Zach Pomerantz
6a602cf6d7
chore: bump to v0.0.12-beta ( #3325 )
2022-02-16 14:17:41 -08:00
Zach Pomerantz
a7fb7dc906
chore: v0.0.11-beta
2022-02-11 08:13:06 -08:00
Zach Pomerantz
3acd993ec0
chore: bundling nits ( #3258 )
...
* refactor: mv governance contracts to governance
* refactor: mv merkle contract to claim
* refactor: mv staking contract to staking
* chore: 0.0.6-beta
* chore: add @reduxjs/toolkit to peerDeps
* chore: v0.0.7-beta
* chore: add @reduxjs/toolkit to deps
* chore: v0.0.8-beta
* chore: swap web3-react aliasing
* chore: v0.0.9-beta
* chore: v0.0.10-beta
2022-02-08 16:43:14 -08:00
Zach Pomerantz
290f4bc1cb
feat: bundle widgets ( #3244 )
...
* fix: tsconfig emissions
* fix: avoid importing app state in lib
* fix: export theming
* fix: asset resolutions
* fix: bundle widget
* test: update failing snapshots
* fix: maintain i18n for cosmos
* fix: use npm-compatible aliasing
* fix: include fonts in bundle
2022-02-08 11:04:48 -08:00
Zach Pomerantz
96a122d7b8
chore: rename web3-react-alpha ( #3243 )
...
Renames widgets-web3-react/* to @widgets/web3-react/*.
npm treats nested packages as scoped, and requires scoped packages to begin with @.
2022-02-07 08:50:01 -08:00
Zach Pomerantz
610f7d3581
fix: named imports (webpack 5 compat) ( #3242 )
...
* fix: avoid json named imports
This is required by webpack 5, and is done to keep the widgets library compatible.
See https://webpack.js.org/migrate/5/#using-named-exports-from-json-modules
Note that this must be done upstream as well, in @uniswap/v3-sdk and @uniswap/router-sdk.
* chore: bump v3-sdk to avoid json named imports
2022-02-07 08:49:48 -08:00
Ian Lapham
05b2711a8a
feat: update widget with client side SOR ( #3210 )
...
* start SOR by creating custom widget hook
* update best trade hook to use SOR in widget
* update organization for client side SOR logic
* fix auto router chain id import
* remove dependency on react GA for widget
* update dependencies for SOr
* remove new useBestTrade.ts
* update loading logic for fetching hook
* update dependencies with import from ethersproject
* update import version
* add try catch on SOR usage
* code cleanup, nit fixes
2022-02-02 17:47:49 -05:00
Brendan Weinstein
1c73719766
fix: update walletlink-connector to 6.2.11 ( #3213 )
2022-02-02 00:10:01 -05:00
Zach Pomerantz
c7633d910b
refactor: track txs ( #3185 )
...
* feat: track approval txs
* refactor: update transactions
* chore: add ms to deps
* test: rm stale test
* fix: comment usage of trade for optimized trade
2022-01-25 18:55:27 -05: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
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
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
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
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
Noah Zinsmeister
e37dd77680
Revert "bump to beta ( #3090 )"
...
This reverts commit aa37b231268d60ae9e625006f5d078e77ad4c0f5.
2022-01-11 16:00:52 -05:00