@riocrypto/common-server 1.0.531 → 1.0.533
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.
|
@@ -10,6 +10,7 @@ declare class FireblocksClient {
|
|
|
10
10
|
getVaultCryptoBalance(crypto: Crypto): Promise<number>;
|
|
11
11
|
getExchangeCryptoBalance(crypto: Crypto): Promise<number>;
|
|
12
12
|
getExchangeFiatBalance(): Promise<number>;
|
|
13
|
+
getTransactions(crypto: Crypto): Promise<any>;
|
|
13
14
|
getDepositAddress(crypto: Crypto): Promise<string>;
|
|
14
15
|
}
|
|
15
16
|
export declare const fireblocksClient: FireblocksClient;
|
|
@@ -127,6 +127,14 @@ class FireblocksClient {
|
|
|
127
127
|
return balance;
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
+
getTransactions(crypto) {
|
|
131
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
132
|
+
let transactions = yield this.fireblocks.getTransactions({
|
|
133
|
+
assets: crypto,
|
|
134
|
+
});
|
|
135
|
+
return transactions;
|
|
136
|
+
});
|
|
137
|
+
}
|
|
130
138
|
getDepositAddress(crypto) {
|
|
131
139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
132
140
|
let addresses = yield this.fireblocks.getDepositAddresses("2", crypto);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.533",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-sdk/client-s3": "^3.297.0",
|
|
25
|
-
"@riocrypto/common": "^1.0.
|
|
25
|
+
"@riocrypto/common": "^1.0.534",
|
|
26
26
|
"@types/express": "^4.17.13",
|
|
27
27
|
"axios": "^0.27.2",
|
|
28
28
|
"ccxt": "^3.0.30",
|