biometry-react-components 1.2.12 → 1.2.13

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.esm.js CHANGED
@@ -7903,6 +7903,8 @@ const VoiceRecorder = ({ rectWidth = 360, rectHeight, onCapture, className, styl
7903
7903
  setAudioBlob(null);
7904
7904
  setIsConfirming(false);
7905
7905
  setState('preparation');
7906
+ // Restart the stream for retake (yep.)
7907
+ requestPermissions();
7906
7908
  }
7907
7909
  };
7908
7910
  const handleDecline = () => {
package/dist/index.js CHANGED
@@ -7903,6 +7903,8 @@ const VoiceRecorder = ({ rectWidth = 360, rectHeight, onCapture, className, styl
7903
7903
  setAudioBlob(null);
7904
7904
  setIsConfirming(false);
7905
7905
  setState('preparation');
7906
+ // Restart the stream for retake (yep.)
7907
+ requestPermissions();
7906
7908
  }
7907
7909
  };
7908
7910
  const handleDecline = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biometry-react-components",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "type": "module",
5
5
  "description": "React UI component library for capturing high-quality biometric data (voice, face, documents, video) to facilitate integration with Biometry services",
6
6
  "main": "dist/index.js",