@designcrowd/fe-shared-lib 1.3.5 → 1.3.6-ast-upsell

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.3.5",
3
+ "version": "1.3.6-ast-upsell",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -1,5 +1,6 @@
1
1
  import axios from 'axios';
2
2
  import API from '../constants/api';
3
+ import { getCurrentLocale } from '../../useSharedLibTranslate';
3
4
 
4
5
  let internalAxios;
5
6
 
@@ -45,6 +46,9 @@ const createUserLogo = async (payload) => {
45
46
  method: 'post',
46
47
  url: API.BYO_LOGO_API_URL + API.BYO_LOGO_API_LINK_TEMPLATE_ENDPOINT,
47
48
  data: { logoTemplateToken: response.data.token },
49
+ headers: {
50
+ 'Accept-Language': getCurrentLocale(),
51
+ },
48
52
  });
49
53
 
50
54
  return { success: true, response: linkResponse };
@@ -521,7 +521,7 @@ export default {
521
521
  if (!this.isSubsequentPublish) {
522
522
  return false;
523
523
  }
524
- return this.showUpsellRotation && !this.isCustomDomainActive && !this.hasPurchasedDomains;
524
+ return this.showUpsellRotation;
525
525
  },
526
526
  },
527
527
  watch: {