@riocrypto/common 1.0.663 → 1.0.664

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.
@@ -63,7 +63,7 @@ export declare class RioAdminClient {
63
63
  auth: Auth;
64
64
  missing: string[];
65
65
  }>;
66
- refreshToken(): Promise<void>;
66
+ refreshAdminToken(): Promise<void>;
67
67
  createOrder(order: OrderInput): Promise<Order>;
68
68
  cancelOrder(id?: string): Promise<Order>;
69
69
  getOrder(id: string): Promise<Order>;
@@ -211,9 +211,9 @@ class RioAdminClient {
211
211
  return response.data;
212
212
  });
213
213
  }
214
- refreshToken() {
214
+ refreshAdminToken() {
215
215
  return __awaiter(this, void 0, void 0, function* () {
216
- yield this.axios.post("/api/auth/refresh");
216
+ yield this.axios.post("/api/auth/admin/refresh");
217
217
  });
218
218
  }
219
219
  createOrder(order) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.663",
3
+ "version": "1.0.664",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",