idmission-web-sdk 2.1.13 → 2.1.14
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/CustomerIdAndBiometricsEnrollment.d.ts +1 -1
- package/dist/components/customer_flows/IdAndFaceValidation.d.ts +1 -1
- package/dist/components/customer_flows/IdValidation.d.ts +1 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +1 -1
- package/dist/sdk2.cjs.development.js +9 -9
- 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 +9 -9
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +9 -9
- 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
|
@@ -14,7 +14,7 @@ import LanguageDetector from 'i18next-browser-languagedetector';
|
|
|
14
14
|
import i18n from 'i18next';
|
|
15
15
|
import SignatureCanvas from 'react-signature-canvas';
|
|
16
16
|
|
|
17
|
-
var webSdkVersion = '2.1.
|
|
17
|
+
var webSdkVersion = '2.1.14';
|
|
18
18
|
|
|
19
19
|
function getPlatform() {
|
|
20
20
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -6334,7 +6334,7 @@ function IdCaptureGuides(_a) {
|
|
|
6334
6334
|
var _d = _a.guideType,
|
|
6335
6335
|
guideType = _d === void 0 ? 'fit' : _d,
|
|
6336
6336
|
_e = _a.portraitGuidesOnMobile,
|
|
6337
|
-
portraitGuidesOnMobile = _e === void 0 ?
|
|
6337
|
+
portraitGuidesOnMobile = _e === void 0 ? true : _e,
|
|
6338
6338
|
_f = _a.requestingFlip,
|
|
6339
6339
|
requestingFlip = _f === void 0 ? false : _f,
|
|
6340
6340
|
_g = _a.flipIdPromptAssets,
|
|
@@ -7293,7 +7293,7 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
7293
7293
|
_z = _a.guideType,
|
|
7294
7294
|
guideType = _z === void 0 ? 'fit' : _z,
|
|
7295
7295
|
_0 = _a.portraitGuidesOnMobile,
|
|
7296
|
-
portraitGuidesOnMobile = _0 === void 0 ?
|
|
7296
|
+
portraitGuidesOnMobile = _0 === void 0 ? true : _0,
|
|
7297
7297
|
_1 = _a.rotateLoadingOverlayImageWhenPortrait,
|
|
7298
7298
|
rotateLoadingOverlayImageWhenPortrait = _1 === void 0 ? true : _1,
|
|
7299
7299
|
_2 = _a.silentFallback,
|
|
@@ -8281,7 +8281,7 @@ var FaceLivenessCapture = function FaceLivenessCapture(_a) {
|
|
|
8281
8281
|
switch (_b.label) {
|
|
8282
8282
|
case 0:
|
|
8283
8283
|
_b.trys.push([0, 3,, 4]);
|
|
8284
|
-
imageUrl_1 = cropToShoulders(rawCanvas.current, cropCanvas.current, resizeCanvas.current, frame, face, 0.92,
|
|
8284
|
+
imageUrl_1 = cropToShoulders(rawCanvas.current, cropCanvas.current, resizeCanvas.current, frame, face, 0.92, 600);
|
|
8285
8285
|
setImageUrl(imageUrl_1);
|
|
8286
8286
|
_a = checkLiveness;
|
|
8287
8287
|
return [4 /*yield*/, dataUrlToBase64(imageUrl_1)];
|
|
@@ -11023,7 +11023,7 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
11023
11023
|
_q = _a.idCaptureGuideType,
|
|
11024
11024
|
idCaptureGuideType = _q === void 0 ? 'fit' : _q,
|
|
11025
11025
|
_r = _a.idCapturePortraitGuidesOnMobile,
|
|
11026
|
-
idCapturePortraitGuidesOnMobile = _r === void 0 ?
|
|
11026
|
+
idCapturePortraitGuidesOnMobile = _r === void 0 ? true : _r,
|
|
11027
11027
|
_s = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
11028
11028
|
idCaptureRotateLoadingOverlayImageWhenPortrait = _s === void 0 ? true : _s,
|
|
11029
11029
|
_t = _a.idCaptureModelLoadTimeoutMs,
|
|
@@ -11703,7 +11703,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
11703
11703
|
_h = _a.guideType,
|
|
11704
11704
|
guideType = _h === void 0 ? 'fit' : _h,
|
|
11705
11705
|
_j = _a.portraitGuidesOnMobile,
|
|
11706
|
-
portraitGuidesOnMobile = _j === void 0 ?
|
|
11706
|
+
portraitGuidesOnMobile = _j === void 0 ? true : _j,
|
|
11707
11707
|
_k = _a.rotateLoadingOverlayImageWhenPortrait,
|
|
11708
11708
|
rotateLoadingOverlayImageWhenPortrait = _k === void 0 ? true : _k,
|
|
11709
11709
|
_l = _a.modelLoadTimeoutMs,
|
|
@@ -12000,7 +12000,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
12000
12000
|
_j = _a.idCaptureGuideType,
|
|
12001
12001
|
idCaptureGuideType = _j === void 0 ? 'fit' : _j,
|
|
12002
12002
|
_k = _a.idCapturePortraitGuidesOnMobile,
|
|
12003
|
-
idCapturePortraitGuidesOnMobile = _k === void 0 ?
|
|
12003
|
+
idCapturePortraitGuidesOnMobile = _k === void 0 ? true : _k,
|
|
12004
12004
|
_l = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
12005
12005
|
idCaptureRotateLoadingOverlayImageWhenPortrait = _l === void 0 ? true : _l,
|
|
12006
12006
|
_m = _a.idCaptureModelLoadTimeoutMs,
|
|
@@ -12218,7 +12218,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
12218
12218
|
_j = _a.idCaptureGuideType,
|
|
12219
12219
|
idCaptureGuideType = _j === void 0 ? 'fit' : _j,
|
|
12220
12220
|
_k = _a.idCapturePortraitGuidesOnMobile,
|
|
12221
|
-
idCapturePortraitGuidesOnMobile = _k === void 0 ?
|
|
12221
|
+
idCapturePortraitGuidesOnMobile = _k === void 0 ? true : _k,
|
|
12222
12222
|
_l = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
12223
12223
|
idCaptureRotateLoadingOverlayImageWhenPortrait = _l === void 0 ? true : _l,
|
|
12224
12224
|
_m = _a.idCaptureModelLoadTimeoutMs,
|
|
@@ -13646,7 +13646,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
13646
13646
|
_l = _a.idCaptureGuideType,
|
|
13647
13647
|
idCaptureGuideType = _l === void 0 ? 'fit' : _l,
|
|
13648
13648
|
_m = _a.idCapturePortraitGuidesOnMobile,
|
|
13649
|
-
idCapturePortraitGuidesOnMobile = _m === void 0 ?
|
|
13649
|
+
idCapturePortraitGuidesOnMobile = _m === void 0 ? true : _m,
|
|
13650
13650
|
_o = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
13651
13651
|
idCaptureRotateLoadingOverlayImageWhenPortrait = _o === void 0 ? true : _o,
|
|
13652
13652
|
idCardForFaceMatch = _a.idCardForFaceMatch,
|