@product7/product7-js 0.5.9 → 0.6.0

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.
@@ -8256,7 +8256,7 @@
8256
8256
  const wsProtocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
8257
8257
  let wsURL = this.baseURL.replace(/^https?:/, wsProtocol);
8258
8258
  wsURL = wsURL.replace('/api/v1', '');
8259
- wsURL = `${wsURL}/api/v1/widget/liveChat/ws?token=${encodeURIComponent(this.sessionToken)}`;
8259
+ wsURL = `${wsURL}/api/v1/widget/livechat/ws?token=${encodeURIComponent(this.sessionToken)}`;
8260
8260
 
8261
8261
  try {
8262
8262
  this.ws = new WebSocket(wsURL);