@dodoex/widgets 3.0.2-morph.6 → 3.0.2-neox.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/9cc2b17a1958d960.svg +3 -0
- package/dist/cjs/locales/en-US.js +1 -1
- package/dist/cjs/locales/zh-CN.js +1 -1
- package/dist/f7a5110e71722a0c.svg +10 -0
- package/dist/{helper-CHHmuBhr.cjs → helper-CuTmbsue.cjs} +1 -1
- package/dist/{helper-otTQ7jyr.js → helper-u3n5TpaA.js} +1 -1
- package/dist/index-BEVRr0PH.js +32 -0
- package/dist/{index-BWXNQLhA.cjs → index-BgJpw3jN.cjs} +1 -1
- package/dist/{index-BUhXxQjC.js → index-BvjPNHer.js} +1 -1
- package/dist/{index-yjqVB4O3.cjs → index-DGfFyxhb.cjs} +1 -1
- package/dist/index-DogPNaZV.cjs +32 -0
- package/dist/{index-DdqO_5ph.js → index-iIQatzFL.js} +1 -1
- 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/Swap/components/SwapInfoCard.d.ts +9 -0
- package/dist/types/components/Swap/components/TokenCard/BalanceText.d.ts +3 -1
- package/dist/types/components/Swap/components/TokenCard/TokenLogoCollapse.d.ts +5 -1
- package/dist/types/components/Swap/components/TokenCard/index.d.ts +2 -1
- package/dist/types/components/Swap/components/TokenPairPriceWithToggle.d.ts +14 -2
- package/dist/types/components/WidgetContainer.d.ts +1 -1
- package/dist/types/hooks/style/useWidgetDevice.d.ts +1 -0
- package/dist/types/utils/address.d.ts +1 -8
- package/dist/types/widgets/PoolWidget/PoolList/hooks/usePoolListFilterTokenAndPool.d.ts +0 -2
- package/dist/types/widgets/PoolWidget/PoolList/hooks/usePoolListTabs.d.ts +1 -1
- package/dist/types/widgets/PoolWidget/PoolOperate/types.d.ts +0 -2
- package/dist/types/widgets/PoolWidget/hooks/usePoolBalanceInfo.d.ts +3 -4
- package/dist/types/widgets/PoolWidget/hooks/usePoolDetail.d.ts +0 -10
- package/package.json +4 -4
- package/dist/index-6ktk9gLP.cjs +0 -31
- package/dist/index-CZNs9Jhj.js +0 -31
|
@@ -39,13 +39,11 @@ export declare function usePoolDetail({ id, chainId, }: {
|
|
|
39
39
|
id: string;
|
|
40
40
|
symbol: string;
|
|
41
41
|
name: string;
|
|
42
|
-
decimals: any;
|
|
43
42
|
} | null;
|
|
44
43
|
quoteLpToken?: {
|
|
45
44
|
id: string;
|
|
46
45
|
symbol: string;
|
|
47
46
|
name: string;
|
|
48
|
-
decimals: any;
|
|
49
47
|
} | null;
|
|
50
48
|
} | null;
|
|
51
49
|
data: import("@dodoex/api/dist/types/gql/graphql").FetchPoolQuery;
|
|
@@ -108,13 +106,11 @@ export declare function usePoolDetail({ id, chainId, }: {
|
|
|
108
106
|
id: string;
|
|
109
107
|
symbol: string;
|
|
110
108
|
name: string;
|
|
111
|
-
decimals: any;
|
|
112
109
|
} | null;
|
|
113
110
|
quoteLpToken?: {
|
|
114
111
|
id: string;
|
|
115
112
|
symbol: string;
|
|
116
113
|
name: string;
|
|
117
|
-
decimals: any;
|
|
118
114
|
} | null;
|
|
119
115
|
} | null;
|
|
120
116
|
data: import("@dodoex/api/dist/types/gql/graphql").FetchPoolQuery;
|
|
@@ -177,13 +173,11 @@ export declare function usePoolDetail({ id, chainId, }: {
|
|
|
177
173
|
id: string;
|
|
178
174
|
symbol: string;
|
|
179
175
|
name: string;
|
|
180
|
-
decimals: any;
|
|
181
176
|
} | null;
|
|
182
177
|
quoteLpToken?: {
|
|
183
178
|
id: string;
|
|
184
179
|
symbol: string;
|
|
185
180
|
name: string;
|
|
186
|
-
decimals: any;
|
|
187
181
|
} | null;
|
|
188
182
|
} | null;
|
|
189
183
|
data: undefined;
|
|
@@ -246,13 +240,11 @@ export declare function usePoolDetail({ id, chainId, }: {
|
|
|
246
240
|
id: string;
|
|
247
241
|
symbol: string;
|
|
248
242
|
name: string;
|
|
249
|
-
decimals: any;
|
|
250
243
|
} | null;
|
|
251
244
|
quoteLpToken?: {
|
|
252
245
|
id: string;
|
|
253
246
|
symbol: string;
|
|
254
247
|
name: string;
|
|
255
|
-
decimals: any;
|
|
256
248
|
} | null;
|
|
257
249
|
} | null;
|
|
258
250
|
data: undefined;
|
|
@@ -315,13 +307,11 @@ export declare function usePoolDetail({ id, chainId, }: {
|
|
|
315
307
|
id: string;
|
|
316
308
|
symbol: string;
|
|
317
309
|
name: string;
|
|
318
|
-
decimals: any;
|
|
319
310
|
} | null;
|
|
320
311
|
quoteLpToken?: {
|
|
321
312
|
id: string;
|
|
322
313
|
symbol: string;
|
|
323
314
|
name: string;
|
|
324
|
-
decimals: any;
|
|
325
315
|
} | null;
|
|
326
316
|
} | null;
|
|
327
317
|
data: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dodoex/widgets",
|
|
3
|
-
"version": "3.0.2-
|
|
3
|
+
"version": "3.0.2-neox.1",
|
|
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.
|
|
62
|
-
"@dodoex/components": "3.0.1",
|
|
61
|
+
"@dodoex/api": "3.0.2",
|
|
62
|
+
"@dodoex/components": "^3.0.1-beta.1",
|
|
63
63
|
"@dodoex/contract-request": "^1.3.0",
|
|
64
|
-
"@dodoex/dodo-contract-request": "^1.
|
|
64
|
+
"@dodoex/dodo-contract-request": "^1.8.0",
|
|
65
65
|
"@dodoex/icons": "^2.0.2",
|
|
66
66
|
"@emotion/react": "^11.10.0",
|
|
67
67
|
"@emotion/styled": "^11.10.0",
|