@myx-trade/sdk 0.1.50 → 0.1.51
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 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1836,7 +1836,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
|
|
|
1836
1836
|
// package.json
|
|
1837
1837
|
var package_default = {
|
|
1838
1838
|
name: "@myx-trade/sdk",
|
|
1839
|
-
version: "0.1.
|
|
1839
|
+
version: "0.1.51",
|
|
1840
1840
|
private: false,
|
|
1841
1841
|
publishConfig: {
|
|
1842
1842
|
access: "public"
|
|
@@ -13260,7 +13260,7 @@ var Order = class {
|
|
|
13260
13260
|
this.logger.info("createDecreaseOrder salt position params--->", [positionId, { data }]);
|
|
13261
13261
|
const gasLimit = await brokerContract.placeOrderWithSalt.estimateGas(positionId.toString(), data);
|
|
13262
13262
|
transaction = await brokerContract.placeOrderWithSalt(
|
|
13263
|
-
|
|
13263
|
+
positionId.toString(),
|
|
13264
13264
|
data,
|
|
13265
13265
|
{
|
|
13266
13266
|
gasLimit: gasLimit * 130n / 100n
|
package/dist/index.mjs
CHANGED
|
@@ -1751,7 +1751,7 @@ var RotationProvider = class extends BaseProvider {
|
|
|
1751
1751
|
// package.json
|
|
1752
1752
|
var package_default = {
|
|
1753
1753
|
name: "@myx-trade/sdk",
|
|
1754
|
-
version: "0.1.
|
|
1754
|
+
version: "0.1.51",
|
|
1755
1755
|
private: false,
|
|
1756
1756
|
publishConfig: {
|
|
1757
1757
|
access: "public"
|
|
@@ -13175,7 +13175,7 @@ var Order = class {
|
|
|
13175
13175
|
this.logger.info("createDecreaseOrder salt position params--->", [positionId, { data }]);
|
|
13176
13176
|
const gasLimit = await brokerContract.placeOrderWithSalt.estimateGas(positionId.toString(), data);
|
|
13177
13177
|
transaction = await brokerContract.placeOrderWithSalt(
|
|
13178
|
-
|
|
13178
|
+
positionId.toString(),
|
|
13179
13179
|
data,
|
|
13180
13180
|
{
|
|
13181
13181
|
gasLimit: gasLimit * 130n / 100n
|