@riocrypto/common 1.0.1673 → 1.0.1674

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.
@@ -395,18 +395,18 @@ class RioAdminClient {
395
395
  }
396
396
  getRioSettings() {
397
397
  return __awaiter(this, void 0, void 0, function* () {
398
- const { data } = yield this.axios.get(`/api/settings`);
398
+ const { data } = yield this.axios.get(`/api/settings/rio`);
399
399
  return data;
400
400
  });
401
401
  }
402
402
  createRioSettings(rioSettings) {
403
403
  return __awaiter(this, void 0, void 0, function* () {
404
- yield this.axios.post(`/api/settings`, rioSettings);
404
+ yield this.axios.post(`/api/settings/rio`, rioSettings);
405
405
  });
406
406
  }
407
407
  updateRioSettings(update) {
408
408
  return __awaiter(this, void 0, void 0, function* () {
409
- const { data } = yield this.axios.patch(`/api/settings`, update);
409
+ const { data } = yield this.axios.patch(`/api/settings/rio`, update);
410
410
  return data;
411
411
  });
412
412
  }
@@ -212,7 +212,7 @@ class RioClient {
212
212
  }
213
213
  getRioSettings() {
214
214
  return __awaiter(this, void 0, void 0, function* () {
215
- const { data } = yield this.axios.get(`/api/settings`);
215
+ const { data } = yield this.axios.get(`/api/settings/rio`);
216
216
  return data;
217
217
  });
218
218
  }
@@ -268,12 +268,12 @@ class RioClient {
268
268
  }
269
269
  createRioSettings(rioSettings) {
270
270
  return __awaiter(this, void 0, void 0, function* () {
271
- yield this.axios.post(`/api/settings`, rioSettings);
271
+ yield this.axios.post(`/api/settings/rio`, rioSettings);
272
272
  });
273
273
  }
274
274
  updateRioSettings(update) {
275
275
  return __awaiter(this, void 0, void 0, function* () {
276
- const { data } = yield this.axios.patch(`/api/settings`, update);
276
+ const { data } = yield this.axios.patch(`/api/settings/rio`, update);
277
277
  return data;
278
278
  });
279
279
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1673",
3
+ "version": "1.0.1674",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",