@dodoex/widgets 3.2.4-beta.9 → 3.3.0-atlantic.2

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 (30) hide show
  1. package/LICENSE +674 -674
  2. package/README.md +69 -69
  3. package/dist/{34acf2e58b457195.svg → 28442382d977858a.svg} +9 -9
  4. package/dist/{219f8611c6c9e6e2.svg → 8de9a184d4ef0a11.svg} +6 -6
  5. package/dist/{44df077bd19df476.svg → b3f16b2626f03378.svg} +10 -10
  6. package/dist/cjs/locales/en-US.js +1 -1
  7. package/dist/cjs/locales/zh-CN.js +1 -1
  8. package/dist/{5c5d298f247819e1.svg → ed726d76d93d4899.svg} +10 -10
  9. package/dist/{helper-BP6Ja2SU.cjs → helper-CBxGj0lb.cjs} +1 -1
  10. package/dist/{helper-B3EPPZGv.js → helper-DCzWF0U5.js} +1 -1
  11. package/dist/{index-CU6D9g-b.cjs → index-C-gA4TjZ.cjs} +1 -1
  12. package/dist/{index-CyNmwB67.cjs → index-D1LZ9TRY.cjs} +1 -1
  13. package/dist/index-D2nv2COb.js +31 -0
  14. package/dist/index-D2pRowro.cjs +31 -0
  15. package/dist/{index-BiaLfBdx.js → index-K2Sk3QxB.js} +1 -1
  16. package/dist/{index-CztB88rk.js → index-m4X_msUd.js} +1 -1
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/locales/en-US.js +1 -1
  20. package/dist/locales/zh-CN.js +1 -1
  21. package/dist/types/components/Swap/components/SwapSettingsDialog/index.d.ts +1 -2
  22. package/dist/types/components/Swap/index.d.ts +1 -7
  23. package/dist/types/components/TextSwitch.d.ts +1 -2
  24. package/dist/types/hooks/contract/wallet.d.ts +2 -2
  25. package/dist/types/index.d.ts +0 -11
  26. package/dist/types/widgets/PoolWidget/PoolList/AddLiquidity.d.ts +6 -9
  27. package/dist/types/widgets/PoolWidget/PoolList/MyLiquidity.d.ts +1 -9
  28. package/package.json +155 -156
  29. package/dist/index-C3XUhtcX.cjs +0 -31
  30. package/dist/index-Dnzhl-3m.js +0 -31
