@moonbeam-network/mrl 1.0.0-dev.267 → 1.0.0-dev.268

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.
package/build/index.mjs CHANGED
@@ -16831,7 +16831,6 @@ var SnowbridgeService = class _SnowbridgeService {
16831
16831
  tokenAddress,
16832
16832
  this.#gatewayAddress
16833
16833
  );
16834
- console.log("currentAllowance", currentAllowance);
16835
16834
  if (currentAllowance < amount) {
16836
16835
  await this.approve(signer, tokenAddress, this.#gatewayAddress, amount);
16837
16836
  }
@@ -16925,9 +16924,6 @@ var SnowbridgeService = class _SnowbridgeService {
16925
16924
  value: contract.value
16926
16925
  });
16927
16926
  const gasPrice = await this.#evmService.client.getGasPrice();
16928
- console.log("gasPrice", gasPrice);
16929
- console.log("approveGas", approveGas);
16930
- console.log("sendGas", sendGas);
16931
16927
  return (approveGas + sendGas) * gasPrice;
16932
16928
  } catch (error) {
16933
16929
  console.error("Error estimating approve + send fee:", error);
@@ -17529,12 +17525,10 @@ async function getTransferData({
17529
17525
  route,
17530
17526
  destinationAddress
17531
17527
  });
17532
- console.log("destinationData", destinationData);
17533
17528
  const destinationFee = convertToChainDecimals2({
17534
17529
  asset: destinationData.fee,
17535
17530
  target: route.getDestinationFeeAssetOnSource()
17536
17531
  });
17537
- console.log("destinationFee", destinationFee);
17538
17532
  const sourceData = await getSourceData({
17539
17533
  isAutomatic: route.mrl.isAutomaticPossible && isAutomatic,
17540
17534
  route,
@@ -17542,13 +17536,11 @@ async function getTransferData({
17542
17536
  destinationFee,
17543
17537
  sourceAddress
17544
17538
  });
17545
- console.log("sourceData", sourceData);
17546
17539
  const bridgeChainData = await getBridgeChainData({
17547
17540
  route,
17548
17541
  sourceAddress,
17549
17542
  destinationAddress
17550
17543
  });
17551
- console.log("bridgeChainData", bridgeChainData);
17552
17544
  return {
17553
17545
  destination: destinationData,
17554
17546
  getEstimate(amount) {