@usero/sdk 1.1.5 → 1.1.6

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