@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/global.js
CHANGED
|
@@ -2036,13 +2036,10 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
|
|
|
2036
2036
|
_this.log = log;
|
|
2037
2037
|
_this.callbackBeforeRedirect = callbackBeforeRedirect;
|
|
2038
2038
|
_this._sessionDomain = sessionDomain;
|
|
2039
|
-
if (_this._enableSessionCaching) {
|
|
2040
|
-
var expiresIn = 1000 * 300;
|
|
2041
|
-
_this.cache.set("sessionFlowOngoing", false, expiresIn);
|
|
2042
|
-
}
|
|
2043
2039
|
|
|
2044
2040
|
// Internal hack: set to false to always refresh from hassession
|
|
2045
2041
|
_this._enableSessionCaching = true;
|
|
2042
|
+
_this.cache.delete("sessionFlowOngoing");
|
|
2046
2043
|
|
|
2047
2044
|
// Old session
|
|
2048
2045
|
_this._session = {};
|
|
@@ -2430,7 +2427,7 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
|
|
|
2430
2427
|
break;
|
|
2431
2428
|
}
|
|
2432
2429
|
if (_this2._enableSessionCaching) {
|
|
2433
|
-
_expiresIn = 1000 * 300;
|
|
2430
|
+
_expiresIn = 1000 * (sessionData.expiresIn || 300);
|
|
2434
2431
|
_this2.cache.set("sessionFlowOngoing", true, _expiresIn);
|
|
2435
2432
|
}
|
|
2436
2433
|
_context.next = 20;
|
|
@@ -11972,7 +11969,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11972
11969
|
|
|
11973
11970
|
|
|
11974
11971
|
|
|
11975
|
-
var version = '4.8.7-beta.
|
|
11972
|
+
var version = '4.8.7-beta.7';
|
|
11976
11973
|
/* harmony default export */ __webpack_exports__["default"] = (version);
|
|
11977
11974
|
|
|
11978
11975
|
/***/ }),
|