@bytexbyte/ike-app-api 1.0.17 → 1.0.19

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.
@@ -14,6 +14,8 @@ declare type User = {
14
14
  accounts: {
15
15
  provider: string;
16
16
  }[];
17
+ idVerified: Date | null;
18
+ isAgeVerified: boolean;
17
19
  };
18
20
  declare type Session = {
19
21
  expires: Date;
@@ -159,10 +161,11 @@ declare class IKEAppAuthApi extends BxBApi {
159
161
  }>;
160
162
  verifyAge(body: {
161
163
  phone: string;
164
+ birthDate: Date;
162
165
  }): Promise<{
163
- success: 'ok';
166
+ isVerified: boolean;
164
167
  } | {
165
- error: 'Phone number is required.' | 'User not found.' | 'User already verified.';
168
+ error: 'Field(s) cannot be empty.' | 'User not found.';
166
169
  }>;
167
170
  isPhoneExisted(body: {
168
171
  phone: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/ike-app-api",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",