@nuskin/product-components 3.10.2 → 3.11.0
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 +7 -0
- package/cyclonedx-npm-yarn.json +5 -5
- package/mixins/NsProductMixin.js +7 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [3.11.0](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.10.2...v3.11.0) (2023-09-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Update
|
|
5
|
+
|
|
6
|
+
* put back 'Fix: text pricing update when variant selected (#CX24-4809)' ([526881e](https://code.tls.nuskin.io/ns-am/ux/product-components/commit/526881eadf0b5119978158961e4dbd934eccc8bd)), closes [#CX24-4809](https://code.tls.nuskin.io/ns-am/ux/product-components/issues/CX24-4809)
|
|
7
|
+
|
|
1
8
|
## [3.10.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.10.1...v3.10.2) (2023-09-02)
|
|
2
9
|
|
|
3
10
|
|
package/cyclonedx-npm-yarn.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.4",
|
|
4
|
-
"serialNumber": "urn:uuid:
|
|
4
|
+
"serialNumber": "urn:uuid:6efc4afe-7708-4694-8403-708a5455bbb2",
|
|
5
5
|
"version": 1,
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2023-09-
|
|
7
|
+
"timestamp": "2023-09-05T16:26:59Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "GitLab",
|
|
@@ -172,10 +172,10 @@
|
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"name": "@nuskin/ns-product-lib",
|
|
175
|
-
"version": "2.10.
|
|
176
|
-
"purl": "pkg:npm/@nuskin/ns-product-lib@2.10.
|
|
175
|
+
"version": "2.10.1",
|
|
176
|
+
"purl": "pkg:npm/@nuskin/ns-product-lib@2.10.1",
|
|
177
177
|
"type": "library",
|
|
178
|
-
"bom-ref": "pkg:npm/@nuskin/ns-product-lib@2.10.
|
|
178
|
+
"bom-ref": "pkg:npm/@nuskin/ns-product-lib@2.10.1"
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
"name": "@nuskin/ns-product-lib",
|
package/mixins/NsProductMixin.js
CHANGED
|
@@ -562,13 +562,13 @@ const NsProductMixin = {
|
|
|
562
562
|
this.product = activeProduct;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
-
//
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
565
|
+
//Put back this after hot-fix/INC0125636
|
|
566
|
+
if (this.product.sku !== this.activeSku) {
|
|
567
|
+
let activeProduct = this.variants.find(
|
|
568
|
+
variantProduct => variantProduct.sku === this.activeSku
|
|
569
|
+
);
|
|
570
|
+
this.product = activeProduct;
|
|
571
|
+
}
|
|
572
572
|
|
|
573
573
|
try {
|
|
574
574
|
if (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuskin/product-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
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.
|
|
32
|
+
"@nuskin/ns-product-lib": "2.10.1",
|
|
33
33
|
"@nuskin/ns-shop": "^6.7.6",
|
|
34
34
|
"@nuskin/product-recommendation": "2.0.1",
|
|
35
35
|
"axios": "^0.19.2",
|