@riocrypto/common 1.0.519 → 1.0.520
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.
|
@@ -53,7 +53,7 @@ export declare class RioClient {
|
|
|
53
53
|
missing: string[];
|
|
54
54
|
}>;
|
|
55
55
|
signout(): Promise<void>;
|
|
56
|
-
|
|
56
|
+
login(phoneNumber: string, code: string, password: string): Promise<void>;
|
|
57
57
|
createOrder(order: OrderInput): Promise<Order>;
|
|
58
58
|
getOrder(id: string): Promise<Order>;
|
|
59
59
|
createBankPayout(oid: string, accountNumber: string): Promise<BankPayout>;
|
|
@@ -148,11 +148,12 @@ class RioClient {
|
|
|
148
148
|
yield this.axios.post("/api/auth/signout", {});
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
|
-
|
|
151
|
+
login(phoneNumber, code, password) {
|
|
152
152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
-
yield this.axios.post("/api/auth
|
|
153
|
+
yield this.axios.post("/api/auth", {
|
|
154
154
|
phoneNumber,
|
|
155
155
|
code,
|
|
156
|
+
password,
|
|
156
157
|
});
|
|
157
158
|
});
|
|
158
159
|
}
|