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.
@@ -140,7 +140,7 @@
140
140
  return cooked;
141
141
  }
142
142
 
143
- var webSdkVersion = '2.1.13';
143
+ var webSdkVersion = '2.1.14';
144
144
 
145
145
  function getPlatform() {
146
146
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -9607,7 +9607,7 @@
9607
9607
  var _d = _a.guideType,
9608
9608
  guideType = _d === void 0 ? 'fit' : _d,
9609
9609
  _e = _a.portraitGuidesOnMobile,
9610
- portraitGuidesOnMobile = _e === void 0 ? false : _e,
9610
+ portraitGuidesOnMobile = _e === void 0 ? true : _e,
9611
9611
  _f = _a.requestingFlip,
9612
9612
  requestingFlip = _f === void 0 ? false : _f,
9613
9613
  _g = _a.flipIdPromptAssets,
@@ -10566,7 +10566,7 @@
10566
10566
  _z = _a.guideType,
10567
10567
  guideType = _z === void 0 ? 'fit' : _z,
10568
10568
  _0 = _a.portraitGuidesOnMobile,
10569
- portraitGuidesOnMobile = _0 === void 0 ? false : _0,
10569
+ portraitGuidesOnMobile = _0 === void 0 ? true : _0,
10570
10570
  _1 = _a.rotateLoadingOverlayImageWhenPortrait,
10571
10571
  rotateLoadingOverlayImageWhenPortrait = _1 === void 0 ? true : _1,
10572
10572
  _2 = _a.silentFallback,
@@ -11554,7 +11554,7 @@
11554
11554
  switch (_b.label) {
11555
11555
  case 0:
11556
11556
  _b.trys.push([0, 3,, 4]);
11557
- imageUrl_1 = cropToShoulders(rawCanvas.current, cropCanvas.current, resizeCanvas.current, frame, face, 0.92, 500);
11557
+ imageUrl_1 = cropToShoulders(rawCanvas.current, cropCanvas.current, resizeCanvas.current, frame, face, 0.92, 600);
11558
11558
  setImageUrl(imageUrl_1);
11559
11559
  _a = checkLiveness;
11560
11560
  return [4 /*yield*/, dataUrlToBase64(imageUrl_1)];
@@ -14916,7 +14916,7 @@
14916
14916
  _q = _a.idCaptureGuideType,
14917
14917
  idCaptureGuideType = _q === void 0 ? 'fit' : _q,
14918
14918
  _r = _a.idCapturePortraitGuidesOnMobile,
14919
- idCapturePortraitGuidesOnMobile = _r === void 0 ? false : _r,
14919
+ idCapturePortraitGuidesOnMobile = _r === void 0 ? true : _r,
14920
14920
  _s = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
14921
14921
  idCaptureRotateLoadingOverlayImageWhenPortrait = _s === void 0 ? true : _s,
14922
14922
  _t = _a.idCaptureModelLoadTimeoutMs,
@@ -15596,7 +15596,7 @@
15596
15596
  _h = _a.guideType,
15597
15597
  guideType = _h === void 0 ? 'fit' : _h,
15598
15598
  _j = _a.portraitGuidesOnMobile,
15599
- portraitGuidesOnMobile = _j === void 0 ? false : _j,
15599
+ portraitGuidesOnMobile = _j === void 0 ? true : _j,
15600
15600
  _k = _a.rotateLoadingOverlayImageWhenPortrait,
15601
15601
  rotateLoadingOverlayImageWhenPortrait = _k === void 0 ? true : _k,
15602
15602
  _l = _a.modelLoadTimeoutMs,
@@ -15893,7 +15893,7 @@
15893
15893
  _j = _a.idCaptureGuideType,
15894
15894
  idCaptureGuideType = _j === void 0 ? 'fit' : _j,
15895
15895
  _k = _a.idCapturePortraitGuidesOnMobile,
15896
- idCapturePortraitGuidesOnMobile = _k === void 0 ? false : _k,
15896
+ idCapturePortraitGuidesOnMobile = _k === void 0 ? true : _k,
15897
15897
  _l = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
15898
15898
  idCaptureRotateLoadingOverlayImageWhenPortrait = _l === void 0 ? true : _l,
15899
15899
  _m = _a.idCaptureModelLoadTimeoutMs,
@@ -16111,7 +16111,7 @@
16111
16111
  _j = _a.idCaptureGuideType,
16112
16112
  idCaptureGuideType = _j === void 0 ? 'fit' : _j,
16113
16113
  _k = _a.idCapturePortraitGuidesOnMobile,
16114
- idCapturePortraitGuidesOnMobile = _k === void 0 ? false : _k,
16114
+ idCapturePortraitGuidesOnMobile = _k === void 0 ? true : _k,
16115
16115
  _l = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
16116
16116
  idCaptureRotateLoadingOverlayImageWhenPortrait = _l === void 0 ? true : _l,
16117
16117
  _m = _a.idCaptureModelLoadTimeoutMs,
@@ -17539,7 +17539,7 @@
17539
17539
  _l = _a.idCaptureGuideType,
17540
17540
  idCaptureGuideType = _l === void 0 ? 'fit' : _l,
17541
17541
  _m = _a.idCapturePortraitGuidesOnMobile,
17542
- idCapturePortraitGuidesOnMobile = _m === void 0 ? false : _m,
17542
+ idCapturePortraitGuidesOnMobile = _m === void 0 ? true : _m,
17543
17543
  _o = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
17544
17544
  idCaptureRotateLoadingOverlayImageWhenPortrait = _o === void 0 ? true : _o,
17545
17545
  idCardForFaceMatch = _a.idCardForFaceMatch,