@@ -43,7 +43,7 @@ function _optionalChain$8(ops) { let lastAccessLHS = undefined; let value = ops[
4343
4444let supported = ['ethereum', 'bsc', 'polygon', 'solana', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base', 'worldchain'];
4545supported.evm = ['ethereum', 'bsc', 'polygon', 'fantom', 'arbitrum', 'avalanche', 'gnosis', 'optimism', 'base', 'worldchain'];
46- supported.solana = ['solana'];
46+ supported.svm = ['solana'];
4747
4848const DEFAULT_SLIPPAGE = '0.5'; // percent
4949
@@ -159,7 +159,7 @@ const calculateAmountsWithSlippage = async ({
159159 if(amountOutMinInput || amountOutInput) {
160160 if(supported.evm.includes(exchange.blockchain || blockchain)) {
161161 amountIn = amountInMax = await calculateAmountInWithSlippage({ exchange, blockchain, pools, exchangePath, amountIn, amountOut: (amountOutMinInput || amountOut) });
162- } else if(supported.solana .includes(exchange.blockchain || blockchain)){
162+ } else if(supported.svm .includes(exchange.blockchain || blockchain)){
163163 let amountsWithSlippage = [];
164164 await Promise.all(exchangePath.map((step, index)=>{
165165 if(index != 0) {
@@ -173,7 +173,7 @@ const calculateAmountsWithSlippage = async ({
173173 amountIn = amountInMax = amounts[0];
174174 }
175175 } else if(amountInMaxInput || amountInInput) {
176- if(supported.solana .includes(exchange.blockchain || blockchain)){
176+ if(supported.svm .includes(exchange.blockchain || blockchain)){
177177 let amountsWithSlippage = [];
178178 await Promise.all(exchangePath.map((step, index)=>{
179179 if(index !== 0 && index < exchangePath.length-1) {
0 commit comments