idmission-web-sdk 2.1.62 → 2.1.64
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/video_signature_capture/VideoSignatureCapture.d.ts +2 -0
- package/dist/sdk2.cjs.development.js +5 -2
- 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 +5 -2
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +5 -2
- 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
|
@@ -2,12 +2,14 @@ import React, { ComponentType } from 'react';
|
|
|
2
2
|
import { SignatureData } from '../signature_capture/data';
|
|
3
3
|
import { CustomerSuppliedVerbiage } from '../../lib/locales';
|
|
4
4
|
import { FaceCaptureGuideOverlayProps } from '../face_liveness/FaceCaptureGuideOverlay';
|
|
5
|
+
import { VideoSignatureGuidesClassNames } from './VideoSignatureGuides';
|
|
5
6
|
export type VideoSignatureCaptureClassNames = {
|
|
6
7
|
container?: string;
|
|
7
8
|
cameraFeed?: string;
|
|
8
9
|
guidanceMessageContainer?: string;
|
|
9
10
|
guidanceMessage?: string;
|
|
10
11
|
exitCaptureBtn?: string;
|
|
12
|
+
videoSignatureGuidesClassNames?: VideoSignatureGuidesClassNames;
|
|
11
13
|
};
|
|
12
14
|
export type VideoSignatureCaptureColors = {
|
|
13
15
|
guidanceMessageBackgroundColor?: string;
|
|
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
234
234
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var webSdkVersion = '2.1.
|
|
237
|
+
var webSdkVersion = '2.1.64';
|
|
238
238
|
|
|
239
239
|
function getPlatform() {
|
|
240
240
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -13401,6 +13401,7 @@ var VideoSignatureCapture = function VideoSignatureCapture(_a) {
|
|
|
13401
13401
|
"$background": colors.guidanceMessageBackgroundColor,
|
|
13402
13402
|
"$textColor": colors.guidanceMessageTextColor
|
|
13403
13403
|
}, verbiage.guidanceMessageText))), /*#__PURE__*/React__namespace.default.createElement(GuidesComponent, {
|
|
13404
|
+
classNames: classNames.videoSignatureGuidesClassNames,
|
|
13404
13405
|
status: "success"
|
|
13405
13406
|
}), debugMode && ( /*#__PURE__*/React__namespace.default.createElement(DebugStatsPane, null, "Video: ", (_c = cameraRef.current) === null || _c === void 0 ? void 0 : _c.width, "x", (_d = cameraRef.current) === null || _d === void 0 ? void 0 : _d.height)), /*#__PURE__*/React__namespace.default.createElement(ExitCaptureButton, {
|
|
13406
13407
|
onClick: onExit,
|
|
@@ -13594,10 +13595,11 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
|
|
|
13594
13595
|
var guidesComponent = React.useCallback(function (_a) {
|
|
13595
13596
|
var status = _a.status;
|
|
13596
13597
|
return /*#__PURE__*/React__namespace.default.createElement(VideoSignatureGuides, {
|
|
13598
|
+
classNames: classNames === null || classNames === void 0 ? void 0 : classNames.videoSignatureGuidesClassNames,
|
|
13597
13599
|
faceGuideStatus: status,
|
|
13598
13600
|
requestedAction: status === 'success' ? 'CAPTURE_SIGNATURE' : 'VERIFY_LIVENESS'
|
|
13599
13601
|
});
|
|
13600
|
-
}, []);
|
|
13602
|
+
}, [classNames === null || classNames === void 0 ? void 0 : classNames.videoSignatureGuidesClassNames]);
|
|
13601
13603
|
return /*#__PURE__*/React__namespace.default.createElement(VideoSignatureContextProvider, null, /*#__PURE__*/React__namespace.default.createElement(PageContainer, {
|
|
13602
13604
|
className: "flex ".concat((_b = classNames === null || classNames === void 0 ? void 0 : classNames.container) !== null && _b !== void 0 ? _b : '')
|
|
13603
13605
|
}, /*#__PURE__*/React__namespace.default.createElement(CameraVideoTag, {
|
|
@@ -13609,6 +13611,7 @@ var VideoSignatureWizard = function VideoSignatureWizard(_a) {
|
|
|
13609
13611
|
onSuccess: onFaceCaptureSuccess,
|
|
13610
13612
|
onExit: onExit,
|
|
13611
13613
|
guidesComponent: guidesComponent,
|
|
13614
|
+
requireVerticalFaceCentering: false,
|
|
13612
13615
|
classNames: classNames.faceLiveness,
|
|
13613
13616
|
colors: colors.faceLiveness,
|
|
13614
13617
|
verbiage: verbiage.faceLiveness,
|