@schibsted/account-sdk-browser 5.0.0-beta.1 → 5.0.0-beta.2

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/es5/index.js CHANGED
@@ -1191,9 +1191,9 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
1191
1191
  key: "_getTabId",
1192
1192
  value: function _getTabId() {
1193
1193
  if (this._enableSessionCaching) {
1194
- var tabId = this.cache.get(TAB_ID_KEY);
1194
+ var tabId = this.sessionStorageCache.get(TAB_ID_KEY);
1195
1195
  if (!tabId) {
1196
- this.cache.set(TAB_ID_KEY, TAB_ID, TAB_ID_TTL);
1196
+ this.sessionStorageCache.set(TAB_ID_KEY, TAB_ID, TAB_ID_TTL);
1197
1197
  return TAB_ID;
1198
1198
  }
1199
1199
  return tabId;
@@ -1588,7 +1588,9 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
1588
1588
  sessionData = null;
1589
1589
  _context.prev = 5;
1590
1590
  _context.next = 8;
1591
- return _this2._sessionService.get('/v2/session');
1591
+ return _this2._sessionService.get('/v2/session', {
1592
+ tabId: _this2._getTabId()
1593
+ });
1592
1594
  case 8:
1593
1595
  sessionData = _context.sent;
1594
1596
  _context.next = 15;
@@ -12003,7 +12005,7 @@ __webpack_require__.r(__webpack_exports__);
12003
12005
 
12004
12006
 
12005
12007
 
12006
- var version = '5.0.0-beta.1';
12008
+ var version = '5.0.0-beta.2';
12007
12009
  /* harmony default export */ __webpack_exports__["default"] = (version);
12008
12010
 
12009
12011
  /***/ }),