@edusight/notification-widget 1.0.16 → 1.0.18

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/index.esm.js CHANGED
@@ -685,13 +685,15 @@ function Io(e) {
685
685
  return;
686
686
  window.localStorage.setItem(Po, JSON.stringify(e));
687
687
  } catch {
688
+ console.log("[WebSocketService] Error persisting context");
688
689
  }
689
690
  }
690
691
  class No {
691
692
  constructor(t) {
692
693
  this.listeners = /* @__PURE__ */ new Map();
693
694
  const r = {
694
- wsUrl: t.client.getWebSocketUrl(),
695
+ apiHost: t.client.getApiHost(),
696
+ apiVersion: t.client.getApiVersion(),
695
697
  tenantId: t.tenantId,
696
698
  subscriberId: t.subscriberId,
697
699
  environmentId: t.environmentId,