@riocrypto/common-server 1.0.939 → 1.0.940
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.
|
@@ -141,7 +141,7 @@ class CCXTClient {
|
|
|
141
141
|
getOptimalExchange(crypto) {
|
|
142
142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
143
143
|
for (let exchangeId of ccxt_1.default.exchanges) {
|
|
144
|
-
if (exchangeId === "
|
|
144
|
+
if (exchangeId === "coinbase") {
|
|
145
145
|
const SECRET = yield secret_manager_client_1.secretManagerClient.getSecretValue(`${exchangeId.toLocaleUpperCase()}_SECRET`);
|
|
146
146
|
if (!SECRET) {
|
|
147
147
|
throw new Error("Unable to get SECRET");
|