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
|
@@ -104,7 +104,7 @@ export interface CustomerEnrollmentProps extends PropsWithChildren {
|
|
|
104
104
|
idCaptureInstructions?: ReactNode;
|
|
105
105
|
/** String to indicate what type of guides to use during capture. Using `fit` is highly recommended in order to capture the best quality image. Valid values: `fit`, `overlay`. Defaults to `fit`. */
|
|
106
106
|
idCaptureGuideType?: IdCaptureGuideType;
|
|
107
|
-
/** Boolean to indicate whether guide images should be rotated on mobile. Defaults to `
|
|
107
|
+
/** Boolean to indicate whether guide images should be rotated on mobile. Defaults to `true`. */
|
|
108
108
|
idCapturePortraitGuidesOnMobile?: boolean;
|
|
109
109
|
/** Boolean to indicate whether loading overlay image should be rotated on when mobile guides are rotated. Defaults to `true`. */
|
|
110
110
|
idCaptureRotateLoadingOverlayImageWhenPortrait?: boolean;
|
|
@@ -101,7 +101,7 @@ export interface IdAndFaceValidationProps extends PropsWithChildren {
|
|
|
101
101
|
idCaptureInstructions?: ReactNode;
|
|
102
102
|
/** String to indicate what type of guides to use during capture. Using `fit` is highly recommended in order to capture the best quality image. Valid values: `fit`, `overlay`. Defaults to `fit`. */
|
|
103
103
|
idCaptureGuideType?: IdCaptureGuideType;
|
|
104
|
-
/** Boolean to indicate whether guide images should be rotated on mobile. Defaults to `
|
|
104
|
+
/** Boolean to indicate whether guide images should be rotated on mobile. Defaults to `true`. */
|
|
105
105
|
idCapturePortraitGuidesOnMobile?: boolean;
|
|
106
106
|
/** Boolean to indicate whether loading overlay image should be rotated on when mobile guides are rotated. Defaults to `true`. */
|
|
107
107
|
idCaptureRotateLoadingOverlayImageWhenPortrait?: boolean;
|
|
@@ -86,7 +86,7 @@ export interface IdValidationProps extends PropsWithChildren {
|
|
|
86
86
|
instructions?: ReactNode;
|
|
87
87
|
/** String to indicate what type of guides to use during capture. Using `fit` is highly recommended in order to capture the best quality image. Valid values: `fit`, `overlay`. Defaults to `fit`. */
|
|
88
88
|
guideType?: IdCaptureGuideType;
|
|
89
|
-
/** Boolean to indicate whether guide images should be rotated on mobile. Defaults to `
|
|
89
|
+
/** Boolean to indicate whether guide images should be rotated on mobile. Defaults to `true`. */
|
|
90
90
|
portraitGuidesOnMobile?: boolean;
|
|
91
91
|
/** Boolean to indicate whether loading overlay image should be rotated on when mobile guides are rotated. Defaults to `true`. */
|
|
92
92
|
rotateLoadingOverlayImageWhenPortrait?: boolean;
|
|
@@ -127,7 +127,7 @@ export interface VideoIdValidationProps extends PropsWithChildren {
|
|
|
127
127
|
idCaptureLoadingOverlayMode?: IdCaptureLoadingOverlayMode;
|
|
128
128
|
/** String to indicate what type of guides to use during capture. Using `fit` is highly recommended in order to capture the best quality image. Valid values: `fit`, `overlay`. Defaults to `fit`. */
|
|
129
129
|
idCaptureGuideType?: IdCaptureGuideType;
|
|
130
|
-
/** Boolean to indicate whether guide images should be rotated on mobile. Defaults to `
|
|
130
|
+
/** Boolean to indicate whether guide images should be rotated on mobile. Defaults to `true`. */
|
|
131
131
|
idCapturePortraitGuidesOnMobile?: boolean;
|
|
132
132
|
/** Boolean to indicate whether loading overlay image should be rotated on when mobile guides are rotated. Defaults to `true`. */
|
|
133
133
|
idCaptureRotateLoadingOverlayImageWhenPortrait?: boolean;
|
|
@@ -49,7 +49,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
|
|
|
49
49
|
var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
|
|
50
50
|
var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
|
|
51
51
|
|
|
52
|
-
var webSdkVersion = '2.1.
|
|
52
|
+
var webSdkVersion = '2.1.14';
|
|
53
53
|
|
|
54
54
|
function getPlatform() {
|
|
55
55
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -6369,7 +6369,7 @@ function IdCaptureGuides(_a) {
|
|
|
6369
6369
|
var _d = _a.guideType,
|
|
6370
6370
|
guideType = _d === void 0 ? 'fit' : _d,
|
|
6371
6371
|
_e = _a.portraitGuidesOnMobile,
|
|
6372
|
-
portraitGuidesOnMobile = _e === void 0 ?
|
|
6372
|
+
portraitGuidesOnMobile = _e === void 0 ? true : _e,
|
|
6373
6373
|
_f = _a.requestingFlip,
|
|
6374
6374
|
requestingFlip = _f === void 0 ? false : _f,
|
|
6375
6375
|
_g = _a.flipIdPromptAssets,
|
|
@@ -7328,7 +7328,7 @@ var IdCaptureWizard = function IdCaptureWizard(_a) {
|
|
|
7328
7328
|
_z = _a.guideType,
|
|
7329
7329
|
guideType = _z === void 0 ? 'fit' : _z,
|
|
7330
7330
|
_0 = _a.portraitGuidesOnMobile,
|
|
7331
|
-
portraitGuidesOnMobile = _0 === void 0 ?
|
|
7331
|
+
portraitGuidesOnMobile = _0 === void 0 ? true : _0,
|
|
7332
7332
|
_1 = _a.rotateLoadingOverlayImageWhenPortrait,
|
|
7333
7333
|
rotateLoadingOverlayImageWhenPortrait = _1 === void 0 ? true : _1,
|
|
7334
7334
|
_2 = _a.silentFallback,
|
|
@@ -8316,7 +8316,7 @@ var FaceLivenessCapture = function FaceLivenessCapture(_a) {
|
|
|
8316
8316
|
switch (_b.label) {
|
|
8317
8317
|
case 0:
|
|
8318
8318
|
_b.trys.push([0, 3,, 4]);
|
|
8319
|
-
imageUrl_1 = cropToShoulders(rawCanvas.current, cropCanvas.current, resizeCanvas.current, frame, face, 0.92,
|
|
8319
|
+
imageUrl_1 = cropToShoulders(rawCanvas.current, cropCanvas.current, resizeCanvas.current, frame, face, 0.92, 600);
|
|
8320
8320
|
setImageUrl(imageUrl_1);
|
|
8321
8321
|
_a = checkLiveness;
|
|
8322
8322
|
return [4 /*yield*/, dataUrlToBase64(imageUrl_1)];
|
|
@@ -11058,7 +11058,7 @@ var VideoIdWizard = function VideoIdWizard(_a) {
|
|
|
11058
11058
|
_q = _a.idCaptureGuideType,
|
|
11059
11059
|
idCaptureGuideType = _q === void 0 ? 'fit' : _q,
|
|
11060
11060
|
_r = _a.idCapturePortraitGuidesOnMobile,
|
|
11061
|
-
idCapturePortraitGuidesOnMobile = _r === void 0 ?
|
|
11061
|
+
idCapturePortraitGuidesOnMobile = _r === void 0 ? true : _r,
|
|
11062
11062
|
_s = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
11063
11063
|
idCaptureRotateLoadingOverlayImageWhenPortrait = _s === void 0 ? true : _s,
|
|
11064
11064
|
_t = _a.idCaptureModelLoadTimeoutMs,
|
|
@@ -11738,7 +11738,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
11738
11738
|
_h = _a.guideType,
|
|
11739
11739
|
guideType = _h === void 0 ? 'fit' : _h,
|
|
11740
11740
|
_j = _a.portraitGuidesOnMobile,
|
|
11741
|
-
portraitGuidesOnMobile = _j === void 0 ?
|
|
11741
|
+
portraitGuidesOnMobile = _j === void 0 ? true : _j,
|
|
11742
11742
|
_k = _a.rotateLoadingOverlayImageWhenPortrait,
|
|
11743
11743
|
rotateLoadingOverlayImageWhenPortrait = _k === void 0 ? true : _k,
|
|
11744
11744
|
_l = _a.modelLoadTimeoutMs,
|
|
@@ -12035,7 +12035,7 @@ var IdAndFaceValidation = function IdAndFaceValidation(_a) {
|
|
|
12035
12035
|
_j = _a.idCaptureGuideType,
|
|
12036
12036
|
idCaptureGuideType = _j === void 0 ? 'fit' : _j,
|
|
12037
12037
|
_k = _a.idCapturePortraitGuidesOnMobile,
|
|
12038
|
-
idCapturePortraitGuidesOnMobile = _k === void 0 ?
|
|
12038
|
+
idCapturePortraitGuidesOnMobile = _k === void 0 ? true : _k,
|
|
12039
12039
|
_l = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
12040
12040
|
idCaptureRotateLoadingOverlayImageWhenPortrait = _l === void 0 ? true : _l,
|
|
12041
12041
|
_m = _a.idCaptureModelLoadTimeoutMs,
|
|
@@ -12253,7 +12253,7 @@ var CustomerIdAndBiometricsEnrollment = function CustomerIdAndBiometricsEnrollme
|
|
|
12253
12253
|
_j = _a.idCaptureGuideType,
|
|
12254
12254
|
idCaptureGuideType = _j === void 0 ? 'fit' : _j,
|
|
12255
12255
|
_k = _a.idCapturePortraitGuidesOnMobile,
|
|
12256
|
-
idCapturePortraitGuidesOnMobile = _k === void 0 ?
|
|
12256
|
+
idCapturePortraitGuidesOnMobile = _k === void 0 ? true : _k,
|
|
12257
12257
|
_l = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
12258
12258
|
idCaptureRotateLoadingOverlayImageWhenPortrait = _l === void 0 ? true : _l,
|
|
12259
12259
|
_m = _a.idCaptureModelLoadTimeoutMs,
|
|
@@ -13681,7 +13681,7 @@ var VideoIdValidation = function VideoIdValidation(_a) {
|
|
|
13681
13681
|
_l = _a.idCaptureGuideType,
|
|
13682
13682
|
idCaptureGuideType = _l === void 0 ? 'fit' : _l,
|
|
13683
13683
|
_m = _a.idCapturePortraitGuidesOnMobile,
|
|
13684
|
-
idCapturePortraitGuidesOnMobile = _m === void 0 ?
|
|
13684
|
+
idCapturePortraitGuidesOnMobile = _m === void 0 ? true : _m,
|
|
13685
13685
|
_o = _a.idCaptureRotateLoadingOverlayImageWhenPortrait,
|
|
13686
13686
|
idCaptureRotateLoadingOverlayImageWhenPortrait = _o === void 0 ? true : _o,
|
|
13687
13687
|
idCardForFaceMatch = _a.idCardForFaceMatch,
|