@riocrypto/common 1.0.522 → 1.0.523

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.
@@ -54,7 +54,10 @@ export declare class RioClient {
54
54
  }>;
55
55
  signout(): Promise<void>;
56
56
  verifyPhoneCode(phoneNumber: string, code: string): Promise<void>;
57
- signin(password: string): Promise<void>;
57
+ signin(password: string): Promise<{
58
+ auth: Auth;
59
+ missing: string[];
60
+ }>;
58
61
  createOrder(order: OrderInput): Promise<Order>;
59
62
  getOrder(id: string): Promise<Order>;
60
63
  createBankPayout(oid: string, accountNumber: string): Promise<BankPayout>;
@@ -158,9 +158,10 @@ class RioClient {
158
158
  }
159
159
  signin(password) {
160
160
  return __awaiter(this, void 0, void 0, function* () {
161
- yield this.axios.post("/api/auth", {
161
+ const response = yield this.axios.post("/api/auth", {
162
162
  password,
163
163
  });
164
+ return response.data;
164
165
  });
165
166
  }
166
167
  createOrder(order) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.522",
3
+ "version": "1.0.523",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",