@riocrypto/common 1.0.643 → 1.0.644

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.
@@ -76,6 +76,10 @@ export declare class RioClient {
76
76
  fee: number;
77
77
  volume: number;
78
78
  }>;
79
+ getAggregateVolume(): Promise<{
80
+ volume: number;
81
+ revenue: number;
82
+ }>;
79
83
  getPaymentMethods(fiat: Fiat, country: Country): Promise<PaymentMethod[]>;
80
84
  getBankAccounts(): Promise<BankAccount[]>;
81
85
  getSupportedPayoutMethods(fiat: Fiat, country: Country): Promise<PayoutMethod[]>;
@@ -263,6 +263,12 @@ class RioClient {
263
263
  return response.data;
264
264
  });
265
265
  }
266
+ getAggregateVolume() {
267
+ return __awaiter(this, void 0, void 0, function* () {
268
+ const response = yield this.axios.get(`/api/orders/volume"`);
269
+ return response.data;
270
+ });
271
+ }
266
272
  getPaymentMethods(fiat, country) {
267
273
  return __awaiter(this, void 0, void 0, function* () {
268
274
  const response = yield this.axios.get(`/api/payment-methods?fiat=${fiat}&country=${country}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.643",
3
+ "version": "1.0.644",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",