@rango-dev/queue-manager-rango-preset 0.1.10-next.89 → 0.1.10-next.90

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.
@@ -1,4 +1,5 @@
1
1
  export declare const RANGO_DAPP_API_KEY: string | undefined;
2
+ export declare const RANGO_DAPP_API_BASE_URL: string | undefined;
2
3
  export declare const ERROR_MESSAGE_DEPENDS_ON_OTHER_QUEUES = "Waiting for other running tasks to be finished";
3
4
  export declare const ERROR_MESSAGE_WAIT_FOR_WALLET = "Waiting for connecting wallet";
4
5
  export declare const ERROR_MESSAGE_WAIT_FOR_WALLET_DESCRIPTION_WRONG_WALLET: (type: string | null, address: string | null) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,oBAAgC,CAAC;AAEhE,eAAO,MAAM,qCAAqC,mDACA,CAAC;AACnD,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,sDAAsD,SAC3D,MAAM,GAAG,IAAI,WACV,MAAM,GAAG,IAAI,KACrB,MAGC,CAAC;AACL,eAAO,MAAM,yCAAyC,SAC9C,MAAM,GAAG,IAAI,KAClB,MAGqD,CAAC;AACzD,eAAO,MAAM,qCAAqC,YACvC,MAAM,GAAG,IAAI,KACrB,MAAqD,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,oBAAgC,CAAC;AAChE,eAAO,MAAM,uBAAuB,oBAAqC,CAAC;AAE1E,eAAO,MAAM,qCAAqC,mDACA,CAAC;AACnD,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,sDAAsD,SAC3D,MAAM,GAAG,IAAI,WACV,MAAM,GAAG,IAAI,KACrB,MAGC,CAAC;AACL,eAAO,MAAM,yCAAyC,SAC9C,MAAM,GAAG,IAAI,KAClB,MAGqD,CAAC;AACzD,eAAO,MAAM,qCAAqC,YACvC,MAAM,GAAG,IAAI,KACrB,MAAqD,CAAC"}
@@ -453,6 +453,7 @@ function _assertThisInitialized(self) {
453
453
  }
454
454
 
455
455
  var RANGO_DAPP_API_KEY = process.env.REACT_APP_API_KEY;
456
+ var RANGO_DAPP_API_BASE_URL = process.env.REACT_APP_API_BASE_URL;
456
457
  var ERROR_MESSAGE_WAIT_FOR_WALLET = 'Waiting for connecting wallet';
457
458
  var ERROR_MESSAGE_WAIT_FOR_WALLET_DESCRIPTION_WRONG_WALLET = function ERROR_MESSAGE_WAIT_FOR_WALLET_DESCRIPTION_WRONG_WALLET(type, address) {
458
459
  return "Please change your " + (type || 'wallet') + " account to " + (address || 'proper address');
@@ -687,7 +688,7 @@ function logRPCError(error, swap, currentStep, walletType) {
687
688
  }
688
689
  }
689
690
 
690
- var httpService = /*#__PURE__*/new rangoSdk.RangoClient(RANGO_DAPP_API_KEY || '');
691
+ var httpService = /*#__PURE__*/new rangoSdk.RangoClient(RANGO_DAPP_API_KEY || '', RANGO_DAPP_API_BASE_URL);
691
692
 
692
693
  var swapClaimedBy = null;
693
694
  /**