package/README.md CHANGED
@@ -1,69 +1,69 @@
1
- # DODO Widget
2
-
3
- <p align="center">
4
- <a>
5
- <img src="https://i.postimg.cc/W4q937Db/Logo.png" alt="DODO" />
6
- </a>
7
- </p>
8
-
9
- <p align="center">
10
- <a href="https://www.npmjs.com/package/@dodoex/widgets"><img src="https://img.shields.io/npm/v/@dodoex/widgets" alt="npm version" /></a>
11
- <p>
12
-
13
- ## DODO Swap Widget
14
-
15
- The DODO Swap Widget allows you to build customized front-end interfaces for the DODO protocol, and embed widgets in DeFi applications for quick asset exchange and other uses. DODO currently supports 12 chains in total, including Ethereum, BNB Chain, Polygon, Arbitrum, Avalanche, Heco, Moonriver, OKC, BOBA, Optimism, Aurora, and Cronos. We intend to add support for more chains in the future.
16
-
17
- ## Installation
18
-
19
- Install the widgets library via `npm` or `yarn`.
20
-
21
- ```js
22
- yarn add @dodoex/widgets
23
- ```
24
- ```js
25
- npm i --save @dodoex/widgets
26
- ```
27
-
28
- ## Documentation
29
- You can find the DODO Widget documentation [on the website](https://docs.dodoex.io/english/developers/swap-widget) and check out the [Getting Started](https://docs.dodoex.io/english/developers/swap-widget/getting-started) page for a quick overview.
30
- - [Profit-Sharing Instructions](https://docs.dodoex.io/english/developers/swap-widget/profit-sharing-instructions)
31
- - [API](https://docs.dodoex.io/english/developers/swap-widget/api)
32
-
33
- ## Examples
34
- Inside the `examples` folder, there two different examples,
35
-
36
- For react app:
37
-
38
- ```shell
39
- $ git clone git@github.com:DODOEX/widgets.git
40
- $ cd example/react-app
41
- ```
42
-
43
- For js app:
44
- ```shell
45
- $ git clone git@github.com:DODOEX/widgets.git
46
- $ cd example/js-app
47
- ```
48
-
49
- Install and run the example:
50
-
51
- ```bash
52
- yarn # install dependencies
53
- yarn start # run the development server
54
- # or
55
- npm # install dependencies
56
- npm run start # run the development server
57
- ```
58
-
59
- Other details:
60
- - [React App](https://github.com/DODOEX/widgets/tree/main/example/react-app)
61
- - [JS App](https://github.com/DODOEX/widgets/tree/main/example/js-app)
62
-
63
- ## License
64
-
65
- - [GPL-3.0 ](https://github.com/DODOEX/widgets/blob/main/LICENSE)
66
-
67
- ## About DODO
68
-
69
- - [DODO Web](https://dodoex.io/)
1
+ # DODO Widget
2
+
3
+ <p align="center">
4
+ <a>
5
+ <img src="https://i.postimg.cc/W4q937Db/Logo.png" alt="DODO" />
6
+ </a>
7
+ </p>
8
+
9
+ <p align="center">
10
+ <a href="https://www.npmjs.com/package/@dodoex/widgets"><img src="https://img.shields.io/npm/v/@dodoex/widgets" alt="npm version" /></a>
11
+ <p>
12
+
13
+ ## DODO Swap Widget
14
+
15
+ The DODO Swap Widget allows you to build customized front-end interfaces for the DODO protocol, and embed widgets in DeFi applications for quick asset exchange and other uses. DODO currently supports 12 chains in total, including Ethereum, BNB Chain, Polygon, Arbitrum, Avalanche, Heco, Moonriver, OKC, BOBA, Optimism, Aurora, and Cronos. We intend to add support for more chains in the future.
16
+
17
+ ## Installation
18
+
19
+ Install the widgets library via `npm` or `yarn`.
20
+
21
+ ```js
22
+ yarn add @dodoex/widgets
23
+ ```
24
+ ```js
25
+ npm i --save @dodoex/widgets
26
+ ```
27
+
28
+ ## Documentation
29
+ You can find the DODO Widget documentation [on the website](https://docs.dodoex.io/english/developers/swap-widget) and check out the [Getting Started](https://docs.dodoex.io/english/developers/swap-widget/getting-started) page for a quick overview.
30
+ - [Profit-Sharing Instructions](https://docs.dodoex.io/english/developers/swap-widget/profit-sharing-instructions)
31
+ - [API](https://docs.dodoex.io/english/developers/swap-widget/api)
32
+
33
+ ## Examples
34
+ Inside the `examples` folder, there two different examples,
35
+
36
+ For react app:
37
+
38
+ ```shell
39
+ $ git clone git@github.com:DODOEX/widgets.git
40
+ $ cd example/react-app
41
+ ```
42
+
43
+ For js app:
44
+ ```shell
45
+ $ git clone git@github.com:DODOEX/widgets.git
46
+ $ cd example/js-app
47
+ ```
48
+
49
+ Install and run the example:
50
+
51
+ ```bash
52
+ yarn # install dependencies
53
+ yarn start # run the development server
54
+ # or
55
+ npm # install dependencies
56
+ npm run start # run the development server
57
+ ```
58
+
59
+ Other details:
60
+ - [React App](https://github.com/DODOEX/widgets/tree/main/example/react-app)
61
+ - [JS App](https://github.com/DODOEX/widgets/tree/main/example/js-app)
62
+
63
+ ## License
64
+
65
+ - [GPL-3.0 ](https://github.com/DODOEX/widgets/blob/main/LICENSE)
66
+
67
+ ## About DODO
68
+
69
+ - [DODO Web](https://dodoex.io/)