@bytexbyte/berifyme-react-sdk 1.0.8 → 1.0.10
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/dist/BerifymeModal/index.js +1 -1
- package/dist/api/api.js +27 -207
- package/dist/components/AllSet/index.js +9 -8
- package/dist/components/AuthenticationLogs.js +3 -1
- package/dist/components/Login/authid/authid.js +1 -1
- package/dist/components/Login/clearAllSet.js +11 -7
- package/dist/components/Login/incode/Login.js +12 -10
- package/dist/components/Login/incode/index.js +2 -10
- package/dist/components/OnBoarding/authId/index.js +2 -2
- package/dist/components/OnBoarding/clear/clearAllSet.js +9 -6
- package/dist/components/OnBoarding/incode/index.js +17 -29
- package/dist/components/OnBoarding/vender/grid/authIdGrid.js +1 -1
- package/dist/components/OnBoarding/vender/grid/index.js +1 -1
- package/dist/components/OnBoarding/vender/index.js +1 -1
- package/dist/components/SendSns/index.js +18 -17
- package/dist/components/VerifyWithPhoneNumber/NewUser/index.js +1 -0
- package/dist/components/VerifyWithPhoneNumber/User/index.js +18 -17
- package/dist/lib/webauthb.js +6 -6
- package/dist/types/api/api.d.ts +23 -77
- package/dist/types/components/AuthenticationLogs.d.ts +2 -1
- package/dist/types/components/Login/incode/Login.d.ts +3 -5
- package/dist/types/components/Login/incode/index.d.ts +1 -0
- package/dist/types/lib/webauthb.d.ts +4 -2
- package/package.json +1 -1
|
@@ -10,8 +10,9 @@ interface AuthenticationLogInput {
|
|
|
10
10
|
actionType: ActionType;
|
|
11
11
|
}
|
|
12
12
|
export declare const createAuthenticationLog: ({ userId, vender, token, transactionId, incodeSessionId, clearSessionId, isPass, actionType, }: AuthenticationLogInput) => Promise<void>;
|
|
13
|
-
export declare const updateAuthenticationLog: ({ isPass, transactionId, incodeSessionId, clearSessionId }: {
|
|
13
|
+
export declare const updateAuthenticationLog: ({ isPass, token, transactionId, incodeSessionId, clearSessionId }: {
|
|
14
14
|
isPass: boolean;
|
|
15
|
+
token?: string;
|
|
15
16
|
transactionId?: string;
|
|
16
17
|
incodeSessionId?: string;
|
|
17
18
|
clearSessionId?: string;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { UserWithAgeAndFullName } from "../../../api/api";
|
|
3
|
-
declare function LoginComponent({ onSuccess,
|
|
3
|
+
declare function LoginComponent({ onSuccess, setError, user, setUser, token, }: ProccessFacePropTypes): React.JSX.Element;
|
|
4
4
|
type ProccessFacePropTypes = {
|
|
5
5
|
onSuccess: () => void;
|
|
6
|
-
|
|
7
|
-
type: string;
|
|
8
|
-
}) => void;
|
|
6
|
+
setError: React.Dispatch<React.SetStateAction<string | undefined>>;
|
|
9
7
|
user?: UserWithAgeAndFullName;
|
|
10
8
|
setUser: React.Dispatch<React.SetStateAction<UserWithAgeAndFullName | undefined>>;
|
|
11
|
-
token
|
|
9
|
+
token?: string;
|
|
12
10
|
};
|
|
13
11
|
export { LoginComponent };
|
|
@@ -5,5 +5,6 @@ declare const IncodeLogin: React.FC<{
|
|
|
5
5
|
user?: UserWithAgeAndFullName;
|
|
6
6
|
setUser: React.Dispatch<React.SetStateAction<UserWithAgeAndFullName | undefined>>;
|
|
7
7
|
token?: string;
|
|
8
|
+
setError: React.Dispatch<React.SetStateAction<string | undefined>>;
|
|
8
9
|
}>;
|
|
9
10
|
export { IncodeLogin };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const webauthn: {
|
|
2
|
-
login: ({ phoneNumber, backendDomain, frontendDomain, frontendDomainName, }: {
|
|
2
|
+
login: ({ phoneNumber, token, backendDomain, frontendDomain, frontendDomainName, }: {
|
|
3
3
|
phoneNumber: string;
|
|
4
|
+
token?: string;
|
|
4
5
|
backendDomain?: string;
|
|
5
6
|
frontendDomain?: string;
|
|
6
7
|
frontendDomainName?: string;
|
|
@@ -8,8 +9,9 @@ declare const webauthn: {
|
|
|
8
9
|
user: any;
|
|
9
10
|
success: boolean;
|
|
10
11
|
}>;
|
|
11
|
-
register: ({ phoneNumber, backendDomain, frontendDomain, frontendDomainName, }: {
|
|
12
|
+
register: ({ phoneNumber, token, backendDomain, frontendDomain, frontendDomainName, }: {
|
|
12
13
|
phoneNumber: string;
|
|
14
|
+
token?: string;
|
|
13
15
|
backendDomain?: string;
|
|
14
16
|
frontendDomain?: string;
|
|
15
17
|
frontendDomainName?: string;
|