releasebird-javascript-sdk 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.
@@ -111,6 +111,9 @@ export default class RbirdSessionManager {
111
111
 
112
112
  logout() {
113
113
  window.localStorage.removeItem('rbird_state');
114
+ const i = this.generateRandomString();
115
+ window.localStorage.setItem('Rbird_I', i);
116
+ RbirdWebsiteWidget.getInstance().updateIframe(`${CONTENT_URL}/widget?apiKey=${RbirdSessionManager.getInstance().apiKey}&tab=HOME&people=null&hash=null&ai=${i}`);
114
117
  }
115
118
 
116
119
  identifyUser(identify, hash) {