@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/dist/actions/checkStatus.d.ts.map +1 -1
- package/dist/helpers.d.ts.map +1 -1
- package/dist/queue-manager-rango-preset.cjs.development.js +34 -42
- package/dist/queue-manager-rango-preset.cjs.development.js.map +1 -1
- package/dist/queue-manager-rango-preset.cjs.production.min.js +1 -1
- package/dist/queue-manager-rango-preset.cjs.production.min.js.map +1 -1
- package/dist/queue-manager-rango-preset.esm.js +34 -42
- package/dist/queue-manager-rango-preset.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/actions/checkStatus.ts +0 -1
- package/src/helpers.ts +3 -7
package/package.json
CHANGED
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1048
|
+
|
|
1053
1049
|
const { extraMessage, extraMessageDetail, extraMessageErrorCode } =
|
|
1054
1050
|
prettifyErrorMessage(error);
|
|
1055
1051
|
if (
|