pushfeedback 0.1.59 → 0.1.60

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.
@@ -132,7 +132,7 @@ const FeedbackButton = class {
132
132
  const body = {
133
133
  url: window.location.href,
134
134
  project: this.project,
135
- rating: this.rating || 0,
135
+ rating: this.rating || -1,
136
136
  ratingMode: this.ratingMode,
137
137
  message: "",
138
138
  session: localStorage.getItem('pushfeedback_sessionid') || '',
@@ -9168,7 +9168,7 @@ const FeedbackModal = class {
9168
9168
  this.encodedScreenshot = undefined;
9169
9169
  this.isPrivacyChecked = false;
9170
9170
  this.whitelabel = false;
9171
- this.selectedRating = 0;
9171
+ this.selectedRating = -1;
9172
9172
  this.overlayVisible = false;
9173
9173
  this.isAnimating = false;
9174
9174
  this.customFont = false;
@@ -122,7 +122,7 @@ export class FeedbackButton {
122
122
  const body = {
123
123
  url: window.location.href,
124
124
  project: this.project,
125
- rating: this.rating || 0,
125
+ rating: this.rating || -1,
126
126
  ratingMode: this.ratingMode,
127
127
  message: "",
128
128
  session: localStorage.getItem('pushfeedback_sessionid') || '',
@@ -201,7 +201,7 @@ export class FeedbackModal {
201
201
  this.encodedScreenshot = undefined;
202
202
  this.isPrivacyChecked = false;
203
203
  this.whitelabel = false;
204
- this.selectedRating = 0;
204
+ this.selectedRating = -1;
205
205
  this.overlayVisible = false;
206
206
  this.isAnimating = false;
207
207
  this.customFont = false;
@@ -131,7 +131,7 @@ const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
131
131
  const body = {
132
132
  url: window.location.href,
133
133
  project: this.project,
134
- rating: this.rating || 0,
134
+ rating: this.rating || -1,
135
135
  ratingMode: this.ratingMode,
136
136
  message: "",
137
137
  session: localStorage.getItem('pushfeedback_sessionid') || '',
@@ -8998,7 +8998,7 @@ const FeedbackModal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
8998
8998
  this.encodedScreenshot = undefined;
8999
8999
  this.isPrivacyChecked = false;
9000
9000
  this.whitelabel = false;
9001
- this.selectedRating = 0;
9001
+ this.selectedRating = -1;
9002
9002
  this.overlayVisible = false;
9003
9003
  this.isAnimating = false;
9004
9004
  this.customFont = false;
@@ -128,7 +128,7 @@ const FeedbackButton = class {
128
128
  const body = {
129
129
  url: window.location.href,
130
130
  project: this.project,
131
- rating: this.rating || 0,
131
+ rating: this.rating || -1,
132
132
  ratingMode: this.ratingMode,
133
133
  message: "",
134
134
  session: localStorage.getItem('pushfeedback_sessionid') || '',
@@ -9164,7 +9164,7 @@ const FeedbackModal = class {
9164
9164
  this.encodedScreenshot = undefined;
9165
9165
  this.isPrivacyChecked = false;
9166
9166
  this.whitelabel = false;
9167
- this.selectedRating = 0;
9167
+ this.selectedRating = -1;
9168
9168
  this.overlayVisible = false;
9169
9169
  this.isAnimating = false;
9170
9170
  this.customFont = false;