@incodetech/welcome 1.77.0 → 1.77.2-rc.20250103174046
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/incode-welcome/src/auth/renderLoginDesktop.d.ts +12 -1
- package/dist/incode-welcome/src/create.d.ts +1 -1
- package/dist/incode-welcome/src/createRedirectUrl.d.ts +2 -2
- package/dist/incode-welcome/src/getOnboardingStatus.d.ts +2 -2
- package/dist/incode-welcome/src/redirect/Redirect.d.ts +2 -2
- package/dist/incode-welcome/src/redirect/useQR.d.ts +2 -2
- package/dist/onBoarding.mjs +2965 -2953
- package/dist/onBoarding.umd.js +82 -82
- package/package.json +4 -2
|
@@ -3,7 +3,18 @@ type RenderLoginOptionProps = {
|
|
|
3
3
|
onError: (...args: unknown[]) => void;
|
|
4
4
|
timeout?: number;
|
|
5
5
|
stopAtAccessDenied?: boolean;
|
|
6
|
+
isOneToOne?: boolean;
|
|
7
|
+
stopAtError?: boolean;
|
|
8
|
+
oneToOneProps?: {
|
|
9
|
+
phone?: string;
|
|
10
|
+
email?: string;
|
|
11
|
+
authReference?: string;
|
|
12
|
+
identityId?: string;
|
|
13
|
+
nationalNumber?: string;
|
|
14
|
+
};
|
|
15
|
+
showCustomCameraPermissionScreen?: boolean;
|
|
16
|
+
isKiosk?: boolean;
|
|
6
17
|
recordingsToken?: string;
|
|
7
18
|
};
|
|
8
|
-
declare function renderLoginDesktop(element: HTMLElement, { onSuccess, onError, timeout, stopAtAccessDenied, recordingsToken, }: RenderLoginOptionProps): void;
|
|
19
|
+
declare function renderLoginDesktop(element: HTMLElement, { onSuccess, onError, timeout, stopAtAccessDenied, recordingsToken, oneToOneProps, isOneToOne, stopAtError, showCustomCameraPermissionScreen, isKiosk, }: RenderLoginOptionProps): void;
|
|
9
20
|
export default renderLoginDesktop;
|
|
@@ -461,7 +461,7 @@ declare function create({ apiKey, apiURL, lang, encrypt, translations, theme: _t
|
|
|
461
461
|
}) => void;
|
|
462
462
|
updateSecondId: typeof updateSecondId;
|
|
463
463
|
createRedirectUrl: ({ session }: {
|
|
464
|
-
session: import('../../types/src').
|
|
464
|
+
session: import('../../types/src').LooseSession;
|
|
465
465
|
}) => Promise<any>;
|
|
466
466
|
compareGovValidationOTP: typeof compareGovValidationOTP;
|
|
467
467
|
compareInstantVerifyOTP: typeof compareInstantVerifyOTP;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LooseSession } from '../../types/src';
|
|
2
2
|
type CreateRedirectUrlType = {
|
|
3
|
-
session:
|
|
3
|
+
session: LooseSession;
|
|
4
4
|
};
|
|
5
5
|
declare const createRedirectUrl: ({ session }: CreateRedirectUrlType) => Promise<any>;
|
|
6
6
|
export default createRedirectUrl;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare function getOnboardingStatus(token:
|
|
1
|
+
import type { LooseSession, OnboardingStatus } from '../../types/src';
|
|
2
|
+
declare function getOnboardingStatus(token: LooseSession): Promise<{
|
|
3
3
|
onboardingStatus: OnboardingStatus;
|
|
4
4
|
}>;
|
|
5
5
|
export default getOnboardingStatus;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LooseSession, OnboardingStatus } from '../../../types/src';
|
|
2
2
|
export type RedirectProps = {
|
|
3
3
|
onSuccess: (res: {
|
|
4
4
|
onboardingStatus: OnboardingStatus;
|
|
5
5
|
}) => void;
|
|
6
|
-
session:
|
|
6
|
+
session: LooseSession;
|
|
7
7
|
flowId?: string;
|
|
8
8
|
logoSrc?: string;
|
|
9
9
|
url?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LooseSession, OnboardingStatus } from '../../../types/src';
|
|
2
2
|
type UseQRProps = {
|
|
3
|
-
session:
|
|
3
|
+
session: LooseSession;
|
|
4
4
|
onSuccess: ({ onboardingStatus, }: {
|
|
5
5
|
onboardingStatus: OnboardingStatus;
|
|
6
6
|
}) => void;
|