@riocrypto/common-server 1.0.1198 → 1.0.1199

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.
@@ -9,6 +9,7 @@ declare class FireblocksClient {
9
9
  getVaultCryptoBalance(vaultId: string, crypto: Crypto): Promise<number>;
10
10
  getVaultCryptoAddress(vaultId: string, crypto: Crypto): Promise<string>;
11
11
  getTotalVaultUSDBalance(vaultId: string): Promise<number>;
12
+ getAllAssets(): Promise<any>;
12
13
  getExchangeCryptoBalance(crypto: Crypto): Promise<number>;
13
14
  getExchangeFiatBalance(): Promise<number>;
14
15
  getTransactions(vaultId: string, crypto: Crypto, nextPage?: string): Promise<any>;
@@ -109,6 +109,12 @@ class FireblocksClient {
109
109
  return balance;
110
110
  });
111
111
  }
112
+ getAllAssets() {
113
+ return __awaiter(this, void 0, void 0, function* () {
114
+ const response = yield this.fireblocks.getSupportedAssets();
115
+ return response;
116
+ });
117
+ }
112
118
  getExchangeCryptoBalance(crypto) {
113
119
  return __awaiter(this, void 0, void 0, function* () {
114
120
  let exchanges = yield this.fireblocks.getExchangeAccounts();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1198",
3
+ "version": "1.0.1199",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@aws-sdk/client-s3": "^3.297.0",
27
27
  "@everapi/currencyapi-js": "^1.0.6",
28
28
  "@google-cloud/storage": "^6.9.5",
29
- "@riocrypto/common": "^1.0.1078",
29
+ "@riocrypto/common": "^1.0.1083",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^0.27.2",
32
32
  "ccxt": "^3.0.30",