@dodoex/widgets 3.2.4-beta.8 → 3.3.0-atlantic.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.
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-DJS0l5Nv.cjs → helper-CBxGj0lb.cjs} +1 -1
  10. package/dist/{helper-DqYnsAUE.js → helper-DCzWF0U5.js} +1 -1
  11. package/dist/{index-CtkolzAU.cjs → index-C-gA4TjZ.cjs} +1 -1
  12. package/dist/{index-BCtxbG07.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-ClvHcJ9g.js → index-K2Sk3QxB.js} +1 -1
  16. package/dist/{index-xrxz3btR.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-CYk4oP6G.js +0 -31
  30. package/dist/index-JMUOTDJB.cjs +0 -31
package/package.json CHANGED
@@ -1,156 +1,155 @@
1
- {
2
- "name": "@dodoex/widgets",
3
- "version": "3.2.4-beta.8",
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.6",
62
- "@dodoex/components": "3.0.9",
63
- "@dodoex/contract-request": "^1.3.0",
64
- "@dodoex/dodo-contract-request": "1.18.1",
65
- "@dodoex/icons": "^2.0.2",
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
- "semantic-release": "^19.0.2",
103
- "tiny-invariant": "^1.1.0",
104
- "zustand": "^4.5.5"
105
- },
106
- "peerDependencies": {
107
- "@babel/runtime": ">=7.17.0",
108
- "react": ">=17.0.1",
109
- "react-dom": ">=17.0.1"
110
- },
111
- "devDependencies": {
112
- "@babel/preset-env": "^7.16.11",
113
- "@babel/preset-react": "^7.18.6",
114
- "@babel/preset-typescript": "^7.16.7",
115
- "@lingui/babel-preset-react": "^2.9.2",
116
- "@lingui/cli": "^4.3.0",
117
- "@nomicfoundation/hardhat-network-helpers": "^1.0.6",
118
- "@nomiclabs/hardhat-ethers": "^2.1.1",
119
- "@rollup/plugin-babel": "^6.0.4",
120
- "@rollup/plugin-commonjs": "^26.0.1",
121
- "@rollup/plugin-json": "^6.1.0",
122
- "@rollup/plugin-multi-entry": "^6.0.1",
123
- "@rollup/plugin-replace": "^5.0.7",
124
- "@rollup/plugin-terser": "^0.4.4",
125
- "@rollup/plugin-typescript": "^12.1.1",
126
- "@rollup/plugin-url": "^8.0.2",
127
- "@svgr/rollup": "^6.2.1",
128
- "@testing-library/jest-dom": "^5.16.5",
129
- "@testing-library/react": "^13.4.0",
130
- "@testing-library/react-hooks": "^8.0.1",
131
- "@types/d3": "7.4.3",
132
- "@types/identicon.js": "^2.3.1",
133
- "@types/jest": "^29.0.3",
134
- "@types/lodash": "^4.14.184",
135
- "@types/react-infinite-scroller": "^1.2.5",
136
- "@types/react-transition-group": "^4.4.11",
137
- "@types/react-window": "^1.8.5",
138
- "babel-plugin-macros": "^3.1.0",
139
- "babel-runtime": "^6.26.0",
140
- "dotenv": "^16.0.2",
141
- "ethers": "^5.7.1",
142
- "gettext-parser": "^8.0.0",
143
- "hardhat": "^2.22.13",
144
- "identity-obj-proxy": "^3.0.0",
145
- "jest": "^29.0.3",
146
- "jest-environment-hardhat": "^1.1.9",
147
- "jest-environment-jsdom": "^29.0.3",
148
- "np": "^7.6.1",
149
- "rollup": "^4.18.0",
150
- "rollup-plugin-clear": "^2.0.7",
151
- "rollup-plugin-import-css": "^3.5.5",
152
- "svg-jest": "^1.0.1",
153
- "ts-jest": "^29.0.1",
154
- "typescript": "^5.6.3"
155
- }
156
- }
1
+ {
2
+ "name": "@dodoex/widgets",
3
+ "version": "3.3.0-atlantic.1",
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
+ }