idmission-web-sdk 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/dist/components/customer_flows/VideoIdValidation.d.ts +10 -1
- package/dist/sdk2.cjs.development.js +19 -1
- 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 +19 -1
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +19 -1
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import { SubmissionEnvironment, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
|
|
2
|
+
import { CardData, PersonalData, SubmissionEnvironment, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
|
|
3
3
|
import { CustomerSuppliedVerbiage, LangOption } from '../../lib/locales';
|
|
4
4
|
import { VideoIdWizardAssets, VideoIdWizardColors, VideoIdWizardVerbiage } from '../video_id/IdVideoCaptureWizard';
|
|
5
5
|
import { IdCaptureWizardProps } from '../id_capture/IdCaptureWizard';
|
|
@@ -12,6 +12,15 @@ export interface VideoIdValidationProps extends PropsWithChildren {
|
|
|
12
12
|
submissionToken: string;
|
|
13
13
|
submissionEnvironment?: SubmissionEnvironment;
|
|
14
14
|
submissionUrl?: string;
|
|
15
|
+
companyId?: string;
|
|
16
|
+
manualReviewRequired?: boolean;
|
|
17
|
+
idBackImageRequired?: boolean;
|
|
18
|
+
verifyIdWithExternalDatabases?: boolean;
|
|
19
|
+
personalData?: PersonalData;
|
|
20
|
+
cardData?: CardData;
|
|
21
|
+
webhooksEnabled?: boolean;
|
|
22
|
+
webhooksClientTraceId?: string;
|
|
23
|
+
webhooksStripSpecialCharacters?: boolean;
|
|
15
24
|
onBeforeSubmit?: (request: SubmissionRequest) => Promise<SubmissionRequest>;
|
|
16
25
|
onComplete?: (submissionResponse: SubmissionResponse) => void;
|
|
17
26
|
onExitAfterFailure?: (submissionResponse: SubmissionResponse | null) => void;
|
|
@@ -48,7 +48,7 @@ var tf__namespace = /*#__PURE__*/_interopNamespace(tf);
|
|
|
48
48
|
var useResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(useResizeObserver);
|
|
49
49
|
var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
|
|
50
50
|
|
|
51
|
-
var webSdkVersion = '1.0.
|
|
51
|
+
var webSdkVersion = '1.0.48';
|
|
52
52
|
|
|
53
53
|
function getPlatform() {
|
|
54
54
|
return window.platform;
|
|
@@ -14816,6 +14816,15 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
14816
14816
|
submissionToken = _a.submissionToken,
|
|
14817
14817
|
submissionEnvironment = _a.submissionEnvironment,
|
|
14818
14818
|
submissionUrl = _a.submissionUrl,
|
|
14819
|
+
companyId = _a.companyId,
|
|
14820
|
+
manualReviewRequired = _a.manualReviewRequired,
|
|
14821
|
+
idBackImageRequired = _a.idBackImageRequired,
|
|
14822
|
+
verifyIdWithExternalDatabases = _a.verifyIdWithExternalDatabases,
|
|
14823
|
+
personalData = _a.personalData,
|
|
14824
|
+
cardData = _a.cardData,
|
|
14825
|
+
webhooksEnabled = _a.webhooksEnabled,
|
|
14826
|
+
webhooksClientTraceId = _a.webhooksClientTraceId,
|
|
14827
|
+
webhooksStripSpecialCharacters = _a.webhooksStripSpecialCharacters,
|
|
14819
14828
|
onBeforeSubmit = _a.onBeforeSubmit,
|
|
14820
14829
|
onComplete = _a.onComplete,
|
|
14821
14830
|
onExitAfterFailure = _a.onExitAfterFailure,
|
|
@@ -14839,6 +14848,15 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
14839
14848
|
environment: submissionEnvironment,
|
|
14840
14849
|
url: submissionUrl,
|
|
14841
14850
|
token: submissionToken,
|
|
14851
|
+
companyId: companyId,
|
|
14852
|
+
manualReviewRequired: manualReviewRequired,
|
|
14853
|
+
idBackImageRequired: idBackImageRequired,
|
|
14854
|
+
verifyIdWithExternalDatabases: verifyIdWithExternalDatabases,
|
|
14855
|
+
personalData: personalData,
|
|
14856
|
+
cardData: cardData,
|
|
14857
|
+
webhooksEnabled: webhooksEnabled,
|
|
14858
|
+
webhooksClientTraceId: webhooksClientTraceId,
|
|
14859
|
+
webhooksStripSpecialCharacters: webhooksStripSpecialCharacters,
|
|
14842
14860
|
onBeforeSubmit: onBeforeSubmit,
|
|
14843
14861
|
onResponseReceived: onComplete,
|
|
14844
14862
|
geolocationEnabled: geolocationEnabled,
|