@satek-team-intern/chatbot-widget 0.10.4 → 0.10.5

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.
@@ -417,7 +417,7 @@ var D = "\n #chat-internal-root{z-index:99999;pointer-events:none;font-family
417
417
  return this.chatSDK ? this.chatSDK.getAuth() : null;
418
418
  }
419
419
  clearAuth() {
420
- if (this.chatSDK) return this.chatSDK.clearAuth();
420
+ this.chatSDK &&= (this.chatSDK.clearAuth(), null);
421
421
  }
422
422
  async setReceiver(e) {
423
423
  return this.chatSDK ? this.chatSDK.setReceiver(e) : {
@@ -1005,11 +1005,7 @@ var Ue = x([ze], (e) => {
1005
1005
  G.removeEventListener(e, t);
1006
1006
  }), console.warn("Chat event listeners removed"), r(pe()), G.clearAuth(), console.warn("Clear auth");
1007
1007
  };
1008
- }, [
1009
- a?.id,
1010
- n,
1011
- r
1012
- ]);
1008
+ }, [a?.id, r]);
1013
1009
  }, Ge = t(void 0), Ke = ({ children: e }) => {
1014
1010
  let [t, n] = p(!1), [r, i] = p([]), [o, s] = p(0), c = {
1015
1011
  isOpen: t,