idmission-web-sdk 1.0.30 → 1.0.31
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/components/customer_flows/VideoIdValidation.d.ts +4 -0
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts +5 -1
- package/dist/sdk2.cjs.development.js +18 -2
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +18 -2
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +18 -2
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -17,6 +17,10 @@ export interface VideoIdValidationProps extends PropsWithChildren {
|
|
|
17
17
|
onExitAfterFailure?: (submissionResponse: SubmissionResponse | null) => void;
|
|
18
18
|
idCaptureProps?: IdCaptureWizardProps;
|
|
19
19
|
faceLivenessProps?: FaceLivenessWizardProps;
|
|
20
|
+
idCardFrontDetectionThreshold?: number;
|
|
21
|
+
idCardFrontFocusThreshold?: number;
|
|
22
|
+
goodIdCardFrontFramesThreshold?: number;
|
|
23
|
+
showIdCardBackDurationMs?: number;
|
|
20
24
|
readTextPrompt?: CustomerSuppliedVerbiage;
|
|
21
25
|
readTextTimeoutDurationMs?: number;
|
|
22
26
|
skipSuccessScreen?: boolean | (() => Promise<boolean>);
|
|
@@ -26,6 +26,10 @@ export type VideoIdWizardProps = {
|
|
|
26
26
|
idCaptureProps?: IdCaptureWizardProps;
|
|
27
27
|
faceLivenessProps?: FaceLivenessWizardProps;
|
|
28
28
|
onExitAfterFailure?: (submissionResponse: SubmissionResponse | null) => void;
|
|
29
|
+
idCardFrontDetectionThreshold?: number;
|
|
30
|
+
idCardFrontFocusThreshold?: number;
|
|
31
|
+
goodIdCardFrontFramesThreshold?: number;
|
|
32
|
+
showIdCardBackDurationMs?: number;
|
|
29
33
|
readTextPrompt?: CustomerSuppliedVerbiage;
|
|
30
34
|
readTextTimeoutDurationMs?: number;
|
|
31
35
|
skipSuccessScreen?: boolean | (() => Promise<boolean>);
|
|
@@ -34,4 +38,4 @@ export type VideoIdWizardProps = {
|
|
|
34
38
|
verbiage?: VideoIdWizardVerbiage;
|
|
35
39
|
debugMode?: boolean;
|
|
36
40
|
};
|
|
37
|
-
export declare const VideoIdWizard: ({ idCaptureProps, faceLivenessProps, onExitAfterFailure, readTextPrompt, readTextTimeoutDurationMs, assets, colors, verbiage, debugMode, }: VideoIdWizardProps) => ReactElement;
|
|
41
|
+
export declare const VideoIdWizard: ({ idCaptureProps, faceLivenessProps, onExitAfterFailure, idCardFrontDetectionThreshold, idCardFrontFocusThreshold, goodIdCardFrontFramesThreshold, showIdCardBackDurationMs, readTextPrompt, readTextTimeoutDurationMs, assets, colors, verbiage, debugMode, }: VideoIdWizardProps) => ReactElement;
|
|
@@ -50,7 +50,7 @@ var tf__namespace = /*#__PURE__*/_interopNamespace(tf);
|
|
|
50
50
|
var useResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(useResizeObserver);
|
|
51
51
|
var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
|
|
52
52
|
|
|
53
|
-
var webSdkVersion = '1.0.
|
|
53
|
+
var webSdkVersion = '1.0.31';
|
|
54
54
|
|
|
55
55
|
function getPlatform() {
|
|
56
56
|
return window.platform;
|
|
@@ -14434,7 +14434,7 @@ var IdVideoCapture = function IdVideoCapture(_a) {
|
|
|
14434
14434
|
_k = _a.goodIdCardFrontFramesThreshold,
|
|
14435
14435
|
goodIdCardFrontFramesThreshold = _k === void 0 ? 3 : _k,
|
|
14436
14436
|
_l = _a.showIdCardBackDurationMs,
|
|
14437
|
-
showIdCardBackDurationMs = _l === void 0 ?
|
|
14437
|
+
showIdCardBackDurationMs = _l === void 0 ? 5000 : _l,
|
|
14438
14438
|
readTextPrompt = _a.readTextPrompt,
|
|
14439
14439
|
_m = _a.readTextTimeoutDurationMs,
|
|
14440
14440
|
readTextTimeoutDurationMs = _m === void 0 ? 15000 : _m,
|
|
@@ -14713,6 +14713,10 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
14713
14713
|
_g = _a.faceLivenessProps,
|
|
14714
14714
|
faceLivenessProps = _g === void 0 ? {} : _g,
|
|
14715
14715
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
14716
|
+
idCardFrontDetectionThreshold = _a.idCardFrontDetectionThreshold,
|
|
14717
|
+
idCardFrontFocusThreshold = _a.idCardFrontFocusThreshold,
|
|
14718
|
+
goodIdCardFrontFramesThreshold = _a.goodIdCardFrontFramesThreshold,
|
|
14719
|
+
showIdCardBackDurationMs = _a.showIdCardBackDurationMs,
|
|
14716
14720
|
readTextPrompt = _a.readTextPrompt,
|
|
14717
14721
|
readTextTimeoutDurationMs = _a.readTextTimeoutDurationMs,
|
|
14718
14722
|
_h = _a.assets,
|
|
@@ -14823,6 +14827,10 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
14823
14827
|
key: "id-video-capture-".concat(attempt),
|
|
14824
14828
|
onComplete: onVideoCaptureComplete,
|
|
14825
14829
|
onFaceNotDetected: onVideoCaptureFaceNotDetected,
|
|
14830
|
+
idCardFrontDetectionThreshold: idCardFrontDetectionThreshold,
|
|
14831
|
+
idCardFrontFocusThreshold: idCardFrontFocusThreshold,
|
|
14832
|
+
goodIdCardFrontFramesThreshold: goodIdCardFrontFramesThreshold,
|
|
14833
|
+
showIdCardBackDurationMs: showIdCardBackDurationMs,
|
|
14826
14834
|
readTextPrompt: readTextPrompt,
|
|
14827
14835
|
readTextTimeoutDurationMs: readTextTimeoutDurationMs,
|
|
14828
14836
|
assets: assets.idVideoCapture,
|
|
@@ -14855,6 +14863,10 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
14855
14863
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
14856
14864
|
idCaptureProps = _a.idCaptureProps,
|
|
14857
14865
|
faceLivenessProps = _a.faceLivenessProps,
|
|
14866
|
+
idCardFrontDetectionThreshold = _a.idCardFrontDetectionThreshold,
|
|
14867
|
+
idCardFrontFocusThreshold = _a.idCardFrontFocusThreshold,
|
|
14868
|
+
goodIdCardFrontFramesThreshold = _a.goodIdCardFrontFramesThreshold,
|
|
14869
|
+
showIdCardBackDurationMs = _a.showIdCardBackDurationMs,
|
|
14858
14870
|
readTextPrompt = _a.readTextPrompt,
|
|
14859
14871
|
readTextTimeoutDurationMs = _a.readTextTimeoutDurationMs,
|
|
14860
14872
|
_c = _a.skipSuccessScreen,
|
|
@@ -14876,6 +14888,10 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
14876
14888
|
}, /*#__PURE__*/React__default['default'].createElement(VideoIdWizard, {
|
|
14877
14889
|
idCaptureProps: idCaptureProps,
|
|
14878
14890
|
faceLivenessProps: faceLivenessProps,
|
|
14891
|
+
idCardFrontDetectionThreshold: idCardFrontDetectionThreshold,
|
|
14892
|
+
idCardFrontFocusThreshold: idCardFrontFocusThreshold,
|
|
14893
|
+
goodIdCardFrontFramesThreshold: goodIdCardFrontFramesThreshold,
|
|
14894
|
+
showIdCardBackDurationMs: showIdCardBackDurationMs,
|
|
14879
14895
|
readTextPrompt: readTextPrompt,
|
|
14880
14896
|
readTextTimeoutDurationMs: readTextTimeoutDurationMs,
|
|
14881
14897
|
onExitAfterFailure: onExitAfterFailure,
|