@rango-dev/queue-manager-rango-preset 0.1.10-next.80 → 0.1.10-next.81
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/queue-manager-rango-preset.cjs.development.js +8 -6
- 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 +8 -6
- package/dist/queue-manager-rango-preset.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/actions/checkStatus.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkStatus.d.ts","sourceRoot":"","sources":["../src/actions/checkStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAYhE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"checkStatus.d.ts","sourceRoot":"","sources":["../src/actions/checkStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAYhE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAoL1E;;;;;;;GAOG;AACH,wBAAsB,WAAW,CAC/B,OAAO,EAAE,eAAe,CAAC,WAAW,EAAE,eAAe,EAAE,gBAAgB,CAAC,GACvE,OAAO,CAAC,IAAI,CAAC,CAcf"}
|
|
@@ -1958,7 +1958,7 @@ function _checkApprovalStatus() {
|
|
|
1958
1958
|
isApproved = false;
|
|
1959
1959
|
case 15:
|
|
1960
1960
|
if (!isApproved) {
|
|
1961
|
-
_context2.next =
|
|
1961
|
+
_context2.next = 30;
|
|
1962
1962
|
break;
|
|
1963
1963
|
}
|
|
1964
1964
|
currentStep.status = 'approved';
|
|
@@ -1967,6 +1967,8 @@ function _checkApprovalStatus() {
|
|
|
1967
1967
|
swap.extraMessageSeverity = MessageSeverity.success;
|
|
1968
1968
|
currentStep.evmApprovalTransaction = null;
|
|
1969
1969
|
currentStep.executedTransactionId = null;
|
|
1970
|
+
currentStep.starknetApprovalTransaction = null;
|
|
1971
|
+
currentStep.tronApprovalTransaction = null;
|
|
1970
1972
|
setStorage(_extends({}, getStorage(), {
|
|
1971
1973
|
swapDetails: swap
|
|
1972
1974
|
}));
|
|
@@ -1977,14 +1979,14 @@ function _checkApprovalStatus() {
|
|
|
1977
1979
|
});
|
|
1978
1980
|
schedule(SwapActionTypes.SCHEDULE_NEXT_STEP);
|
|
1979
1981
|
next();
|
|
1980
|
-
_context2.next =
|
|
1982
|
+
_context2.next = 33;
|
|
1981
1983
|
break;
|
|
1982
|
-
case 28:
|
|
1983
|
-
_context2.next = 30;
|
|
1984
|
-
return delay(2000);
|
|
1985
1984
|
case 30:
|
|
1985
|
+
_context2.next = 32;
|
|
1986
|
+
return delay(2000);
|
|
1987
|
+
case 32:
|
|
1986
1988
|
retry();
|
|
1987
|
-
case
|
|
1989
|
+
case 33:
|
|
1988
1990
|
case "end":
|
|
1989
1991
|
return _context2.stop();
|
|
1990
1992
|
}
|