@idscan/onboarding 2.2.25 → 2.3.0
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/@types/src/@types/Data.d.ts +2 -1
- package/dist/@types/src/Wrapper.d.ts +2 -0
- package/dist/js/wrapper.js +1 -1
- package/dist/networks/Blur-chunk.js +1 -0
- package/dist/networks/Bubble-chunk.js +1 -0
- package/dist/networks/MRZ-chunk.js +1 -0
- package/dist/networks/{156-2c44-chunk.js → bubbleWorker.js} +1 -1
- package/dist/networks/mrzWorker.js +1 -0
- package/package.json +2 -2
- package/readme.md +34 -13
- package/dist/networks/190-0e4f-chunk.js +0 -1
- package/dist/networks/Blur-a35a-chunk.js +0 -1
- package/dist/networks/MRZ-6b1d-chunk.js +0 -1
- /package/dist/networks/{ClassLocal-835d-chunk.js → ClassLocal-chunk.js} +0 -0
- /package/dist/networks/{Face-e2da-chunk.js → Face-chunk.js} +0 -0
- /package/dist/networks/{PDF-c6c7-chunk.js → PDF-chunk.js} +0 -0
- /package/dist/networks/{ZXing-ce9f-chunk.js → ZXing-chunk.js} +0 -0
- /package/dist/networks/{77-7273-chunk.js → blurWorker.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ValidationStatus } from './enums';
|
|
2
2
|
import WrapperError from '../errors/WrapperError';
|
|
3
3
|
import { IStepCallback, IStepConfig, IStepMode } from './Step';
|
|
4
|
-
import { ValidationApplicant } from './Api/Responses';
|
|
4
|
+
import { ISuccessConfiguration, ValidationApplicant } from './Api/Responses';
|
|
5
5
|
import { DocumentTypeIndex, DocumentTypeName, RealFaceModeType, SupportedLanguage } from './IDVCTypes';
|
|
6
6
|
export type ValidationButtonNames = 'tryAgain' | 'complete';
|
|
7
7
|
export type JSONString = string;
|
|
@@ -93,6 +93,7 @@ export interface IWrapperConfig {
|
|
|
93
93
|
networkUrl?: string;
|
|
94
94
|
hideDocumentTitle?: boolean;
|
|
95
95
|
processingImageFormat?: 'jpeg' | 'png' | 'webp';
|
|
96
|
+
wrapperSettings?: Partial<Omit<ISuccessConfiguration, 'jsonSettings' | 'cssStyles' | 'cssVariables'>>;
|
|
96
97
|
}
|
|
97
98
|
export interface LibConfig {
|
|
98
99
|
IdvcConfig: IDVCConfig;
|
|
@@ -18,11 +18,13 @@ export default class Wrapper {
|
|
|
18
18
|
private qrCodeBtn;
|
|
19
19
|
constructor(config: IWrapperConfig);
|
|
20
20
|
private beforeMount;
|
|
21
|
+
private applyWrapperConfigSettings;
|
|
21
22
|
private getQueryParam;
|
|
22
23
|
private get isEmbeddedFromQR();
|
|
23
24
|
private get QRCodeIsAvailable();
|
|
24
25
|
private mountQRCodeButton;
|
|
25
26
|
private mount;
|
|
27
|
+
private unmount;
|
|
26
28
|
private checkApplicantIsValid;
|
|
27
29
|
private prepareConfig;
|
|
28
30
|
updateConfig(newConfig: JSONString): void;
|