@haven-fi/solauto-sdk 1.0.110 → 1.0.111
Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ async function getJupSwapTransaction(signer, swapDetails, attemptNum) {
|
|
32
32
|
? "ExactIn"
|
33
33
|
: undefined,
|
34
34
|
slippageBps: 10,
|
35
|
-
maxAccounts: 60,
|
35
|
+
maxAccounts: !swapDetails.exactOut ? 60 : undefined,
|
36
36
|
}), 3);
|
37
37
|
const finalPriceSlippageBps = Math.round(Math.max(50, quoteResponse.slippageBps, Math.round((0, numberUtils_1.toBps)(parseFloat(quoteResponse.priceImpactPct))) + 1) *
|
38
38
|
(1 + (swapDetails.slippageBpsIncFactor ?? 0)));
|
package/package.json
CHANGED