idmission-web-sdk 2.2.94 → 2.2.95
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/CompositeWizard.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +4 -3
- 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 +4 -3
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +4 -3
- 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.95';
|
|
207
207
|
|
|
208
208
|
function getPlatform() {
|
|
209
209
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -14517,15 +14517,16 @@ function CompositeWizard(_a) {
|
|
|
14517
14517
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
14518
14518
|
}
|
|
14519
14519
|
}
|
|
14520
|
+
var shouldLoadIdCaptureModels = !(idCaptureProps === null || idCaptureProps === void 0 ? void 0 : idCaptureProps.forceFallbackMode) && !(idCaptureProps === null || idCaptureProps === void 0 ? void 0 : idCaptureProps.allowUploadingDocumentsFromStorage);
|
|
14520
14521
|
switch (checks[checkIndex]) {
|
|
14521
14522
|
case 'IdCapture':
|
|
14522
14523
|
return /*#__PURE__*/React__default.createElement(CameraStoreProvider, {
|
|
14523
14524
|
onCameraAccessDenied: onCameraAccessDenied,
|
|
14524
14525
|
onMicrophoneAccessDenied: onMicrophoneAccessDenied,
|
|
14525
|
-
requestAccessAutomatically:
|
|
14526
|
+
requestAccessAutomatically: shouldLoadIdCaptureModels
|
|
14526
14527
|
}, /*#__PURE__*/React__default.createElement(IdCaptureModelsProvider, {
|
|
14527
14528
|
autoStart: false,
|
|
14528
|
-
shouldLoadModels:
|
|
14529
|
+
shouldLoadModels: shouldLoadIdCaptureModels,
|
|
14529
14530
|
documentDetectionModelUrl: (_d = (_c = idCaptureProps.assets) === null || _c === void 0 ? void 0 : _c.documentDetectionModelUrl) !== null && _d !== void 0 ? _d : '',
|
|
14530
14531
|
focusModelUrl: (_f = (_e = idCaptureProps.assets) === null || _e === void 0 ? void 0 : _e.focusModelUrl) !== null && _f !== void 0 ? _f : '',
|
|
14531
14532
|
onModelError: idCaptureProps.onModelError,
|