@dodoex/widgets 3.0.2-beta.13 → 3.0.2-beta.15
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-BcJroMVm.cjs → helper-BNu3rgBV.cjs} +1 -1
- package/dist/{helper-LzsML_KI.js → helper-DYVJUtvQ.js} +1 -1
- package/dist/{index-DDs6_nV8.cjs → index-BM1JzXl2.cjs} +1 -1
- package/dist/{index-CQFY92c_.js → index-BxkgcgOR.js} +1 -1
- package/dist/{index-CSU_UpIW.js → index-C2g_bloT.js} +1 -1
- package/dist/{index-CVNg5FZw.js → index-CcQennNY.js} +1 -1
- package/dist/{index-D9K2r6xD.cjs → index-DcqykOJv.cjs} +1 -1
- package/dist/{index-C6v17EqA.cjs → index-p0xf7yO5.cjs} +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 +22 -99
- package/dist/types/hooks/Token/useTokenStatus.d.ts +3 -3
- package/dist/types/hooks/contract/useFetchETHBalance.d.ts +1 -21
- package/dist/types/utils/chains.d.ts +1 -1
- package/dist/types/widgets/MiningWidget/MiningList/hooks/useStatusAndStartBlockNumber.d.ts +1 -2
- package/dist/types/widgets/MiningWidget/helper.d.ts +1 -2
- 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 +2 -8
- package/dist/types/widgets/MiningWidget/hooks/utils.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/AMMV3/sdks/sdk-core/chains.d.ts +1 -2
- package/dist/types/widgets/PoolWidget/PoolCreate/hooks/useCreatePmm.d.ts +2 -2
- package/dist/types/widgets/PoolWidget/PoolList/hooks/usePoolListFilterTokenAndPool.d.ts +0 -3
- package/dist/types/widgets/PoolWidget/PoolOperate/hooks/useLiquidityOperateAmount.d.ts +4 -10
- package/dist/types/widgets/PoolWidget/PoolOperate/hooks/useRemoveLiquidityTokenStatus.d.ts +6 -6
- package/dist/types/widgets/PoolWidget/hooks/contract/getModifyDPPPoolParams.d.ts +2 -1
- package/dist/types/widgets/PoolWidget/hooks/usePoolBalanceInfo.d.ts +10 -10
- package/dist/types/widgets/PoolWidget/hooks/usePoolDetail.d.ts +0 -10
- package/dist/types/widgets/PoolWidget/hooks/useUniV2Pairs.d.ts +2 -5
- package/package.json +2 -2
|
@@ -15,11 +15,8 @@ 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
|
-
|
|
20
|
-
quoteReserve: BigNumber;
|
|
21
|
-
} | null, Error>;
|
|
22
|
-
totalBaseLpQuery: import("@tanstack/react-query").UseQueryResult<BigNumber | null, Error>;
|
|
18
|
+
reserveQuery: import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
19
|
+
totalBaseLpQuery: import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
23
20
|
liquidityMinted: BigNumber | undefined;
|
|
24
21
|
poolTokenPercentage: BigNumber | undefined;
|
|
25
22
|
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.15",
|
|
4
4
|
"description": "DODO Widgets",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@dodoex/api": "3.0.3-morph.7",
|
|
62
62
|
"@dodoex/components": "3.0.3",
|
|
63
63
|
"@dodoex/contract-request": "^1.3.0",
|
|
64
|
-
"@dodoex/dodo-contract-request": "^1.9.0-alpha.
|
|
64
|
+
"@dodoex/dodo-contract-request": "^1.9.0-alpha.13",
|
|
65
65
|
"@dodoex/icons": "^2.0.2",
|
|
66
66
|
"@emotion/react": "^11.10.0",
|
|
67
67
|
"@emotion/styled": "^11.10.0",
|