idmission-web-sdk 2.2.67 → 2.2.69
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_id/IdVideoCaptureSuccess.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +6 -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 +6 -2
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +6 -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 +3 -3
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.69';
|
|
207
207
|
|
|
208
208
|
function getPlatform() {
|
|
209
209
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -12497,6 +12497,7 @@ var IdVideoCaptureSuccess = function IdVideoCaptureSuccess(_a) {
|
|
|
12497
12497
|
idFrontText: 'ID Front Image',
|
|
12498
12498
|
idBackText: 'ID Back Image'
|
|
12499
12499
|
});
|
|
12500
|
+
var requestCameraAccess = useCameraStore().requestCameraAccess;
|
|
12500
12501
|
return /*#__PURE__*/React__default.createElement(OverlayContainer, {
|
|
12501
12502
|
className: classNames.container
|
|
12502
12503
|
}, /*#__PURE__*/React__default.createElement(OverlayInner$2, {
|
|
@@ -12577,7 +12578,10 @@ var IdVideoCaptureSuccess = function IdVideoCaptureSuccess(_a) {
|
|
|
12577
12578
|
}, /*#__PURE__*/React__default.createElement(LoaderButton, {
|
|
12578
12579
|
variant: "warning",
|
|
12579
12580
|
className: classNames.retryBtn,
|
|
12580
|
-
onClick:
|
|
12581
|
+
onClick: function onClick() {
|
|
12582
|
+
void requestCameraAccess();
|
|
12583
|
+
return onRetryClick === null || onRetryClick === void 0 ? void 0 : onRetryClick();
|
|
12584
|
+
},
|
|
12581
12585
|
colors: colors.retryBtn,
|
|
12582
12586
|
finished: true
|
|
12583
12587
|
}, verbiage.retryBtnText), /*#__PURE__*/React__default.createElement(LoaderButton, {
|