rubic-sdk 4.29.1-alpha-xy-amount.1 → 4.29.2-alpha-xy-amount.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -210442,7 +210442,8 @@ class Web3Public {
210442
210442
  const balanceWei = await this.getBalance(userAddress, token.address);
210443
210443
  const balance = web3_pure_1.Web3Pure.fromWei(balanceWei, token.decimals);
210444
210444
  if (balance.lt(requiredAmount)) {
210445
- throw new errors_1.InsufficientFundsError(token, balance, requiredAmount);
210445
+ console.log('You have not enough tokens');
210446
+ // throw new InsufficientFundsError(token, balance, requiredAmount);
210446
210447
  }
210447
210448
  }
210448
210449
  /**
@@ -242414,7 +242415,7 @@ const tokens_1 = __webpack_require__(/*! ../../../../../../../../common/tokens *
242414
242415
  const blockchain_name_1 = __webpack_require__(/*! ../../../../../../../../core/blockchain/models/blockchain-name */ "./src/core/blockchain/models/blockchain-name.ts");
242415
242416
  exports.FUSIONX_PROVIDER_CONFIGURATION = {
242416
242417
  wethAddress: tokens_1.wrappedNativeTokensList[blockchain_name_1.BLOCKCHAIN_NAME.MANTLE].address,
242417
- maxTransitTokens: 1
242418
+ maxTransitTokens: 2
242418
242419
  };
242419
242420
 
242420
242421