@rango-dev/queue-manager-rango-preset 0.1.10-next.103 → 0.1.10-next.104

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/queue-manager-rango-preset",
3
- "version": "0.1.10-next.103",
3
+ "version": "0.1.10-next.104",
4
4
  "license": "MIT",
5
5
  "module": "dist/queue-manager-rango-preset.esm.js",
6
6
  "main": "dist/index.js",
@@ -209,7 +209,6 @@ async function checkApprovalStatus({
209
209
  });
210
210
  }
211
211
  } catch (e) {
212
- console.error('Failed to check getApprovedAmount', e);
213
212
  isApproved = false;
214
213
  }
215
214
  if (isApproved) {
package/src/helpers.ts CHANGED
@@ -510,7 +510,6 @@ export async function isNetworkMatchedForTransaction(
510
510
  providers: Providers
511
511
  ): Promise<boolean> {
512
512
  if (isWalletNull(wallet)) {
513
- console.warn('wallet object is null');
514
513
  return false;
515
514
  }
516
515
  const fromBlockChain = getCurrentBlockchainOfOrNull(swap, step);
@@ -871,7 +870,6 @@ export function singTransaction(
871
870
  .signAndSendTx(evmApprovalTransaction, walletAddress, null)
872
871
  .then(
873
872
  (hash) => {
874
- console.debug('transaction of approval minted successfully', hash);
875
873
  const approveUrl = getEvmApproveUrl(
876
874
  hash,
877
875
  getCurrentBlockchainOf(swap, currentStep),
@@ -891,7 +889,7 @@ export function singTransaction(
891
889
 
892
890
  (error) => {
893
891
  if (swap.status === 'failed') return;
894
- console.debug('error in approving', error);
892
+
895
893
  const { extraMessage, extraMessageDetail, extraMessageErrorCode } =
896
894
  prettifyErrorMessage(error);
897
895
  if (
@@ -954,7 +952,6 @@ export function singTransaction(
954
952
  .signAndSendTx(tronApprovalTransaction, walletAddress, null)
955
953
  .then(
956
954
  (hash) => {
957
- console.debug('transaction of approval minted successfully', hash);
958
955
  const approveUrl = getTronApproveUrl(hash);
959
956
  setStepTransactionIds(
960
957
  actions,
@@ -970,7 +967,7 @@ export function singTransaction(
970
967
 
971
968
  (error) => {
972
969
  if (swap.status === 'failed') return;
973
- console.debug('error in approving', error);
970
+
974
971
  const { extraMessage, extraMessageDetail, extraMessageErrorCode } =
975
972
  prettifyErrorMessage(error);
976
973
  if (
@@ -1033,7 +1030,6 @@ export function singTransaction(
1033
1030
  .signAndSendTx(starknetApprovalTransaction, walletAddress, null)
1034
1031
  .then(
1035
1032
  (hash) => {
1036
- console.debug('transaction of approval minted successfully', hash);
1037
1033
  const approveUrl = getStarknetApproveUrl(hash);
1038
1034
  setStepTransactionIds(
1039
1035
  actions,
@@ -1049,7 +1045,7 @@ export function singTransaction(
1049
1045
 
1050
1046
  (error) => {
1051
1047
  if (swap.status === 'failed') return;
1052
- console.debug('error in approving', error);
1048
+
1053
1049
  const { extraMessage, extraMessageDetail, extraMessageErrorCode } =
1054
1050
  prettifyErrorMessage(error);
1055
1051
  if (