@riocrypto/common 1.0.1343 → 1.0.1344
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.
|
@@ -118,7 +118,6 @@ export declare class RioAdminClient {
|
|
|
118
118
|
confirmBankPayout(orderId: string): Promise<any>;
|
|
119
119
|
confirmLiquiditySourced(orderId: string): Promise<any>;
|
|
120
120
|
getUser(userId: string): Promise<User>;
|
|
121
|
-
getAdmin(): Promise<AdminAuth>;
|
|
122
121
|
acceptAdminTasks(adminId?: string): Promise<AdminAuth>;
|
|
123
122
|
grantAdminAccessToUser(userId?: string): Promise<void>;
|
|
124
123
|
stopAdminTasks(adminId?: string): Promise<AdminAuth>;
|
|
@@ -336,12 +336,6 @@ class RioAdminClient {
|
|
|
336
336
|
return data;
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
getAdmin() {
|
|
340
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
341
|
-
const { data } = yield this.axios.get("/api/auth/admin");
|
|
342
|
-
return data;
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
339
|
acceptAdminTasks(adminId) {
|
|
346
340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
347
341
|
const { data } = yield this.axios.post("/api/admin/tasks/accept", {
|