@product7/feedback-sdk 1.5.3 → 1.5.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": "@product7/feedback-sdk",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "JavaScript SDK for integrating Product7 feedback widgets into any website",
5
5
  "main": "dist/feedback-sdk.js",
6
6
  "module": "src/index.js",
@@ -273,7 +273,13 @@ export class SurveyWidget extends BaseWidget {
273
273
  }
274
274
 
275
275
  if (ratingType === 'emoji' && scale === 5) {
276
- const emojis = [':(', ':/', ':|', ':)', ':D'];
276
+ const emojis = [
277
+ '\uD83D\uDE1E',
278
+ '\uD83D\uDE15',
279
+ '\uD83D\uDE10',
280
+ '\uD83D\uDE42',
281
+ '\uD83D\uDE04',
282
+ ];
277
283
  return `
278
284
  <div class="feedback-survey-csat" data-page-id="${pageId}">
279
285
  ${emojis