@dodoex/widgets 3.20.0-alpha.1 → 3.20.0-alpha.11

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.
Files changed (31) hide show
  1. package/dist/cjs/locales/en-US.js +1 -1
  2. package/dist/cjs/locales/zh-CN.js +1 -1
  3. package/dist/{helper-DHlCN-58.cjs → helper--TSu5F04.cjs} +1 -1
  4. package/dist/{helper-C__Hw6Nv.js → helper-BeJ1brrg.js} +1 -1
  5. package/dist/{index-CEFnzcQR.js → index-BPLMs4OC.js} +1 -1
  6. package/dist/{index-LN0r92OR.cjs → index-ByvgY1yW.cjs} +1 -1
  7. package/dist/{index-C4PCWK26.js → index-CSVFeYgq.js} +1 -1
  8. package/dist/{index-1E8fSg97.cjs → index-CShlhKSs.cjs} +1 -1
  9. package/dist/index-D1Be3gG5.js +14 -0
  10. package/dist/index-D4Xmqzxm.cjs +14 -0
  11. package/dist/index.cjs +1 -1
  12. package/dist/index.js +1 -1
  13. package/dist/locales/en-US.js +1 -1
  14. package/dist/locales/zh-CN.js +1 -1
  15. package/dist/types/components/Widget/index.d.ts +44 -0
  16. package/dist/types/hooks/ConnectWallet/useWalletInfo.d.ts +2 -0
  17. package/dist/types/hooks/ConnectWallet/useWeb3Connectors.d.ts +6 -1
  18. package/dist/types/hooks/Submission/types.d.ts +1 -0
  19. package/dist/types/hooks/Token/useSelectChainList.d.ts +3 -2
  20. package/dist/types/index.d.ts +1 -0
  21. package/dist/types/widgets/PoolWidget/PoolList/AddLiquidity.d.ts +3 -1
  22. package/dist/types/widgets/PoolWidget/PoolList/components/LpFeeRewardBadge.d.ts +13 -0
  23. package/dist/types/widgets/PoolWidget/PoolList/components/LpFeeRewardBanner.d.ts +1 -0
  24. package/dist/types/widgets/PoolWidget/PoolList/hooks/useClaimLpFeeRewardSubmit.d.ts +14 -0
  25. package/dist/types/widgets/PoolWidget/PoolList/hooks/usePoolListFilterTokenAndPool.d.ts +1 -0
  26. package/dist/types/widgets/PoolWidget/PoolList/index.d.ts +3 -1
  27. package/dist/types/widgets/PoolWidget/hooks/usePoolDetail.d.ts +6 -0
  28. package/dist/types/widgets/PoolWidget/index.d.ts +4 -1
  29. package/package.json +2 -3
  30. package/dist/index-C3eOZR2q.js +0 -14
  31. package/dist/index-CoDKjBJD.cjs +0 -14
@@ -17,6 +17,7 @@ export declare function usePoolDetail({ id, chainId, }: {
17
17
  transactionBaseApy?: any | null;
18
18
  transactionQuoteApy?: any | null;
19
19
  metromMiningApy?: any | null;
20
+ lpFeeRewardApy?: any | null;
20
21
  } | null | undefined;
21
22
  baseApy: string | undefined;
22
23
  quoteApy: string | undefined;
@@ -95,6 +96,7 @@ export declare function usePoolDetail({ id, chainId, }: {
95
96
  transactionBaseApy?: any | null;
96
97
  transactionQuoteApy?: any | null;
97
98
  metromMiningApy?: any | null;
99
+ lpFeeRewardApy?: any | null;
98
100
  } | null | undefined;
99
101
  baseApy: string | undefined;
100
102
  quoteApy: string | undefined;
@@ -173,6 +175,7 @@ export declare function usePoolDetail({ id, chainId, }: {
173
175
  transactionBaseApy?: any | null;
174
176
  transactionQuoteApy?: any | null;
175
177
  metromMiningApy?: any | null;
178
+ lpFeeRewardApy?: any | null;
176
179
  } | null | undefined;
177
180
  baseApy: string | undefined;
178
181
  quoteApy: string | undefined;
@@ -251,6 +254,7 @@ export declare function usePoolDetail({ id, chainId, }: {
251
254
  transactionBaseApy?: any | null;
252
255
  transactionQuoteApy?: any | null;
253
256
  metromMiningApy?: any | null;
257
+ lpFeeRewardApy?: any | null;
254
258
  } | null | undefined;
255
259
  baseApy: string | undefined;
256
260
  quoteApy: string | undefined;
@@ -329,6 +333,7 @@ export declare function usePoolDetail({ id, chainId, }: {
329
333
  transactionBaseApy?: any | null;
330
334
  transactionQuoteApy?: any | null;
331
335
  metromMiningApy?: any | null;
336
+ lpFeeRewardApy?: any | null;
332
337
  } | null | undefined;
333
338
  baseApy: string | undefined;
334
339
  quoteApy: string | undefined;
@@ -407,6 +412,7 @@ export declare function usePoolDetail({ id, chainId, }: {
407
412
  transactionBaseApy?: any | null;
408
413
  transactionQuoteApy?: any | null;
409
414
  metromMiningApy?: any | null;
415
+ lpFeeRewardApy?: any | null;
410
416
  } | null | undefined;
411
417
  baseApy: string | undefined;
412
418
  quoteApy: string | undefined;
@@ -1,4 +1,7 @@
1
1
  export { default as AMMV3Create } from './AMMV3/AddLiquidityV3';
2
2
  export { AMMV3PositionsView } from './AMMV3/AMMV3PositionsView';
3
3
  export { AMMV3PositionManage } from './AMMV3/AMMV3PositionManage';
4
- export declare function Pool(): import("react").JSX.Element;
4
+ export declare function Pool({ poolAddress, onPoolAddressChange, }?: {
5
+ poolAddress?: string;
6
+ onPoolAddressChange?: (address?: string) => void;
7
+ }): import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodoex/widgets",
3
- "version": "3.20.0-alpha.1",
3
+ "version": "3.20.0-alpha.11",
4
4
  "description": "DODO Widgets",
5
5
  "source": "src/index.tsx",
6
6
  "types": "dist/types/index.d.ts",
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@babel/runtime": "^7.17.0",
61
- "@dodoex/api": "^3.9.0-alpha.1",
61
+ "@dodoex/api": "^3.9.0-alpha.3",
62
62
  "@dodoex/components": "^3.3.0",
63
63
  "@dodoex/contract-request": "^1.3.0",
64
64
  "@dodoex/dodo-contract-request": "^1.35.0-alpha.2",
@@ -130,7 +130,6 @@
130
130
  "@svgr/rollup": "^6.2.1",
131
131
  "@testing-library/jest-dom": "^6.5.0",
132
132
  "@testing-library/react": "^16.0.1",
133
- "@testing-library/react-hooks": "^8.0.1",
134
133
  "@types/d3": "7.4.3",
135
134
  "@types/identicon.js": "^2.3.1",
136
135
  "@types/jest": "^29.0.3",