tf-checkout-react 1.3.33 → 1.3.34
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/dist/tf-checkout-react.cjs.development.js +0 -12
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +0 -12
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/api/index.ts +1 -1
|
@@ -1249,8 +1249,6 @@ publicRequest.interceptors.response.use(function (response) {
|
|
|
1249
1249
|
return Promise.reject(error);
|
|
1250
1250
|
});
|
|
1251
1251
|
publicRequest.interceptors.request.use(function (config) {
|
|
1252
|
-
var _document$cookie;
|
|
1253
|
-
|
|
1254
1252
|
var guestToken = isWindowDefined ? window.localStorage.getItem('auth_guest_token') : null;
|
|
1255
1253
|
var userData = isWindowDefined ? window.localStorage.getItem('user_data') : null;
|
|
1256
1254
|
var accessToken = isWindowDefined ? window.localStorage.getItem('access_token') : null;
|
|
@@ -1281,16 +1279,6 @@ publicRequest.interceptors.request.use(function (config) {
|
|
|
1281
1279
|
config.headers = _updatedHeaders2;
|
|
1282
1280
|
}
|
|
1283
1281
|
|
|
1284
|
-
var additionalCookiesHeaderValue = (_document$cookie = document.cookie) != null ? _document$cookie : '';
|
|
1285
|
-
|
|
1286
|
-
if (additionalCookiesHeaderValue !== '') {
|
|
1287
|
-
var _updatedHeaders3 = _extends({}, config.headers, {
|
|
1288
|
-
'Additional-Cookies': additionalCookiesHeaderValue
|
|
1289
|
-
});
|
|
1290
|
-
|
|
1291
|
-
config.headers = _updatedHeaders3;
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
1282
|
if (CONFIGS.X_SOURCE_ORIGIN) {
|
|
1295
1283
|
var _updatedHeaders4 = _extends({}, config.headers, {
|
|
1296
1284
|
'X-Source-Origin': CONFIGS.X_SOURCE_ORIGIN
|