@bytexbyte/ike-app-api 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/lib/Auth/type.d.ts +13 -1
  2. package/package.json +1 -1
@@ -70,4 +70,16 @@ export declare type SignInEmailBiometrics = (provider: 'email-biometrics', form:
70
70
  id?: undefined;
71
71
  error: 'Authentication error.' | 'Field(s) cannot be empty.' | 'id not found.' | 'Email not verified.' | 'Sign in to turn on biometrics.' | 'New device login requires password credentials.' | 'signature error.' | 'URL not found.';
72
72
  }>;
73
- export declare type SignIn = SignInEmailPassword | SignInGoogleIos | SignInGoogleAndroid | SignInFacebookMobile | SignInAppleMobile | SignInEmailBiometrics;
73
+ export declare type SignInKyc = (provider: 'kyc', form: {
74
+ kycId: string;
75
+ firstName: string;
76
+ lastName: string;
77
+ csrfToken?: string;
78
+ }) => Promise<{
79
+ id: string;
80
+ error?: undefined;
81
+ } | {
82
+ id?: undefined;
83
+ error: 'Authentication error.' | 'Field(s) cannot be empty.' | 'KYC ID not verified.' | 'signature error.' | 'URL not found.';
84
+ }>;
85
+ export declare type SignIn = SignInEmailPassword | SignInGoogleIos | SignInGoogleAndroid | SignInFacebookMobile | SignInAppleMobile | SignInEmailBiometrics | SignInKyc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/ike-app-api",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "app api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",