@livechat/accounts-sdk 2.0.6-beta.6 → 2.0.6-beta.8

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.
@@ -2209,8 +2209,8 @@
2209
2209
  }, {
2210
2210
  key: "get",
2211
2211
  value: function get(state) {
2212
- var data = this.storage.getItem(this.options.namespace + state); // this.clear(state);
2213
-
2212
+ var data = this.storage.getItem(this.options.namespace + state);
2213
+ this.clear(state);
2214
2214
  return data || {};
2215
2215
  }
2216
2216
  }, {
@@ -2257,8 +2257,6 @@
2257
2257
 
2258
2258
  var hashParams = _objectSpread2(_objectSpread2({}, (_redirectUriParams$ha = redirectUriParams.hash_params) !== null && _redirectUriParams$ha !== void 0 ? _redirectUriParams$ha : {}), lib.parse(window.location.hash.substring(1)));
2259
2259
 
2260
- console.log('queryParams: ', queryParams);
2261
- console.log('hashParams: ', hashParams);
2262
2260
  var uri = window.location.origin + window.location.pathname;
2263
2261
 
2264
2262
  if (queryParams) {
@@ -2269,7 +2267,6 @@
2269
2267
  uri += '#' + lib.stringify(hashParams);
2270
2268
  }
2271
2269
 
2272
- console.log(uri);
2273
2270
  window.history.replaceState({}, document.title, uri);
2274
2271
  }
2275
2272
  }]);