@schibsted/account-sdk-browser 4.8.7-beta.6 → 4.8.7-beta.7
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/global.js +3 -6
- package/es5/global.js.map +1 -1
- package/es5/global.min.js +1 -1
- package/es5/global.min.js.map +1 -1
- package/es5/identity.js +3 -6
- package/es5/identity.js.map +1 -1
- package/es5/identity.min.js +1 -1
- package/es5/identity.min.js.map +1 -1
- package/es5/index.js +3 -6
- package/es5/index.js.map +1 -1
- package/es5/index.min.js +1 -1
- package/es5/index.min.js.map +1 -1
- package/es5/monetization.js +1 -1
- package/es5/monetization.js.map +1 -1
- package/es5/monetization.min.js +1 -1
- package/es5/monetization.min.js.map +1 -1
- package/package.json +1 -1
- package/src/identity.js +2 -5
- package/src/version.js +1 -1
package/es5/index.js
CHANGED
|
@@ -1159,13 +1159,10 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
|
|
|
1159
1159
|
_this.log = log;
|
|
1160
1160
|
_this.callbackBeforeRedirect = callbackBeforeRedirect;
|
|
1161
1161
|
_this._sessionDomain = sessionDomain;
|
|
1162
|
-
if (_this._enableSessionCaching) {
|
|
1163
|
-
var expiresIn = 1000 * 300;
|
|
1164
|
-
_this.cache.set("sessionFlowOngoing", false, expiresIn);
|
|
1165
|
-
}
|
|
1166
1162
|
|
|
1167
1163
|
// Internal hack: set to false to always refresh from hassession
|
|
1168
1164
|
_this._enableSessionCaching = true;
|
|
1165
|
+
_this.cache.delete("sessionFlowOngoing");
|
|
1169
1166
|
|
|
1170
1167
|
// Old session
|
|
1171
1168
|
_this._session = {};
|
|
@@ -1553,7 +1550,7 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
|
|
|
1553
1550
|
break;
|
|
1554
1551
|
}
|
|
1555
1552
|
if (_this2._enableSessionCaching) {
|
|
1556
|
-
_expiresIn = 1000 * 300;
|
|
1553
|
+
_expiresIn = 1000 * (sessionData.expiresIn || 300);
|
|
1557
1554
|
_this2.cache.set("sessionFlowOngoing", true, _expiresIn);
|
|
1558
1555
|
}
|
|
1559
1556
|
_context.next = 20;
|
|
@@ -11944,7 +11941,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11944
11941
|
|
|
11945
11942
|
|
|
11946
11943
|
|
|
11947
|
-
var version = '4.8.7-beta.
|
|
11944
|
+
var version = '4.8.7-beta.7';
|
|
11948
11945
|
/* harmony default export */ __webpack_exports__["default"] = (version);
|
|
11949
11946
|
|
|
11950
11947
|
/***/ }),
|