@riocrypto/common 1.0.496 → 1.0.498
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.
|
@@ -55,7 +55,6 @@ export declare class RioClient {
|
|
|
55
55
|
signout(): Promise<void>;
|
|
56
56
|
verifyPhoneCode(phoneNumber: string, code: string): Promise<void>;
|
|
57
57
|
createAuth(password: string): Promise<void>;
|
|
58
|
-
resetPassword(answer: string, password: string): Promise<void>;
|
|
59
58
|
createOrder(order: OrderInput): Promise<Order>;
|
|
60
59
|
getOrder(id: string): Promise<Order>;
|
|
61
60
|
initBankPayout(oid: string, accountNumber: string): Promise<BankPayout>;
|
|
@@ -188,14 +188,6 @@ class RioClient {
|
|
|
188
188
|
});
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
resetPassword(answer, password) {
|
|
192
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
193
|
-
yield this.axios.patch("/api/auth/password", {
|
|
194
|
-
answer,
|
|
195
|
-
password,
|
|
196
|
-
});
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
191
|
createOrder(order) {
|
|
200
192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
201
193
|
const response = yield this.axios.post("/api/orders", order);
|