@rango-dev/queue-manager-rango-preset 0.1.11 → 0.1.12-next.0

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.
@@ -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