@nuskin/ns-product-lib 2.5.0-cx24-2685.1 → 2.5.0-cx24-2685.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/product.js +4 -0
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# [2.5.0-cx24-2685.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2685.2...v2.5.0-cx24-2685.3) (2022-12-09)
|
2
|
+
|
3
|
+
|
4
|
+
### New
|
5
|
+
|
6
|
+
* Added equinoxProductId for eqproductMapper and eqProductVariantMapper ([ec9db8d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/ec9db8d922f844b89457d680f170bf07a19a41e2))
|
7
|
+
|
8
|
+
# [2.5.0-cx24-2685.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2685.1...v2.5.0-cx24-2685.2) (2022-12-09)
|
9
|
+
|
10
|
+
|
11
|
+
### New
|
12
|
+
|
13
|
+
* Added equinoxProductId for eqproductMapper and eqProductVariantMapper ([37d77c6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/37d77c68379403db7ca1289b800f593f981b2710))
|
14
|
+
|
1
15
|
# [2.5.0-cx24-2685.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-CX24.3.1...v2.5.0-cx24-2685.1) (2022-12-09)
|
2
16
|
|
3
17
|
|
package/package.json
CHANGED
package/src/product.js
CHANGED
@@ -75,6 +75,7 @@ const Product = function(productData) {
|
|
75
75
|
//equinox inventory / stock label
|
76
76
|
//@example "IN STOCK"
|
77
77
|
this.inventory = "";
|
78
|
+
this.equinoxProductId = "";
|
78
79
|
|
79
80
|
this.setMarketAttributes = function(productStatus) {
|
80
81
|
if (productStatus.marketAttributes) {
|
@@ -532,6 +533,7 @@ const Product = function(productData) {
|
|
532
533
|
retData.restrictedMarkets = this.restrictedMarkets;
|
533
534
|
retData.addOns = this.addOns;
|
534
535
|
retData.inventory = this.inventory;
|
536
|
+
retData.equinoxProductId = this.equinoxProductId;
|
535
537
|
|
536
538
|
return retData;
|
537
539
|
};
|
@@ -671,6 +673,8 @@ const Product = function(productData) {
|
|
671
673
|
if (data.agelocme) {
|
672
674
|
this.agelocme = new Agelocme(data.agelocme);
|
673
675
|
}
|
676
|
+
|
677
|
+
this.equinoxProductId = data.equinoxProductId;
|
674
678
|
}
|
675
679
|
};
|
676
680
|
|