@nuskin/product-components 3.10.0 → 3.10.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [3.10.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.10.0...v3.10.1) (2023-08-31)
2
+
3
+
4
+ ### Fix
5
+
6
+ * text pricing update when variant selected (#CX24-4809) ([0814870](https://code.tls.nuskin.io/ns-am/ux/product-components/commit/08148708312f8491e6bcb6131ddf7a3a27319650)), closes [#CX24-4809](https://code.tls.nuskin.io/ns-am/ux/product-components/issues/CX24-4809)
7
+
1
8
  # [3.10.0](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.9.2...v3.10.0) (2023-08-09)
2
9
 
3
10
 
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.4",
4
- "serialNumber": "urn:uuid:58b76a75-e18e-4996-9ae3-d4ef77fdba9a",
4
+ "serialNumber": "urn:uuid:9ae1383a-fb52-4098-ac2a-a2f05157548f",
5
5
  "version": 1,
6
6
  "metadata": {
7
- "timestamp": "2023-08-09T09:12:47Z",
7
+ "timestamp": "2023-08-31T16:37:50Z",
8
8
  "tools": [
9
9
  {
10
10
  "vendor": "GitLab",
@@ -561,6 +561,12 @@ const NsProductMixin = {
561
561
  }
562
562
  this.product = activeProduct;
563
563
  }
564
+ if (this.product.sku !== this.activeSku) {
565
+ let activeProduct = this.variants.find(
566
+ variantProduct => variantProduct.sku === this.activeSku
567
+ );
568
+ this.product = activeProduct;
569
+ }
564
570
 
565
571
  try {
566
572
  if (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  "@nuskin/ns-core-styles": "2.11.2",
30
30
  "@nuskin/ns-icon": "^2.12.0",
31
31
  "@nuskin/ns-loyalty-web": "1.5.6",
32
- "@nuskin/ns-product-lib": "2.10.0",
32
+ "@nuskin/ns-product-lib": "2.10.1",
33
33
  "@nuskin/ns-shop": "^6.7.2",
34
34
  "@nuskin/product-recommendation": "2.0.1",
35
35
  "axios": "^0.19.2",