@bytexbyte/ike-app-api 1.0.44 → 1.0.46

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.
@@ -1,5 +1,5 @@
1
1
  import BxBApi from '@bytexbyte/bxb-api';
2
- import { SignInAppleMobile, SignInEmailBiometrics, SignInEmailPassword, SignInFacebookMobile, SignInGoogleAndroid, SignInGoogleIos, SignInKyc, SignInPhoneBiometrics, SignInPhoneOTP } from './type';
2
+ import { SignInAppleMobile, SignInBerifyMe, SignInEmailBiometrics, SignInEmailPassword, SignInFacebookMobile, SignInGoogleAndroid, SignInGoogleIos, SignInKyc, SignInPhoneBiometrics, SignInPhoneOTP } from './type';
3
3
  declare type User = {
4
4
  id: string;
5
5
  image: string | null;
@@ -102,6 +102,7 @@ declare class IKEAppAuthApi extends BxBApi {
102
102
  signIn(provider: Parameters<SignInKyc>[0], form: Parameters<SignInKyc>[1]): Promise<Awaited<ReturnType<SignInKyc>>>;
103
103
  signIn(provider: Parameters<SignInPhoneOTP>[0], form: Parameters<SignInPhoneOTP>[1]): Promise<Awaited<ReturnType<SignInPhoneOTP>>>;
104
104
  signIn(provider: Parameters<SignInPhoneBiometrics>[0], form: Parameters<SignInPhoneBiometrics>[1]): Promise<Awaited<ReturnType<SignInPhoneBiometrics>>>;
105
+ signIn(provider: Parameters<SignInBerifyMe>[0], form: Parameters<SignInBerifyMe>[1]): Promise<Awaited<ReturnType<SignInBerifyMe>>>;
105
106
  signOut(): Promise<any>;
106
107
  getSession(): Promise<Session>;
107
108
  createToken(): Promise<{
@@ -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.44",
3
+ "version": "1.0.46",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",