@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.
- package/LICENSE +674 -674
- package/README.md +69 -69
- package/dist/{34acf2e58b457195.svg → 28442382d977858a.svg} +9 -9
- package/dist/{219f8611c6c9e6e2.svg → 8de9a184d4ef0a11.svg} +6 -6
- package/dist/{44df077bd19df476.svg → b3f16b2626f03378.svg} +10 -10
- package/dist/cjs/locales/en-US.js +1 -1
- package/dist/cjs/locales/zh-CN.js +1 -1
- package/dist/{5c5d298f247819e1.svg → ed726d76d93d4899.svg} +10 -10
- package/dist/{helper-BP6Ja2SU.cjs → helper-CBxGj0lb.cjs} +1 -1
- package/dist/{helper-B3EPPZGv.js → helper-DCzWF0U5.js} +1 -1
- package/dist/{index-CU6D9g-b.cjs → index-C-gA4TjZ.cjs} +1 -1
- package/dist/{index-CyNmwB67.cjs → index-D1LZ9TRY.cjs} +1 -1
- package/dist/index-D2nv2COb.js +31 -0
- package/dist/index-D2pRowro.cjs +31 -0
- package/dist/{index-BiaLfBdx.js → index-K2Sk3QxB.js} +1 -1
- package/dist/{index-CztB88rk.js → index-m4X_msUd.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/SwapSettingsDialog/index.d.ts +1 -2
- package/dist/types/components/Swap/index.d.ts +1 -7
- package/dist/types/components/TextSwitch.d.ts +1 -2
- package/dist/types/hooks/contract/wallet.d.ts +2 -2
- package/dist/types/index.d.ts +0 -11
- package/dist/types/widgets/PoolWidget/PoolList/AddLiquidity.d.ts +6 -9
- package/dist/types/widgets/PoolWidget/PoolList/MyLiquidity.d.ts +1 -9
- package/package.json +155 -156
- package/dist/index-C3XUhtcX.cjs +0 -31
- package/dist/index-Dnzhl-3m.js +0 -31
package/package.json
CHANGED
|
@@ -1,156 +1,155 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dodoex/widgets",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "DODO Widgets",
|
|
5
|
-
"source": "src/index.tsx",
|
|
6
|
-
"types": "dist/types/index.d.ts",
|
|
7
|
-
"main": "dist/index.cjs",
|
|
8
|
-
"module": "dist/index.js",
|
|
9
|
-
"license": "GPL-3.0-or-later",
|
|
10
|
-
"homepage": "https://github.com/DODOEX/widgets#readme",
|
|
11
|
-
"repository": "https://github.com/DODOEX/widgets",
|
|
12
|
-
"files": [
|
|
13
|
-
"dist"
|
|
14
|
-
],
|
|
15
|
-
"scripts": {
|
|
16
|
-
"prepare": "yarn compile:i18n",
|
|
17
|
-
"extract:i18n": "lingui extract --clean",
|
|
18
|
-
"compile:i18n": "yarn extract:i18n && lingui compile",
|
|
19
|
-
"sync:i18n": "export $(cat .env | xargs) && env lingui extract --overwrite && lingui compile",
|
|
20
|
-
"watch": "yarn run rollup -c --watch",
|
|
21
|
-
"build": "yarn compile:i18n && rollup --config",
|
|
22
|
-
"prerelease": "yarn run build",
|
|
23
|
-
"release": "semantic-release",
|
|
24
|
-
"release:local": "np --any-branch --no-cleanup --no-tests",
|
|
25
|
-
"release.npm-publish": "npm publish --access public",
|
|
26
|
-
"release.npm-publish-beta": "npm publish --tag beta",
|
|
27
|
-
"test": "jest src",
|
|
28
|
-
"test:e2e": "jest e2e"
|
|
29
|
-
},
|
|
30
|
-
"author": "",
|
|
31
|
-
"publishConfig": {
|
|
32
|
-
"access": "public",
|
|
33
|
-
"registry": "https://registry.npmjs.org"
|
|
34
|
-
},
|
|
35
|
-
"exports": {
|
|
36
|
-
".": {
|
|
37
|
-
"types": "./dist/types/index.d.ts",
|
|
38
|
-
"import": "./dist/index.js",
|
|
39
|
-
"require": "./dist/index.cjs"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"keywords": [
|
|
43
|
-
"dodo",
|
|
44
|
-
"widgets",
|
|
45
|
-
"interfaces"
|
|
46
|
-
],
|
|
47
|
-
"browserslist": {
|
|
48
|
-
"production": [
|
|
49
|
-
">0.2%",
|
|
50
|
-
"not dead",
|
|
51
|
-
"not op_mini all"
|
|
52
|
-
],
|
|
53
|
-
"development": [
|
|
54
|
-
"last 1 chrome version",
|
|
55
|
-
"last 1 firefox version",
|
|
56
|
-
"last 1 safari version"
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
"dependencies": {
|
|
60
|
-
"@babel/runtime": "^7.17.0",
|
|
61
|
-
"@dodoex/api": "3.0.
|
|
62
|
-
"@dodoex/components": "3.0
|
|
63
|
-
"@dodoex/contract-request": "^1.3.0",
|
|
64
|
-
"@dodoex/dodo-contract-request": "1.
|
|
65
|
-
"@dodoex/icons": "^2.0.
|
|
66
|
-
"@emotion/react": "^11.10.0",
|
|
67
|
-
"@emotion/styled": "^11.10.0",
|
|
68
|
-
"@ethersproject/bignumber": "^5.6.2",
|
|
69
|
-
"@ethersproject/contracts": "^5.7.0",
|
|
70
|
-
"@lingui/core": "^4.3.0",
|
|
71
|
-
"@lingui/macro": "^4.3.0",
|
|
72
|
-
"@lingui/react": "^4.3.0",
|
|
73
|
-
"@reduxjs/toolkit": "^1.6.1",
|
|
74
|
-
"@semantic-release/changelog": "^6.0.1",
|
|
75
|
-
"@semantic-release/git": "^10.0.1",
|
|
76
|
-
"@tanstack/react-query": "^5.18.1",
|
|
77
|
-
"@uniswap/sdk-core": "^5.9.0",
|
|
78
|
-
"@uniswap/v2-sdk": "^4.6.2",
|
|
79
|
-
"@web3-react/core": "8.2.0",
|
|
80
|
-
"@web3-react/eip1193": "8.2.0",
|
|
81
|
-
"@web3-react/metamask": "8.2.1",
|
|
82
|
-
"@web3-react/types": "8.2.0",
|
|
83
|
-
"@web3-react/walletconnect-v2": "8.3.6",
|
|
84
|
-
"axios": "^0.27.2",
|
|
85
|
-
"bignumber.js": "^9.0.2",
|
|
86
|
-
"d3": "7.6.1",
|
|
87
|
-
"dayjs": "^1.11.11",
|
|
88
|
-
"identicon.js": "^2.3.3",
|
|
89
|
-
"jsbi": "^3.1.4",
|
|
90
|
-
"konva": "^9.3.6",
|
|
91
|
-
"lodash": "^4.17.21",
|
|
92
|
-
"make-plural": "^7.0.0",
|
|
93
|
-
"moment": "^2.29.4",
|
|
94
|
-
"react-datetime": "^3.1.1",
|
|
95
|
-
"react-icons": "^5.0.1",
|
|
96
|
-
"react-infinite-scroller": "^1.2.6",
|
|
97
|
-
"react-konva": "^18.2.10",
|
|
98
|
-
"react-transition-group": "^4.4.5",
|
|
99
|
-
"react-window": "^1.8.8",
|
|
100
|
-
"recharts": "^2.12.7",
|
|
101
|
-
"rmc-date-picker": "^6.0.10",
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
"react": ">=17.0.1"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"@babel/preset-
|
|
113
|
-
"@babel/preset-
|
|
114
|
-
"@babel
|
|
115
|
-
"@lingui/
|
|
116
|
-
"@
|
|
117
|
-
"@
|
|
118
|
-
"@
|
|
119
|
-
"@rollup/plugin-
|
|
120
|
-
"@rollup/plugin-
|
|
121
|
-
"@rollup/plugin-
|
|
122
|
-
"@rollup/plugin-
|
|
123
|
-
"@rollup/plugin-
|
|
124
|
-
"@rollup/plugin-
|
|
125
|
-
"@rollup/plugin-
|
|
126
|
-
"@rollup
|
|
127
|
-
"@
|
|
128
|
-
"@testing-library/
|
|
129
|
-
"@testing-library/react": "^
|
|
130
|
-
"@
|
|
131
|
-
"@types/
|
|
132
|
-
"@types/
|
|
133
|
-
"@types/
|
|
134
|
-
"@types/
|
|
135
|
-
"@types/react-
|
|
136
|
-
"@types/react-
|
|
137
|
-
"
|
|
138
|
-
"babel-
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"jest": "^
|
|
146
|
-
"jest-environment-
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"rollup": "^
|
|
150
|
-
"rollup-plugin-
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@dodoex/widgets",
|
|
3
|
+
"version": "3.3.0-atlantic.2",
|
|
4
|
+
"description": "DODO Widgets",
|
|
5
|
+
"source": "src/index.tsx",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
|
+
"main": "dist/index.cjs",
|
|
8
|
+
"module": "dist/index.js",
|
|
9
|
+
"license": "GPL-3.0-or-later",
|
|
10
|
+
"homepage": "https://github.com/DODOEX/widgets#readme",
|
|
11
|
+
"repository": "https://github.com/DODOEX/widgets",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"prepare": "yarn compile:i18n",
|
|
17
|
+
"extract:i18n": "lingui extract --clean",
|
|
18
|
+
"compile:i18n": "yarn extract:i18n && lingui compile",
|
|
19
|
+
"sync:i18n": "export $(cat .env | xargs) && env lingui extract --overwrite && lingui compile",
|
|
20
|
+
"watch": "yarn run rollup -c --watch",
|
|
21
|
+
"build": "yarn compile:i18n && rollup --config",
|
|
22
|
+
"prerelease": "yarn run build",
|
|
23
|
+
"release": "semantic-release",
|
|
24
|
+
"release:local": "np --any-branch --no-cleanup --no-tests",
|
|
25
|
+
"release.npm-publish": "npm publish --access public",
|
|
26
|
+
"release.npm-publish-beta": "npm publish --tag beta",
|
|
27
|
+
"test": "jest src",
|
|
28
|
+
"test:e2e": "jest e2e"
|
|
29
|
+
},
|
|
30
|
+
"author": "",
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"registry": "https://registry.npmjs.org"
|
|
34
|
+
},
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/types/index.d.ts",
|
|
38
|
+
"import": "./dist/index.js",
|
|
39
|
+
"require": "./dist/index.cjs"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"dodo",
|
|
44
|
+
"widgets",
|
|
45
|
+
"interfaces"
|
|
46
|
+
],
|
|
47
|
+
"browserslist": {
|
|
48
|
+
"production": [
|
|
49
|
+
">0.2%",
|
|
50
|
+
"not dead",
|
|
51
|
+
"not op_mini all"
|
|
52
|
+
],
|
|
53
|
+
"development": [
|
|
54
|
+
"last 1 chrome version",
|
|
55
|
+
"last 1 firefox version",
|
|
56
|
+
"last 1 safari version"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@babel/runtime": "^7.17.0",
|
|
61
|
+
"@dodoex/api": "3.1.0-atlantic.1",
|
|
62
|
+
"@dodoex/components": "^3.1.0",
|
|
63
|
+
"@dodoex/contract-request": "^1.3.0",
|
|
64
|
+
"@dodoex/dodo-contract-request": "^1.25.0-alpha.1",
|
|
65
|
+
"@dodoex/icons": "^2.0.3",
|
|
66
|
+
"@emotion/react": "^11.10.0",
|
|
67
|
+
"@emotion/styled": "^11.10.0",
|
|
68
|
+
"@ethersproject/bignumber": "^5.6.2",
|
|
69
|
+
"@ethersproject/contracts": "^5.7.0",
|
|
70
|
+
"@lingui/core": "^4.3.0",
|
|
71
|
+
"@lingui/macro": "^4.3.0",
|
|
72
|
+
"@lingui/react": "^4.3.0",
|
|
73
|
+
"@reduxjs/toolkit": "^1.6.1",
|
|
74
|
+
"@semantic-release/changelog": "^6.0.1",
|
|
75
|
+
"@semantic-release/git": "^10.0.1",
|
|
76
|
+
"@tanstack/react-query": "^5.18.1",
|
|
77
|
+
"@uniswap/sdk-core": "^5.9.0",
|
|
78
|
+
"@uniswap/v2-sdk": "^4.6.2",
|
|
79
|
+
"@web3-react/core": "8.2.0",
|
|
80
|
+
"@web3-react/eip1193": "8.2.0",
|
|
81
|
+
"@web3-react/metamask": "8.2.1",
|
|
82
|
+
"@web3-react/types": "8.2.0",
|
|
83
|
+
"@web3-react/walletconnect-v2": "8.3.6",
|
|
84
|
+
"axios": "^0.27.2",
|
|
85
|
+
"bignumber.js": "^9.0.2",
|
|
86
|
+
"d3": "7.6.1",
|
|
87
|
+
"dayjs": "^1.11.11",
|
|
88
|
+
"identicon.js": "^2.3.3",
|
|
89
|
+
"jsbi": "^3.1.4",
|
|
90
|
+
"konva": "^9.3.6",
|
|
91
|
+
"lodash": "^4.17.21",
|
|
92
|
+
"make-plural": "^7.0.0",
|
|
93
|
+
"moment": "^2.29.4",
|
|
94
|
+
"react-datetime": "^3.1.1",
|
|
95
|
+
"react-icons": "^5.0.1",
|
|
96
|
+
"react-infinite-scroller": "^1.2.6",
|
|
97
|
+
"react-konva": "^18.2.10",
|
|
98
|
+
"react-transition-group": "^4.4.5",
|
|
99
|
+
"react-window": "^1.8.8",
|
|
100
|
+
"recharts": "^2.12.7",
|
|
101
|
+
"rmc-date-picker": "^6.0.10",
|
|
102
|
+
"tiny-invariant": "^1.1.0",
|
|
103
|
+
"zustand": "^4.5.5"
|
|
104
|
+
},
|
|
105
|
+
"peerDependencies": {
|
|
106
|
+
"@babel/runtime": ">=7.17.0",
|
|
107
|
+
"react": ">=17.0.1",
|
|
108
|
+
"react-dom": ">=17.0.1"
|
|
109
|
+
},
|
|
110
|
+
"devDependencies": {
|
|
111
|
+
"@babel/preset-env": "^7.16.11",
|
|
112
|
+
"@babel/preset-react": "^7.18.6",
|
|
113
|
+
"@babel/preset-typescript": "^7.16.7",
|
|
114
|
+
"@lingui/babel-preset-react": "^2.9.2",
|
|
115
|
+
"@lingui/cli": "^4.3.0",
|
|
116
|
+
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",
|
|
117
|
+
"@nomiclabs/hardhat-ethers": "^2.1.1",
|
|
118
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
119
|
+
"@rollup/plugin-commonjs": "^26.0.1",
|
|
120
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
121
|
+
"@rollup/plugin-multi-entry": "^6.0.1",
|
|
122
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
123
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
124
|
+
"@rollup/plugin-typescript": "^12.1.1",
|
|
125
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
126
|
+
"@svgr/rollup": "^6.2.1",
|
|
127
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
128
|
+
"@testing-library/react": "^13.4.0",
|
|
129
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
130
|
+
"@types/d3": "7.4.3",
|
|
131
|
+
"@types/identicon.js": "^2.3.1",
|
|
132
|
+
"@types/jest": "^29.0.3",
|
|
133
|
+
"@types/lodash": "^4.14.184",
|
|
134
|
+
"@types/react-infinite-scroller": "^1.2.5",
|
|
135
|
+
"@types/react-transition-group": "^4.4.11",
|
|
136
|
+
"@types/react-window": "^1.8.5",
|
|
137
|
+
"babel-plugin-macros": "^3.1.0",
|
|
138
|
+
"babel-runtime": "^6.26.0",
|
|
139
|
+
"dotenv": "^16.0.2",
|
|
140
|
+
"ethers": "^5.7.1",
|
|
141
|
+
"gettext-parser": "^8.0.0",
|
|
142
|
+
"hardhat": "^2.22.13",
|
|
143
|
+
"identity-obj-proxy": "^3.0.0",
|
|
144
|
+
"jest": "^29.0.3",
|
|
145
|
+
"jest-environment-hardhat": "^1.1.9",
|
|
146
|
+
"jest-environment-jsdom": "^29.0.3",
|
|
147
|
+
"np": "^7.6.1",
|
|
148
|
+
"rollup": "^4.18.0",
|
|
149
|
+
"rollup-plugin-clear": "^2.0.7",
|
|
150
|
+
"rollup-plugin-import-css": "^3.5.5",
|
|
151
|
+
"svg-jest": "^1.0.1",
|
|
152
|
+
"ts-jest": "^29.0.1",
|
|
153
|
+
"typescript": "^5.6.3"
|
|
154
|
+
}
|
|
155
|
+
}
|