@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.
@@ -39,7 +39,7 @@ declare class CCXTClient {
39
39
  crypto: Crypto;
40
40
  fiat: Fiat;
41
41
  }>;
42
- getDepositAddress(crypto: Crypto): Promise<string>;
42
+ getDepositAddress(crypto: Crypto): Promise<any>;
43
43
  }
44
44
  export declare const ccxtWrapper: CCXTClient;
45
45
  export {};
@@ -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 === "bitstamp") {
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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.939",
3
+ "version": "1.0.940",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",