@dodoex/widgets 3.0.4-ve33.9 → 3.1.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/locales/en-US.js +1 -1
- package/dist/cjs/locales/zh-CN.js +1 -1
- package/dist/{helper-Dt_568MU.cjs → helper-CrjI-I63.cjs} +1 -1
- package/dist/{helper-CB1YylL8.js → helper-sYo4U4Fi.js} +1 -1
- package/dist/{index-BLjJZj_j.cjs → index-78QgD7y5.cjs} +6 -6
- package/dist/index-B0IzV6GD.cjs +31 -0
- package/dist/index-BIedHqbX.js +78 -0
- package/dist/{index-CMt4f2VS.js → index-D-i_qsAd.js} +1 -1
- package/dist/{index-BDwJQw6z.cjs → index-DJQvjK37.cjs} +2 -2
- package/dist/index-jlJ_RxVG.js +31 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/types/components/AddressWithLinkAndCopy.d.ts +2 -3
- package/dist/types/components/List/EmptyList.d.ts +2 -1
- package/dist/types/components/SelectChain.d.ts +2 -1
- package/dist/types/components/Swap/components/ReviewDialog.d.ts +2 -1
- package/dist/types/components/Swap/components/SwapSettingsDialog/index.d.ts +4 -1
- package/dist/types/components/Swap/components/TokenCard/TokenPickerDialog.d.ts +3 -2
- package/dist/types/components/Swap/index.d.ts +4 -1
- package/dist/types/components/TokenLogoPair.d.ts +1 -1
- package/dist/types/components/Widget/index.d.ts +26 -2
- package/dist/types/components/WidgetContainer.d.ts +1 -1
- package/dist/types/constants/api.d.ts +1 -1
- package/dist/types/constants/swap.d.ts +0 -3
- package/dist/types/hooks/Submission/types.d.ts +1 -3
- package/dist/types/hooks/Swap/useFetchRoutePrice.d.ts +3 -1
- package/dist/types/hooks/Swap/useFetchRoutePrice.test.d.ts +1 -0
- package/dist/types/hooks/Swap/useSlippageLimit.d.ts +1 -1
- package/dist/types/hooks/Swap/useSwapSettingStore.d.ts +0 -1
- package/dist/types/hooks/contract/useFetchBlockNumber.d.ts +1 -1
- package/dist/types/hooks/useGlobalState.d.ts +32 -0
- package/dist/types/hooks/useGraphQLRequests.d.ts +1 -0
- package/dist/types/hooks/useTokenState.d.ts +18 -0
- package/dist/types/index.d.ts +26 -35
- package/dist/types/utils/formatter.d.ts +2 -2
- package/dist/types/widgets/MiningWidget/hooks/helper.d.ts +2 -2
- package/dist/types/widgets/MiningWidget/hooks/useReviewRewardToken.d.ts +2 -2
- package/dist/types/widgets/PoolWidget/AMMV3/hooks/usePools.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/BaseInfoCardList.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/FeeRateCard.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/LqRatioSet.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/LqSettingsShow.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/PriceModeCard.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/VersionChartExample.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/components/widgets.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/index.d.ts +3 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/MoreDetail/index.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/Overview.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/components/TotalLiquidity.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolDetail/index.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolList/AddLiquidity.d.ts +6 -1
- package/dist/types/widgets/PoolWidget/PoolList/MyCreated.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolList/MyLiquidity.d.ts +6 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/LiquidityTable.d.ts +3 -1
- package/dist/types/widgets/PoolWidget/PoolList/components/migationWidget.d.ts +7 -0
- package/dist/types/widgets/PoolWidget/PoolList/hooks/usePoolListFilterTokenAndPool.d.ts +9 -1
- package/dist/types/widgets/PoolWidget/PoolList/index.d.ts +7 -1
- package/dist/types/widgets/PoolWidget/PoolModify/index.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/PoolOperateInner.d.ts +4 -2
- package/dist/types/widgets/PoolWidget/PoolOperate/RemovePoolOperate.d.ts +4 -2
- package/dist/types/widgets/PoolWidget/PoolOperate/components/SlippageSetting.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/index.d.ts +4 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/types.d.ts +12 -0
- package/dist/types/widgets/PoolWidget/hooks/usePoolDetail.d.ts +35 -0
- package/dist/types/widgets/PoolWidget/utils.d.ts +0 -2
- package/package.json +12 -13
- package/dist/index-Bo9PV9W9.js +0 -32
- package/dist/index-C_iIEQbx.js +0 -78
- package/dist/index-RjsD5IyH.cjs +0 -32
- package/dist/types/store/actions/globals.d.ts +0 -9
- package/dist/types/store/actions/index.d.ts +0 -4
- package/dist/types/store/actions/settings.d.ts +0 -3
- package/dist/types/store/actions/token.d.ts +0 -7
- package/dist/types/store/actions/wallet.d.ts +0 -6
- package/dist/types/store/index.d.ts +0 -12
- package/dist/types/store/reducers/globals.d.ts +0 -21
- package/dist/types/store/reducers/index.d.ts +0 -17
- package/dist/types/store/reducers/settings.d.ts +0 -8
- package/dist/types/store/reducers/token.d.ts +0 -22
- package/dist/types/store/reducers/wallet.d.ts +0 -13
- package/dist/types/store/selectors/globals.d.ts +0 -7
- package/dist/types/store/selectors/settings.d.ts +0 -2
- package/dist/types/store/selectors/token.d.ts +0 -6
- package/dist/types/store/selectors/wallet.d.ts +0 -6
- package/dist/types/widgets/ve33/Ve33PoolDetail/index.d.ts +0 -7
- package/dist/types/widgets/ve33/Ve33PoolList/TableList.d.ts +0 -14
- package/dist/types/widgets/ve33/Ve33PoolList/index.d.ts +0 -5
- package/dist/types/widgets/ve33/Ve33PoolOperate/AddPoolOperate.d.ts +0 -6
- package/dist/types/widgets/ve33/Ve33PoolOperate/RemovePoolOperate.d.ts +0 -5
- package/dist/types/widgets/ve33/Ve33PoolOperate/components/ComparePrice.d.ts +0 -8
- package/dist/types/widgets/ve33/Ve33PoolOperate/components/OperateBtn.d.ts +0 -6
- package/dist/types/widgets/ve33/Ve33PoolOperate/components/SliderPercentageCard.d.ts +0 -7
- package/dist/types/widgets/ve33/Ve33PoolOperate/components/SlippageSetting.d.ts +0 -18
- package/dist/types/widgets/ve33/Ve33PoolOperate/components/V2ConfirmDialog.d.ts +0 -19
- package/dist/types/widgets/ve33/Ve33PoolOperate/hooks/useComparePrice.d.ts +0 -19
- package/dist/types/widgets/ve33/Ve33PoolOperate/hooks/useLiquidityOperateAmount.d.ts +0 -82
- package/dist/types/widgets/ve33/Ve33PoolOperate/hooks/usePercentageRemove.d.ts +0 -25
- package/dist/types/widgets/ve33/Ve33PoolOperate/hooks/usePoolOperateTabs.d.ts +0 -12
- package/dist/types/widgets/ve33/Ve33PoolOperate/hooks/useVe33V2AddLiquidity.d.ts +0 -12
- package/dist/types/widgets/ve33/Ve33PoolOperate/hooks/useVe33V2BalanceInfo.d.ts +0 -34
- package/dist/types/widgets/ve33/Ve33PoolOperate/hooks/useVe33V2RemoveLiquidity.d.ts +0 -12
- package/dist/types/widgets/ve33/Ve33PoolOperate/hooks/useWithdrawInfo.d.ts +0 -25
- package/dist/types/widgets/ve33/Ve33PoolOperate/index.d.ts +0 -23
- package/dist/types/widgets/ve33/Ve33PoolOperate/types.d.ts +0 -22
- package/dist/types/widgets/ve33/VotePoolList/TableList.d.ts +0 -14
- package/dist/types/widgets/ve33/VotePoolList/index.d.ts +0 -1
- package/dist/types/widgets/ve33/components/GoBack.d.ts +0 -4
- package/dist/types/widgets/ve33/components/PoolHead.d.ts +0 -8
- package/dist/types/widgets/ve33/components/PoolTypeTag.d.ts +0 -8
- package/dist/types/widgets/ve33/components/widgets.d.ts +0 -5
- package/dist/types/widgets/ve33/config.d.ts +0 -62
- package/dist/types/widgets/ve33/constants.d.ts +0 -21
- package/dist/types/widgets/ve33/hooks/usePoolColors.d.ts +0 -11
- package/dist/types/widgets/ve33/hooks/useVotePoolFilters.d.ts +0 -13
- package/dist/types/widgets/ve33/hooks/useVoteTabs.d.ts +0 -12
- package/dist/types/widgets/ve33/types.d.ts +0 -38
- package/dist/types/widgets/ve33/utils.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dodoex/widgets",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1-beta.1",
|
|
4
4
|
"description": "DODO Widgets",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"release": "semantic-release",
|
|
24
24
|
"release:local": "np --any-branch --no-cleanup --no-tests",
|
|
25
25
|
"release.npm-publish": "npm publish --access public",
|
|
26
|
-
"release.npm-publish-beta": "
|
|
26
|
+
"release.npm-publish-beta": "npm publish --tag beta",
|
|
27
27
|
"test": "jest src",
|
|
28
28
|
"test:e2e": "jest e2e"
|
|
29
29
|
},
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@babel/runtime": "^7.17.0",
|
|
61
|
-
"@dodoex/api": "3.0.
|
|
62
|
-
"@dodoex/components": "3.0.
|
|
61
|
+
"@dodoex/api": "3.0.3",
|
|
62
|
+
"@dodoex/components": "3.0.5",
|
|
63
63
|
"@dodoex/contract-request": "^1.3.0",
|
|
64
|
-
"@dodoex/dodo-contract-request": "1.15.0
|
|
64
|
+
"@dodoex/dodo-contract-request": "1.15.0",
|
|
65
65
|
"@dodoex/icons": "^2.0.2",
|
|
66
66
|
"@emotion/react": "^11.10.0",
|
|
67
67
|
"@emotion/styled": "^11.10.0",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"@tanstack/react-query": "^5.18.1",
|
|
77
77
|
"@uniswap/sdk-core": "^5.9.0",
|
|
78
78
|
"@uniswap/v2-sdk": "^4.6.2",
|
|
79
|
-
"@web3-react/core": "
|
|
80
|
-
"@web3-react/eip1193": "
|
|
81
|
-
"@web3-react/metamask": "
|
|
82
|
-
"@web3-react/types": "
|
|
79
|
+
"@web3-react/core": "8.2.0",
|
|
80
|
+
"@web3-react/eip1193": "8.2.0",
|
|
81
|
+
"@web3-react/metamask": "8.2.1",
|
|
82
|
+
"@web3-react/types": "8.2.0",
|
|
83
83
|
"@web3-react/walletconnect-v2": "8.3.6",
|
|
84
84
|
"axios": "^0.27.2",
|
|
85
85
|
"bignumber.js": "^9.0.2",
|
|
@@ -101,14 +101,12 @@
|
|
|
101
101
|
"rmc-date-picker": "^6.0.10",
|
|
102
102
|
"semantic-release": "^19.0.2",
|
|
103
103
|
"tiny-invariant": "^1.1.0",
|
|
104
|
-
"zustand": "4.
|
|
104
|
+
"zustand": "^4.5.5"
|
|
105
105
|
},
|
|
106
106
|
"peerDependencies": {
|
|
107
107
|
"@babel/runtime": ">=7.17.0",
|
|
108
108
|
"react": ">=17.0.1",
|
|
109
|
-
"react-dom": ">=17.0.1"
|
|
110
|
-
"react-redux": ">=7.2.2",
|
|
111
|
-
"redux": ">=4.1.2"
|
|
109
|
+
"react-dom": ">=17.0.1"
|
|
112
110
|
},
|
|
113
111
|
"devDependencies": {
|
|
114
112
|
"@babel/preset-env": "^7.16.11",
|
|
@@ -141,6 +139,7 @@
|
|
|
141
139
|
"babel-runtime": "^6.26.0",
|
|
142
140
|
"dotenv": "^16.0.2",
|
|
143
141
|
"ethers": "^5.7.1",
|
|
142
|
+
"gettext-parser": "^8.0.0",
|
|
144
143
|
"hardhat": "^2.22.13",
|
|
145
144
|
"identity-obj-proxy": "^3.0.0",
|
|
146
145
|
"jest": "^29.0.3",
|