rubic-sdk 4.28.2 → 4.28.3

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