@bytexbyte/ike-app-api 1.0.17 → 1.0.18

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.
@@ -159,10 +159,11 @@ declare class IKEAppAuthApi extends BxBApi {
159
159
  }>;
160
160
  verifyAge(body: {
161
161
  phone: string;
162
+ birthDate: Date;
162
163
  }): Promise<{
163
- success: 'ok';
164
+ isVerified: boolean;
164
165
  } | {
165
- error: 'Phone number is required.' | 'User not found.' | 'User already verified.';
166
+ error: 'Field(s) cannot be empty.' | 'User not found.';
166
167
  }>;
167
168
  isPhoneExisted(body: {
168
169
  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.18",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",