@myx-trade/sdk 0.1.100 → 0.1.101
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 +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1822,7 +1822,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
|
|
|
1822
1822
|
// package.json
|
|
1823
1823
|
var package_default = {
|
|
1824
1824
|
name: "@myx-trade/sdk",
|
|
1825
|
-
version: "0.1.
|
|
1825
|
+
version: "0.1.101",
|
|
1826
1826
|
private: false,
|
|
1827
1827
|
publishConfig: {
|
|
1828
1828
|
access: "public"
|
|
@@ -14412,6 +14412,8 @@ var Order = class {
|
|
|
14412
14412
|
if (totalBalance > 0) {
|
|
14413
14413
|
depositAmount = BigInt(params.collateralAmount) - totalBalance;
|
|
14414
14414
|
}
|
|
14415
|
+
this.logger.info("params.collateralAmount->", params.collateralAmount);
|
|
14416
|
+
this.logger.info("depositAmount-->", depositAmount);
|
|
14415
14417
|
const depositData = {
|
|
14416
14418
|
token: params.executionFeeToken,
|
|
14417
14419
|
amount: depositAmount > BigInt(0) ? (depositAmount + BigInt(networkFee)).toString() : networkFee
|
package/dist/index.mjs
CHANGED
|
@@ -1732,7 +1732,7 @@ var RotationProvider = class extends BaseProvider {
|
|
|
1732
1732
|
// package.json
|
|
1733
1733
|
var package_default = {
|
|
1734
1734
|
name: "@myx-trade/sdk",
|
|
1735
|
-
version: "0.1.
|
|
1735
|
+
version: "0.1.101",
|
|
1736
1736
|
private: false,
|
|
1737
1737
|
publishConfig: {
|
|
1738
1738
|
access: "public"
|
|
@@ -14322,6 +14322,8 @@ var Order = class {
|
|
|
14322
14322
|
if (totalBalance > 0) {
|
|
14323
14323
|
depositAmount = BigInt(params.collateralAmount) - totalBalance;
|
|
14324
14324
|
}
|
|
14325
|
+
this.logger.info("params.collateralAmount->", params.collateralAmount);
|
|
14326
|
+
this.logger.info("depositAmount-->", depositAmount);
|
|
14325
14327
|
const depositData = {
|
|
14326
14328
|
token: params.executionFeeToken,
|
|
14327
14329
|
amount: depositAmount > BigInt(0) ? (depositAmount + BigInt(networkFee)).toString() : networkFee
|