tf-checkout-react 1.0.41 → 1.0.42
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 +1 -7
- 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 +1 -7
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/api/index.ts +2 -2
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
|
@@ -912,10 +912,6 @@ if (isWindowDefined && localStorage.getItem('auth_guest_token')) {
|
|
|
912
912
|
ttfHeaders['Authorization-Guest'] = /*#__PURE__*/localStorage.getItem('auth_guest_token');
|
|
913
913
|
}
|
|
914
914
|
|
|
915
|
-
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc') {
|
|
916
|
-
ttfHeaders['X-Source-Origin'] = 'houseofx.com';
|
|
917
|
-
}
|
|
918
|
-
|
|
919
915
|
var publicRequest = /*#__PURE__*/axios.create({
|
|
920
916
|
baseURL: ENV.BASE_URL ,
|
|
921
917
|
headers: ttfHeaders
|
|
@@ -959,9 +955,7 @@ publicRequest.interceptors.request.use(function (config) {
|
|
|
959
955
|
}
|
|
960
956
|
|
|
961
957
|
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc') {
|
|
962
|
-
var _updatedHeaders2 = _extends({}, config.headers
|
|
963
|
-
'X-Source-Origin': 'houseofx.com'
|
|
964
|
-
});
|
|
958
|
+
var _updatedHeaders2 = _extends({}, config.headers);
|
|
965
959
|
|
|
966
960
|
config.headers = _updatedHeaders2;
|
|
967
961
|
}
|