You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-visual-audio-recorder

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-visual-audio-recorder - npm Package Compare versions

Comparing version

to
1.3.1

2

package.json
{
"name": "react-visual-audio-recorder",
"version": "1.3.0",
"version": "1.3.1",
"private": false,

@@ -5,0 +5,0 @@ "scripts": {

@@ -46,2 +46,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const [startTime, setStartTime] = useState();
const [resetApiKey, setResetApi] = useState(Date.now());
function resetApi() {
setResetApi(Date.now);
}
const chunks = useRef([]);

@@ -87,3 +91,3 @@ let constraints = useMemo(() => ({

}
}), []);
}), [resetApiKey]);
function onHandleChunks(event) {

@@ -138,2 +142,3 @@ chunks.current.push(event.data);

}
resetApi();
}

@@ -140,0 +145,0 @@ function stopRecording() {