@imtbl/sdk 0.27.2-alpha → 0.27.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.
@@ -12126,9 +12126,13 @@ declare class FiatRampService {
12126
12126
  feeEstimate(): Promise<OnRampProviderFees>;
12127
12127
  createWidgetUrl(params: FiatRampWidgetParams): Promise<string>;
12128
12128
  }
12129
+ type AvailabilityService = {
12130
+ checkDexAvailability: () => Promise<boolean>;
12131
+ };
12129
12132
  declare class Checkout {
12130
12133
  readonly config: CheckoutConfiguration;
12131
12134
  readonly fiatRampService: FiatRampService;
12135
+ readonly availability: AvailabilityService;
12132
12136
  /**
12133
12137
  * Constructs a new instance of the CheckoutModule class.
12134
12138
  * @param {CheckoutModuleConfiguration} [config=SANDBOX_CONFIGURATION] - The configuration object for the CheckoutModule.
@@ -12246,6 +12250,11 @@ declare class Checkout {
12246
12250
  * @returns {Promise<OnRampProviderFees>} - A promise that resolves to OnRampProviderFees.
12247
12251
  */
12248
12252
  getExchangeFeeEstimate(): Promise<OnRampProviderFees>;
12253
+ /**
12254
+ * Fetches Swap widget availability.
12255
+ * @returns {Promise<boolean>} - A promise that resolves to a boolean.
12256
+ */
12257
+ isSwapAvailable(): Promise<boolean>;
12249
12258
  }
12250
12259
 
12251
12260
  export { AllowedNetworkConfig, AvailableRoutingOptions, BalanceDelta, BridgeFundingStep, BuyOrder, BuyParams, BuyResult, BuyResultFailed, BuyResultInsufficientFunds, BuyResultSuccess, BuyToken, CHECKOUT_API_BASE_URL, CancelParams, CancelResult, CancelResultFailed, CancelResultSuccess, ChainId, ChainName, CheckConnectionParams, CheckConnectionResult, Checkout, CheckoutErrorType, CheckoutModuleConfiguration, CheckoutStatus, ConnectParams, ConnectResult, DexConfig, ERC20ItemRequirement, ERC721Balance, ERC721ItemRequirement, ErrorType, ExchangeType, FeePercentage, FeeToken, FiatRampParams, FulfillmentTransaction, FundingItem, FundingRoute, FundingStep, FundingStepType, GasAmount, GasEstimateBridgeToL2Result, GasEstimateParams, GasEstimateSwapResult, GasEstimateTokenConfig, GasEstimateType, GasToken, GasTokenType, GetAllBalancesParams, GetAllBalancesResult, GetBalanceParams, GetBalanceResult, GetNetworkAllowListParams, GetNetworkAllowListResult, GetNetworkParams, GetTokenAllowListParams, GetTokenAllowListResult, GetWalletAllowListParams, GetWalletAllowListResult, ItemBalance, ItemType, NativeItemRequirement, NetworkFilter, NetworkFilterTypes, NetworkInfo, NoRouteOptions, NoRoutesFound, OnRampFundingStep, OrderFee, RemoteConfiguration, RoutesFound, RoutingOutcome, RoutingOutcomeType, SellOrder, SellParams, SellResult, SellResultFailed, SellResultInsufficientFunds, SellResultSuccess, SellToken, SendTransactionParams, SendTransactionResult, SmartCheckoutInsufficient, SmartCheckoutParams, SmartCheckoutResult, SmartCheckoutRouter, SmartCheckoutSufficient, SwapFundingStep, SwitchNetworkParams, SwitchNetworkResult, TokenBalance, TokenFilter, TokenFilterTypes, TokenInfo, TransactionOrGasType, TransactionRequirement, WalletFilter, WalletFilterTypes, WalletInfo, WalletProviderName };