idmission-web-sdk 2.2.131 → 2.2.133
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/CustomerBiometricsEnrollment.d.ts +4 -0
- package/dist/components/customer_flows/CustomerBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts +4 -0
- package/dist/components/customer_flows/CustomerIdAndBiometricsEnrollment.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerIdentification.d.ts +4 -0
- package/dist/components/customer_flows/CustomerIdentification.d.ts.map +1 -1
- package/dist/components/customer_flows/CustomerVerification.d.ts +4 -0
- package/dist/components/customer_flows/CustomerVerification.d.ts.map +1 -1
- package/dist/components/customer_flows/FaceValidation.d.ts +4 -0
- package/dist/components/customer_flows/FaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +4 -0
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts +4 -0
- package/dist/components/customer_flows/IdValidation.d.ts.map +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +4 -0
- package/dist/components/customer_flows/VideoIdValidation.d.ts.map +1 -1
- package/dist/components/submission/SubmissionProvider.d.ts +5 -1
- package/dist/components/submission/SubmissionProvider.d.ts.map +1 -1
- package/dist/lib/models/VisionRuntime.d.ts +1 -1
- package/dist/lib/models/VisionRuntime.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +40 -3
- 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 +40 -3
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +40 -3
- 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
|
@@ -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.133';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -2096,6 +2096,8 @@
|
|
|
2096
2096
|
_c = _a.environment,
|
|
2097
2097
|
environment = _c === void 0 ? 'prod' : _c,
|
|
2098
2098
|
companyId = _a.companyId,
|
|
2099
|
+
jobId = _a.jobId,
|
|
2100
|
+
taskId = _a.taskId,
|
|
2099
2101
|
enrollmentId = _a.enrollmentId,
|
|
2100
2102
|
personalData = _a.personalData,
|
|
2101
2103
|
cardData = _a.cardData,
|
|
@@ -2308,6 +2310,9 @@
|
|
|
2308
2310
|
if (_a) {
|
|
2309
2311
|
return [2 /*return*/, blobToB64(blob)];
|
|
2310
2312
|
}
|
|
2313
|
+
metadata || (metadata = {});
|
|
2314
|
+
if (jobId) metadata.jobid = jobId;
|
|
2315
|
+
if (taskId) metadata.taskid = taskId;
|
|
2311
2316
|
return [2 /*return*/, performUpload({
|
|
2312
2317
|
blob: blob,
|
|
2313
2318
|
endpoint: documentServiceUrl,
|
|
@@ -2320,7 +2325,7 @@
|
|
|
2320
2325
|
}
|
|
2321
2326
|
});
|
|
2322
2327
|
});
|
|
2323
|
-
}, [documentServiceUrl, sessionId]);
|
|
2328
|
+
}, [documentServiceUrl, jobId, sessionId, taskId]);
|
|
2324
2329
|
var buildSubmissionPayload = React.useCallback(function () {
|
|
2325
2330
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
2326
2331
|
function uploadIfPossible(src_1, filename_1) {
|
|
@@ -7887,7 +7892,7 @@
|
|
|
7887
7892
|
return la(ph, t, e);
|
|
7888
7893
|
}, ph.POSE_CONNECTIONS = aa([0, 1], [1, 2], [2, 3], [3, 7], [0, 4], [4, 5], [5, 6], [6, 8], [9, 10], [11, 12], [11, 13], [13, 15], [15, 17], [15, 19], [15, 21], [17, 19], [12, 14], [14, 16], [16, 18], [16, 20], [16, 22], [18, 20], [11, 23], [12, 24], [23, 24], [23, 25], [24, 26], [25, 27], [26, 28], [27, 29], [28, 30], [29, 31], [30, 32], [27, 31], [28, 32]);
|
|
7889
7894
|
|
|
7890
|
-
var visionTasksBasePath = "https://cdn.
|
|
7895
|
+
var visionTasksBasePath = "https://websdk-cdn-dev.idmission.com/assets/vision_wasm_internal_0.10.7";
|
|
7891
7896
|
var visionRuntimePreloading = false;
|
|
7892
7897
|
function preloadVisionRuntime() {
|
|
7893
7898
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -25038,6 +25043,8 @@
|
|
|
25038
25043
|
authUrl = _a.authUrl,
|
|
25039
25044
|
documentServiceUrl = _a.documentServiceUrl,
|
|
25040
25045
|
companyId = _a.companyId,
|
|
25046
|
+
jobId = _a.jobId,
|
|
25047
|
+
taskId = _a.taskId,
|
|
25041
25048
|
needImmediateResponse = _a.needImmediateResponse,
|
|
25042
25049
|
manualReviewRequired = _a.manualReviewRequired,
|
|
25043
25050
|
idBackImageRequired = _a.idBackImageRequired,
|
|
@@ -25206,6 +25213,8 @@
|
|
|
25206
25213
|
clientRequestID: clientRequestID,
|
|
25207
25214
|
documentServiceUrl: documentServiceUrl,
|
|
25208
25215
|
companyId: companyId,
|
|
25216
|
+
jobId: jobId,
|
|
25217
|
+
taskId: taskId,
|
|
25209
25218
|
needImmediateResponse: needImmediateResponse,
|
|
25210
25219
|
manualReviewRequired: manualReviewRequired,
|
|
25211
25220
|
idBackImageRequired: idBackImageRequired,
|
|
@@ -25259,6 +25268,8 @@
|
|
|
25259
25268
|
submissionUrl = _a.submissionUrl,
|
|
25260
25269
|
documentServiceUrl = _a.documentServiceUrl,
|
|
25261
25270
|
companyId = _a.companyId,
|
|
25271
|
+
jobId = _a.jobId,
|
|
25272
|
+
taskId = _a.taskId,
|
|
25262
25273
|
needImmediateResponse = _a.needImmediateResponse,
|
|
25263
25274
|
webhooksEnabled = _a.webhooksEnabled,
|
|
25264
25275
|
webhooksURL = _a.webhooksURL,
|
|
@@ -25343,6 +25354,8 @@
|
|
|
25343
25354
|
submissionUrl: submissionUrl,
|
|
25344
25355
|
documentServiceUrl: documentServiceUrl,
|
|
25345
25356
|
companyId: companyId,
|
|
25357
|
+
jobId: jobId,
|
|
25358
|
+
taskId: taskId,
|
|
25346
25359
|
needImmediateResponse: needImmediateResponse,
|
|
25347
25360
|
webhooksEnabled: webhooksEnabled,
|
|
25348
25361
|
webhooksURL: webhooksURL,
|
|
@@ -25386,6 +25399,8 @@
|
|
|
25386
25399
|
submissionUrl = _a.submissionUrl,
|
|
25387
25400
|
documentServiceUrl = _a.documentServiceUrl,
|
|
25388
25401
|
companyId = _a.companyId,
|
|
25402
|
+
jobId = _a.jobId,
|
|
25403
|
+
taskId = _a.taskId,
|
|
25389
25404
|
needImmediateResponse = _a.needImmediateResponse,
|
|
25390
25405
|
manualReviewRequired = _a.manualReviewRequired,
|
|
25391
25406
|
idBackImageRequired = _a.idBackImageRequired,
|
|
@@ -25583,6 +25598,8 @@
|
|
|
25583
25598
|
submissionUrl: submissionUrl,
|
|
25584
25599
|
documentServiceUrl: documentServiceUrl,
|
|
25585
25600
|
companyId: companyId,
|
|
25601
|
+
jobId: jobId,
|
|
25602
|
+
taskId: taskId,
|
|
25586
25603
|
needImmediateResponse: needImmediateResponse,
|
|
25587
25604
|
manualReviewRequired: manualReviewRequired,
|
|
25588
25605
|
idBackImageRequired: idBackImageRequired,
|
|
@@ -25641,6 +25658,8 @@
|
|
|
25641
25658
|
submissionUrl = _a.submissionUrl,
|
|
25642
25659
|
documentServiceUrl = _a.documentServiceUrl,
|
|
25643
25660
|
companyId = _a.companyId,
|
|
25661
|
+
jobId = _a.jobId,
|
|
25662
|
+
taskId = _a.taskId,
|
|
25644
25663
|
needImmediateResponse = _a.needImmediateResponse,
|
|
25645
25664
|
manualReviewRequired = _a.manualReviewRequired,
|
|
25646
25665
|
idBackImageRequired = _a.idBackImageRequired,
|
|
@@ -25856,6 +25875,8 @@
|
|
|
25856
25875
|
submissionUrl: submissionUrl,
|
|
25857
25876
|
documentServiceUrl: documentServiceUrl,
|
|
25858
25877
|
companyId: companyId,
|
|
25878
|
+
jobId: jobId,
|
|
25879
|
+
taskId: taskId,
|
|
25859
25880
|
enrollmentId: enrollmentId,
|
|
25860
25881
|
needImmediateResponse: needImmediateResponse,
|
|
25861
25882
|
manualReviewRequired: manualReviewRequired,
|
|
@@ -26370,6 +26391,8 @@
|
|
|
26370
26391
|
submissionUrl = _a.submissionUrl,
|
|
26371
26392
|
documentServiceUrl = _a.documentServiceUrl,
|
|
26372
26393
|
companyId = _a.companyId,
|
|
26394
|
+
jobId = _a.jobId,
|
|
26395
|
+
taskId = _a.taskId,
|
|
26373
26396
|
needImmediateResponse = _a.needImmediateResponse,
|
|
26374
26397
|
webhooksEnabled = _a.webhooksEnabled,
|
|
26375
26398
|
webhooksURL = _a.webhooksURL,
|
|
@@ -26426,6 +26449,8 @@
|
|
|
26426
26449
|
submissionUrl: submissionUrl,
|
|
26427
26450
|
documentServiceUrl: documentServiceUrl,
|
|
26428
26451
|
companyId: companyId,
|
|
26452
|
+
jobId: jobId,
|
|
26453
|
+
taskId: taskId,
|
|
26429
26454
|
enrollmentId: enrollmentId,
|
|
26430
26455
|
needImmediateResponse: needImmediateResponse,
|
|
26431
26456
|
webhooksEnabled: webhooksEnabled,
|
|
@@ -26932,6 +26957,8 @@
|
|
|
26932
26957
|
submissionUrl = _a.submissionUrl,
|
|
26933
26958
|
documentServiceUrl = _a.documentServiceUrl,
|
|
26934
26959
|
companyId = _a.companyId,
|
|
26960
|
+
jobId = _a.jobId,
|
|
26961
|
+
taskId = _a.taskId,
|
|
26935
26962
|
needImmediateResponse = _a.needImmediateResponse,
|
|
26936
26963
|
webhooksEnabled = _a.webhooksEnabled,
|
|
26937
26964
|
webhooksURL = _a.webhooksURL,
|
|
@@ -26988,6 +27015,8 @@
|
|
|
26988
27015
|
submissionUrl: submissionUrl,
|
|
26989
27016
|
documentServiceUrl: documentServiceUrl,
|
|
26990
27017
|
companyId: companyId,
|
|
27018
|
+
jobId: jobId,
|
|
27019
|
+
taskId: taskId,
|
|
26991
27020
|
needImmediateResponse: needImmediateResponse,
|
|
26992
27021
|
webhooksEnabled: webhooksEnabled,
|
|
26993
27022
|
webhooksURL: webhooksURL,
|
|
@@ -27141,6 +27170,8 @@
|
|
|
27141
27170
|
submissionUrl = _a.submissionUrl,
|
|
27142
27171
|
documentServiceUrl = _a.documentServiceUrl,
|
|
27143
27172
|
companyId = _a.companyId,
|
|
27173
|
+
jobId = _a.jobId,
|
|
27174
|
+
taskId = _a.taskId,
|
|
27144
27175
|
needImmediateResponse = _a.needImmediateResponse,
|
|
27145
27176
|
manualReviewRequired = _a.manualReviewRequired,
|
|
27146
27177
|
idBackImageRequired = _a.idBackImageRequired,
|
|
@@ -27312,6 +27343,8 @@
|
|
|
27312
27343
|
clientRequestID: clientRequestID,
|
|
27313
27344
|
documentServiceUrl: documentServiceUrl,
|
|
27314
27345
|
companyId: companyId,
|
|
27346
|
+
jobId: jobId,
|
|
27347
|
+
taskId: taskId,
|
|
27315
27348
|
needImmediateResponse: needImmediateResponse,
|
|
27316
27349
|
manualReviewRequired: manualReviewRequired,
|
|
27317
27350
|
idBackImageRequired: idBackImageRequired,
|
|
@@ -27369,6 +27402,8 @@
|
|
|
27369
27402
|
submissionUrl = _a.submissionUrl,
|
|
27370
27403
|
documentServiceUrl = _a.documentServiceUrl,
|
|
27371
27404
|
companyId = _a.companyId,
|
|
27405
|
+
jobId = _a.jobId,
|
|
27406
|
+
taskId = _a.taskId,
|
|
27372
27407
|
needImmediateResponse = _a.needImmediateResponse,
|
|
27373
27408
|
deduplicationEnabled = _a.deduplicationEnabled,
|
|
27374
27409
|
deduplicationSynchronous = _a.deduplicationSynchronous,
|
|
@@ -27491,6 +27526,8 @@
|
|
|
27491
27526
|
submissionUrl: submissionUrl,
|
|
27492
27527
|
documentServiceUrl: documentServiceUrl,
|
|
27493
27528
|
companyId: companyId,
|
|
27529
|
+
jobId: jobId,
|
|
27530
|
+
taskId: taskId,
|
|
27494
27531
|
enrollmentId: enrollmentId,
|
|
27495
27532
|
needImmediateResponse: needImmediateResponse,
|
|
27496
27533
|
deduplicationEnabled: deduplicationEnabled,
|