@cetusprotocol/terminal 1.6.0 → 1.7.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.
Binary file
@@ -27,7 +27,9 @@ export declare enum AggregatorProvider {
27
27
  HAWAL = "HAWAL",
28
28
  HAEDALHMMV2 = "HAEDALHMMV2",
29
29
  FULLSAIL = "FULLSAIL",
30
- CETUSDLMM = "CETUSDLMM"
30
+ CETUSDLMM = "CETUSDLMM",
31
+ FERRACLMM = "FERRACLMM",
32
+ FERRADLMM = "FERRADLMM"
31
33
  }
32
34
  export type MarketType = "pyth" | "coingecko" | "birdeye" | "Cetus";
33
35
  export type AggregatorDex = {
@@ -46,3 +48,8 @@ export declare const AggregatorDexGroup: {
46
48
  items: AggregatorProvider[];
47
49
  }[];
48
50
  export declare const AggregatorDexMap: Record<string, AggregatorDex>;
51
+ export declare const findGroupDex: (provider: AggregatorProvider) => {
52
+ groupName: string;
53
+ items: AggregatorProvider[];
54
+ } | undefined;
55
+ export declare const findDisplayName: (provider: AggregatorProvider) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cetusprotocol/terminal",
3
- "version": "1.6.0",
3
+ "version": "1.7.1",
4
4
  "type": "commonjs",
5
5
  "main": "dist/cetus-swap.cjs.js",
6
6
  "module": "dist/cetus-swap.es.js",
@@ -22,7 +22,7 @@
22
22
  "publish:test": "node ./version.mjs && npm publish --tag experimental"
23
23
  },
24
24
  "dependencies": {
25
- "@cetusprotocol/aggregator-sdk": "^1.4.1",
25
+ "@cetusprotocol/aggregator-sdk": "^1.4.2",
26
26
  "@radix-ui/colors": "^3.0.0",
27
27
  "@radix-ui/react-icons": "^1.3.0",
28
28
  "@radix-ui/themes": "^2.0.0",