@riocrypto/common-server 1.0.1750 → 1.0.1753

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.
@@ -189,9 +189,11 @@ class FireblocksClient {
189
189
  return __awaiter(this, void 0, void 0, function* () {
190
190
  let exchanges = yield this.fireblocks.getExchangeAccounts();
191
191
  let balance = 0;
192
+ let assets = [];
192
193
  exchanges.forEach((exchange) => {
193
194
  if (exchange.id === id) {
194
195
  exchange.assets.forEach((asset) => {
196
+ assets.push(asset.id);
195
197
  let filterList = usdType === "usdc"
196
198
  ? [
197
199
  common_1.Crypto.USDC,
@@ -207,11 +209,14 @@ class FireblocksClient {
207
209
  common_1.Crypto.USDTTron,
208
210
  ];
209
211
  if (filterList.includes(asset.id)) {
212
+ console.log(asset.id);
213
+ console.log(asset.available);
210
214
  balance += Number(asset.available);
211
215
  }
212
216
  });
213
217
  }
214
218
  });
219
+ console.log(assets);
215
220
  return balance;
216
221
  });
217
222
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1750",
3
+ "version": "1.0.1753",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",