@schibsted/account-sdk-browser 5.2.5 → 5.2.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/LICENSE.md +1 -1
- package/README.md +14 -15
- package/es5/global.js +92 -59
- 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 +7 -2
- 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 +92 -59
- 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 +562 -534
- package/es5/monetization.js.map +1 -1
- package/es5/monetization.min.js +1 -1
- package/es5/monetization.min.js.map +1 -1
- package/es5/payment.js +1 -1
- package/es5/payment.js.map +1 -1
- package/es5/payment.min.js.map +1 -1
- package/identity.js +1 -1
- package/index.js +1 -1
- package/monetization.js +1 -1
- package/package.json +3 -6
- package/payment.js +1 -1
- package/src/identity.js +3 -0
- package/src/monetization.js +18 -6
- package/src/payment.d.ts +1 -1
- package/src/payment.js +1 -1
- package/src/version.js +2 -2
package/es5/identity.js
CHANGED
|
@@ -1607,6 +1607,11 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
|
|
|
1607
1607
|
_this2.sessionStorageCache.set(HAS_SESSION_CACHE_KEY, {
|
|
1608
1608
|
error: _context.t0
|
|
1609
1609
|
}, expiresIn);
|
|
1610
|
+
} else if (_context.t0 && _context.t0.code >= 500 && _context.t0.code < 600 && _this2._enableSessionCaching) {
|
|
1611
|
+
// Temporary fix: 30 seconds cache to limit number of calls when service is unavailable
|
|
1612
|
+
_this2.sessionStorageCache.set(HAS_SESSION_CACHE_KEY, {
|
|
1613
|
+
error: _context.t0
|
|
1614
|
+
}, 30 * 1000);
|
|
1610
1615
|
}
|
|
1611
1616
|
throw _context.t0;
|
|
1612
1617
|
case 15:
|
|
@@ -12165,11 +12170,11 @@ function emulate(global) {
|
|
|
12165
12170
|
|
|
12166
12171
|
"use strict";
|
|
12167
12172
|
__webpack_require__.r(__webpack_exports__);
|
|
12168
|
-
//
|
|
12173
|
+
// Version is bumped automatically by release-please. See release-please-config.json.
|
|
12169
12174
|
|
|
12170
12175
|
|
|
12171
12176
|
|
|
12172
|
-
var version = '5.2.
|
|
12177
|
+
var version = '5.2.7'; // x-release-please-version
|
|
12173
12178
|
/* harmony default export */ __webpack_exports__["default"] = (version);
|
|
12174
12179
|
|
|
12175
12180
|
/***/ }),
|