@bytexbyte/ike-app-api 1.0.13 → 1.0.14
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.
- package/lib/Auth/index.d.ts +1 -0
- package/lib/Auth/type.d.ts +13 -1
- package/package.json +2 -2
package/lib/Auth/index.d.ts
CHANGED
package/lib/Auth/type.d.ts
CHANGED
|
@@ -70,6 +70,18 @@ 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 SignInPhoneBiometrics = (provider: 'phone-biometrics', form: {
|
|
74
|
+
publicKey: string;
|
|
75
|
+
id: string;
|
|
76
|
+
signature: 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.' | 'id not found.' | 'Sign in to turn on biometrics.' | 'New device login requires password credentials.' | 'signature error.' | 'URL not found.';
|
|
84
|
+
}>;
|
|
73
85
|
export declare type SignInKyc = (provider: 'kyc', form: {
|
|
74
86
|
kycId: string;
|
|
75
87
|
firstName: string;
|
|
@@ -92,4 +104,4 @@ export declare type SignInPhoneOTP = (provider: 'phone-otp', form: {
|
|
|
92
104
|
} | {
|
|
93
105
|
error: 'Authentication error.' | 'Field(s) cannot be empty.' | 'Invalid OTP code.';
|
|
94
106
|
}>;
|
|
95
|
-
export declare type SignIn = SignInEmailPassword | SignInGoogleIos | SignInGoogleAndroid | SignInFacebookMobile | SignInAppleMobile | SignInEmailBiometrics | SignInKyc | SignInPhoneOTP;
|
|
107
|
+
export declare type SignIn = SignInEmailPassword | SignInGoogleIos | SignInGoogleAndroid | SignInFacebookMobile | SignInAppleMobile | SignInEmailBiometrics | SignInPhoneBiometrics | SignInKyc | SignInPhoneOTP;
|
package/package.json
CHANGED