videomail-client 9.1.11 → 9.1.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "videomail-client",
3
- "version": "9.1.11",
3
+ "version": "9.1.12",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -17305,7 +17305,7 @@ function wrappy (fn, cb) {
17305
17305
  },{}],117:[function(_dereq_,module,exports){
17306
17306
  module.exports={
17307
17307
  "name": "videomail-client",
17308
- "version": "9.1.11",
17308
+ "version": "9.1.12",
17309
17309
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
17310
17310
  "keywords": [
17311
17311
  "webcam",
@@ -20238,11 +20238,15 @@ var Container = function Container(options) {
20238
20238
  valid = form.validate();
20239
20239
  if (valid) {
20240
20240
  if (!areVisualsHidden() && !visualsValid) {
20241
+ // TODO Improve this check to have this based on `key`
20241
20242
  if (submitted || buttonsAreReady() || this.isRecording() || this.isPaused() || this.isCountingDown()) {
20242
20243
  valid = false;
20243
20244
  }
20244
20245
  if (!valid) {
20245
20246
  whyInvalid = "Don't forget to record a video 😉";
20247
+ invalidData = {
20248
+ key: undefined
20249
+ };
20246
20250
  }
20247
20251
  }
20248
20252
  } else {