@riocrypto/common 1.0.1538 → 1.0.1539

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.
@@ -345,5 +345,5 @@ export declare class RioAdminClient {
345
345
  createArbitrageSettings(arbitrageSettings: ArbitrageSettings): Promise<ArbitrageSettings>;
346
346
  getArbitrageSettings(): Promise<ArbitrageSettings>;
347
347
  updateArbitrageSettings(arbitrageSettings: ArbitrageSettings): Promise<ArbitrageSettings>;
348
- getArbitrageOpportunities(): Promise<ArbitrageOpportunity[]>;
348
+ getArbitrageOpportunities(page: number, limit: number): Promise<ArbitrageOpportunity[]>;
349
349
  }
@@ -1108,9 +1108,14 @@ class RioAdminClient {
1108
1108
  return data;
1109
1109
  });
1110
1110
  }
1111
- getArbitrageOpportunities() {
1111
+ getArbitrageOpportunities(page, limit) {
1112
1112
  return __awaiter(this, void 0, void 0, function* () {
1113
- const { data } = yield this.axios.get("/api/arbitrage/opportunities");
1113
+ const { data } = yield this.axios.get("/api/arbitrage/opportunities", {
1114
+ params: {
1115
+ page,
1116
+ limit,
1117
+ },
1118
+ });
1114
1119
  return data;
1115
1120
  });
1116
1121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1538",
3
+ "version": "1.0.1539",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",