@uppy/audio
Advanced tools
Comparing version 0.2.0 to 0.2.1
# @uppy/audio | ||
## 0.2.1 | ||
Released: 2021-12-09 | ||
Included in: Uppy v2.3.1 | ||
- @uppy/audio: showRecordingLength option was removed, always clearInterval (Artur Paikin / #3351) | ||
## 0.2.0 | ||
@@ -4,0 +11,0 @@ |
@@ -188,9 +188,6 @@ "use strict"; | ||
if (this.opts.showRecordingLength) { | ||
// Stop the recordingLengthTimer if we are showing the recording length. | ||
clearInterval(this.recordingLengthTimer); | ||
this.setPluginState({ | ||
recordingLengthSeconds: 0 | ||
}); | ||
} | ||
clearInterval(this.recordingLengthTimer); | ||
this.setPluginState({ | ||
recordingLengthSeconds: 0 | ||
}); | ||
}); | ||
@@ -266,5 +263,3 @@ return stopped.then(() => { | ||
if (this.opts.showRecordingLength) { | ||
clearInterval(this.recordingLengthTimer); | ||
} | ||
clearInterval(this.recordingLengthTimer); | ||
}); | ||
@@ -425,3 +420,3 @@ } | ||
}), _class.VERSION = "0.2.0", _temp); | ||
}), _class.VERSION = "0.2.1", _temp); | ||
@@ -428,0 +423,0 @@ function _hasAudioCheck2() { |
{ | ||
"name": "@uppy/audio", | ||
"description": "Uppy plugin that records audio using the device’s microphone.", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "MIT", | ||
@@ -32,3 +32,3 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"@uppy/core": "^2.1.3" | ||
"@uppy/core": "^2.1.4" | ||
}, | ||
@@ -35,0 +35,0 @@ "publishConfig": { |
@@ -169,7 +169,4 @@ const { h } = require('preact') | ||
if (this.opts.showRecordingLength) { | ||
// Stop the recordingLengthTimer if we are showing the recording length. | ||
clearInterval(this.recordingLengthTimer) | ||
this.setPluginState({ recordingLengthSeconds: 0 }) | ||
} | ||
clearInterval(this.recordingLengthTimer) | ||
this.setPluginState({ recordingLengthSeconds: 0 }) | ||
}) | ||
@@ -234,5 +231,3 @@ | ||
if (this.opts.showRecordingLength) { | ||
clearInterval(this.recordingLengthTimer) | ||
} | ||
clearInterval(this.recordingLengthTimer) | ||
}) | ||
@@ -239,0 +234,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119873
1690