idmission-web-sdk 2.2.99 → 2.2.100
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/id_capture/IdCapture.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureLoadingOverlayDefault.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureStateProvider.d.ts +2 -0
- package/dist/components/id_capture/IdCaptureStateProvider.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +13 -4
- 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 +13 -4
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +13 -4
- 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/dist/version.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.2.
|
|
214
|
+
var webSdkVersion = '2.2.100';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -10816,6 +10816,11 @@
|
|
|
10816
10816
|
frameCaptureRate: frameCaptureRate
|
|
10817
10817
|
});
|
|
10818
10818
|
}
|
|
10819
|
+
case 'captureInitialized':
|
|
10820
|
+
return _assign(_assign({}, state), {
|
|
10821
|
+
captureState: 'capturing',
|
|
10822
|
+
isUploadingDocumentsFromStorage: false
|
|
10823
|
+
});
|
|
10819
10824
|
case 'captureStarted':
|
|
10820
10825
|
return _assign(_assign({}, state), {
|
|
10821
10826
|
captureStartedAt: new Date(),
|
|
@@ -15069,6 +15074,11 @@
|
|
|
15069
15074
|
detectionTime = _u.detectionTime,
|
|
15070
15075
|
focusPredictionTime = _u.focusPredictionTime,
|
|
15071
15076
|
getBestFrame = _u.getBestFrame;
|
|
15077
|
+
React.useEffect(function () {
|
|
15078
|
+
return dispatch({
|
|
15079
|
+
type: 'captureInitialized'
|
|
15080
|
+
});
|
|
15081
|
+
}, [dispatch]);
|
|
15072
15082
|
React.useEffect(function () {
|
|
15073
15083
|
setThresholds(thresholds);
|
|
15074
15084
|
}, [thresholds, setThresholds]);
|
|
@@ -15860,9 +15870,8 @@
|
|
|
15860
15870
|
setDismissed = _q[1];
|
|
15861
15871
|
var dispatch = useIdCaptureState()[1];
|
|
15862
15872
|
React.useEffect(function () {
|
|
15863
|
-
dispatch({
|
|
15864
|
-
type: '
|
|
15865
|
-
payload: false
|
|
15873
|
+
return dispatch({
|
|
15874
|
+
type: 'captureInitialized'
|
|
15866
15875
|
});
|
|
15867
15876
|
}, [dispatch]);
|
|
15868
15877
|
assets.instructionImageUrl || (assets.instructionImageUrl = legacyInstructionImageUrl$1);
|