@myx-trade/sdk 0.1.78 → 0.1.79
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.js +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1841,7 +1841,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
|
|
|
1841
1841
|
// package.json
|
|
1842
1842
|
var package_default = {
|
|
1843
1843
|
name: "@myx-trade/sdk",
|
|
1844
|
-
version: "0.1.
|
|
1844
|
+
version: "0.1.79",
|
|
1845
1845
|
private: false,
|
|
1846
1846
|
publishConfig: {
|
|
1847
1847
|
access: "public"
|
|
@@ -14325,7 +14325,6 @@ var Order = class {
|
|
|
14325
14325
|
useAccountBalance = true;
|
|
14326
14326
|
transferAmount = collateralWithNetworkFee - totalBalance;
|
|
14327
14327
|
}
|
|
14328
|
-
console.log("transferAmount-->", transferAmount);
|
|
14329
14328
|
const data = {
|
|
14330
14329
|
user: params.address,
|
|
14331
14330
|
poolId: params.poolId,
|
|
@@ -14345,7 +14344,7 @@ var Order = class {
|
|
|
14345
14344
|
tpPrice: params.tpPrice ?? "0",
|
|
14346
14345
|
slSize: params.slSize ?? "0",
|
|
14347
14346
|
slPrice: params.slPrice ?? "0",
|
|
14348
|
-
useAccountBalance
|
|
14347
|
+
useAccountBalance: false
|
|
14349
14348
|
};
|
|
14350
14349
|
this.logger.info("createIncreaseOrder position params--->", data);
|
|
14351
14350
|
if (config.seamlessMode) {
|
package/dist/index.mjs
CHANGED
|
@@ -1752,7 +1752,7 @@ var RotationProvider = class extends BaseProvider {
|
|
|
1752
1752
|
// package.json
|
|
1753
1753
|
var package_default = {
|
|
1754
1754
|
name: "@myx-trade/sdk",
|
|
1755
|
-
version: "0.1.
|
|
1755
|
+
version: "0.1.79",
|
|
1756
1756
|
private: false,
|
|
1757
1757
|
publishConfig: {
|
|
1758
1758
|
access: "public"
|
|
@@ -14236,7 +14236,6 @@ var Order = class {
|
|
|
14236
14236
|
useAccountBalance = true;
|
|
14237
14237
|
transferAmount = collateralWithNetworkFee - totalBalance;
|
|
14238
14238
|
}
|
|
14239
|
-
console.log("transferAmount-->", transferAmount);
|
|
14240
14239
|
const data = {
|
|
14241
14240
|
user: params.address,
|
|
14242
14241
|
poolId: params.poolId,
|
|
@@ -14256,7 +14255,7 @@ var Order = class {
|
|
|
14256
14255
|
tpPrice: params.tpPrice ?? "0",
|
|
14257
14256
|
slSize: params.slSize ?? "0",
|
|
14258
14257
|
slPrice: params.slPrice ?? "0",
|
|
14259
|
-
useAccountBalance
|
|
14258
|
+
useAccountBalance: false
|
|
14260
14259
|
};
|
|
14261
14260
|
this.logger.info("createIncreaseOrder position params--->", data);
|
|
14262
14261
|
if (config.seamlessMode) {
|