@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/README.md +13 -14
- package/es5/global.js +8 -3
- 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 +8 -3
- 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 +2 -2
- 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/package.json +3 -6
- package/src/identity.js +3 -0
- package/src/payment.d.ts +1 -1
- package/src/payment.js +1 -1
- package/src/version.js +2 -2
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
|
-
//
|
|
12179
|
+
// Version is bumped automatically by release-please. See release-please-config.json.
|
|
12175
12180
|
|
|
12176
12181
|
|
|
12177
12182
|
|
|
12178
|
-
var version = '5.2.
|
|
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://
|
|
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
|