@0dotxyz/p0-ts-sdk 2.5.2 → 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.js
CHANGED
|
@@ -65901,6 +65901,10 @@ async function buildCandidates(req, apiConfig) {
|
|
|
65901
65901
|
mode: "fast",
|
|
65902
65902
|
maxAccounts,
|
|
65903
65903
|
wrapAndUnwrapSol: false,
|
|
65904
|
+
// The swap engine always executes inside a Jito bundle; without this
|
|
65905
|
+
// the Router may route through DEXes whose swaps lock vote accounts,
|
|
65906
|
+
// which Jito rejects ("bundles cannot lock any vote accounts").
|
|
65907
|
+
forJitoBundle: true,
|
|
65904
65908
|
destinationTokenAccount: req.destinationTokenAccount.toBase58(),
|
|
65905
65909
|
platformFeeBps: useFee ? req.platformFeeBps : void 0,
|
|
65906
65910
|
feeAccount: useFee ? feeAccount : void 0
|