@typus/typus-perp-sdk 1.1.32-codegen-exp17 → 1.1.32-codegen-exp18
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/src/user/order.js +1 -1
- package/package.json +1 -1
package/dist/src/user/order.js
CHANGED
|
@@ -44,7 +44,7 @@ async function createTradingOrder(client, tx, input) {
|
|
|
44
44
|
coin = (0, utils_2.splitCoin)(tx, cToken, input.coins, input.amount, client.config.sponsored);
|
|
45
45
|
// no suiCoin
|
|
46
46
|
}
|
|
47
|
-
const tokensWithoutTypus = Array.from(new Set([TOKEN])).filter((token) => token !== "TYPUS");
|
|
47
|
+
const tokensWithoutTypus = Array.from(new Set([TOKEN, BASE_TOKEN])).filter((token) => token !== "TYPUS");
|
|
48
48
|
await (0, utils_2.updatePyth)(client.pythClient, tx, tokensWithoutTypus, suiCoin);
|
|
49
49
|
for (let token of tokensWithoutTypus) {
|
|
50
50
|
(0, utils_2.updateOracleWithPythUsd)(client.pythClient, tx, client.config.package.oracle, token);
|