@product7/feedback-sdk 1.6.3 → 1.6.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.
@@ -3455,6 +3455,7 @@
3455
3455
 
3456
3456
  this.teamName = options.teamName || 'Support';
3457
3457
  this.teamAvatars = options.teamAvatars || [];
3458
+ this.greetingMessage = options.greetingMessage || 'Hi there 👋';
3458
3459
  this.welcomeMessage = options.welcomeMessage || 'How can we help?';
3459
3460
 
3460
3461
  this.userContext = options.userContext || null;
@@ -5392,7 +5393,7 @@
5392
5393
  </button>
5393
5394
  </div>
5394
5395
  <div class="messenger-home-welcome">
5395
- <span class="messenger-home-greeting">Hi there 👋</span>
5396
+ <span class="messenger-home-greeting">${this.state.greetingMessage}</span>
5396
5397
  <span class="messenger-home-question">${this.state.welcomeMessage}</span>
5397
5398
  </div>
5398
5399
  </div>
@@ -5903,6 +5904,7 @@
5903
5904
  logoUrl: options.logoUrl || 'https://product7.io/p7logo.svg',
5904
5905
  teamName: options.teamName || 'Support',
5905
5906
  teamAvatars: options.teamAvatars || [],
5907
+ greetingMessage: options.greetingMessage || 'Hi there 👋',
5906
5908
  welcomeMessage: options.welcomeMessage || 'How can we help?',
5907
5909
  enableHelp: options.enableHelp !== false,
5908
5910
  enableChangelog: options.enableChangelog !== false,
@@ -5920,6 +5922,7 @@
5920
5922
  this.messengerState = new MessengerState({
5921
5923
  teamName: this.messengerOptions.teamName,
5922
5924
  teamAvatars: this.messengerOptions.teamAvatars,
5925
+ greetingMessage: this.messengerOptions.greetingMessage,
5923
5926
  welcomeMessage: this.messengerOptions.welcomeMessage,
5924
5927
  enableHelp: this.messengerOptions.enableHelp,
5925
5928
  enableChangelog: this.messengerOptions.enableChangelog,