@nightlylabs/dex-sdk 0.1.59 → 0.1.61
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.cjs +4 -2
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2028,7 +2028,8 @@ var Client = class _Client {
|
|
|
2028
2028
|
params.market,
|
|
2029
2029
|
params.orderId,
|
|
2030
2030
|
params.newPrice,
|
|
2031
|
-
params.postOnly
|
|
2031
|
+
params.postOnly,
|
|
2032
|
+
params.reduceOnly
|
|
2032
2033
|
]
|
|
2033
2034
|
});
|
|
2034
2035
|
return await this.createAndSubmitTransaction(aptosPayload);
|
|
@@ -2199,7 +2200,8 @@ var Client = class _Client {
|
|
|
2199
2200
|
params.tokenAddress,
|
|
2200
2201
|
toSystemValue(params.amount),
|
|
2201
2202
|
params.borrow,
|
|
2202
|
-
params.recipient
|
|
2203
|
+
params.recipient,
|
|
2204
|
+
params.max
|
|
2203
2205
|
]
|
|
2204
2206
|
});
|
|
2205
2207
|
return await this.createAndSubmitTransaction(aptosPayload);
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1977,7 +1977,8 @@ var Client = class _Client {
|
|
|
1977
1977
|
params.market,
|
|
1978
1978
|
params.orderId,
|
|
1979
1979
|
params.newPrice,
|
|
1980
|
-
params.postOnly
|
|
1980
|
+
params.postOnly,
|
|
1981
|
+
params.reduceOnly
|
|
1981
1982
|
]
|
|
1982
1983
|
});
|
|
1983
1984
|
return await this.createAndSubmitTransaction(aptosPayload);
|
|
@@ -2148,7 +2149,8 @@ var Client = class _Client {
|
|
|
2148
2149
|
params.tokenAddress,
|
|
2149
2150
|
toSystemValue(params.amount),
|
|
2150
2151
|
params.borrow,
|
|
2151
|
-
params.recipient
|
|
2152
|
+
params.recipient,
|
|
2153
|
+
params.max
|
|
2152
2154
|
]
|
|
2153
2155
|
});
|
|
2154
2156
|
return await this.createAndSubmitTransaction(aptosPayload);
|