@cetusprotocol/terminal 0.0.1 → 0.0.3

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/style.css.gz CHANGED
Binary file
@@ -82,3 +82,10 @@ export type SwapRouterFormat = {
82
82
  }[];
83
83
  }[];
84
84
  };
85
+ export declare enum AggregatorServerErrorCode {
86
+ CalculateError = 10000,
87
+ NumberTooLarge = 10001,
88
+ NoRouter = 10002,
89
+ InsufficientLiquidity = 10003,
90
+ HoneyPot = 10004
91
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cetusprotocol/terminal",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "main": "dist/cetus-swap.cjs.js",
6
6
  "module": "dist/cetus-swap.es.js",
@@ -9,9 +9,9 @@
9
9
  "dist"
10
10
  ],
11
11
  "peerDependencies": {
12
+ "@mysten/dapp-kit": ">=0.14.0",
12
13
  "react": ">=18.2.0",
13
- "react-dom": ">=18.2.0",
14
- "@mysten/dapp-kit": ">=0.14.0"
14
+ "react-dom": ">=18.2.0"
15
15
  },
16
16
  "scripts": {
17
17
  "dev": "vite",
@@ -20,7 +20,7 @@
20
20
  "preview": "vite preview"
21
21
  },
22
22
  "dependencies": {
23
- "@cetusprotocol/aggregator-sdk": "^0.3.15",
23
+ "@cetusprotocol/aggregator-sdk": "^0.3.16",
24
24
  "@mysten/sui": "^1.16.0",
25
25
  "@radix-ui/colors": "^3.0.0",
26
26
  "@radix-ui/react-icons": "^1.3.0",
@@ -43,6 +43,7 @@
43
43
  "zustand": "^5.0.2"
44
44
  },
45
45
  "devDependencies": {
46
+ "@rollup/plugin-strip": "^3.0.4",
46
47
  "@types/bn.js": "^5.1.6",
47
48
  "@types/lodash-es": "^4.17.12",
48
49
  "@types/react": "^18.2.15",