idmission-web-sdk 0.0.2 → 0.0.4
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/index.d.ts +1 -0
- package/dist/sdk2.cjs.development.js +7 -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 +7 -4
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +7 -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/package.json +1 -1
package/dist/sdk2.esm.js
CHANGED
|
@@ -10506,8 +10506,10 @@ var useHighestResCaptureDevice = function useHighestResCaptureDevice(_a) {
|
|
|
10506
10506
|
return [3, 4];
|
|
10507
10507
|
case 3:
|
|
10508
10508
|
e_1 = _a.sent();
|
|
10509
|
-
|
|
10510
|
-
|
|
10509
|
+
if (e_1.name === 'NotAllowedError') {
|
|
10510
|
+
console.error('caught the block!!', e_1);
|
|
10511
|
+
setCameraAccessDenied(true);
|
|
10512
|
+
}
|
|
10511
10513
|
return [2];
|
|
10512
10514
|
case 4:
|
|
10513
10515
|
return [4, navigator.mediaDevices.enumerateDevices()];
|
|
@@ -11769,7 +11771,7 @@ var IdValidation = function IdValidation(_a) {
|
|
|
11769
11771
|
geolocationRequired = _r === void 0 ? false : _r,
|
|
11770
11772
|
_s = _a.debugMode,
|
|
11771
11773
|
debugMode = _s === void 0 ? false : _s;
|
|
11772
|
-
useLanguage(lang);
|
|
11774
|
+
useLanguage(lang !== null && lang !== void 0 ? lang : 'auto');
|
|
11773
11775
|
var idCaptureProps = useMemo(function () {
|
|
11774
11776
|
return {
|
|
11775
11777
|
documentDetectionNonMaxSuppressionEnabled: documentDetectionNonMaxSuppressionEnabled,
|
|
@@ -13160,7 +13162,8 @@ globalThis.IDmissionSDK = {
|
|
|
13160
13162
|
renderCustomerVerification: renderCustomerVerification,
|
|
13161
13163
|
renderCustomerIdentification: renderCustomerIdentification,
|
|
13162
13164
|
renderSignatureKYC: renderSignatureKYC,
|
|
13163
|
-
preloadModels: preloadModels
|
|
13165
|
+
preloadModels: preloadModels,
|
|
13166
|
+
ready: true
|
|
13164
13167
|
};
|
|
13165
13168
|
|
|
13166
13169
|
export { CustomerBiometricsEnrollment, CustomerIdAndBiometricsEnrollment, CustomerIdentification, CustomerVerification, FaceValidation, IdAndFaceValidation, IdValidation, SignatureKYC, preloadModels, renderCustomerBiometricsEnrollment, renderCustomerIdAndBiometricsEnrollment, renderCustomerIdentification, renderCustomerVerification, renderFaceValidation, renderIdAndFaceValidation, renderIdValidation, renderSignatureKYC };
|