@nuskin/ns-product-lib 2.5.0-fix.1 → 2.5.0-fix.2

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-fix.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-fix.1...v2.5.0-fix.2) (2022-11-04)
2
+
3
+
4
+ ### Fix
5
+
6
+ * update inventory label to match with master ([005b52c](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/005b52cd10063d9af6975315f37d8995d630eb66))
7
+
1
8
  # [2.5.0-fix.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.4.0...v2.5.0-fix.1) (2022-11-04)
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-fix.1",
3
+ "version": "2.5.0-fix.2",
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": {
@@ -336,7 +336,7 @@ const ProductData = {
336
336
  },
337
337
  "restrictedMarkets": [],
338
338
  "addOns": [],
339
- "inventoryLabel": data.sku[count].inventory || ""
339
+ "inventory": data.sku[count].inventory || "" //inventory label
340
340
 
341
341
  };
342
342
  let newProduct = new Product(prod);