idmission-web-sdk 2.2.7 → 2.2.9
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/CompositeWizard.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts +1 -1
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts +1 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerVerification.d.ts +1 -1
- package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
- package/dist/components/customer_flows/DocumentCapture.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts +1 -1
- package/dist/components/customer_flows/SignatureKYC.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +3 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/components/customer_identification/CustomerIdentificationCapture.d.ts +1 -1
- package/dist/components/customer_identification/CustomerIdentificationCapture.d.ts.map +1 -1
- package/dist/components/customer_identification/CustomerIdentificationWizard.d.ts +1 -1
- package/dist/components/customer_identification/CustomerIdentificationWizard.d.ts.map +1 -1
- package/dist/components/customer_verification/CustomerVerificationCapture.d.ts +1 -1
- package/dist/components/customer_verification/CustomerVerificationCapture.d.ts.map +1 -1
- package/dist/components/customer_verification/CustomerVerificationWizard.d.ts +1 -1
- package/dist/components/customer_verification/CustomerVerificationWizard.d.ts.map +1 -1
- package/dist/components/face_liveness/FaceLivenessCapture.d.ts.map +1 -1
- package/dist/components/face_liveness/FaceLivenessWizard.d.ts +1 -1
- package/dist/components/face_liveness/FaceLivenessWizard.d.ts.map +1 -1
- package/dist/components/id_capture/IdCapture.d.ts +1 -1
- package/dist/components/id_capture/IdCapture.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureSuccess.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureWizard.d.ts.map +1 -1
- package/dist/components/submission/Errors.d.ts +1 -1
- package/dist/components/submission/Errors.d.ts.map +1 -1
- package/dist/components/submission/SubmissionProvider.d.ts +2 -2
- package/dist/components/submission/SubmissionProvider.d.ts.map +1 -1
- package/dist/components/submission/types.d.ts +189 -0
- package/dist/components/submission/types.d.ts.map +1 -0
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts +1 -1
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts.map +1 -1
- package/dist/contexts/SubmissionContext.d.ts +1 -187
- package/dist/contexts/SubmissionContext.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +30 -24
- 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 +30 -24
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +30 -24
- 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 +3 -3
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.2.
|
|
214
|
+
var webSdkVersion = '2.2.9';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -278,6 +278,7 @@
|
|
|
278
278
|
SubmissionAction["IDENTIFY"] = "IDENTIFY";
|
|
279
279
|
SubmissionAction["VALIDATE"] = "VALIDATE";
|
|
280
280
|
SubmissionAction["VERIFY"] = "VERIFY";
|
|
281
|
+
SubmissionAction["MATCH_ID_AND_FACE"] = "MATCH_ID_AND_FACE";
|
|
281
282
|
})(SubmissionAction || (SubmissionAction = {}));
|
|
282
283
|
var SubmissionStatus;
|
|
283
284
|
(function (SubmissionStatus) {
|
|
@@ -290,6 +291,7 @@
|
|
|
290
291
|
prod: 'https://api.idmission.com',
|
|
291
292
|
demo: 'https://apidemo.idmission.com'
|
|
292
293
|
};
|
|
294
|
+
|
|
293
295
|
function determineSubmissionHost(environment, token) {
|
|
294
296
|
var host = submissionHosts[environment];
|
|
295
297
|
if (!host) throw new Error("unrecognized SubmissionEnvironment ".concat(environment));
|
|
@@ -305,6 +307,8 @@
|
|
|
305
307
|
return hasSelfie ? "/v4/customer/validate-id-match-face" : "/v4/customer/validate-id";
|
|
306
308
|
case SubmissionAction.VERIFY:
|
|
307
309
|
return "/v4/customer/verify";
|
|
310
|
+
case SubmissionAction.MATCH_ID_AND_FACE:
|
|
311
|
+
return "/v4/customer/match-id-face";
|
|
308
312
|
default:
|
|
309
313
|
throw new Error("unrecognized SubmissionAction ".concat(action));
|
|
310
314
|
}
|
|
@@ -24952,28 +24956,30 @@
|
|
|
24952
24956
|
silentFallback = _t === void 0 ? false : _t,
|
|
24953
24957
|
_u = _a.mergeAVStreams,
|
|
24954
24958
|
mergeAVStreams = _u === void 0 ? false : _u,
|
|
24955
|
-
_v = _a.
|
|
24956
|
-
|
|
24957
|
-
_w = _a.
|
|
24958
|
-
|
|
24959
|
-
_x = _a.
|
|
24960
|
-
|
|
24961
|
-
_y = _a.
|
|
24962
|
-
|
|
24963
|
-
_z = _a.
|
|
24964
|
-
|
|
24965
|
-
_0 = _a.
|
|
24966
|
-
|
|
24967
|
-
_1 = _a.
|
|
24968
|
-
|
|
24969
|
-
_2 = _a.
|
|
24970
|
-
|
|
24971
|
-
_3 = _a.
|
|
24972
|
-
|
|
24973
|
-
_4 = _a.
|
|
24974
|
-
|
|
24975
|
-
_5 = _a.
|
|
24976
|
-
|
|
24959
|
+
_v = _a.matchOnly,
|
|
24960
|
+
matchOnly = _v === void 0 ? false : _v,
|
|
24961
|
+
_w = _a.theme,
|
|
24962
|
+
theme = _w === void 0 ? 'default' : _w,
|
|
24963
|
+
_x = _a.assets,
|
|
24964
|
+
assets = _x === void 0 ? {} : _x,
|
|
24965
|
+
_y = _a.classNames,
|
|
24966
|
+
classNames = _y === void 0 ? {} : _y,
|
|
24967
|
+
_z = _a.colors,
|
|
24968
|
+
colors = _z === void 0 ? {} : _z,
|
|
24969
|
+
_0 = _a.verbiage,
|
|
24970
|
+
verbiage = _0 === void 0 ? {} : _0,
|
|
24971
|
+
_1 = _a.captureSignature,
|
|
24972
|
+
captureSignature = _1 === void 0 ? false : _1,
|
|
24973
|
+
_2 = _a.captureSignatureVideo,
|
|
24974
|
+
captureSignatureVideo = _2 === void 0 ? false : _2,
|
|
24975
|
+
_3 = _a.captureAdditionalDocuments,
|
|
24976
|
+
captureAdditionalDocuments = _3 === void 0 ? [] : _3,
|
|
24977
|
+
_4 = _a.geolocationEnabled,
|
|
24978
|
+
geolocationEnabled = _4 === void 0 ? true : _4,
|
|
24979
|
+
_5 = _a.geolocationRequired,
|
|
24980
|
+
geolocationRequired = _5 === void 0 ? false : _5,
|
|
24981
|
+
_6 = _a.debugMode,
|
|
24982
|
+
debugMode = _6 === void 0 ? false : _6;
|
|
24977
24983
|
useLanguage(lang);
|
|
24978
24984
|
useDebugLogging(debugMode);
|
|
24979
24985
|
var videoIdCaptureProps = React.useMemo(function () {
|
|
@@ -25040,7 +25046,7 @@
|
|
|
25040
25046
|
}, /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
25041
25047
|
theme: theme
|
|
25042
25048
|
}, /*#__PURE__*/React.createElement(SubmissionProvider, {
|
|
25043
|
-
action: skipIdCapture ? SubmissionAction.
|
|
25049
|
+
action: idCardForFaceMatch || !skipIdCapture ? matchOnly ? SubmissionAction.MATCH_ID_AND_FACE : SubmissionAction.VALIDATE : SubmissionAction.NONE,
|
|
25044
25050
|
submissionUrl: submissionUrl,
|
|
25045
25051
|
clientRequestID: clientRequestID,
|
|
25046
25052
|
documentServiceUrl: documentServiceUrl,
|