rubic-sdk 4.26.0-alpha-symb-sdk-upd.0 → 4.26.0-alpha-symb-sdk-upd.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -224557,7 +224557,9 @@ class SymbiosisCrossChainProvider extends cross_chain_provider_1.CrossChainProvi
224557
224557
  async calculate(from, toToken, options) {
224558
224558
  const fromBlockchain = from.blockchain;
224559
224559
  const toBlockchain = toToken.blockchain;
224560
- const useProxy = options?.useProxy?.[this.type] ?? true;
224560
+ const useProxy = from.blockchain === blockchain_name_1.BLOCKCHAIN_NAME.BASE
224561
+ ? false
224562
+ : options?.useProxy?.[this.type] ?? true;
224561
224563
  const config = blockchains_info_1.BlockchainsInfo.isTestBlockchainName(fromBlockchain) ? 'testnet' : 'mainnet';
224562
224564
  const symbiosis = new symbiosis_js_sdk_1.Symbiosis(config, 'rubic');
224563
224565
  if (!this.areSupportedBlockchains(fromBlockchain, toBlockchain)) {