@nuskin/product-components 3.17.21-mdigi-326.6 → 3.17.21-mdigi-326.7

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/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## [3.17.21-mdigi-326.6](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.21-mdigi-326.5...v3.17.21-mdigi-326.6) (2025-01-30)
1
+ ## [3.17.21-mdigi-326.7](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.21-mdigi-326.6...v3.17.21-mdigi-326.7) (2025-01-31)
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.4",
4
- "serialNumber": "urn:uuid:6f2f66e8-dfe8-4da8-905f-9fdda07dc5f8",
4
+ "serialNumber": "urn:uuid:4db48eec-3e1f-4677-907e-d407a72420cd",
5
5
  "version": 1,
6
6
  "metadata": {
7
- "timestamp": "2025-01-30T12:45:28Z",
7
+ "timestamp": "2025-01-31T15:15:16Z",
8
8
  "tools": [
9
9
  {
10
10
  "vendor": "GitLab",
@@ -227,8 +227,8 @@ const NsProductMixin = {
227
227
  locale() {
228
228
  return this.$NsProductAppService.locale;
229
229
  },
230
- marketConfig() {
231
- return this.$NsProductAppService.marketConfig;
230
+ async marketConfig() {
231
+ return await this.$NsProductAppService.marketConfig;
232
232
  },
233
233
  isLoggedIn() {
234
234
  return this.$NsProductUserService.isLoggedIn;
@@ -290,8 +290,8 @@ const NsProductMixin = {
290
290
  this.exclusiveOfferMessage
291
291
  );
292
292
  },
293
- showOriginalCrossedOut() {
294
- return this.isSale || !!this.marketConfig.showRetailCrossedOut;
293
+ async showOriginalCrossedOut() {
294
+ return this.isSale || !! await this.marketConfig.showRetailCrossedOut;
295
295
  },
296
296
  showPriceLabels() {
297
297
  return this.marketConfig.showPriceLabels;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.17.21-mdigi-326.6",
3
+ "version": "3.17.21-mdigi-326.7",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -95,7 +95,7 @@ if (!NsProductAppService) {
95
95
  this.runConfig = runConfig;
96
96
  this.locale = `${this.runConfig.language}_${this.runConfig.country}`;
97
97
 
98
- this.marketConfig = ConfigService.getMarketConfig();
98
+ this.marketConfig = await ConfigService.getMarketConfig();
99
99
  if (this.marketConfig) {
100
100
  this.awsUrl = this.marketConfig.awsUrl;
101
101
  this.siteUrl = this.marketConfig.siteUrl;