@@ -172,7 +172,7 @@ import { calculateMarketMaxAvailableInsurance } from './math/market';
172172import { fetchUserStatsAccount } from './accounts/fetch' ;
173173import { castNumberToSpotPrecision } from './math/spotMarket' ;
174174import { JupiterClient , QuoteResponse } from './jupiter/jupiterClient' ;
175- import { SwapMode } from './swap/UnifiedSwapClient' ;
175+ import { SwapMode , UnifiedQuoteResponse } from './swap/UnifiedSwapClient' ;
176176import { getNonIdleUserFilter } from './memcmp' ;
177177import { UserStatsSubscriptionConfig } from './userStatsConfig' ;
178178import { getMarinadeDepositIx , getMarinadeFinanceProgram } from './marinade' ;
@@ -5811,7 +5811,7 @@ export class DriftClient {
58115811 v6 ?: {
58125812 quote ?: QuoteResponse ;
58135813 } ;
5814- quote ?: QuoteResponse ;
5814+ quote ?: UnifiedQuoteResponse ;
58155815 } ) : Promise < TransactionSignature > {
58165816 // Handle backward compatibility: use jupiterClient if swapClient is not provided
58175817 const clientToUse = swapClient || jupiterClient ;
@@ -5865,7 +5865,7 @@ export class DriftClient {
58655865 amount,
58665866 slippageBps,
58675867 swapMode,
5868- quote : quoteToUse ,
5868+ quote : quoteToUse as QuoteResponse ,
58695869 reduceOnly,
58705870 onlyDirectRoutes,
58715871 } ) ;
@@ -6315,7 +6315,7 @@ export class DriftClient {
63156315 swapMode ?: SwapMode ;
63166316 onlyDirectRoutes ?: boolean ;
63176317 reduceOnly ?: SwapReduceOnly ;
6318- quote ?: QuoteResponse ;
6318+ quote ?: UnifiedQuoteResponse ;
63196319 v6 ?: {
63206320 quote ?: QuoteResponse ;
63216321 } ;
0 commit comments