@bytexbyte/ike-app-api 1.0.45 → 1.0.47

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.
@@ -162,7 +162,7 @@ declare class IKEAppAuthApi extends BxBApi {
162
162
  }>;
163
163
  verifyAge(body: {
164
164
  phone: string;
165
- birthDate: Date;
165
+ birthDate: string;
166
166
  }): Promise<{
167
167
  isVerified: boolean;
168
168
  } | {
@@ -19,10 +19,8 @@ declare type UpdateBody = {
19
19
  };
20
20
  declare type ScanResult = {
21
21
  scan: Scan;
22
- error?: undefined;
23
22
  } | {
24
- scan?: undefined;
25
- error: 'Token is not exist.' | 'tokenId and UID do not match.' | 'This tag is deactivated.' | 'Server timeout.' | 'The device does not support';
23
+ error: 'Token is not exist.' | 'tokenId and UID do not match.' | 'This device is deactivated.' | 'Server timeout.' | 'The device does not support' | 'This is a IKE tag, You are not authorized to call this API.';
26
24
  };
27
25
  declare type UpdateResult = {
28
26
  error?: 'scanId type error.' | 'scanId not found.' | 'This is a IKE tag, You are not authorized to call this API.' | 'Scan not found.';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/ike-app-api",
3
- "version": "1.0.45",
3
+ "version": "1.0.47",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",