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
|
@@ -934,7 +934,7 @@ if (isWindowDefined && localStorage.getItem('auth_guest_token')) {
|
|
|
934
934
|
ttfHeaders['Authorization-Guest'] = /*#__PURE__*/localStorage.getItem('auth_guest_token');
|
|
935
935
|
}
|
|
936
936
|
|
|
937
|
-
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc') {
|
|
937
|
+
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc' && !window.location.origin.includes('http://localhost')) {
|
|
938
938
|
ttfHeaders['X-Source-Origin'] = 'houseofx.nyc';
|
|
939
939
|
}
|
|
940
940
|
|
|
@@ -980,7 +980,7 @@ publicRequest.interceptors.request.use(function (config) {
|
|
|
980
980
|
config.headers = _updatedHeaders;
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc') {
|
|
983
|
+
if (isWindowDefined && window.location.origin !== 'https://www.houseofx.nyc' && window.location.origin !== 'https://tickets-staging.houseofx.nyc' && !window.location.origin.includes('http://localhost')) {
|
|
984
984
|
var _updatedHeaders2 = _extends({}, config.headers, {
|
|
985
985
|
'X-Source-Origin': 'houseofx.nyc'
|
|
986
986
|
});
|
|
@@ -2633,7 +2633,7 @@ var getCurrencySymbolByCurrency = function getCurrencySymbolByCurrency(currency)
|
|
|
2633
2633
|
var options = {
|
|
2634
2634
|
style: {
|
|
2635
2635
|
base: {
|
|
2636
|
-
backgroundColor: '#
|
|
2636
|
+
backgroundColor: '#000',
|
|
2637
2637
|
fontSize: '18px',
|
|
2638
2638
|
color: '#ffffff',
|
|
2639
2639
|
letterSpacing: '1px',
|