@nuskin/ns-product-lib 2.5.0-cx24-2685.2 → 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 CHANGED
@@ -1,3 +1,10 @@
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
+
1
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)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-2685.2",
3
+ "version": "2.5.0-cx24-2685.3",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
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) {
@@ -672,6 +673,8 @@ const Product = function(productData) {
672
673
  if (data.agelocme) {
673
674
  this.agelocme = new Agelocme(data.agelocme);
674
675
  }
676
+
677
+ this.equinoxProductId = data.equinoxProductId;
675
678
  }
676
679
  };
677
680