@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.
- package/dist/constants.d.ts +1 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/queue-manager-rango-preset.cjs.development.js +2 -1
- 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 +2 -1
- package/dist/queue-manager-rango-preset.esm.js.map +1 -1
- package/dist/services/httpService.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/constants.ts +1 -0
- package/src/services/httpService.ts +5 -2
|
@@ -449,6 +449,7 @@ function _assertThisInitialized(self) {
|
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
var RANGO_DAPP_API_KEY = process.env.REACT_APP_API_KEY;
|
|
452
|
+
var RANGO_DAPP_API_BASE_URL = process.env.REACT_APP_API_BASE_URL;
|
|
452
453
|
var ERROR_MESSAGE_WAIT_FOR_WALLET = 'Waiting for connecting wallet';
|
|
453
454
|
var ERROR_MESSAGE_WAIT_FOR_WALLET_DESCRIPTION_WRONG_WALLET = function ERROR_MESSAGE_WAIT_FOR_WALLET_DESCRIPTION_WRONG_WALLET(type, address) {
|
|
454
455
|
return "Please change your " + (type || 'wallet') + " account to " + (address || 'proper address');
|
|
@@ -683,7 +684,7 @@ function logRPCError(error, swap, currentStep, walletType) {
|
|
|
683
684
|
}
|
|
684
685
|
}
|
|
685
686
|
|
|
686
|
-
var httpService = /*#__PURE__*/new RangoClient(RANGO_DAPP_API_KEY || '');
|
|
687
|
+
var httpService = /*#__PURE__*/new RangoClient(RANGO_DAPP_API_KEY || '', RANGO_DAPP_API_BASE_URL);
|
|
687
688
|
|
|
688
689
|
var swapClaimedBy = null;
|
|
689
690
|
/**
|