@cetusprotocol/terminal 2.0.0 → 2.0.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/dist/cetus-swap.cjs.js +57 -48
- package/dist/cetus-swap.cjs.js.gz +0 -0
- package/dist/cetus-swap.es.d.ts +2 -0
- package/dist/cetus-swap.es.js +25963 -19536
- package/dist/cetus-swap.es.js.gz +0 -0
- package/dist/cetus-swap.umd.js +57 -48
- package/dist/cetus-swap.umd.js.gz +0 -0
- package/dist/config/index.d.ts +2 -1
- package/dist/config/provider.d.ts +2 -1
- package/dist/hooks/swap/useSwap.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/package.json +21 -10
package/dist/style.css.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cetusprotocol/terminal",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "dist/cetus-swap.cjs.js",
|
|
6
6
|
"module": "dist/cetus-swap.es.js",
|
|
@@ -9,20 +9,26 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@mysten/dapp-kit": ">=0.
|
|
13
|
-
"@mysten/sui": ">=
|
|
12
|
+
"@mysten/dapp-kit": ">=1.0.3",
|
|
13
|
+
"@mysten/sui": ">=2.6.0",
|
|
14
14
|
"react": ">=18.2.0",
|
|
15
15
|
"react-dom": ">=18.2.0"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"dev": "vite",
|
|
19
|
-
"build": "
|
|
18
|
+
"dev": "vite --config html.vite.config.ts",
|
|
19
|
+
"build": "npm run build:lib",
|
|
20
|
+
"build:demo": "vite build --config html.vite.config.ts",
|
|
21
|
+
"build:widget": "vite build --config html.widget.vite.config.ts",
|
|
22
|
+
"build:lib": "vite build --config npm.vite.config.ts",
|
|
20
23
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
21
|
-
"preview": "vite preview",
|
|
22
|
-
"
|
|
24
|
+
"preview": "vite preview --config html.vite.config.ts",
|
|
25
|
+
"manifest:html": "cp package.html.json package.json",
|
|
26
|
+
"manifest:npm": "cp package.npm.json package.json",
|
|
27
|
+
"publish:test": "node version.mjs && npm publish --tag experimental",
|
|
28
|
+
"publish:test:lib": "npm run manifest:npm && npm run build:lib && node version.mjs && npm publish --tag experimental"
|
|
23
29
|
},
|
|
24
30
|
"dependencies": {
|
|
25
|
-
"@cetusprotocol/aggregator-sdk": "1.
|
|
31
|
+
"@cetusprotocol/aggregator-sdk": "1.5.1",
|
|
26
32
|
"@radix-ui/colors": "^3.0.0",
|
|
27
33
|
"@radix-ui/react-icons": "^1.3.0",
|
|
28
34
|
"@radix-ui/themes": "^2.0.0",
|
|
@@ -83,6 +89,11 @@
|
|
|
83
89
|
"color-name": "1.1.4",
|
|
84
90
|
"is-core-module": "2.13.1",
|
|
85
91
|
"error-ex": "1.3.2",
|
|
86
|
-
"has-ansi": "5.0.1"
|
|
92
|
+
"has-ansi": "5.0.1",
|
|
93
|
+
"lodash": "4.18.1",
|
|
94
|
+
"uuid": "^11.0.2",
|
|
95
|
+
"defu": ">=6.1.5",
|
|
96
|
+
"hono": ">=4.12.12",
|
|
97
|
+
"axios": ">=1.15.0"
|
|
87
98
|
}
|
|
88
|
-
}
|
|
99
|
+
}
|