@0dotxyz/p0-ts-sdk 2.5.5-alpha.8 → 2.5.5-alpha.9
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 +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -65943,6 +65943,7 @@ var getJupiterSwapIxsForFlashloan = async ({
|
|
|
65943
65943
|
// src/services/account/services/swap-engine/adapters/jupiter.adapter.ts
|
|
65944
65944
|
var JUPITER_MAX_ACCOUNTS_MARGIN = 4;
|
|
65945
65945
|
var JUPITER_MIN_MAX_ACCOUNTS = 16;
|
|
65946
|
+
var BUNDLE_INCOMPATIBLE_DEXES = ["GoonFi V2"];
|
|
65946
65947
|
function deserializeJupiterInstruction2(ix) {
|
|
65947
65948
|
return new web3_js.TransactionInstruction({
|
|
65948
65949
|
programId: new web3_js.PublicKey(ix.programId),
|
|
@@ -66008,6 +66009,7 @@ async function buildCandidates(req, apiConfig) {
|
|
|
66008
66009
|
// the Router may route through DEXes whose swaps lock vote accounts,
|
|
66009
66010
|
// which Jito rejects ("bundles cannot lock any vote accounts").
|
|
66010
66011
|
forJitoBundle: true,
|
|
66012
|
+
excludeDexes: BUNDLE_INCOMPATIBLE_DEXES,
|
|
66011
66013
|
destinationTokenAccount: req.destinationTokenAccount.toBase58(),
|
|
66012
66014
|
platformFeeBps: useFee ? req.platformFeeBps : void 0,
|
|
66013
66015
|
feeAccount: useFee ? feeAccount : void 0
|