tf-checkout-react 1.0.69 → 1.0.70

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.
@@ -990,7 +990,7 @@ var ErrorFocusInternal = /*#__PURE__*/function (_Component) {
990
990
  var ErrorFocus = /*#__PURE__*/formik.connect(ErrorFocusInternal);
991
991
 
992
992
  var isWindowDefined = typeof window !== 'undefined';
993
- var allowedOrigins = ['http://localhost', 'gtsb.io', 'gatsbyjs.io', 'https://www.houseofx.nyc', 'https://tickets-staging.houseofx.nyc'];
993
+ var discardedOrigins = ['http://localhost', 'gtsb.io', 'gatsbyjs.io'];
994
994
  var origin = isWindowDefined && window.location.origin;
995
995
  var ttfHeaders = {
996
996
  Accept: 'application/vnd.api+json',
@@ -1001,7 +1001,7 @@ if (isWindowDefined && localStorage.getItem('auth_guest_token')) {
1001
1001
  ttfHeaders['Authorization-Guest'] = /*#__PURE__*/localStorage.getItem('auth_guest_token');
1002
1002
  }
1003
1003
 
1004
- if (isWindowDefined && !allowedOrigins.some(function (el) {
1004
+ if (isWindowDefined && !discardedOrigins.some(function (el) {
1005
1005
  return origin && origin.includes(el);
1006
1006
  })) {
1007
1007
  ttfHeaders['X-Source-Origin'] = 'houseofx.nyc';
@@ -1049,7 +1049,7 @@ publicRequest.interceptors.request.use(function (config) {
1049
1049
  config.headers = _updatedHeaders;
1050
1050
  }
1051
1051
 
1052
- if (isWindowDefined && !allowedOrigins.some(function (el) {
1052
+ if (isWindowDefined && !discardedOrigins.some(function (el) {
1053
1053
  return origin && origin.includes(el);
1054
1054
  })) {
1055
1055
  var _updatedHeaders2 = _extends({}, config.headers, {