bet-test-sdk 1.3.1 → 1.3.3

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.
@@ -18953,7 +18953,7 @@ class BetSDK {
18953
18953
  if (!curveStateAccount) {
18954
18954
  return 0n;
18955
18955
  }
18956
- let minTokenAmountIn = curveStateAccount.getSellPriceByToken(solAmountOut, false);
18956
+ let minTokenAmountIn = curveStateAccount.getSellPriceBySol(solAmountOut, false);
18957
18957
  if (slippageBasisPoints) {
18958
18958
  minTokenAmountIn += (minTokenAmountIn * slippageBasisPoints) / DENOMINATOR;
18959
18959
  }