@schibsted/account-sdk-browser 5.2.6 → 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/es5/index.js CHANGED
@@ -1613,6 +1613,11 @@ var Identity = /*#__PURE__*/function (_EventEmitter) {
1613
1613
  _this2.sessionStorageCache.set(HAS_SESSION_CACHE_KEY, {
1614
1614
  error: _context.t0
1615
1615
  }, expiresIn);
1616
+ } else if (_context.t0 && _context.t0.code >= 500 && _context.t0.code < 600 && _this2._enableSessionCaching) {
1617
+ // Temporary fix: 30 seconds cache to limit number of calls when service is unavailable
1618
+ _this2.sessionStorageCache.set(HAS_SESSION_CACHE_KEY, {
1619
+ error: _context.t0
1620
+ }, 30 * 1000);
1616
1621
  }
1617
1622
  throw _context.t0;
1618
1623
  case 15:
@@ -12171,11 +12176,11 @@ function emulate(global) {
12171
12176
 
12172
12177
  "use strict";
12173
12178
  __webpack_require__.r(__webpack_exports__);
12174
- // Automatically generated in 'npm version' by scripts/genversion.js
12179
+ // Version is bumped automatically by release-please. See release-please-config.json.
12175
12180
 
12176
12181
 
12177
12182
 
12178
- var version = '5.2.6';
12183
+ var version = '5.2.7'; // x-release-please-version
12179
12184
  /* harmony default export */ __webpack_exports__["default"] = (version);
12180
12185
 
12181
12186
  /***/ }),
@@ -12835,7 +12840,7 @@ var Payment = /*#__PURE__*/function () {
12835
12840
  }
12836
12841
 
12837
12842
  /**
12838
- * @deprecated https://github.com/schibsted/account-sdk-browser/issues/94
12843
+ * @deprecated https://schibsted.ghe.com/user-identity/account-sdk-browser/issues/94
12839
12844
  *
12840
12845
  * Get the url for the paylink purchase
12841
12846
  * @todo Check working-ness for BFF + SPiD