@cetusprotocol/margin-sdk 0.0.2 → 0.0.4
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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +3 -4
package/dist/index.d.mts
CHANGED
|
@@ -614,7 +614,7 @@ declare class PositionModules {
|
|
|
614
614
|
byAmountIn: boolean;
|
|
615
615
|
paths: _cetusprotocol_aggregator_sdk.Path[];
|
|
616
616
|
insufficientLiquidity: boolean;
|
|
617
|
-
deviationRatio
|
|
617
|
+
deviationRatio: number;
|
|
618
618
|
packages?: Map<string, string>;
|
|
619
619
|
totalDeepFee?: number;
|
|
620
620
|
error?: _cetusprotocol_aggregator_sdk.RouterError;
|
|
@@ -665,7 +665,7 @@ declare class PositionModules {
|
|
|
665
665
|
byAmountIn: boolean;
|
|
666
666
|
paths: _cetusprotocol_aggregator_sdk.Path[];
|
|
667
667
|
insufficientLiquidity: boolean;
|
|
668
|
-
deviationRatio
|
|
668
|
+
deviationRatio: number;
|
|
669
669
|
packages?: Map<string, string>;
|
|
670
670
|
totalDeepFee?: number;
|
|
671
671
|
error?: _cetusprotocol_aggregator_sdk.RouterError;
|
|
@@ -982,7 +982,7 @@ declare class SwapModules {
|
|
|
982
982
|
byAmountIn: boolean;
|
|
983
983
|
paths: _cetusprotocol_aggregator_sdk.Path[];
|
|
984
984
|
insufficientLiquidity: boolean;
|
|
985
|
-
deviationRatio
|
|
985
|
+
deviationRatio: number;
|
|
986
986
|
packages?: Map<string, string>;
|
|
987
987
|
totalDeepFee?: number;
|
|
988
988
|
error?: _cetusprotocol_aggregator_sdk.RouterError;
|
package/dist/index.d.ts
CHANGED
|
@@ -614,7 +614,7 @@ declare class PositionModules {
|
|
|
614
614
|
byAmountIn: boolean;
|
|
615
615
|
paths: _cetusprotocol_aggregator_sdk.Path[];
|
|
616
616
|
insufficientLiquidity: boolean;
|
|
617
|
-
deviationRatio
|
|
617
|
+
deviationRatio: number;
|
|
618
618
|
packages?: Map<string, string>;
|
|
619
619
|
totalDeepFee?: number;
|
|
620
620
|
error?: _cetusprotocol_aggregator_sdk.RouterError;
|
|
@@ -665,7 +665,7 @@ declare class PositionModules {
|
|
|
665
665
|
byAmountIn: boolean;
|
|
666
666
|
paths: _cetusprotocol_aggregator_sdk.Path[];
|
|
667
667
|
insufficientLiquidity: boolean;
|
|
668
|
-
deviationRatio
|
|
668
|
+
deviationRatio: number;
|
|
669
669
|
packages?: Map<string, string>;
|
|
670
670
|
totalDeepFee?: number;
|
|
671
671
|
error?: _cetusprotocol_aggregator_sdk.RouterError;
|
|
@@ -982,7 +982,7 @@ declare class SwapModules {
|
|
|
982
982
|
byAmountIn: boolean;
|
|
983
983
|
paths: _cetusprotocol_aggregator_sdk.Path[];
|
|
984
984
|
insufficientLiquidity: boolean;
|
|
985
|
-
deviationRatio
|
|
985
|
+
deviationRatio: number;
|
|
986
986
|
packages?: Map<string, string>;
|
|
987
987
|
totalDeepFee?: number;
|
|
988
988
|
error?: _cetusprotocol_aggregator_sdk.RouterError;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cetusprotocol/margin-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "SDK fon leverage",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"author": "test",
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@pythnetwork/pyth-sui-js": "2.2.0"
|
|
28
|
+
"@pythnetwork/pyth-sui-js": "2.2.0",
|
|
29
|
+
"@cetusprotocol/aggregator-sdk": "1.4.3"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@cetusprotocol/common-sdk": "workspace:*",
|
|
32
33
|
"@cetusprotocol/test-utils": "workspace:*",
|
|
33
34
|
"@cetusprotocol/sui-clmm-sdk": "workspace:*",
|
|
34
|
-
"@cetusprotocol/aggregator-sdk": "1.1.2",
|
|
35
35
|
"@suilend/sdk": "1.1.75",
|
|
36
36
|
"@suilend/sui-fe": "0.3.29",
|
|
37
37
|
"@mysten/sui": "1.34.0"
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@cetusprotocol/common-sdk": "*",
|
|
41
41
|
"@cetusprotocol/sui-clmm-sdk": "*",
|
|
42
|
-
"@cetusprotocol/aggregator-sdk": "*",
|
|
43
42
|
"@mysten/sui": "*",
|
|
44
43
|
"@suilend/sdk": "1.1.75",
|
|
45
44
|
"@suilend/sui-fe": "0.3.29",
|