@dodoex/widgets 3.0.2-beta.16 → 3.0.2-beta.17
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/{helper-BNu3rgBV.cjs → helper-CgsYlCS6.cjs} +1 -1
- package/dist/{helper-DYVJUtvQ.js → helper-DG_eLRSc.js} +1 -1
- package/dist/{index-BM1JzXl2.cjs → index-BUUTQWL1.cjs} +1 -1
- package/dist/{index-p0xf7yO5.cjs → index-Bpv9MCuc.cjs} +1 -1
- package/dist/{index-CcQennNY.js → index-C1wKHy-K.js} +1 -1
- package/dist/index-CXWVGBtG.js +31 -0
- package/dist/index-ClRmbhvN.cjs +31 -0
- package/dist/{index-C2g_bloT.js → index-Jy0ah-jJ.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/constants/api.d.ts +3 -3
- package/dist/types/hooks/Swap/useTradeSwapOrderList.d.ts +99 -22
- package/dist/types/hooks/Token/useTokenStatus.d.ts +3 -3
- package/dist/types/hooks/contract/useFetchETHBalance.d.ts +21 -1
- package/dist/types/utils/address.d.ts +1 -1
- package/dist/types/utils/chains.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/hooks/useStatusAndStartBlockNumber.d.ts +2 -1
- package/dist/types/widgets/MiningWidget/helper.d.ts +2 -1
- package/dist/types/widgets/MiningWidget/hooks/useMiningItem.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/hooks/useMiningList.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/hooks/useMyCreatedMiningList.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/hooks/useRewardListAmount.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/hooks/useStatusAndStartBlockNumber.d.ts +8 -2
- package/dist/types/widgets/MiningWidget/hooks/utils.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/addresses.d.ts +0 -14
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/chains.d.ts +8 -1
- package/dist/types/widgets/PoolWidget/PoolCreate/hooks/useCreatePmm.d.ts +2 -2
- package/dist/types/widgets/PoolWidget/PoolList/hooks/usePoolListFilterTokenAndPool.d.ts +3 -0
- package/dist/types/widgets/PoolWidget/PoolOperate/hooks/useLiquidityOperateAmount.d.ts +10 -4
- package/dist/types/widgets/PoolWidget/PoolOperate/hooks/useRemoveLiquidityTokenStatus.d.ts +6 -6
- package/dist/types/widgets/PoolWidget/hooks/usePoolBalanceInfo.d.ts +10 -10
- package/dist/types/widgets/PoolWidget/hooks/usePoolDetail.d.ts +10 -0
- package/dist/types/widgets/PoolWidget/hooks/useUniV2Pairs.d.ts +5 -2
- package/package.json +3 -3
- package/dist/index-BxkgcgOR.js +0 -31
- package/dist/index-DcqykOJv.cjs +0 -31
|
@@ -15,8 +15,11 @@ export declare function useUniV2Pairs({ pool, baseAmount, quoteAmount, }: {
|
|
|
15
15
|
pair: Pair | null;
|
|
16
16
|
price: BigNumber | undefined;
|
|
17
17
|
invertedPrice: BigNumber | undefined;
|
|
18
|
-
reserveQuery: import("@tanstack/react-query").UseQueryResult<
|
|
19
|
-
|
|
18
|
+
reserveQuery: import("@tanstack/react-query").UseQueryResult<{
|
|
19
|
+
baseReserve: BigNumber;
|
|
20
|
+
quoteReserve: BigNumber;
|
|
21
|
+
} | null, Error>;
|
|
22
|
+
totalBaseLpQuery: import("@tanstack/react-query").UseQueryResult<BigNumber | null, Error>;
|
|
20
23
|
liquidityMinted: BigNumber | undefined;
|
|
21
24
|
poolTokenPercentage: BigNumber | undefined;
|
|
22
25
|
shareOfPool: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dodoex/widgets",
|
|
3
|
-
"version": "3.0.2-beta.
|
|
3
|
+
"version": "3.0.2-beta.17",
|
|
4
4
|
"description": "DODO Widgets",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@babel/runtime": "^7.17.0",
|
|
61
|
-
"@dodoex/api": "3.0.3-
|
|
61
|
+
"@dodoex/api": "3.0.3-beta.2",
|
|
62
62
|
"@dodoex/components": "3.0.3",
|
|
63
63
|
"@dodoex/contract-request": "^1.3.0",
|
|
64
|
-
"@dodoex/dodo-contract-request": "
|
|
64
|
+
"@dodoex/dodo-contract-request": "1.10.0-alpha.3",
|
|
65
65
|
"@dodoex/icons": "^2.0.2",
|
|
66
66
|
"@emotion/react": "^11.10.0",
|
|
67
67
|
"@emotion/styled": "^11.10.0",
|