Changelog:
- Add prioritizationFeeLamports to /swap, to set the prioritization fee to be paid. Now defaults to "auto" to prevent underpricing
- Add dynamicComputeUnitLimit to /swap, it will simulate the swap to adjust compute unit limit to 140% of consumed_units
- Increase compute unit micro lamports to be 2x p75 over the last 20 slots when using "auto" prioritizationFeeLamports or computeUnitPriceMicroLamports, to easier outbid.
- Update Stakedex SDK (Sanctum) to latest for preferred withdrawer exhaustion fix and ignore private pools igneous-labs/stakedex-sdk#32
- Update Jupiter Perps AMM to support updated token weightage checks
- Fix and enable again split for ExactOut
- Fix to use other_amount_threshold for ExactOut as input_amount when building swap, to prevent insufficient tokens before slippage tolerance is hit.
For documentation on the new parameters go to https://station.jup.ag/api-v6/post-swap
Commit 2e5258f05825ba9a7f58179bfb03cbad0382b8b2