@myx-trade/sdk 0.1.267-beta.71 → 0.1.267-beta.73
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -233,6 +233,7 @@ interface PositionTpSlOrderParams {
|
|
|
233
233
|
tpPrice?: string;
|
|
234
234
|
slSize?: string;
|
|
235
235
|
slPrice?: string;
|
|
236
|
+
slippagePct: string;
|
|
236
237
|
}
|
|
237
238
|
interface TradingResult {
|
|
238
239
|
success: boolean;
|
|
@@ -2185,12 +2186,11 @@ declare class Position {
|
|
|
2185
2186
|
code: number;
|
|
2186
2187
|
data: PositionHistoryItem[];
|
|
2187
2188
|
}>;
|
|
2188
|
-
adjustCollateral({ poolId, positionId, adjustAmount, quoteToken,
|
|
2189
|
+
adjustCollateral({ poolId, positionId, adjustAmount, quoteToken, chainId, address, }: {
|
|
2189
2190
|
poolId: string;
|
|
2190
2191
|
positionId: string;
|
|
2191
2192
|
adjustAmount: string;
|
|
2192
2193
|
quoteToken: string;
|
|
2193
|
-
poolOracleType: OracleType;
|
|
2194
2194
|
chainId: number;
|
|
2195
2195
|
address: string;
|
|
2196
2196
|
}): Promise<{
|
package/dist/index.d.ts
CHANGED
|
@@ -233,6 +233,7 @@ interface PositionTpSlOrderParams {
|
|
|
233
233
|
tpPrice?: string;
|
|
234
234
|
slSize?: string;
|
|
235
235
|
slPrice?: string;
|
|
236
|
+
slippagePct: string;
|
|
236
237
|
}
|
|
237
238
|
interface TradingResult {
|
|
238
239
|
success: boolean;
|
|
@@ -2185,12 +2186,11 @@ declare class Position {
|
|
|
2185
2186
|
code: number;
|
|
2186
2187
|
data: PositionHistoryItem[];
|
|
2187
2188
|
}>;
|
|
2188
|
-
adjustCollateral({ poolId, positionId, adjustAmount, quoteToken,
|
|
2189
|
+
adjustCollateral({ poolId, positionId, adjustAmount, quoteToken, chainId, address, }: {
|
|
2189
2190
|
poolId: string;
|
|
2190
2191
|
positionId: string;
|
|
2191
2192
|
adjustAmount: string;
|
|
2192
2193
|
quoteToken: string;
|
|
2193
|
-
poolOracleType: OracleType;
|
|
2194
2194
|
chainId: number;
|
|
2195
2195
|
address: string;
|
|
2196
2196
|
}): Promise<{
|