@bytexbyte/ike-app-api 1.0.47 → 1.0.48
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import BxBApi from '@bytexbyte/bxb-api';
|
|
2
|
-
import { SignInAppleMobile,
|
|
2
|
+
import { SignInAppleMobile, 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,7 +102,6 @@ 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>>>;
|
|
106
105
|
signOut(): Promise<any>;
|
|
107
106
|
getSession(): Promise<Session>;
|
|
108
107
|
createToken(): Promise<{
|
package/lib/Auth/type.d.ts
CHANGED
|
@@ -103,13 +103,4 @@ export declare type SignInPhoneBiometrics = (provider: 'phone-biometrics', form:
|
|
|
103
103
|
} | {
|
|
104
104
|
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.';
|
|
105
105
|
}>;
|
|
106
|
-
export declare type
|
|
107
|
-
token: string;
|
|
108
|
-
csrfToken?: string;
|
|
109
|
-
}) => Promise<{
|
|
110
|
-
id: string;
|
|
111
|
-
idVerified: Date | null;
|
|
112
|
-
} | {
|
|
113
|
-
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.';
|
|
114
|
-
}>;
|
|
115
|
-
export declare type SignIn = SignInEmailPassword | SignInGoogleIos | SignInGoogleAndroid | SignInFacebookMobile | SignInAppleMobile | SignInEmailBiometrics | SignInKyc | SignInPhoneOTP | SignInPhoneBiometrics | SignInBerifyMe;
|
|
106
|
+
export declare type SignIn = SignInEmailPassword | SignInGoogleIos | SignInGoogleAndroid | SignInFacebookMobile | SignInAppleMobile | SignInEmailBiometrics | SignInKyc | SignInPhoneOTP | SignInPhoneBiometrics;
|