idmission-web-sdk 1.0.332 → 1.0.333

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.
@@ -50,7 +50,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
50
50
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
51
51
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
52
52
 
53
- var webSdkVersion = '1.0.332';
53
+ var webSdkVersion = '1.0.333';
54
54
 
55
55
  function getPlatform() {
56
56
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -15374,10 +15374,12 @@ var useVideoRecorder = function useVideoRecorder(camera) {
15374
15374
  mediaRecorder.current.start();
15375
15375
  }, [camera, stream]);
15376
15376
  var stopRecording = React.useCallback(function () {
15377
- var _a;
15377
+ var _a, _b;
15378
15378
  console.log('button_fail 1');
15379
15379
  console.log('button_fail', 'useVideoRecorder:stopRecording');
15380
- (_a = mediaRecorder.current) === null || _a === void 0 ? void 0 : _a.stop();
15380
+ console.log('button_fail', 'mediaRecorder:', mediaRecorder.current);
15381
+ console.log('button_fail', 'mediaRecorder:onstop:', (_a = mediaRecorder.current) === null || _a === void 0 ? void 0 : _a.onstop);
15382
+ (_b = mediaRecorder.current) === null || _b === void 0 ? void 0 : _b.stop();
15381
15383
  }, []);
15382
15384
  return {
15383
15385
  isRecording: isRecording,