@riocrypto/common-server 1.0.645 → 1.0.647
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,7 +9,7 @@ declare class FireblocksClient {
|
|
|
9
9
|
getVaultCryptoBalance(crypto: Crypto): Promise<number>;
|
|
10
10
|
getExchangeCryptoBalance(crypto: Crypto): Promise<number>;
|
|
11
11
|
getExchangeFiatBalance(): Promise<number>;
|
|
12
|
-
getTransactions(crypto: Crypto): Promise<any>;
|
|
12
|
+
getTransactions(crypto: Crypto, nextPage?: string): Promise<any>;
|
|
13
13
|
getDepositAddress(crypto: Crypto): Promise<string>;
|
|
14
14
|
}
|
|
15
15
|
export declare const buildFireblocksClient: () => Promise<FireblocksClient>;
|
|
@@ -108,11 +108,11 @@ class FireblocksClient {
|
|
|
108
108
|
return balance;
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
getTransactions(crypto) {
|
|
111
|
+
getTransactions(crypto, nextPage) {
|
|
112
112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
113
113
|
let transactions = yield this.fireblocks.getTransactionsWithPageInfo({
|
|
114
114
|
assets: crypto,
|
|
115
|
-
});
|
|
115
|
+
}, nextPage);
|
|
116
116
|
return transactions;
|
|
117
117
|
});
|
|
118
118
|
}
|
|
@@ -8,11 +8,6 @@ interface PartnerAttrs {
|
|
|
8
8
|
platformFee: number;
|
|
9
9
|
color?: string;
|
|
10
10
|
logo?: string;
|
|
11
|
-
apiKeys?: {
|
|
12
|
-
value: string;
|
|
13
|
-
label: string;
|
|
14
|
-
id: string;
|
|
15
|
-
}[];
|
|
16
11
|
}
|
|
17
12
|
interface PartnerDoc extends Document {
|
|
18
13
|
authId: string;
|
|
@@ -22,11 +17,7 @@ interface PartnerDoc extends Document {
|
|
|
22
17
|
platformFee: number;
|
|
23
18
|
color?: string;
|
|
24
19
|
logo?: string;
|
|
25
|
-
|
|
26
|
-
value: string;
|
|
27
|
-
label: string;
|
|
28
|
-
id: string;
|
|
29
|
-
}[];
|
|
20
|
+
logoDark?: string;
|
|
30
21
|
}
|
|
31
22
|
interface PartnerModel extends Model<PartnerDoc> {
|
|
32
23
|
build(attrs: PartnerAttrs): PartnerDoc;
|
package/build/models/partner.js
CHANGED
|
@@ -33,21 +33,9 @@ const buildPartner = (mongoose) => {
|
|
|
33
33
|
logo: {
|
|
34
34
|
type: String,
|
|
35
35
|
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
type: String,
|
|
40
|
-
required: true,
|
|
41
|
-
},
|
|
42
|
-
label: {
|
|
43
|
-
type: String,
|
|
44
|
-
},
|
|
45
|
-
id: {
|
|
46
|
-
type: String,
|
|
47
|
-
required: true,
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
],
|
|
36
|
+
logoDark: {
|
|
37
|
+
type: String,
|
|
38
|
+
},
|
|
51
39
|
}, {
|
|
52
40
|
toJSON: {
|
|
53
41
|
transform(doc, ret) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.647",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-sdk/client-s3": "^3.297.0",
|
|
25
25
|
"@everapi/currencyapi-js": "^1.0.6",
|
|
26
26
|
"@google-cloud/storage": "^6.9.5",
|
|
27
|
-
"@riocrypto/common": "^1.0.
|
|
27
|
+
"@riocrypto/common": "^1.0.590",
|
|
28
28
|
"@types/express": "^4.17.13",
|
|
29
29
|
"axios": "^0.27.2",
|
|
30
30
|
"ccxt": "^3.0.30",
|