nextemos 6.0.4 → 6.0.5

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.
@@ -106,6 +106,7 @@ export interface IActiveMemberResponse extends IResponse {
106
106
  }
107
107
  export interface ILoginRequestResponse extends IResponse {
108
108
  data: IMember;
109
+ loginResult: ILoginResult;
109
110
  }
110
111
  export interface ILogonAsGuestRequestResponse extends IResponse {
111
112
  data: IMember;
@@ -275,3 +276,15 @@ export interface IGetProfilePhotoResponse extends IResponse {
275
276
  base64: string;
276
277
  };
277
278
  }
279
+ export interface ILoginResult {
280
+ status: boolean;
281
+ memberId: number;
282
+ verification: {
283
+ type: "DeviceBased" | "AccountActivation";
284
+ methods: {
285
+ sms: boolean;
286
+ email: boolean;
287
+ };
288
+ };
289
+ deviceToken: string;
290
+ }
@@ -50,6 +50,8 @@ export interface ILoginRequest extends IRequestBase {
50
50
  mobilePhone?: string;
51
51
  email?: string;
52
52
  password: string;
53
+ fingerprintToken?: string;
54
+ deviceLoginToken?: string;
53
55
  }
54
56
  export interface IContactApprovalMessageRequest extends IRequestBase {
55
57
  memberValidationType: "Email" | "Mobile";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "6.0.4",
3
+ "version": "6.0.5",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",