videomail-client 9.1.3 → 9.1.4

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.3",
3
+ "version": "9.1.4",
4
4
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
5
5
  "keywords": [
6
6
  "webcam",
@@ -17273,7 +17273,7 @@ function wrappy (fn, cb) {
17273
17273
  },{}],114:[function(_dereq_,module,exports){
17274
17274
  module.exports={
17275
17275
  "name": "videomail-client",
17276
- "version": "9.1.3",
17276
+ "version": "9.1.4",
17277
17277
  "description": "A wicked npm package to record videos directly in the browser, wohooo!",
17278
17278
  "keywords": [
17279
17279
  "webcam",
@@ -20243,17 +20243,20 @@ var Container = function Container(options) {
20243
20243
  valid = false;
20244
20244
  }
20245
20245
  } else {
20246
- whyInvalid = "Please configure the form to have at least one recipient.";
20246
+ valid = false;
20247
20247
  }
20248
20248
  }
20249
20249
  } else if (ccIsConfigured) {
20250
20250
  if (!hasCc) {
20251
- if (bccIsConfigured) {
20252
- if (!hasBcc) {
20253
- valid = false;
20254
- }
20251
+ if (bccIsConfigured && !hasBcc) {
20252
+ valid = false;
20255
20253
  }
20256
20254
  }
20255
+ } else if (bccIsConfigured) {
20256
+ // Skip as it's hidden
20257
+ } else {
20258
+ whyInvalid = "Please configure the form to have at least one recipient.";
20259
+ valid = false;
20257
20260
  }
20258
20261
  if (!valid) {
20259
20262
  whyInvalid = "Please enter at least one recipient.";