@haven-fi/solauto-sdk 1.0.645 → 1.0.646
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.
@@ -90,7 +90,7 @@ function swapThenDeposit(client, depositMint, depositAmountBaseUnit) {
|
|
90
90
|
outputMint: client.pos.supplyMint,
|
91
91
|
amount: depositAmountBaseUnit,
|
92
92
|
exactIn: true,
|
93
|
-
slippageBps: memeSwap ?
|
93
|
+
slippageBps: memeSwap ? 250 : 100,
|
94
94
|
};
|
95
95
|
const jupSwapManager = new services_1.JupSwapManager(client.signer);
|
96
96
|
const { setupIx, swapIx, cleanupIx, lookupTableAddresses } = await jupSwapManager.getJupSwapTxData({
|
package/package.json
CHANGED
@@ -145,7 +145,7 @@ export function swapThenDeposit(
|
|
145
145
|
outputMint: client.pos.supplyMint,
|
146
146
|
amount: depositAmountBaseUnit,
|
147
147
|
exactIn: true,
|
148
|
-
slippageBps: memeSwap ?
|
148
|
+
slippageBps: memeSwap ? 250 : 100,
|
149
149
|
};
|
150
150
|
const jupSwapManager = new JupSwapManager(client.signer);
|
151
151
|
const { setupIx, swapIx, cleanupIx, lookupTableAddresses } =
|