tf-checkout-react 1.0.61 → 1.0.62
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 +3 -3
- 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 +3 -3
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/dist/tf-checkout-styles.css +1 -1
- package/package.json +1 -1
- package/src/api/index.ts +4 -2
- package/src/components/stripePayment/index.tsx +1 -1
- package/src/components/stripePayment/style.css +1 -1
|
@@ -927,7 +927,7 @@ if (isWindowDefined && localStorage.getItem('auth_guest_token')) {
|
|
|
927
927
|
ttfHeaders['Authorization-Guest'] = /*#__PURE__*/localStorage.getItem('auth_guest_token');
|
|
928
928
|
}
|
|
929
929
|
|
|
930
|
-
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc') {
|
|
930
|
+
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc' && !window.location.origin.includes('http://localhost')) {
|
|
931
931
|
ttfHeaders['X-Source-Origin'] = 'houseofx.nyc';
|
|
932
932
|
}
|
|
933
933
|
|
|
@@ -973,7 +973,7 @@ publicRequest.interceptors.request.use(function (config) {
|
|
|
973
973
|
config.headers = _updatedHeaders;
|
|
974
974
|
}
|
|
975
975
|
|
|
976
|
-
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc') {
|
|
976
|
+
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc' && !window.location.origin.includes('http://localhost')) {
|
|
977
977
|
var _updatedHeaders2 = _extends({}, config.headers, {
|
|
978
978
|
'X-Source-Origin': 'houseofx.nyc'
|
|
979
979
|
});
|
|
@@ -2631,7 +2631,7 @@ var getCurrencySymbolByCurrency = function getCurrencySymbolByCurrency(currency)
|
|
|
2631
2631
|
var options = {
|
|
2632
2632
|
style: {
|
|
2633
2633
|
base: {
|
|
2634
|
-
backgroundColor: '#
|
|
2634
|
+
backgroundColor: '#000',
|
|
2635
2635
|
fontSize: '18px',
|
|
2636
2636
|
color: '#ffffff',
|
|
2637
2637
|
letterSpacing: '1px',
|