@rango-dev/queue-manager-rango-preset 0.1.11 → 0.1.12-next.1
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/configs.d.ts +1 -0
- package/dist/configs.d.ts.map +1 -1
- package/dist/queue-manager-rango-preset.cjs.development.js +3 -3
- 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 +3 -3
- package/dist/queue-manager-rango-preset.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/actions/checkStatus.ts +1 -1
- package/src/configs.ts +2 -1
- package/src/services/httpService.ts +1 -1
|
@@ -16,7 +16,7 @@ var configs = {
|
|
|
16
16
|
API_KEY: RANGO_PUBLIC_API_KEY
|
|
17
17
|
};
|
|
18
18
|
function getConfig(name) {
|
|
19
|
-
return configs[name];
|
|
19
|
+
return configs[name] || '';
|
|
20
20
|
}
|
|
21
21
|
function initConfig(nextConfigs) {
|
|
22
22
|
var clonedConfigs;
|
|
@@ -806,7 +806,7 @@ function logRPCError(error, swap, currentStep, walletType) {
|
|
|
806
806
|
var rango = undefined;
|
|
807
807
|
var httpService = function httpService() {
|
|
808
808
|
if (rango) return rango;
|
|
809
|
-
rango = new RangoClient(getConfig('API_KEY'));
|
|
809
|
+
rango = new RangoClient(getConfig('API_KEY'), getConfig('BASE_URL'));
|
|
810
810
|
return rango;
|
|
811
811
|
};
|
|
812
812
|
|
|
@@ -2206,7 +2206,7 @@ function _checkTransactionStatus() {
|
|
|
2206
2206
|
return _context.abrupt("return");
|
|
2207
2207
|
case 17:
|
|
2208
2208
|
outputAmount = ((_status = status) == null ? void 0 : _status.outputAmount) || (!!currentStep.outputAmount ? currentStep.outputAmount : null);
|
|
2209
|
-
prevOutputAmount = currentStep.outputAmount;
|
|
2209
|
+
prevOutputAmount = currentStep.outputAmount || null;
|
|
2210
2210
|
swap.extraMessage = ((_status2 = status) == null ? void 0 : _status2.extraMessage) || swap.extraMessage;
|
|
2211
2211
|
swap.extraMessageSeverity = MessageSeverity.info;
|
|
2212
2212
|
swap.extraMessageDetail = '';
|