We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d757a69 + 6ff6ea0 commit 2e036cdCopy full SHA for 2e036cd
sdk/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@gmx-io/sdk",
3
- "version": "1.0.6",
+ "version": "1.0.7",
4
"type": "module",
5
"main": "./build/cjs/src/index.js",
6
"module": "./build/esm/src/index.js",
sdk/src/modules/orders/helpers.ts
@@ -199,7 +199,7 @@ export async function increaseOrderHelper(
199
referralCodeForTxn: params.referralCodeForTxn,
200
triggerPrice: params.limitPrice,
201
collateralTokenAddress: collateralToken.address,
202
- isLong: true,
+ isLong: params.isLong,
203
receiveTokenAddress: collateralTokenAddress,
204
indexToken: marketInfo.indexToken,
205
marketInfo,
0 commit comments