@riocrypto/common-server 1.0.2540 → 1.0.2542
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.
|
@@ -179,7 +179,7 @@ declare class ClusterClient {
|
|
|
179
179
|
sendBulkCryptoPayout(id: string): Promise<void>;
|
|
180
180
|
createBulkBankPayment(userId: string, fiat: Fiat, country: Country, deferredPaymentType: DeferredPaymentType): Promise<BulkBankPayment>;
|
|
181
181
|
createBulkCryptoPayment(userId: string, crypto: Crypto, country: Country, deferredPaymentType: DeferredPaymentType): Promise<BulkCryptoPayment>;
|
|
182
|
-
|
|
182
|
+
sendBulkBankPayout(id: string): Promise<void>;
|
|
183
183
|
cancelBulkBankPayment(id: string): Promise<void>;
|
|
184
184
|
cancelBulkCryptoPayment(id: string): Promise<void>;
|
|
185
185
|
cancelBulkBankPayout(id: string): Promise<void>;
|
|
@@ -639,9 +639,9 @@ class ClusterClient {
|
|
|
639
639
|
return response.data;
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
|
-
|
|
642
|
+
sendBulkBankPayout(id) {
|
|
643
643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
644
|
-
yield this.axios.post(`${this.baseUrl}/api/
|
|
644
|
+
yield this.axios.post(`${this.baseUrl}/api/payouts/bank/bulk/${id}/send`, {}, { headers: { "x-cluster-api-key": this.clusterApiKey } });
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
647
|
cancelBulkBankPayment(id) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2542",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@google-cloud/secret-manager": "^5.3.0",
|
|
29
29
|
"@google-cloud/storage": "^6.9.5",
|
|
30
30
|
"@hyperdx/node-opentelemetry": "^0.7.0",
|
|
31
|
-
"@riocrypto/common": "^1.0.
|
|
31
|
+
"@riocrypto/common": "^1.0.2343",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|