@riocrypto/common-server 1.0.1803 → 1.0.1804

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.
@@ -12,7 +12,7 @@ declare class ClusterClient {
12
12
  createOrder(quoteId: string, cryptoAddress?: string, notes?: string, externalAccountId?: string): Promise<Order>;
13
13
  confirmPayment(orderId: string): Promise<void>;
14
14
  createBitsoBankAccount(userId: string): Promise<BitsoBankAccount>;
15
- createAuthWithoutRegistration(phoneNumber: string, role?: AuthRole): Promise<Auth>;
15
+ createAuthWithoutRegistration(phoneNumber: string, firstName: string, lastName: string, role?: AuthRole): Promise<Auth>;
16
16
  getLiquidityAvailable(): Promise<{
17
17
  buy: number;
18
18
  sell: number;
@@ -196,10 +196,12 @@ class ClusterClient {
196
196
  return response.data;
197
197
  });
198
198
  }
199
- createAuthWithoutRegistration(phoneNumber, role) {
199
+ createAuthWithoutRegistration(phoneNumber, firstName, lastName, role) {
200
200
  return __awaiter(this, void 0, void 0, function* () {
201
201
  const response = yield this.axios.post(`${this.baseUrl}/api/auth/unregistered`, {
202
202
  phoneNumber,
203
+ firstName,
204
+ lastName,
203
205
  role,
204
206
  }, {
205
207
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1803",
3
+ "version": "1.0.1804",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",