idmission-web-sdk 2.2.98 → 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 +17 -1
- 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 +17 -1
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +17 -1
- 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]);
|
|
@@ -15858,6 +15868,12 @@
|
|
|
15858
15868
|
var _q = React.useState(false),
|
|
15859
15869
|
dismissed = _q[0],
|
|
15860
15870
|
setDismissed = _q[1];
|
|
15871
|
+
var dispatch = useIdCaptureState()[1];
|
|
15872
|
+
React.useEffect(function () {
|
|
15873
|
+
return dispatch({
|
|
15874
|
+
type: 'captureInitialized'
|
|
15875
|
+
});
|
|
15876
|
+
}, [dispatch]);
|
|
15861
15877
|
assets.instructionImageUrl || (assets.instructionImageUrl = legacyInstructionImageUrl$1);
|
|
15862
15878
|
var verbiage = useTranslations(rawVerbiage, {
|
|
15863
15879
|
headingText: 'Use your device camera to capture your ID',
|