@usero/sdk 1.1.5 → 1.1.7

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/react.js CHANGED
@@ -1136,7 +1136,7 @@ function initUseroFeedbackWidget(props) {
1136
1136
  const feedbackData = {
1137
1137
  rating: selectedRating,
1138
1138
  comment: comment.trim() || void 0,
1139
- userEmail: shareEmail ? userEmail : void 0,
1139
+ userEmail: shareEmail && userEmail.trim() ? userEmail.trim() : void 0,
1140
1140
  screenshots: screenshots.length > 0 ? screenshots : void 0,
1141
1141
  metadata: {
1142
1142
  pageUrl: window.location.href,