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
package/dist/sdk2.esm.js
CHANGED
|
@@ -203,7 +203,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
203
203
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
var webSdkVersion = '2.2.
|
|
206
|
+
var webSdkVersion = '2.2.133';
|
|
207
207
|
|
|
208
208
|
function getPlatform() {
|
|
209
209
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1114,6 +1114,8 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1114
1114
|
_c = _a.environment,
|
|
1115
1115
|
environment = _c === void 0 ? 'prod' : _c,
|
|
1116
1116
|
companyId = _a.companyId,
|
|
1117
|
+
jobId = _a.jobId,
|
|
1118
|
+
taskId = _a.taskId,
|
|
1117
1119
|
enrollmentId = _a.enrollmentId,
|
|
1118
1120
|
personalData = _a.personalData,
|
|
1119
1121
|
cardData = _a.cardData,
|
|
@@ -1326,6 +1328,9 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1326
1328
|
if (_a) {
|
|
1327
1329
|
return [2 /*return*/, blobToB64(blob)];
|
|
1328
1330
|
}
|
|
1331
|
+
metadata || (metadata = {});
|
|
1332
|
+
if (jobId) metadata.jobid = jobId;
|
|
1333
|
+
if (taskId) metadata.taskid = taskId;
|
|
1329
1334
|
return [2 /*return*/, performUpload({
|
|
1330
1335
|
blob: blob,
|
|
1331
1336
|
endpoint: documentServiceUrl,
|
|
@@ -1338,7 +1343,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1338
1343
|
}
|
|
1339
1344
|
});
|
|
1340
1345
|
});
|
|
1341
|
-
}, [documentServiceUrl, sessionId]);
|
|
1346
|
+
}, [documentServiceUrl, jobId, sessionId, taskId]);
|
|
1342
1347
|
var buildSubmissionPayload = useCallback(function () {
|
|
1343
1348
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
1344
1349
|
function uploadIfPossible(src_1, filename_1) {
|
|
@@ -1981,7 +1986,7 @@ function performUpload(_a) {
|
|
|
1981
1986
|
});
|
|
1982
1987
|
}
|
|
1983
1988
|
|
|
1984
|
-
var visionTasksBasePath = "https://cdn.
|
|
1989
|
+
var visionTasksBasePath = "https://websdk-cdn-dev.idmission.com/assets/vision_wasm_internal_0.10.7";
|
|
1985
1990
|
var visionRuntimePreloading = false;
|
|
1986
1991
|
function preloadVisionRuntime() {
|
|
1987
1992
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -15146,6 +15151,8 @@ var IdValidation = function IdValidation(_a) {
|
|
|
15146
15151
|
authUrl = _a.authUrl,
|
|
15147
15152
|
documentServiceUrl = _a.documentServiceUrl,
|
|
15148
15153
|
companyId = _a.companyId,
|
|
15154
|
+
jobId = _a.jobId,
|
|
15155
|
+
taskId = _a.taskId,
|
|
15149
15156
|
needImmediateResponse = _a.needImmediateResponse,
|
|
15150
15157
|
manualReviewRequired = _a.manualReviewRequired,
|
|
15151
15158
|
idBackImageRequired = _a.idBackImageRequired,
|
|
@@ -15314,6 +15321,8 @@ var IdValidation = function IdValidation(_a) {
|
|
|
15314
15321
|
clientRequestID: clientRequestID,
|
|
15315
15322
|
documentServiceUrl: documentServiceUrl,
|
|
15316
15323
|
companyId: companyId,
|
|
15324
|
+
jobId: jobId,
|
|
15325
|
+
taskId: taskId,
|
|
15317
15326
|
needImmediateResponse: needImmediateResponse,
|
|
15318
15327
|
manualReviewRequired: manualReviewRequired,
|
|
15319
15328
|
idBackImageRequired: idBackImageRequired,
|
|
@@ -15367,6 +15376,8 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
15367
15376
|
submissionUrl = _a.submissionUrl,
|
|
15368
15377
|
documentServiceUrl = _a.documentServiceUrl,
|
|
15369
15378
|
companyId = _a.companyId,
|
|
15379
|
+
jobId = _a.jobId,
|
|
15380
|
+
taskId = _a.taskId,
|
|
15370
15381
|
needImmediateResponse = _a.needImmediateResponse,
|
|
15371
15382
|
webhooksEnabled = _a.webhooksEnabled,
|
|
15372
15383
|
webhooksURL = _a.webhooksURL,
|
|
@@ -15451,6 +15462,8 @@ var FaceValidation = function FaceValidation(_a) {
|
|
|
15451
15462
|
submissionUrl: submissionUrl,
|
|
15452
15463
|
documentServiceUrl: documentServiceUrl,
|
|
15453
15464
|
companyId: companyId,
|
|
15465
|
+
jobId: jobId,
|
|
15466
|
+
taskId: taskId,
|
|
15454
15467
|
needImmediateResponse: needImmediateResponse,
|
|
15455
15468
|
webhooksEnabled: webhooksEnabled,
|
|
15456
15469
|
webhooksURL: webhooksURL,
|
|
@@ -15494,6 +15507,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
15494
15507
|
submissionUrl = _a.submissionUrl,
|
|
15495
15508
|
documentServiceUrl = _a.documentServiceUrl,
|
|
15496
15509
|
companyId = _a.companyId,
|
|
15510
|
+
jobId = _a.jobId,
|
|
15511
|
+
taskId = _a.taskId,
|
|
15497
15512
|
needImmediateResponse = _a.needImmediateResponse,
|
|
15498
15513
|
manualReviewRequired = _a.manualReviewRequired,
|
|
15499
15514
|
idBackImageRequired = _a.idBackImageRequired,
|
|
@@ -15691,6 +15706,8 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
15691
15706
|
submissionUrl: submissionUrl,
|
|
15692
15707
|
documentServiceUrl: documentServiceUrl,
|
|
15693
15708
|
companyId: companyId,
|
|
15709
|
+
jobId: jobId,
|
|
15710
|
+
taskId: taskId,
|
|
15694
15711
|
needImmediateResponse: needImmediateResponse,
|
|
15695
15712
|
manualReviewRequired: manualReviewRequired,
|
|
15696
15713
|
idBackImageRequired: idBackImageRequired,
|
|
@@ -15749,6 +15766,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
15749
15766
|
submissionUrl = _a.submissionUrl,
|
|
15750
15767
|
documentServiceUrl = _a.documentServiceUrl,
|
|
15751
15768
|
companyId = _a.companyId,
|
|
15769
|
+
jobId = _a.jobId,
|
|
15770
|
+
taskId = _a.taskId,
|
|
15752
15771
|
needImmediateResponse = _a.needImmediateResponse,
|
|
15753
15772
|
manualReviewRequired = _a.manualReviewRequired,
|
|
15754
15773
|
idBackImageRequired = _a.idBackImageRequired,
|
|
@@ -15964,6 +15983,8 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
15964
15983
|
submissionUrl: submissionUrl,
|
|
15965
15984
|
documentServiceUrl: documentServiceUrl,
|
|
15966
15985
|
companyId: companyId,
|
|
15986
|
+
jobId: jobId,
|
|
15987
|
+
taskId: taskId,
|
|
15967
15988
|
enrollmentId: enrollmentId,
|
|
15968
15989
|
needImmediateResponse: needImmediateResponse,
|
|
15969
15990
|
manualReviewRequired: manualReviewRequired,
|
|
@@ -16478,6 +16499,8 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
16478
16499
|
submissionUrl = _a.submissionUrl,
|
|
16479
16500
|
documentServiceUrl = _a.documentServiceUrl,
|
|
16480
16501
|
companyId = _a.companyId,
|
|
16502
|
+
jobId = _a.jobId,
|
|
16503
|
+
taskId = _a.taskId,
|
|
16481
16504
|
needImmediateResponse = _a.needImmediateResponse,
|
|
16482
16505
|
webhooksEnabled = _a.webhooksEnabled,
|
|
16483
16506
|
webhooksURL = _a.webhooksURL,
|
|
@@ -16534,6 +16557,8 @@ var CustomerVerification = function CustomerVerification(_a) {
|
|
|
16534
16557
|
submissionUrl: submissionUrl,
|
|
16535
16558
|
documentServiceUrl: documentServiceUrl,
|
|
16536
16559
|
companyId: companyId,
|
|
16560
|
+
jobId: jobId,
|
|
16561
|
+
taskId: taskId,
|
|
16537
16562
|
enrollmentId: enrollmentId,
|
|
16538
16563
|
needImmediateResponse: needImmediateResponse,
|
|
16539
16564
|
webhooksEnabled: webhooksEnabled,
|
|
@@ -17040,6 +17065,8 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
17040
17065
|
submissionUrl = _a.submissionUrl,
|
|
17041
17066
|
documentServiceUrl = _a.documentServiceUrl,
|
|
17042
17067
|
companyId = _a.companyId,
|
|
17068
|
+
jobId = _a.jobId,
|
|
17069
|
+
taskId = _a.taskId,
|
|
17043
17070
|
needImmediateResponse = _a.needImmediateResponse,
|
|
17044
17071
|
webhooksEnabled = _a.webhooksEnabled,
|
|
17045
17072
|
webhooksURL = _a.webhooksURL,
|
|
@@ -17096,6 +17123,8 @@ var CustomerIdentification = function CustomerIdentification(_a) {
|
|
|
17096
17123
|
submissionUrl: submissionUrl,
|
|
17097
17124
|
documentServiceUrl: documentServiceUrl,
|
|
17098
17125
|
companyId: companyId,
|
|
17126
|
+
jobId: jobId,
|
|
17127
|
+
taskId: taskId,
|
|
17099
17128
|
needImmediateResponse: needImmediateResponse,
|
|
17100
17129
|
webhooksEnabled: webhooksEnabled,
|
|
17101
17130
|
webhooksURL: webhooksURL,
|
|
@@ -17249,6 +17278,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
17249
17278
|
submissionUrl = _a.submissionUrl,
|
|
17250
17279
|
documentServiceUrl = _a.documentServiceUrl,
|
|
17251
17280
|
companyId = _a.companyId,
|
|
17281
|
+
jobId = _a.jobId,
|
|
17282
|
+
taskId = _a.taskId,
|
|
17252
17283
|
needImmediateResponse = _a.needImmediateResponse,
|
|
17253
17284
|
manualReviewRequired = _a.manualReviewRequired,
|
|
17254
17285
|
idBackImageRequired = _a.idBackImageRequired,
|
|
@@ -17420,6 +17451,8 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
17420
17451
|
clientRequestID: clientRequestID,
|
|
17421
17452
|
documentServiceUrl: documentServiceUrl,
|
|
17422
17453
|
companyId: companyId,
|
|
17454
|
+
jobId: jobId,
|
|
17455
|
+
taskId: taskId,
|
|
17423
17456
|
needImmediateResponse: needImmediateResponse,
|
|
17424
17457
|
manualReviewRequired: manualReviewRequired,
|
|
17425
17458
|
idBackImageRequired: idBackImageRequired,
|
|
@@ -17477,6 +17510,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
17477
17510
|
submissionUrl = _a.submissionUrl,
|
|
17478
17511
|
documentServiceUrl = _a.documentServiceUrl,
|
|
17479
17512
|
companyId = _a.companyId,
|
|
17513
|
+
jobId = _a.jobId,
|
|
17514
|
+
taskId = _a.taskId,
|
|
17480
17515
|
needImmediateResponse = _a.needImmediateResponse,
|
|
17481
17516
|
deduplicationEnabled = _a.deduplicationEnabled,
|
|
17482
17517
|
deduplicationSynchronous = _a.deduplicationSynchronous,
|
|
@@ -17599,6 +17634,8 @@ var CustomerBiometricsEnrollment = function CustomerBiometricsEnrollment(_a) {
|
|
|
17599
17634
|
submissionUrl: submissionUrl,
|
|
17600
17635
|
documentServiceUrl: documentServiceUrl,
|
|
17601
17636
|
companyId: companyId,
|
|
17637
|
+
jobId: jobId,
|
|
17638
|
+
taskId: taskId,
|
|
17602
17639
|
enrollmentId: enrollmentId,
|
|
17603
17640
|
needImmediateResponse: needImmediateResponse,
|
|
17604
17641
|
deduplicationEnabled: deduplicationEnabled,
|