@0dotxyz/p0-ts-sdk 2.5.2-alpha.0 → 2.5.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.
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/jupiter.d.cts +7 -0
- package/dist/jupiter.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -65929,6 +65929,10 @@ async function buildCandidates(req, apiConfig) {
|
|
|
65929
65929
|
mode: "fast",
|
|
65930
65930
|
maxAccounts,
|
|
65931
65931
|
wrapAndUnwrapSol: false,
|
|
65932
|
+
// The swap engine always executes inside a Jito bundle; without this
|
|
65933
|
+
// the Router may route through DEXes whose swaps lock vote accounts,
|
|
65934
|
+
// which Jito rejects ("bundles cannot lock any vote accounts").
|
|
65935
|
+
forJitoBundle: true,
|
|
65932
65936
|
destinationTokenAccount: req.destinationTokenAccount.toBase58(),
|
|
65933
65937
|
platformFeeBps: useFee ? req.platformFeeBps : void 0,
|
|
65934
65938
|
feeAccount: useFee ? feeAccount : void 0
|